From ec9828923a7e907240a51fc463a4eabb029d6416 Mon Sep 17 00:00:00 2001
From: 13937891274 <kxc0822>
Date: 星期一, 23 五月 2022 15:41:09 +0800
Subject: [PATCH] 隐患图表分析
---
src/views/majorHazardSourceMonitoring/productionEquipment/index.vue | 18 ++++++++++++++++--
1 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/src/views/majorHazardSourceMonitoring/productionEquipment/index.vue b/src/views/majorHazardSourceMonitoring/productionEquipment/index.vue
index 0c4be72..46f0476 100644
--- a/src/views/majorHazardSourceMonitoring/productionEquipment/index.vue
+++ b/src/views/majorHazardSourceMonitoring/productionEquipment/index.vue
@@ -80,6 +80,7 @@
<el-dialog
:title="title"
:visible.sync="dialogVisible"
+ :close-on-click-modal="false"
width="40%"
>
<el-form ref="form" :rules="rules" :model="form" label-width="80px">
@@ -238,7 +239,7 @@
};
} else {
this.title = "编辑";
- this.form = value;
+ this.form=JSON.parse(JSON.stringify(value));
}
},
AddelementManagement() {
@@ -256,6 +257,10 @@
title: "成功",
});
} else {
+ this.$message({
+ type: "warning",
+ message: res.data.message,
+ });
}
});
} else {
@@ -270,7 +275,10 @@
title: "成功",
});
} else {
-
+ this.$message({
+ type: "warning",
+ message: res.data.message,
+ });
}
});
}
@@ -293,6 +301,12 @@
type: "success",
duration: 2000,
});
+ }else {
+ this.$message({
+ type: "warning",
+ message: res.data.message,
+ });
+
}
});
})
--
Gitblit v1.9.2