Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web-project
Project
Project
Details
Activity
Releases
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
紫光云
web-project
Commits
7b431b87
Commit
7b431b87
authored
Feb 26, 2025
by
高滢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(投资计划): 合计颜色
parent
218a7fba
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
index.vue
src/views/engineeringProject/statisticEngineering/index.vue
+5
-1
statisticData.ts
.../engineeringProject/statisticEngineering/statisticData.ts
+1
-0
No files found.
src/views/engineeringProject/statisticEngineering/index.vue
View file @
7b431b87
...
...
@@ -128,7 +128,11 @@
getStatisticList
();
}
function
setRowClassName
(
record
)
{
if
(
record
.
projectType
===
'总计'
||
record
.
groupByField
===
'合计'
||
record
.
company
===
'合计'
)
{
if
(
record
.
projectType
===
'总计'
||
record
.
groupByField
===
'合计'
||
record
.
company
===
'合计'
)
{
return
'rowcolor'
;
}
else
{
return
;
...
...
src/views/engineeringProject/statisticEngineering/statisticData.ts
View file @
7b431b87
...
...
@@ -77,6 +77,7 @@ export function getBasicColumns(year: string, planType: string,groupByField:stri
dataIndex
:
'groupByField'
,
width
:
300
,
fixed
:
'left'
,
slots
:
{
customRender
:
'projectType'
},
},
{
className
:
groupByField
===
'company'
?
'tableShow'
:
'tableHiddle'
,
...
...
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