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