taskid:083 remark:commit

This commit is contained in:
fks-xuxinyue
2024-07-11 16:23:42 +08:00
parent 0cac402bd1
commit 533f0cc633
3 changed files with 187 additions and 72 deletions

View File

@@ -7,64 +7,70 @@ export const tableColumns = [
},
{
title: '能源种类',
dataIndex: 'money',
dataIndex: 'energyType',
},
{
title: '计量单位',
className: 'column-money',
dataIndex: 'money',
className: 'unit',
dataIndex: 'unit',
},
{
title: '全年',
dataIndex: 'address',
dataIndex: 'yearly',
},
{
title: '1月',
dataIndex: 'address',
dataIndex: 'jan',
customRender: ({ text, record }) => ({
children: text,
attrs: {
style: record.janFlag === 1 ? 'color: red' : 'color: blue'
}
})
},
{
title: '2月',
dataIndex: 'address',
dataIndex: 'feb',
},
{
title: '3月',
dataIndex: 'address',
dataIndex: 'mar',
},
{
title: '4月',
dataIndex: 'address',
dataIndex: 'apr',
},
{
title: '5月',
dataIndex: 'address',
dataIndex: 'may',
},
{
title: '6月',
dataIndex: 'address',
dataIndex: 'jun',
},
{
title: '7月',
dataIndex: 'address',
dataIndex: 'jul',
},
{
title: '8月',
dataIndex: 'address',
dataIndex: 'aug',
},
{
title: '9月',
dataIndex: 'address',
dataIndex: 'sep',
},
{
title: '10月',
dataIndex: 'address',
dataIndex: 'oct',
},
{
title: '11月',
dataIndex: 'address',
dataIndex: 'nov',
},
{
title: '12月',
dataIndex: 'address',
dataIndex: 'dec',
},
{
title: '操作',