|
@ -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', |
|
|