From f7c7b15972be097cdae91cecdea136fd1a60b2b3 Mon Sep 17 00:00:00 2001
From: qushaowei <qushaowei@163.com>
Date: 星期日, 07 四月 2024 15:02:13 +0800
Subject: [PATCH] 设备台账  必填项修改

---
 src/views/eam/EquipmentListOfCrane.vue |   39 +++++++++++++++++++++++++++++++++++++--
 1 files changed, 37 insertions(+), 2 deletions(-)

diff --git a/src/views/eam/EquipmentListOfCrane.vue b/src/views/eam/EquipmentListOfCrane.vue
index 7ae791e..5b871ca 100644
--- a/src/views/eam/EquipmentListOfCrane.vue
+++ b/src/views/eam/EquipmentListOfCrane.vue
@@ -215,6 +215,21 @@
               ></j-date>
             </a-form-model-item>
           </a-col>
+          <a-col :span="6">
+            <a-form-item
+              label="缁翠慨鐝粍"
+              :labelCol="labelCol"
+              :wrapperCol="wrapperCol"
+            >
+              <j-dict-select-tag
+                allow-clear
+                placeholder="璇烽�夋嫨缁翠慨鐝粍"
+                :triggerChange="true"
+                dictCode="mom_base_team,name,id,del_flag!='1'"
+                v-model="queryParam.teamId"
+              />
+            </a-form-item>
+          </a-col>
         </a-row>
       </a-form>
     </div>
@@ -299,7 +314,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"
@@ -712,6 +735,7 @@
           title: '鎶�鏈姸鎬�',
           align: "center",
           dataIndex: 'technologyStatus_dictText',
+          scopedSlots: { customRender: 'technologyStatus' },
         },
         {
           title: '鎶�鏈姸鎬侀壌瀹氱被鍨�',
@@ -1066,7 +1090,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