Commit 0123b070 authored by KeYong's avatar KeYong

更新UI列宽

parent 0a107a33
......@@ -9,6 +9,7 @@ const getColumns = () => {
return [
{
title: '序号',
width: '2%',
render: (text, record, index) => `${index + 1}`
},
{
......@@ -22,7 +23,7 @@ const getColumns = () => {
title: '设备名称',
dataIndex: 'fireEquipmentName',
key: 'fireEquipmentName',
width: '20%',
width: '15%',
className: 'uant-table-thead'
},
{
......@@ -43,7 +44,7 @@ const getColumns = () => {
title: '指标单位',
dataIndex: 'eq_point_unit',
key: 'eq_point_unit',
width: '10%',
width: '5%',
className: 'uant-table-thead'
},
{
......@@ -64,14 +65,14 @@ const getColumns = () => {
title: '保护对象',
dataIndex: 'equipmentName',
key: 'equipmentName',
width: '10%',
width: '20%',
className: 'uant-table-thead'
},
{
title: '上报时间',
dataIndex: 'create_date',
key: 'create_date',
width: '20%',
width: '10%',
render: text => moment(text).format('YYYY-MM-DD HH:mm:ss'),
className: 'uant-table-thead'
}
......
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