From b48c80193bdf93643b6d9f9c18565d45bd5ed20d Mon Sep 17 00:00:00 2001 From: 13937891274 <kxc0822> Date: 星期二, 17 五月 2022 17:58:20 +0800 Subject: [PATCH] 安全隐患台账-举一反三 --- src/views/majorHazardSourceMonitoring/productionEquipment/index.vue | 17 +++++++++++++++-- 1 files changed, 15 insertions(+), 2 deletions(-) diff --git a/src/views/majorHazardSourceMonitoring/productionEquipment/index.vue b/src/views/majorHazardSourceMonitoring/productionEquipment/index.vue index a2d0b13..46f0476 100644 --- a/src/views/majorHazardSourceMonitoring/productionEquipment/index.vue +++ b/src/views/majorHazardSourceMonitoring/productionEquipment/index.vue @@ -239,7 +239,7 @@ }; } else { this.title = "编辑"; - this.form = value; + this.form=JSON.parse(JSON.stringify(value)); } }, AddelementManagement() { @@ -257,6 +257,10 @@ title: "成功", }); } else { + this.$message({ + type: "warning", + message: res.data.message, + }); } }); } else { @@ -271,7 +275,10 @@ title: "成功", }); } else { - + this.$message({ + type: "warning", + message: res.data.message, + }); } }); } @@ -294,6 +301,12 @@ type: "success", duration: 2000, }); + }else { + this.$message({ + type: "warning", + message: res.data.message, + }); + } }); }) -- Gitblit v1.9.2