保安服务单位许可和备案申请系统
liuyg
2021-08-26 fd8e1acbc8bac690c020248b806fc4f06af1792e
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 + "",
@@ -199,16 +199,6 @@
              Object.assign(params, this.query)
            ).then((resv) => {
              this.data = this.data.concat(resv.data.data.records);
              // console.log(this.data);
              if (this.data.length == 0) {
                this.$store.commit("changecanDoIt", true);
              } else {
                if (this.data[0].type == 0 || this.data[0].type == 2) {
                  this.$store.commit("changecanDoIt", false);
                } else {
                  this.$store.commit("changecanDoIt", true);
                }
              }
            });
          });
        });