Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
Z
zentao-view
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zentao
zentao-view
Commits
dda05e7d
Commit
dda05e7d
authored
Mar 10, 2021
by
shangtx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(年工时基准表): 调整列表样式
parent
1f6b94fd
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
3 deletions
+13
-3
GlobalLayout.vue
src/components/page/GlobalLayout.vue
+9
-0
AnnualConsume.vue
src/views/task/annualConsume/AnnualConsume.vue
+1
-3
TaskEstimateList.vue
src/views/task/taskEstimate/TaskEstimateList.vue
+3
-0
No files found.
src/components/page/GlobalLayout.vue
View file @
dda05e7d
...
...
@@ -199,6 +199,11 @@
padding-top
:
6px
!
important
;
}
.ant-table-middle
>
.ant-table-content
>
.ant-table-scroll
>
.ant-table-header
>
table
>
.ant-table-thead
>
tr
>
th
{
padding-bottom
:
6px
!
important
;
padding-top
:
6px
!
important
;
}
.ant-table-middle
>
.ant-table-content
>
.ant-table-fixed-right
>
.ant-table-body-outer
>
.ant-table-body-inner
>
table
>
.ant-table-thead
>
tr
>
th
{
padding-bottom
:
6px
!
important
;
padding-top
:
6px
!
important
;
...
...
@@ -219,6 +224,10 @@
padding-top
:
6px
!
important
;
}
.ant-table-middle
>
.ant-table-title
,
.ant-table-middle
>
.ant-table-content
>
.ant-table-scroll
>
.ant-table-footer
{
padding
:
12px
8px
;
}
//列表页样式调整
.ant-advanced-search-form
{
margin-bottom
:
5px
!
important
;
...
...
src/views/task/annualConsume/AnnualConsume.vue
View file @
dda05e7d
...
...
@@ -81,7 +81,6 @@ export default {
methods
:
{
loadData
()
{
getAnnualConsume
(
this
.
year
).
then
(({
data
})
=>
{
console
.
info
(
data
);
const
dv
=
new
DataSet
.
View
().
source
(
data
[
1
]);
this
.
standard
=
data
[
0
];
dv
.
transform
({
...
...
@@ -97,8 +96,7 @@ export default {
itemFormatter
(
text
)
{
return
this
.
legendMap
[
text
];
},
yearChange
(
value
)
{
console
.
info
(
"year"
,
value
);
yearChange
()
{
this
.
loadData
();
},
},
...
...
src/views/task/taskEstimate/TaskEstimateList.vue
View file @
dda05e7d
...
...
@@ -56,6 +56,7 @@
<div>
<a-table
size=
"middle"
:scroll=
"
{ y: webHeight }"
@change="sortChange"
:columns="reactiveColumns"
:dataSource="dataSource"
...
...
@@ -186,6 +187,7 @@ export default {
restDays
:
[],
standardConsume
:
8
,
projectOptions
:
[],
webHeight
:
0
,
};
},
computed
:
{
...
...
@@ -310,6 +312,7 @@ export default {
},
},
mounted
()
{
this
.
webHeight
=
document
.
documentElement
.
clientHeight
-
250
;
getSelectableProjects
().
then
(({
data
})
=>
{
if
(
data
&&
data
.
length
)
{
this
.
projectOptions
=
data
.
map
((
d
)
=>
({
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment