taskid:083 remark:commit
This commit is contained in:
@@ -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: '操作',
|
||||
|
Reference in New Issue
Block a user