From 15e1fc6acd11f5ae952a35e41b57b7903b7e61d0 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Fri, 17 Dec 2021 16:40:18 +0800
Subject: [PATCH] 制证查询修改
---
src/views/accreditationRecords/accreditationRecordsPaper.vue | 22 ++++++++++++----------
src/views/trainExam/performance.vue | 1 +
2 files changed, 13 insertions(+), 10 deletions(-)
diff --git a/src/views/accreditationRecords/accreditationRecordsPaper.vue b/src/views/accreditationRecords/accreditationRecordsPaper.vue
index 3a28218..dca3c0c 100644
--- a/src/views/accreditationRecords/accreditationRecordsPaper.vue
+++ b/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,
diff --git a/src/views/trainExam/performance.vue b/src/views/trainExam/performance.vue
index 24ad83e..3b67f9d 100644
--- a/src/views/trainExam/performance.vue
+++ b/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 (
--
Gitblit v1.9.3