From 70b734a3a3641f7a10f59ee4669d1cd44200f59d Mon Sep 17 00:00:00 2001
From: zhuzhuanzhuan
Date: 星期一, 18 九月 2023 17:18:21 +0800
Subject: [PATCH] 1、新增mdc页面接口文件 2、优化功能

---
 src/views/mdc/base/modules/deviceRepair/DeviceRepairList.vue |   25 ++++++++++++++-----------
 1 files changed, 14 insertions(+), 11 deletions(-)

diff --git a/src/views/mdc/base/modules/deviceRepair/DeviceRepairList.vue b/src/views/mdc/base/modules/deviceRepair/DeviceRepairList.vue
index 2359b22..89fc233 100644
--- a/src/views/mdc/base/modules/deviceRepair/DeviceRepairList.vue
+++ b/src/views/mdc/base/modules/deviceRepair/DeviceRepairList.vue
@@ -33,10 +33,10 @@
     </div>
     <!-- 鎿嶄綔鎸夐挳鍖哄煙 -->
     <div class="table-operator" style="display: inline;">
-      <a-button v-has="'user.addrequip'" @click="handleAdd" type="primary" icon="plus">缁翠慨鏂板
+      <a-button  @click="handleAdd" type="primary" icon="plus">鏂板
       </a-button>
-      <a-button v-has="'user.add'"  @click="handleAddXIU" type="primary" icon="plus">浼戠彮鏂板
-      </a-button>
+      <!--<a-button v-has="'user.add'"  @click="handleAddXIU" type="primary" icon="plus">浼戠彮鏂板-->
+      <!--</a-button>-->
     </div>
 
     <!-- table鍖哄煙-begin -->
@@ -64,9 +64,9 @@
     </div>
     <!-- table鍖哄煙-end -->
     <device-repair-model ref="modalForm" @ok="modalFormOk"></device-repair-model>
-    <device-repair-model-add  ref="modalFormadd" @ok="modalFormOk"></device-repair-model-add>
+    <!--<device-repair-model-add  ref="modalFormadd" @ok="modalFormOk"></device-repair-model-add>-->
     <device-repair-model-edit ref="modalFormedit" @ok="modalFormOk"></device-repair-model-edit>
-    <!--<repair-model ref="repairModelFrom" @ok="modalFormOk"></repair-model>-->
+    <!--<repair-model ref="repairModelFrom" @ok="modalFormOk">0</repair-model>-->
 
   </a-card>
 </template>
@@ -481,7 +481,7 @@
             //閲嶆柊璁$畻鍒嗛〉闂
             that.reCalculatePage(1)
             // that.$message.success(res.message);
-            that.$notification.warning({
+            that.$notification.success({
               message:'娑堟伅',
               description:res.message
             });
@@ -495,16 +495,19 @@
           }
         });
       },
+      /**
+       * 鎵撳紑鏂板缁翠慨鎴栦紤鐝脊绐�
+       */
       handleAdd() {
         this.$refs.modalForm.add(this.node)
         this.$refs.modalForm.title = '鏂板'
         this.$refs.modalForm.disableSubmit = false
       },
-      handleAddXIU() {
-        this.$refs.modalFormadd.add()
-        this.$refs.modalFormadd.title = '鏂板'
-        this.$refs.modalFormadd.disableSubmit = false
-      },
+      // handleAddXIU() {
+      //   this.$refs.modalFormadd.add()
+      //   this.$refs.modalFormadd.title = '鏂板'
+      //   this.$refs.modalFormadd.disableSubmit = false
+      // },
       pQuery(parentId) {
         this.queryParam.parentId = parentId[0]
         if(this.selectedRowKeys.length >= 1) {

--
Gitblit v1.9.3