Administrator
2021-12-17 15e1fc6acd11f5ae952a35e41b57b7903b7e61d0
制证查询修改
2 files modified
23 ■■■■■ changed files
src/views/accreditationRecords/accreditationRecordsPaper.vue 22 ●●●● patch | view | raw | blame | history
src/views/trainExam/performance.vue 1 ●●●● patch | view | raw | blame | history
src/views/accreditationRecords/accreditationRecordsPaper.vue
@@ -69,9 +69,9 @@
      <template slot-scope="{ row }" slot="category">
        <el-tag>{{ row.categoryName }}</el-tag>
      </template>
      <template slot-scope="{ row }" slot="userType">
      <!-- <template slot-scope="{ row }" slot="userType">
        {{ row.userType == 6 ? "已制证" : row.userType == 7 ? "未制证" : "" }}
      </template>
      </template> -->
      <template slot-scope="{ type, size, row }" slot="menu">
        <el-button
          style="display: none"
@@ -442,9 +442,7 @@
          // },
          {
            label: "企业名称",
            searchLabelWidth: "110",
            prop: "deptName",
            searchLabelWidth: 80,
            // type: "tree",
            // dicUrl: "/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697",
            // props: {
@@ -565,7 +563,7 @@
          },
          {
            label: "是否制证",
            prop: "userType",
            prop: "status",
            type: "select",
            slot: true,
            search: true,
@@ -575,12 +573,16 @@
            width: 69,
            dicData: [
              {
                label: "全部",
                value: 3,
              },
              {
                label: "已制证",
                value: 6,
                value: 2,
              },
              {
                label: "未制证",
                value: 7,
                value: 1,
              },
            ],
          },
@@ -648,7 +650,7 @@
  },
  created() {
    if (this.userInfo.role_name == "办证管理员") {
      this.questionBankSearch["userType"] = 7;
      this.questionBankSearch["status"] = 1;
      this.questionBankSearch["auditStatus"] = 2;
    }
    if (this.userInfo.role_name == "公安管理员") {
@@ -1023,7 +1025,7 @@
        }
        var data = {
          type: 2,
          userType: this.questionBankSearch.userType,
          status: this.questionBankSearch.status,
          applyUnit: this.questionBankSearch.applyUnit,
          auditStatus: this.questionBankSearch.auditStatus,
          deptName: this.questionBankSearch.deptName,
@@ -1072,7 +1074,7 @@
        }
        var data = {
          type: 2,
          userType: this.questionBankSearch.userType,
          status: this.questionBankSearch.status,
          applyUnit: this.questionBankSearch.applyUnit,
          auditStatus: this.questionBankSearch.auditStatus,
          deptName: this.questionBankSearch.deptName,
src/views/trainExam/performance.vue
@@ -1237,6 +1237,7 @@
          securityName: this.questionBankSearch.securityName,
          examName: this.questionBankSearch.examName,
          isAvatar: this.questionBankSearch.isAvatar,
          isPaper: this.questionBankSearch.isPaper,
        };
        //导出
        if (