zhengpz
2021-11-21 5e607244d769762038b852403a5f51d6b20700d5
现实表现差弹表
2 files modified
39 ■■■■ changed files
src/api/index/index.js 2 ●●● patch | view | raw | blame | history
src/views/home/index.vue 37 ●●●● patch | view | raw | blame | history
src/api/index/index.js
@@ -87,7 +87,7 @@
    method: "post"
  });
};
// 资格审查异常人员清单
// 资格审查异常人员清单/现实表现差人员清单
export const qualificationPages = params => {
  return request({
    url: "/api/blade-user/pages",
src/views/home/index.vue
@@ -269,8 +269,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" />
@@ -390,7 +394,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
            label="序号"
            width="50"
@@ -453,6 +457,7 @@
            width="150"
          ></el-table-column>
          <el-table-column
            v-if="gridData.type === 'zg'"
            :key="gridData.type"
            prop="examinationType"
            label="审查状态"
@@ -461,11 +466,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 === 'wg'">
@@ -865,6 +880,11 @@
        return "正常";
      }
    },
    scoreFormatter(row) {
      if (row.score === '3') {
        return "差";
      }
    },
    punishType(row) {
      if (row.punishtype === "0") {
        return "警告";
@@ -1170,6 +1190,9 @@
      } else if (type === "jg") {
        this.gridData.title = "受监管处罚公司清单(保安公司存在被处罚记录)";
        this.getPunishList(1);
      } else if (type === "xs") {
        this.gridData.title = "现实表现差人员清单";
        this.getQualificationPages(1);
      }
    },
    getWgTable() {
@@ -1230,7 +1253,7 @@
      });
    },
    changePage(page) {
      if (this.gridData.type === "zg") {
      if (this.gridData.type === "zg" || this.gridData.type === "xs") {
        this.getQualificationPages(page);
      } else if (this.gridData.type === "wg") {
        this.gridData.data = this.dialogTable.wgTable.slice(
@@ -1260,9 +1283,13 @@
      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;