Browse Source

巡检计划单元格自动省略

master
liujiangyong 1 year ago
parent
commit
50e3a54850
  1. 4
      web/client/src/sections/patrolManage/containers/patrolPlan.js

4
web/client/src/sections/patrolManage/containers/patrolPlan.js

@ -77,14 +77,14 @@ function PatrolPlan(props) {
key: 'patrolPoints', key: 'patrolPoints',
ellipsis: true, ellipsis: true,
search: false, search: false,
render: (_, record) => <div>{record?.points?.length ? record?.points?.map(p => p.name).join() : '-'}</div> render: (_, record) => record?.points?.length ? record?.points?.map(p => p.name).join() : '-'
}, { }, {
title: '巡检人', title: '巡检人',
dataIndex: 'patrolPerson', dataIndex: 'patrolPerson',
key: 'patrolPerson', key: 'patrolPerson',
ellipsis: true, ellipsis: true,
search: false, search: false,
render: (_, record) => <div>{record?.users?.map(u => u.name).join()}</div> render: (_, record) => record?.users?.map(u => u.name).join() || '-'
}, { }, {
title: '巡检次数统计', title: '巡检次数统计',
dataIndex: 'patrolCount', dataIndex: 'patrolCount',

Loading…
Cancel
Save