From d5e1d77a47f7684d9681357c0ffec37f01aeb52e Mon Sep 17 00:00:00 2001
From: shj <1790240199@qq.com>
Date: 星期四, 31 三月 2022 14:23:13 +0800
Subject: [PATCH] 自查清单

---
 src/views/majorHazardSourceMonitoring/productionEquipment/index.vue |   18 +++++++-----------
 1 files changed, 7 insertions(+), 11 deletions(-)

diff --git a/src/views/majorHazardSourceMonitoring/productionEquipment/index.vue b/src/views/majorHazardSourceMonitoring/productionEquipment/index.vue
index ede80cb..0c4be72 100644
--- a/src/views/majorHazardSourceMonitoring/productionEquipment/index.vue
+++ b/src/views/majorHazardSourceMonitoring/productionEquipment/index.vue
@@ -64,7 +64,7 @@
                 </template>
             </el-table-column>
         </el-table>
-        <div style="text-align:right">
+        <div style="text-align:right;margin-top: 20px;">
             <el-pagination
                 v-show="recordTotal>0"
                 @size-change="handleSizeChange"
@@ -145,7 +145,7 @@
         <el-button type="primary" class="btns" @click="AddelementManagement()"
         >确 定</el-button
         >
-        <el-button @click="dialogVisible = false">取 消</el-button>
+        <el-button @click="cancel()">取 消</el-button>
       </span>
         </el-dialog>
     </div>
@@ -227,7 +227,6 @@
                 this.$nextTick(() => {
                     this.$refs["form"].clearValidate();
                 });
-
                 if (type == "新增") {
                     this.title = "新增";
                     this.form = {
@@ -257,10 +256,6 @@
                                         title: "成功",
                                     });
                                 } else {
-                                    this.$message({
-                                        type: "warning",
-                                        message: res.data.message,
-                                    });
                                 }
                             });
                         } else {
@@ -275,10 +270,7 @@
                                         title: "成功",
                                     });
                                 } else {
-                                    his.$message({
-                                        type: "warning",
-                                        message: res.data.message,
-                                    });
+
                                 }
                             });
                         }
@@ -307,6 +299,10 @@
                     .catch(error =>{
                     });
             },
+            cancel(){
+                this.elementManagementL();
+                this.dialogVisible = false;
+            },
             find(){
                 this.elementManagementL();
             },

--
Gitblit v1.9.2