liuyg
2021-10-13 6399450e518c616a2296ca1561e090855e04757a
刷新 同步显示营业执照/ 许可证
2 files modified
29 ■■■■ changed files
src/views/securityUnitChild/index.vue 28 ●●●● patch | view | raw | blame | history
src/views/securityUnitChild/licence.vue 1 ●●●● patch | view | raw | blame | history
src/views/securityUnitChild/index.vue
@@ -246,13 +246,13 @@
      <!-- <span v-else-if="typeTABS.prop === 'tab7'" class="tab"> -->
      <el-tab-pane label="营业执照" name="tab7">
        <!-- 营业执照 -->
        <businessLicense :row="obj0"></businessLicense>
        <businessLicense :row="obj0" v-if="overHtp"></businessLicense>
        <!-- </span> -->
      </el-tab-pane>
      <!-- <span v-else-if="typeTABS.prop === 'tab8'" class="tab"> -->
      <el-tab-pane label="许可证" name="tab8">
        <!-- 许可证  -->
        <licence :row="obj0"></licence>
        <licence :row="obj0" v-if="overHtp"></licence>
        <!-- </span> -->
      </el-tab-pane>
    </el-tabs>
@@ -357,6 +357,8 @@
      ],
    };
    return {
      overHtp: false,
      activeName: "tab1",
      departmentid: "",
@@ -624,8 +626,8 @@
    },
    handleChangeTABS(column) {
      this.typeTABS = column;
      console.log(column.prop);
      // this.typeTABS = column;
      // console.log(column.prop);
      // this.$message.success(JSON.stringify(column));
      if (column.prop == "tab1") {
        this.loading1 = false;
@@ -641,7 +643,22 @@
        this.onLoad2(this.page2); //第二个表格不会自动执行
      }
    },
    handleClick(tab, event) {
      // console.log(tab.name, event);
      if (tab.name == "tab1") {
        this.loading1 = false;
        this.loading2 = false;
        // this.onLoad(this.page);
      } else if (tab.name == "tab2") {
        //  this.loading1 = false;
        this.loading2 = false;
        this.onLoad1(this.page1); //第二个表格不会自动执行
      } else if (tab.name == "tab3") {
        this.loading1 = false;
        // this.loading2 = false;
        this.onLoad2(this.page2); //第二个表格不会自动执行
      }
    },
    //派遣记录
    sizeChange1(val) {
      this.page1.currentPage = 1;
@@ -945,6 +962,7 @@
          } else {
            that.creditcode = row.creditcode;
          }
          that.overHtp = true;
          if (that.readLock("danweidataS") != null && a == 1) {
            var b = JSON.parse(that.readLock("danweidataS"));
            var i = 0;
src/views/securityUnitChild/licence.vue
@@ -47,6 +47,7 @@
  },
  mounted() {
    this.seeImg();
    console.log(this.row.licence);
  },
  comments: {
    srcList() {