From cebd7462e2b0d50c959689c53ace4eeaf2fcb8e1 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Mon, 25 Oct 2021 10:30:40 +0800
Subject: [PATCH] 新增和删除添加刷新数据

---
 src/views/securityUnit/selfRecruitedSecurityGuard.vue |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/views/securityUnit/selfRecruitedSecurityGuard.vue b/src/views/securityUnit/selfRecruitedSecurityGuard.vue
index 0799c37..90eb866 100644
--- a/src/views/securityUnit/selfRecruitedSecurityGuard.vue
+++ b/src/views/securityUnit/selfRecruitedSecurityGuard.vue
@@ -438,7 +438,9 @@
       })
         .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 +517,7 @@
             message: "提交成功",
             type: "success",
           });
+          this.refreshChange();
           done();
           this.forms = false;
         } else {

--
Gitblit v1.9.3