From 4acf408253e7366f30885196ac63e077616270d6 Mon Sep 17 00:00:00 2001 From: “linengliang” <vanSuperEnergy@163.com> Date: 星期三, 13 三月 2024 11:43:07 +0800 Subject: [PATCH] xg --- src/views/eam/EquipmentListOfAll.vue | 23 ++++++++++++++++++++++- 1 files changed, 22 insertions(+), 1 deletions(-) diff --git a/src/views/eam/EquipmentListOfAll.vue b/src/views/eam/EquipmentListOfAll.vue index b1edc06..be76304 100644 --- a/src/views/eam/EquipmentListOfAll.vue +++ b/src/views/eam/EquipmentListOfAll.vue @@ -354,7 +354,15 @@ :customRow="clickThenSelect" @change="handleTableChange" > - +<!-- 鐐瑰嚮鎶�鏈姸鎬佸垪锛岃烦杞埌鎶�鏈姸鎬侀壌瀹氶〉闈� --> + <template + slot="technologyStatus" + slot-scope="text,record" + > + <a + href="javascript:eam/EquipmentCalibrationOrder;" + @click="handleTechnologyStatus(record)">{{record.technologyStatus_dictText}}</a> + </template> <template slot="htmlSlot" slot-scope="text" @@ -775,6 +783,7 @@ title: '鎶�鏈姸鎬�', align: "center", dataIndex: 'technologyStatus_dictText', + scopedSlots: { customRender: 'technologyStatus' }, }, { title: '鎶�鏈姸鎬侀壌瀹氱被鍨�', @@ -1128,6 +1137,18 @@ handleUpdateKeyEquipment() { this.$refs.keyEquipmentUpdate.add(); }, + //鎶�鏈姸鎬佽烦杞� + handleTechnologyStatus(record) { + //璺敱鏄痚am/EquipmentCalibrationOrder + this.$router.push({ + path: '/eam/EquipmentCalibrationOrder', + query: { + equipmentId: record.id, + technologyStatus: record.technologyStatus, + technologyStatusVerificationType: record.technologyStatusVerificationType, + } + }) + }, } } </script> -- Gitblit v1.9.3