From 4ac53eac3402797316e2b7f97e8ddf608c866046 Mon Sep 17 00:00:00 2001
From: “linengliang” <vanSuperEnergy@163.com>
Date: 星期二, 24 十月 2023 19:12:00 +0800
Subject: [PATCH] 故障报修

---
 src/views/eam/modules/malfunctionRepair/EquipmentList.vue |   30 ++++++++++++++++++++++++++----
 1 files changed, 26 insertions(+), 4 deletions(-)

diff --git a/src/views/eam/modules/malfunctionRepair/EquipmentList.vue b/src/views/eam/modules/malfunctionRepair/EquipmentList.vue
index 04bc746..73a3350 100644
--- a/src/views/eam/modules/malfunctionRepair/EquipmentList.vue
+++ b/src/views/eam/modules/malfunctionRepair/EquipmentList.vue
@@ -174,6 +174,30 @@
     handleCancel() {
       this.close();
     },
+    loadData(arg) {
+      if (!this.url.list) {
+        this.$message.error('璇疯缃畊rl.list灞炴��!')
+        return
+      }
+      //鍔犺浇鏁版嵁 鑻ヤ紶鍏ュ弬鏁�1鍒欏姞杞界涓�椤电殑鍐呭
+      if (arg === 1) {
+        this.ipagination.current = 1
+      }
+      this.onClearSelected()
+      this.queryParam.equipmentStatus = '1';
+      var params = this.getQueryParams()//鏌ヨ鏉′欢
+      this.loading = true
+      getAction(this.url.list, params).then((res) => {
+        if (res.success) {
+          this.dataSource = res.result.records
+          this.ipagination.total = res.result.total
+        }
+        if (res.code === 510) {
+          this.$message.warning(res.message)
+        }
+        this.loading = false
+      })
+    },
 
   },
 }
@@ -227,8 +251,7 @@
   height: 90% !important;
   overflow-y: hidden;
 }
-
-/deep/ .notshow {
+ .notshow {
   display: none;
 }
 
@@ -247,8 +270,7 @@
 .dataUnKnow {
   color: #1890ff;
 }
-
-/deep/ .frozenRowClass {
+ .frozenRowClass {
   color: #c9c9c9;
 }
 </style>
\ No newline at end of file

--
Gitblit v1.9.3