From c120699170354666327cc3c1d7f1cc1eb5f90c4f Mon Sep 17 00:00:00 2001
From: qushaowei <qushaowei@163.com>
Date: 星期一, 21 八月 2023 18:06:01 +0800
Subject: [PATCH] qsw 优化

---
 src/views/eam/modules/equipment/EquipmentAccount2List.vue |  101 ++++++++++++++++++++++++--------------------------
 1 files changed, 48 insertions(+), 53 deletions(-)

diff --git a/src/views/eam/modules/equipment/EquipmentAccount2List.vue b/src/views/eam/modules/equipment/EquipmentAccount2List.vue
index 325b2f7..f298e74 100644
--- a/src/views/eam/modules/equipment/EquipmentAccount2List.vue
+++ b/src/views/eam/modules/equipment/EquipmentAccount2List.vue
@@ -210,11 +210,11 @@
         slot-scope="text, record"
       >
         <!-- class="table-operation" -->
-        <a
+        <!-- <a
           href="javascript:;"
           @click="equipmentStructuresShow(record)"
         >璁惧缁撴瀯</a>
-        <a-divider type="vertical" />
+        <a-divider type="vertical" /> -->
         <a
           href="javascript:;"
           @click="handleEdit(record)"
@@ -249,7 +249,7 @@
       type="card"
       defaultActiveKey="1"
     >
-      <a-tab-pane key="1">
+      <!-- <a-tab-pane key="1">
         <span slot="tab">
           <a-badge v-if="showTabsFlag">宸ヨ壓鍙傛暟&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a-badge>
           <a-badge
@@ -265,7 +265,7 @@
         >
           <process-parameters-list ref="ProcessParametersList"></process-parameters-list>
         </div>
-      </a-tab-pane>
+      </a-tab-pane> -->
 
       <a-tab-pane
         key="2"
