| | |
| | | <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" |
| | |
| | | // }, |
| | | { |
| | | label: "企业名称", |
| | | searchLabelWidth: "110", |
| | | prop: "deptName", |
| | | searchLabelWidth: 80, |
| | | // type: "tree", |
| | | // dicUrl: "/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697", |
| | | // props: { |
| | |
| | | }, |
| | | { |
| | | label: "是否制证", |
| | | prop: "userType", |
| | | prop: "status", |
| | | type: "select", |
| | | slot: true, |
| | | search: true, |
| | |
| | | width: 69, |
| | | dicData: [ |
| | | { |
| | | label: "全部", |
| | | value: 3, |
| | | }, |
| | | { |
| | | label: "已制证", |
| | | value: 6, |
| | | value: 2, |
| | | }, |
| | | { |
| | | label: "未制证", |
| | | value: 7, |
| | | value: 1, |
| | | }, |
| | | ], |
| | | }, |
| | |
| | | }, |
| | | created() { |
| | | if (this.userInfo.role_name == "办证管理员") { |
| | | this.questionBankSearch["userType"] = 7; |
| | | this.questionBankSearch["status"] = 1; |
| | | this.questionBankSearch["auditStatus"] = 2; |
| | | } |
| | | if (this.userInfo.role_name == "公安管理员") { |
| | |
| | | } |
| | | var data = { |
| | | type: 2, |
| | | userType: this.questionBankSearch.userType, |
| | | status: this.questionBankSearch.status, |
| | | applyUnit: this.questionBankSearch.applyUnit, |
| | | auditStatus: this.questionBankSearch.auditStatus, |
| | | deptName: this.questionBankSearch.deptName, |
| | |
| | | } |
| | | var data = { |
| | | type: 2, |
| | | userType: this.questionBankSearch.userType, |
| | | status: this.questionBankSearch.status, |
| | | applyUnit: this.questionBankSearch.applyUnit, |
| | | auditStatus: this.questionBankSearch.auditStatus, |
| | | deptName: this.questionBankSearch.deptName, |
| | |
| | | securityName: this.questionBankSearch.securityName, |
| | | examName: this.questionBankSearch.examName, |
| | | isAvatar: this.questionBankSearch.isAvatar, |
| | | isPaper: this.questionBankSearch.isPaper, |
| | | }; |
| | | //导出 |
| | | if ( |