From 8b3dc0a94cb8f3189191c50090b809b302f889ea Mon Sep 17 00:00:00 2001 From: Kxc0822a <kxc000822> Date: 星期四, 31 三月 2022 09:33:37 +0800 Subject: [PATCH] 重大 --- src/views/majorHazardSourceMonitoring/equipmentAlarm/index.vue | 16 +++++----------- 1 files changed, 5 insertions(+), 11 deletions(-) diff --git a/src/views/majorHazardSourceMonitoring/equipmentAlarm/index.vue b/src/views/majorHazardSourceMonitoring/equipmentAlarm/index.vue index 050e4da..6f82523 100644 --- a/src/views/majorHazardSourceMonitoring/equipmentAlarm/index.vue +++ b/src/views/majorHazardSourceMonitoring/equipmentAlarm/index.vue @@ -153,7 +153,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> @@ -260,11 +260,6 @@ title: "成功", }); } else { - this.elementManagementL(); - this.$message({ - type: "warning", - message: res.data.message, - }); } }); } else { @@ -279,17 +274,16 @@ title: "成功", }); }else { - this.elementManagementL(); - this.$message({ - type: "warning", - message: res.data.message, - }); } }); } } }); }, + cancel(){ + this.elementManagementL(); + this.dialogVisible = false + }, deleteById(val) { this.$confirm('确认删除吗','提示', { confirmButtonText: '确认', -- Gitblit v1.9.2