From 5cbba170e270e6f1c99a91e27dbb7951a27d596a Mon Sep 17 00:00:00 2001
From: “linengliang” <vanSuperEnergy@163.com>
Date: 星期五, 24 十一月 2023 16:41:32 +0800
Subject: [PATCH] 故障报修验收

---
 src/views/eam/modules/equipmentCalibrationOrder/EquipmentCalibrationOrderReportList.vue |   39 +++++++++++++++++++++++++--------------
 1 files changed, 25 insertions(+), 14 deletions(-)

diff --git a/src/views/eam/modules/equipmentCalibrationOrder/EquipmentCalibrationOrderReportList.vue b/src/views/eam/modules/equipmentCalibrationOrder/EquipmentCalibrationOrderReportList.vue
index 9e56e70..6b9272a 100644
--- a/src/views/eam/modules/equipmentCalibrationOrder/EquipmentCalibrationOrderReportList.vue
+++ b/src/views/eam/modules/equipmentCalibrationOrder/EquipmentCalibrationOrderReportList.vue
@@ -101,6 +101,7 @@
   data() {
     return {
       description: '妫�瀹氭姤鍛�',
+      disableMixinCreated: true,
       columns: [
         {
           title: '#',
@@ -134,11 +135,11 @@
           dataIndex: 'size',
           scopedSlots: { customRender: 'size' },
         },
-        {
-          title: '鍒ゅ畾缁撴灉',
-          align: 'center',
-          dataIndex: 'judgmentResultName'
-        },
+        // {
+        //   title: '鍒ゅ畾缁撴灉',
+        //   align: 'center',
+        //   dataIndex: 'judgmentResultName'
+        // },
         {
           title: '鎿嶄綔',
           align: 'center',
@@ -153,18 +154,28 @@
         urlDownload: window._CONFIG['staticDomainURL'],
         download: '/sys/upload/downloadFile',
       },
-      // partRoute: {},
-      // equipmentSelectionRows: [],
-      calibrationOrderId: '',
     }
   },
-
+  props: {
+    calibrationOrderId: {
+      type: String,
+      default: '',
+      required: false
+    }
+  },
   watch: {
-    calibrationOrderId() {
-      this.queryParam = {};
-      this.queryParam.calibrationOrderId = this.calibrationOrderId;
-      this.loadData(1);
-    },
+    calibrationOrderId: {
+      immediate: true,
+      handler(val) {
+        if (!this.calibrationOrderId) {
+          // this.clearList()
+        } else {
+          this.queryParam['calibrationOrderId'] = val;
+          this.queryParam['delFlag'] = 0;
+          this.loadData(1);
+        }
+      }
+    }
   },
   // mounted() {
   //   this.$bus.$on('equipmentSelectionRows', (data) => {

--
Gitblit v1.9.3