保安服务单位许可和备案申请系统
tangzy
2021-07-14 3ea0574afc5841f829724710cf2e0dc46a8c60b8
src/views/resource/attach.vue
@@ -53,7 +53,7 @@
</template>
<script>
import {getList, getDetail, remove} from "@/api/resource/attach";
import {getList, getDetail, remove,removenw} from "@/api/resource/attach";
import {mapGetters} from "vuex";
export default {
@@ -192,7 +192,7 @@
              res: 'data'
            },
             action: "/api/blade-resource/oss/endpoint/put-file-attach?deptid="
          }
          },
        ]
      }
    };
@@ -215,6 +215,7 @@
    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"]),
@@ -277,6 +278,7 @@
      })
        .then(() => {
          return remove(this.ids);
          return removenw(row.id);
        })
        .then(() => {
          this.onLoad(this.page);