保安服务单位许可和备案申请系统
tangzy
2021-07-15 fb0a822a87007bc9d87d230b65c6adc2d684aaaf
许可备案系统
4 files modified
21 ■■■■ changed files
src/api/resource/attach.js 10 ●●●●● patch | view | raw | blame | history
src/config/website.js 2 ●●● patch | view | raw | blame | history
src/lang/zh.js 4 ●●●● patch | view | raw | blame | history
src/views/resource/attach.vue 5 ●●●● patch | view | raw | blame | history
src/api/resource/attach.js
@@ -33,6 +33,16 @@
    }
  })
}
export const removenws = (ids) => {
  return request({
    url: 'http:192.168.0.104:80/blade-resource/attach/remove',
    method: 'post',
    params: {
      ids,
    }
  })
}
export const removenw = (ids) => {
  return request({
    url: 'http://192.168.0.104:80/blade-resource/attach/remove',
src/config/website.js
@@ -19,7 +19,7 @@
  //配置首页不可关闭
  isFirstPage: false,
  fistPage: {
    label: "首页",
    label: "申办许可申请",
    value: "/wel/index",
    params: {},
    query: {},
src/lang/zh.js
@@ -51,7 +51,7 @@
    info: '个人信息',
    website: 'bladex官网',
    avuexwebsite: 'avuex官网',
    dashboard: '首页',
    dashboard: '申办许可申请',
    more: '更多',
    tags: '标签',
    store: '本地存储',
@@ -87,7 +87,7 @@
  navbar: {
    logOut: '退出登录',
    userinfo: '个人信息',
    dashboard: '首页',
    dashboard: '申办许可申请',
    lock: '锁屏',
    bug: '没有错误日志',
    bugs: '条错误日志',
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 {
@@ -258,6 +258,9 @@
          return remove(row.id);
        })
        .then(() => {
          return removenws(row.id);
        })
        .then(() => {
          this.onLoad(this.page);
          this.$message({
            type: "success",