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

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

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