diff --git a/web/client/src/sections/patrolManage/containers/patrolTemplate.js b/web/client/src/sections/patrolManage/containers/patrolTemplate.js index f080c66..2066d5a 100644 --- a/web/client/src/sections/patrolManage/containers/patrolTemplate.js +++ b/web/client/src/sections/patrolManage/containers/patrolTemplate.js @@ -32,7 +32,7 @@ function PatrolTemplate (props) { }; const columns = [{ - title: '结构物名称', + title: '模板名称', dataIndex: 'struName', key: 'struName', ellipsis: true, @@ -40,45 +40,21 @@ function PatrolTemplate (props) { return
{record?.project?.name}
} }, { - title: '巡检任务名称', + title: '模板描述', dataIndex: 'name', key: 'name', ellipsis: true }, { - title: '开始时间', - dataIndex: 'startTime', - key: 'startTime', - ellipsis: true, - render: (_, record) => moment(record.startTime).format('YYYY-MM-DD') - }, { - title: '结束时间', - dataIndex: 'endTime', - key: 'endTime', - ellipsis: true, - render: (_, record) => moment(record.endTime).format('YYYY-MM-DD') - - }, { - title: '巡检频次', + title: '操作人', dataIndex: 'frequency', key: 'frequency', ellipsis: true, }, { - title: '巡检点位', + title: '检查项', dataIndex: 'patrolPoints', key: 'patrolPoints', ellipsis: true, render: (_, record) =>
{record?.points?.length ? record?.points?.map(p => p.name).join() : '-'}
- }, { - title: '巡检人', - dataIndex: 'patrolPerson', - key: 'patrolPerson', - ellipsis: true, - render: (_, record) =>
{record?.user?.name}
- }, { - title: '巡检次数统计', - dataIndex: 'patrolCount', - key: 'patrolCount', - ellipsis: true, }, { title: '操作', dataIndex: 'action',