保安监管系统-验收版本
zhengpz
2021-12-04 e6039583352546a0900458ac02f24328eeb92773
现实表现弹窗
1 files modified
38 ■■■■ changed files
src/views/home/index.vue 38 ●●●● patch | view | raw | blame | history
src/views/home/index.vue
@@ -319,8 +319,12 @@
              <img src="../../../public/img/bajgxt/u4.png" />
              <img src="../../../public/img/bajgxt/u256.png" />
              <img src="../../../public/img/bajgxt/u1.png" />
              <span>{{ rightData.poorPerformance }}</span>
              <span>现实表现差</span>
              <span class="showDialog" @click="shoeDialog('xs')">{{
                rightData.poorPerformance
              }}</span>
              <span class="showDialog" @click="shoeDialog('xs')"
                >现实表现差</span
              >
            </div>
            <div class="card-list">
              <img src="../../../public/img/bajgxt/u4.png" />
@@ -408,7 +412,7 @@
      :visible.sync="dialogTableVisible"
    >
      <el-table :data="gridData.data">
        <template v-if="gridData.type === 'zg'">
        <template v-if="gridData.type === 'zg' || gridData.type === 'xs'">
          <el-table-column
            :key="gridData.type"
            type="index"
@@ -466,6 +470,7 @@
            width="150"
          ></el-table-column>
          <el-table-column
            v-if="gridData.type === 'zg'"
            :key="gridData.type"
            prop="examinationType"
            label="审查状态"
@@ -474,11 +479,21 @@
            width="100"
          ></el-table-column>
          <el-table-column
            v-if="gridData.type === 'zg'"
            :key="gridData.type"
            prop="examinationMx"
            label="审查明细"
            :show-overflow-tooltip="true"
            width="150"
          ></el-table-column>
          <el-table-column
            v-if="gridData.type === 'xs'"
            :key="gridData.type"
            prop="score"
            label="现实表现情况"
            :show-overflow-tooltip="true"
            width="150"
            :formatter="scoreFormatter"
          ></el-table-column>
        </template>
        <template v-if="gridData.type === 'ks'">
@@ -1468,6 +1483,9 @@
      } else if (type === "jg") {
        this.gridData.title = "受监管处罚公司清单";
        this.getPunishList(1);
      } else if (type === "xs") {
        this.gridData.title = "现实表现差人员清单";
        this.getQualificationPages(1);
      }
    },
    getWgTable() {
@@ -1528,7 +1546,7 @@
      });
    },
    changePage(page) {
      if (this.gridData.type === "zg") {
      if (this.gridData.type === "zg" || this.gridData.type === "xs") {
        this.getQualificationPages(page);
      } else {
        this.showDialogTable(this.gridData.type);
@@ -1560,12 +1578,22 @@
      this.gridData.current = page;
      this.dialogloading = true;
      this.gridData.data = [];
      // let params = {
      //   current: this.gridData.current,
      //   size: 10,
      //   examinationType: 1,
      //   jurisdiction: this.value1
      // };
      let params = {
        current: this.gridData.current,
        size: 10,
        examinationType: 1,
        jurisdiction: this.value1
      };
      if (this.gridData.type === "zg") {
        Object.assign(params, { examinationType: 1 });
      } else if (this.gridData.type === "xs") {
        Object.assign(params, { score: 3 });
      }
      qualificationPages(params).then(res => {
        if (res.data.code === 200) {
          this.gridData.data = res.data.data.records;