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
5f5a437f
Commit
5f5a437f
authored
Mar 09, 2021
by
shangtx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(工时列表): 添加总合计行
parent
d4d6bc1c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
TaskEstimateList.vue
src/views/task/taskEstimate/TaskEstimateList.vue
+9
-2
No files found.
src/views/task/taskEstimate/TaskEstimateList.vue
View file @
5f5a437f
...
...
@@ -114,12 +114,16 @@ const columns = [
title
:
"姓名"
,
dataIndex
:
"realName"
,
width
:
80
,
customRender
:
(
value
,
r
ow
)
=>
{
customRender
:
(
value
,
r
ecord
)
=>
{
const
obj
=
{
children
:
value
,
attrs
:
{},
};
obj
.
attrs
.
rowSpan
=
row
.
rowspan
;
obj
.
attrs
.
rowSpan
=
record
.
rowspan
;
if
(
record
.
rowKey
==
"totaltotal"
)
{
obj
.
attrs
.
colspan
=
2
;
obj
.
attrs
.
style
=
"font-weight: 600;"
;
}
return
obj
;
},
},
...
...
@@ -135,6 +139,9 @@ const columns = [
if
(
record
.
rowKey
.
startsWith
(
"total"
))
{
obj
.
attrs
.
style
=
"font-weight: 600;"
;
}
if
(
record
.
rowKey
==
"totaltotal"
)
{
obj
.
attrs
.
hidden
=
true
;
}
return
obj
;
},
},
...
...
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