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

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

parent 218a7fba
......@@ -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;
......
......@@ -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',
......
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