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',
ellipsis: true,
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: '巡检人',
dataIndex: 'patrolPerson',
key: 'patrolPerson',
ellipsis: true,
search: false,
render: (_, record) => <div>{record?.users?.map(u => u.name).join()}</div>
render: (_, record) => record?.users?.map(u => u.name).join() || '-'
}, {
title: '巡检次数统计',
dataIndex: 'patrolCount',

Loading…
Cancel
Save