From 90964e8f07b9ad3cb2c5f34c8784d7e2c32974fd Mon Sep 17 00:00:00 2001 From: zhaowei Date: 星期一, 08 七月 2024 14:57:55 +0800 Subject: [PATCH] 1、标准加工时间页面取消设备层面字段展示以及取消选择左侧设备树 2、加工数量管理页面新增添加表格记录时的设备选择功能 --- src/views/eam/EquipmentListOfFilesCarousel.vue | 23 +++++++++++++++++++++-- 1 files changed, 21 insertions(+), 2 deletions(-) diff --git a/src/views/eam/EquipmentListOfFilesCarousel.vue b/src/views/eam/EquipmentListOfFilesCarousel.vue index 6663501..8cb434e 100644 --- a/src/views/eam/EquipmentListOfFilesCarousel.vue +++ b/src/views/eam/EquipmentListOfFilesCarousel.vue @@ -329,7 +329,14 @@ :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" @@ -742,6 +749,7 @@ title: '鎶�鏈姸鎬�', align: "center", dataIndex: 'technologyStatus_dictText', + scopedSlots: { customRender: 'technologyStatus' }, }, { title: '鎶�鏈姸鎬侀壌瀹氱被鍨�', @@ -1096,7 +1104,18 @@ }, handleEditSpareParts(record) { this.$refs.modalFormSpareParts.edit(record); - } + }, + handleTechnologyStatus(record) { + //璺敱鏄痚am/EquipmentCalibrationOrder + this.$router.push({ + path: '/eam/EquipmentCalibrationOrder', + query: { + equipmentId: record.id, + technologyStatus: record.technologyStatus, + technologyStatusVerificationType: record.technologyStatusVerificationType, + } + }) + }, } } -- Gitblit v1.9.3