From af4fcb7aad76ec88a33ffb57a18356db441535d7 Mon Sep 17 00:00:00 2001
From: shj <1790240199@qq.com>
Date: Thu, 31 Mar 2022 17:07:40 +0800
Subject: [PATCH] 自查清单
---
src/views/safetyproduction/feature.vue | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/views/safetyproduction/feature.vue b/src/views/safetyproduction/feature.vue
index 442f961..8d8acf4 100644
--- a/src/views/safetyproduction/feature.vue
+++ b/src/views/safetyproduction/feature.vue
@@ -209,7 +209,6 @@
methods: {
async elementManagementL() {
var res = await elementManagementList(this.listQuery);
- console.log(res);
if (res.data.code == 200) {
this.list = res.data.result.records;
this.recordTotal = res.data.result.total
@@ -223,7 +222,6 @@
this.$refs["form"].clearValidate();
});
getParentElement().then(res=>{
- // console.log('父类:',res)
this.parent=res.data.result
})
if (type == "新增") {
@@ -319,6 +317,12 @@
type: "success",
duration: 2000,
});
+ }else {
+ this.$message({
+ type: "warning",
+ // message: res.data.message,
+ message: "当前A级要素仍然有已绑定的B级要素,无法删除"
+ });
}
});
})
--
Gitblit v1.9.2