From 0620a814377510d3afc4648eb1ac48ecccefdace Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Mon, 25 Oct 2021 10:39:48 +0800
Subject: [PATCH] +
---
src/views/securityUnit/selfRecruitedSecurityGuard.vue | 20 +++++++++++++-------
1 files changed, 13 insertions(+), 7 deletions(-)
diff --git a/src/views/securityUnit/selfRecruitedSecurityGuard.vue b/src/views/securityUnit/selfRecruitedSecurityGuard.vue
index f17bee5..e4a816b 100644
--- a/src/views/securityUnit/selfRecruitedSecurityGuard.vue
+++ b/src/views/securityUnit/selfRecruitedSecurityGuard.vue
@@ -290,7 +290,7 @@
};
},
created() {
- this.option0.column[4].value = 2;
+ this.option0.column[4].value = 0;
this.option0.column[4].disabled = true;
},
computed: {
@@ -431,14 +431,19 @@
this.$message.warning("请选择至少一条数据");
return;
}
- this.$confirm("确定批量将选择数据删除?", {
- confirmButtonText: "确定",
- cancelButtonText: "取消",
- type: "warning",
- })
+ this.$confirm(
+ "该操作将会把保安员数据一并删除,不可恢复!确定将选择公司删除?",
+ {
+ confirmButtonText: "确定",
+ cancelButtonText: "取消",
+ type: "warning",
+ }
+ )
.then(() => {
// console.log(this.ids);
- return remove(this.ids, this.ids1);
+ return remove(this.ids, this.ids1).then((res) => {
+ this.refreshChange();
+ });
})
.then(() => {
this.onLoad(this.page);
@@ -515,6 +520,7 @@
message: "提交成功",
type: "success",
});
+ this.refreshChange();
done();
this.forms = false;
} else {
--
Gitblit v1.9.3