Commit 7b431b87 authored by 高滢's avatar 高滢

feat(投资计划): 合计颜色

parent 218a7fba
...@@ -128,7 +128,11 @@ ...@@ -128,7 +128,11 @@
getStatisticList(); getStatisticList();
} }
function setRowClassName(record) { function setRowClassName(record) {
if (record.projectType === '总计' || record.groupByField === '合计'||record.company === '合计') { if (
record.projectType === '总计' ||
record.groupByField === '合计' ||
record.company === '合计'
) {
return 'rowcolor'; return 'rowcolor';
} else { } else {
return; return;
......
...@@ -77,6 +77,7 @@ export function getBasicColumns(year: string, planType: string,groupByField:stri ...@@ -77,6 +77,7 @@ export function getBasicColumns(year: string, planType: string,groupByField:stri
dataIndex: 'groupByField', dataIndex: 'groupByField',
width: 300, width: 300,
fixed: 'left', fixed: 'left',
slots: { customRender: 'projectType' },
}, },
{ {
className: groupByField === 'company' ? 'tableShow' : 'tableHiddle', className: groupByField === 'company' ? 'tableShow' : 'tableHiddle',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment