Commit 4b125b2a authored by 皮倩雯's avatar 皮倩雯

fix: '巡检反馈界面优化'

parent 130c7cce
Pipeline #80716 waiting for manual action with stages
......@@ -12,6 +12,7 @@ import {
Card,
Input,
Pagination,
Tag,
} from 'antd';
import {
CM_Feedback_LoadPatrolFeedbacks,
......@@ -108,25 +109,13 @@ const patrolFeedback = () => {
render: record => <Tooltip title={record}>{record}</Tooltip>,
},
{
title: 'GIS条件',
dataIndex: 'gisFilterValue',
key: 'gisFilterValue',
width: 100,
onCell: () => ({
style: {
maxWidth: 100,
overflow: 'hidden',
whiteSpace: 'nowrap',
textOverflow: 'ellipsis',
cursor: 'pointer',
},
}),
align: 'center',
render: record => (
<Tooltip placement="topLeft" title={record}>
{record}
</Tooltip>
),
title: '巡检类型',
dataIndex: 'inspectionType',
key: 'inspectionType',
render: record => {
let arr = record?.split(',').filter(i => i !== '');
return arr.map(item => <Tag color="green">{item}</Tag>);
},
},
{
title: '反馈表',
......
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