Commit 0a107a33 authored by KeYong's avatar KeYong

调整列宽

parent 84971deb
...@@ -29,7 +29,7 @@ const getColumns = () => { ...@@ -29,7 +29,7 @@ const getColumns = () => {
title: '位置', title: '位置',
dataIndex: 'warehouseStructureName', dataIndex: 'warehouseStructureName',
key: 'warehouseStructureName', key: 'warehouseStructureName',
width: '27%', width: '15%',
className: 'uant-table-thead' className: 'uant-table-thead'
}, },
// { // {
...@@ -50,21 +50,21 @@ const getColumns = () => { ...@@ -50,21 +50,21 @@ const getColumns = () => {
title: '保护对象', title: '保护对象',
dataIndex: 'equipmentName', dataIndex: 'equipmentName',
key: 'equipmentName', key: 'equipmentName',
width: '10%', width: '18%',
className: 'uant-table-thead' className: 'uant-table-thead'
}, },
{ {
title: '报警类型', title: '报警类型',
dataIndex: 'type', dataIndex: 'type',
key: 'type', key: 'type',
width: '10%', width: '5%',
className: 'uant-table-thead' className: 'uant-table-thead'
}, },
{ {
title: '状态', title: '状态',
dataIndex: 'status', dataIndex: 'status',
key: 'status', key: 'status',
width: '10%', width: '5%',
render: text => { return text ? '报警' : '恢复'; }, render: text => { return text ? '报警' : '恢复'; },
className: 'uant-table-thead' className: 'uant-table-thead'
}, },
...@@ -72,7 +72,7 @@ const getColumns = () => { ...@@ -72,7 +72,7 @@ const getColumns = () => {
title: '频次', title: '频次',
dataIndex: 'frequency', dataIndex: 'frequency',
key: 'frequency', key: 'frequency',
width: '10%', width: '5%',
className: 'uant-table-thead' 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