From 1d79d3950a3d8c489ca9ee2c88a50b01e2b5ab6e Mon Sep 17 00:00:00 2001
From: zhuzhuanzhuan
Date: 星期四, 09 五月 2024 14:54:32 +0800
Subject: [PATCH] 新增首页看板点击图表出现的弹窗组件
---
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