| | |
| | | :md="6" |
| | | :sm="6" |
| | | > |
| | | <a-form-item label="是否停机维修"> |
| | | <a-form-item label="是否停机"> |
| | | <j-dict-select-tag |
| | | allow-clear |
| | | placeholder="请选择是否停机维修" |
| | | placeholder="请选择是否停机" |
| | | :triggerChange="true" |
| | | dictCode="is_stop" |
| | | v-model="queryParam.isStop" |
| | |
| | | @change="handleTableChange" |
| | | :customRow="clickThenSelect" |
| | | > |
| | | <!-- 点击列跳转到事故登记页 --> |
| | | <template |
| | | slot="accidentRegistrationProgress" |
| | | slot-scope="text, record"> |
| | | <a |
| | | v-if="text!==''&&text!==null" |
| | | @click="handleAccidentRegistration(record)"> |
| | | {{text=='yes'? '已确认':'未确认'}} |
| | | </a> |
| | | </template> |
| | | <!-- 点击列跳转到质量隐患页 --> |
| | | <template |
| | | slot="qualityHiddenDangerProgress" |
| | | slot-scope="text, record"> |
| | | <a |
| | | v-if="text!==''&&text!==null" |
| | | @click="handleQualityHiddenDanger(record)"> |
| | | {{text=='yes'? '已确认':'未确认'}} |
| | | </a> |
| | | </template> |
| | | <span |
| | | slot="specificEquipment" |
| | | slot-scope="text" |
| | |
| | | width: 200 |
| | | }, |
| | | { |
| | | title: '是否停机待修', |
| | | title: '是否停机', |
| | | align: "center", |
| | | dataIndex: 'isStopName', |
| | | }, |
| | |
| | | align: "center", |
| | | dataIndex: 'remark' |
| | | }, |
| | | //质量隐患确认进度 |
| | | { |
| | | title: '质量隐患', |
| | | align: "center", |
| | | dataIndex: 'isConfirm1', |
| | | scopedSlots: { customRender: 'qualityHiddenDangerProgress' } |
| | | }, |
| | | //事故登记确认进度 |
| | | { |
| | | title: '事故登记', |
| | | align: "center", |
| | | dataIndex: 'isConfirm2', |
| | | scopedSlots: { customRender: 'accidentRegistrationProgress' } |
| | | }, |
| | | { |
| | | title: '操作', |
| | | dataIndex: 'action', |
| | |
| | | fixed: "right", |
| | | width: 100, |
| | | scopedSlots: { customRender: 'action' } |
| | | } |
| | | }, |
| | | |
| | | ], |
| | | url: { |
| | | list: "/eam/equipmentReportRepair/getReportRepairList", |
| | |
| | | handleAccept(record) { |
| | | this.$refs.acceptModel.title = "验收" |
| | | this.$refs.acceptModel.edit(record) |
| | | } |
| | | }, |
| | | //点击跳转到事故登记页 |
| | | handleAccidentRegistration(record) { |
| | | this.$router.push({ |
| | | path: '/eam/FaultInfoList', |
| | | query: { |
| | | id: record.faultInfoId, |
| | | num: record.num |
| | | } |
| | | }) |
| | | }, |
| | | //点击跳转到质量隐患页 |
| | | handleQualityHiddenDanger(record) { |
| | | this.$router.push({ |
| | | path: '/eam/QuanlityConfirmList', |
| | | query: { |
| | | id: record.quanlityId, |
| | | num: record.num |
| | | } |
| | | }) |
| | | }, |
| | | } |
| | | } |
| | | </script> |