保安服务单位许可和备案申请系统
Administrator
2022-04-11 3a82aab402e8cdee192ab47405f2a01973bd4dab
src/views/resource/attach.vue
@@ -53,7 +53,7 @@
</template>
<script>
import {getList, getDetail, remove,removenw} from "@/api/resource/attach";
import {getList, getDetail, remove,removenws} from "@/api/resource/attach";
import {mapGetters} from "vuex";
export default {
@@ -215,7 +215,6 @@
    var deptid = this.$route.query.deptid;
    var type = this.$route.query.type;
    this.attachOption.column[0].action += deptid + "&type=" + type
    this.attachOption.column[1].action += deptid + "&type=" + type
  },
  computed: {
    ...mapGetters(["permission"]),
@@ -259,6 +258,9 @@
          return remove(row.id);
        })
        .then(() => {
          return removenws(row.id);
        })
        .then(() => {
          this.onLoad(this.page);
          this.$message({
            type: "success",
@@ -278,7 +280,6 @@
      })
        .then(() => {
          return remove(this.ids);
          return removenw(row.id);
        })
        .then(() => {
          this.onLoad(this.page);