liuyg
2021-10-25 cebd7462e2b0d50c959689c53ace4eeaf2fcb8e1
新增和删除添加刷新数据
5 files modified
25 ■■■■ changed files
src/views/securityUnit/armedEscort.vue 5 ●●●● patch | view | raw | blame | history
src/views/securityUnit/localCompany.vue 5 ●●●● patch | view | raw | blame | history
src/views/securityUnit/securityTraining.vue 5 ●●●● patch | view | raw | blame | history
src/views/securityUnit/selfRecruitedSecurityGuard.vue 5 ●●●● patch | view | raw | blame | history
src/views/securityUnit/transRegionalcompany.vue 5 ●●●● patch | view | raw | blame | history
src/views/securityUnit/armedEscort.vue
@@ -365,7 +365,9 @@
      })
        .then(() => {
          console.log(row);
          return remove(row.creditcode, row.departmentid);
          return remove(row.creditcode, row.departmentid).then((res) => {
            this.refreshChange();
          });
        })
        .then(() => {
          this.onLoad(this.page);
@@ -467,6 +469,7 @@
            message: "提交成功",
            type: "success",
          });
          this.refreshChange();
          done();
          this.forms = false;
        } else {
src/views/securityUnit/localCompany.vue
@@ -390,7 +390,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);
@@ -467,6 +469,7 @@
            message: "提交成功",
            type: "success",
          });
          this.refreshChange();
          done();
          this.forms = false;
        } else {
src/views/securityUnit/securityTraining.vue
@@ -367,6 +367,7 @@
            message: "提交成功",
            type: "success",
          });
          this.refreshChange();
          done();
          this.forms = false;
        } else {
@@ -439,7 +440,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);
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 {
src/views/securityUnit/transRegionalcompany.vue
@@ -369,6 +369,7 @@
            message: "提交成功",
            type: "success",
          });
          this.refreshChange();
          done();
          this.forms = false;
        } else {
@@ -441,7 +442,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);