From ae9b400eae985f6b6f2e33f66ee1575f72675898 Mon Sep 17 00:00:00 2001 From: lyh <925863403@qq.com> Date: 星期六, 09 八月 2025 00:18:41 +0800 Subject: [PATCH] 添加流程节点 --- src/views/eam/maintenance/EamSecondMaintenanceOrderList.vue | 27 ++++++++++++++------------- 1 files changed, 14 insertions(+), 13 deletions(-) diff --git a/src/views/eam/maintenance/EamSecondMaintenanceOrderList.vue b/src/views/eam/maintenance/EamSecondMaintenanceOrderList.vue index 3880652..231629a 100644 --- a/src/views/eam/maintenance/EamSecondMaintenanceOrderList.vue +++ b/src/views/eam/maintenance/EamSecondMaintenanceOrderList.vue @@ -110,8 +110,8 @@ <a>杩樺師</a> </a-popconfirm> -<!-- <a-divider v-has="'secondMaintenanceOrder:print'" type="vertical" v-if="record.maintenanceStatus === 'COMPLETE'"/>--> -<!-- <a v-has="'secondMaintenanceOrder:print'" v-if="record.maintenanceStatus === 'COMPLETE'" @click="handlePrint(record)">鎵撳嵃</a>--> + <a-divider type="vertical"/> + <a @click="handlePrint(record)">棰勮</a> </template> </span> </a-table> @@ -189,6 +189,12 @@ fixed: 'left' }, { + title: '淇濆吇鐘舵��', + align: 'center', + dataIndex: 'maintenanceStatus_dictText', + fixed: 'left' + }, + { title: '宸ュ崟鍙�', align: 'center', dataIndex: 'orderNum' @@ -222,11 +228,6 @@ title: '缁翠慨宸�', align: 'center', dataIndex: 'repairman_dictText' - }, - { - title: '淇濆吇鐘舵��', - align: 'center', - dataIndex: 'maintenanceStatus_dictText' }, { title: '鍒涘缓鏂瑰紡', @@ -263,10 +264,10 @@ list: '/eam/secondMaintenanceOrder/list', abolish: '/eam/secondMaintenanceOrder/abolish', collect: '/eam/secondMaintenanceOrder/collect', - restore:'/eam/secondMaintenanceOrder/restore', + restore: '/eam/secondMaintenanceOrder/restore', abolishBatch: '/eam/secondMaintenanceOrder/abolishBatch', collectBatch: '/eam/secondMaintenanceOrder/collectBatch', - restoreBatch: '/eam/secondMaintenanceOrder/restoreBatch', + restoreBatch: '/eam/secondMaintenanceOrder/restoreBatch' } } }, @@ -325,7 +326,7 @@ this.$refs.secondMaintenanceApprovalModal.title = '璇︽儏' this.$refs.secondMaintenanceApprovalModal.visible = true this.$refs.secondMaintenanceApprovalModal.disableSubmit = true - this.$refs.secondMaintenanceApprovalModal.recordDetail(record) + this.$refs.secondMaintenanceApprovalModal.handleDetail(record) }, /** @@ -333,7 +334,7 @@ * @param record 鍒楄〃琛岃褰� */ handlePrint(record) { - let href = `${window._CONFIG['domianURL']}/jmreport/view/1094834721929232384?id=` + record.id //缃戠珯閾炬帴 + let href = `${window._CONFIG['domianURL']}/jmreport/view/1110733537193545728?id=` + record.id //缃戠珯閾炬帴 window.open(href, '_blank') }, handlerAbolish(id) { @@ -388,7 +389,7 @@ }) }, //杩樺師 - handlerRestore(id){ + handlerRestore(id) { let that = this this.loading = true getAction(that.url.restore, { id }) @@ -409,7 +410,7 @@ }) }, //鎵归噺杩樺師 - handlerBatchRestore(){ + handlerBatchRestore() { if (!this.url.restoreBatch) { this.$message.error('璇疯缃畊rl.restoreBatch灞炴��!') return -- Gitblit v1.9.3