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/EquipmentListOfTruck.vue |   23 +++++++++++++++++++++--
 1 files changed, 21 insertions(+), 2 deletions(-)

diff --git a/src/views/eam/EquipmentListOfTruck.vue b/src/views/eam/EquipmentListOfTruck.vue
index 0a8ee53..4c33ffe 100644
--- a/src/views/eam/EquipmentListOfTruck.vue
+++ b/src/views/eam/EquipmentListOfTruck.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