@@ -402,11 +402,6 @@
           dataIndex: 'num',
         },
         {
-          title: '璧勪骇缂栫爜',
-          align: "center",
-          dataIndex: 'assetNumber',
-        },
-        {
           title: '璁惧鍚嶇О',
           align: "center",
           dataIndex: 'name',
@@ -422,6 +417,11 @@
           dataIndex: 'specification',
         },
         {
+          title: '璧勪骇缂栫爜',
+          align: "center",
+          dataIndex: 'assetNumber',
+        },
+        {
           title: '璁惧鐘舵��',
           align: "center",
           dataIndex: 'equipmentStatus_dictText',
@@ -434,12 +434,7 @@
         {
           title: '鐗圭璁惧',
           align: "center",
-          dataIndex: 'specificEquipment',
-        },
-        {
-          title: '鐗圭璁惧',
-          align: "center",
-          dataIndex: 'sourceId_dictText',
+          dataIndex: 'specificEquipment_dictText',
         },
         {
           title: '璁惧鍥剧墖',
@@ -512,17 +507,17 @@
           align: "center",
           dataIndex: 'equipmentImportanceId_dictText',
         },
-        {
-          title: '宸ヨ壓鍙傛暟绠$悊',
-          align: "center",
-          dataIndex: 'processParameters',
-          scopedSlots: { customRender: 'processParameters' },
-        },
-        {
-          title: '宸ヨ壓鍙傛暟妯℃澘',
-          align: "center",
-          dataIndex: 'processParametersTemplateName',
-        },
+        // {
+        //   title: '宸ヨ壓鍙傛暟绠$悊',
+        //   align: "center",
+        //   dataIndex: 'processParameters',
+        //   scopedSlots: { customRender: 'processParameters' },
+        // },
+        // {
+        //   title: '宸ヨ壓鍙傛暟妯℃澘',
+        //   align: "center",
+        //   dataIndex: 'processParametersTemplateName',
+        // },
         {
           title: '璁惧绮惧害绠$悊',
           align: "center",
@@ -534,27 +529,27 @@
           align: "center",
           dataIndex: 'precisionParametersTemplateName',
         },
-        {
-          title: '妫�瀹氱鐞�',
-          align: "center",
-          dataIndex: 'verification',
-          scopedSlots: { customRender: 'verification' },
-        },
-        {
-          title: '妫�瀹氬懆鏈�/鏈�',
-          align: "center",
-          dataIndex: 'verificationPeriod',
-        },
-        {
-          title: '涓婃妫�瀹氭棩鏈�',
-          align: "center",
-          dataIndex: 'lastVerificationDate',
-        },
-        {
-          title: '涓嬫妫�瀹氭棩鏈�',
-          align: "center",
-          dataIndex: 'nextVerificationDate',
-        },
+        // {
+        //   title: '妫�瀹氱鐞�',
+        //   align: "center",
+        //   dataIndex: 'verification',
+        //   scopedSlots: { customRender: 'verification' },
+        // },
+        // {
+        //   title: '妫�瀹氬懆鏈�/鏈�',
+        //   align: "center",
+        //   dataIndex: 'verificationPeriod',
+        // },
+        // {
+        //   title: '涓婃妫�瀹氭棩鏈�',
+        //   align: "center",
+        //   dataIndex: 'lastVerificationDate',
+        // },
+        // {
+        //   title: '涓嬫妫�瀹氭棩鏈�',
+        //   align: "center",
+        //   dataIndex: 'nextVerificationDate',
+        // },
         // {
         //   title: '鐘舵��',
         //   align: 'center',
@@ -626,11 +621,11 @@
 
     onSelectChange(selectedRowKeys, selectionRows) {
       if (selectedRowKeys.length == 1) {
-        this.$refs.ProcessParametersList.equipmentId = selectedRowKeys[0]
+        // this.$refs.ProcessParametersList.equipmentId = selectedRowKeys[0]
         this.$refs.EquipmentFileList.equipmentId = selectedRowKeys[0]
         this.$refs.PrecisionParametersList.equipmentId = selectedRowKeys[0]
       } else {
-        this.$refs.ProcessParametersList.equipmentId = '-1'
+        // this.$refs.ProcessParametersList.equipmentId = '-1'
         this.$refs.PrecisionParametersList.equipmentId = '-1'
         this.$refs.EquipmentFileList.equipmentId = '-1'
       }
@@ -746,7 +741,7 @@
       }
       this.selectedRowKeys = []
       this.selectionRows = []
-      this.$refs.ProcessParametersList.equipmentId = '-1'
+      // this.$refs.ProcessParametersList.equipmentId = '-1'
       this.$refs.PrecisionParametersList.equipmentId = '-1'
       this.$refs.EquipmentFileList.equipmentId = '-1'
       this.loadData(1);
@@ -755,7 +750,7 @@
     searchQuery() {
       this.selectedRowKeys = []
       this.selectionRows = []
-      this.$refs.ProcessParametersList.equipmentId = '-1'
+      // this.$refs.ProcessParametersList.equipmentId = '-1'
       this.$refs.PrecisionParametersList.equipmentId = '-1'
       this.$refs.EquipmentFileList.equipmentId = '-1'
       this.loadData(1);
@@ -767,7 +762,7 @@
       //娓呯┖鍒楄〃閫変腑
       this.onClearSelected()
 
-      this.$refs.ProcessParametersList.equipmentId = '-1'
+      // this.$refs.ProcessParametersList.equipmentId = '-1'
       this.$refs.PrecisionParametersList.equipmentId = '-1'
       this.$refs.EquipmentFileList.equipmentId = '-1'
     },
@@ -789,7 +784,7 @@
       }
       this.selectedRowKeys = []
       this.selectionRows = []
-      this.$refs.ProcessParametersList.equipmentId = '-1'
+      // this.$refs.ProcessParametersList.equipmentId = '-1'
       this.$refs.PrecisionParametersList.equipmentId = '-1'
       this.$refs.EquipmentFileList.equipmentId = '-1'
       this.loadData(1);

--
Gitblit v1.9.3