保安服务单位许可和备案申请系统
liuyg
2021-08-27 2eee4a28e92748c181c92c21f3dbf64f10c8df61
src/components/Approval/Approval.vue
@@ -65,10 +65,10 @@
    var d = this.data,
      b = [];
    for (var k in d) {
      console.log({
        label: d[k].menuName,
        value: d[k].type + "",
      });
      // console.log({
      //   label: d[k].menuName,
      //   value: d[k].type + "",
      // });
      b.push({
        label: d[k].menuName,
        value: d[k].type + "",
@@ -160,6 +160,9 @@
    };
  },
  methods: {
    refreshChange() {
      this.onLoad(this.page);
    },
    beforeOpen(done, type) {
      if (["edit", "view"].includes(type)) {
        getDetail(this.form.id).then((res) => {
@@ -187,20 +190,20 @@
          Object.assign(params, this.query)
        ).then((ress) => {
          this.data = this.data.concat(ress.data.data.records);
        });
        getListrek(
          page.currentPage,
          page.pageSize,
          Object.assign(params, this.query)
        ).then((resk) => {
          this.data = this.data.concat(resk.data.data.records);
        });
        getListrev(
          page.currentPage,
          page.pageSize,
          Object.assign(params, this.query)
        ).then((resv) => {
          this.data = this.data.concat(resv.data.data.records);
          getListrek(
            page.currentPage,
            page.pageSize,
            Object.assign(params, this.query)
          ).then((resk) => {
            this.data = this.data.concat(resk.data.data.records);
            getListrev(
              page.currentPage,
              page.pageSize,
              Object.assign(params, this.query)
            ).then((resv) => {
              this.data = this.data.concat(resv.data.data.records);
            });
          });
        });
      });
    },