| | |
| | | <a-divider type="vertical" v-if="record.maintenanceStatus === 'COMPLETE'"/> |
| | | <a v-if="record.maintenanceStatus === 'COMPLETE'" @click="handlePrint(record)">打印</a> |
| | | </template> |
| | | |
| | | </span> |
| | | </a-table> |
| | | </div> |
| | |
| | | align: 'center', |
| | | customRender: function(t, r, index) { |
| | | return parseInt(index) + 1 |
| | | } |
| | | }, |
| | | fixed: 'left' |
| | | }, |
| | | { |
| | | title: '统一编码', |
| | | align: 'center', |
| | | dataIndex: 'equipmentCode' |
| | | dataIndex: 'equipmentCode', |
| | | fixed: 'left' |
| | | }, |
| | | { |
| | | title: '设备名称', |
| | | align: 'center', |
| | | dataIndex: 'equipmentName' |
| | | dataIndex: 'equipmentName', |
| | | fixed: 'left' |
| | | }, |
| | | { |
| | | title: '设备型号', |
| | | align: 'center', |
| | | dataIndex: 'equipmentModel' |
| | | dataIndex: 'equipmentModel', |
| | | fixed: 'left' |
| | | }, |
| | | { |
| | | title: '工单号', |
| | |
| | | { |
| | | title: '维修工', |
| | | align: 'center', |
| | | dataIndex: 'operator_dictText' |
| | | dataIndex: 'repairman_dictText' |
| | | }, |
| | | { |
| | | title: '保养状态', |
| | |
| | | { |
| | | title: '管理员确认', |
| | | align: 'center', |
| | | dataIndex: 'confirmUser_dictText' |
| | | dataIndex: 'manageUser_dictText' |
| | | }, |
| | | { |
| | | title: '管理员确认时间', |
| | |
| | | { |
| | | title: '检查人确认', |
| | | align: 'center', |
| | | dataIndex: 'confirmLeader_dictText' |
| | | dataIndex: 'inspector_dictText' |
| | | }, |
| | | { |
| | | title: '检查人确认时间', |
| | | align: 'center', |
| | | dataIndex: 'leaderConfirmTime' |
| | | dataIndex: 'inspectConfirmTime' |
| | | }, |
| | | { |
| | | title: 'HF编码', |
| | |
| | | */ |
| | | handlerCollect(id) { |
| | | let that = this |
| | | this.loading = true |
| | | getAction(that.url.collect, { id }) |
| | | .then((res) => { |
| | | if (res.success) { |
| | |
| | | message: '消息', |
| | | description: res.message |
| | | }) |
| | | this.loading = false |
| | | } |
| | | }) |
| | | }, |