| | |
| | | @refresh-change="refreshChange" |
| | | @on-load="onLoad" |
| | | > |
| | | <template slot-scope="{ row }" slot="auditStatus"> |
| | | <el-tag class="dtype"> |
| | | {{ |
| | | row.auditStatus == 1 |
| | | ? "待审核" |
| | | : row.auditStatus == 2 |
| | | ? "审核通过" |
| | | : "审核不通过" |
| | | }} |
| | | <i class="zc" v-if="row.auditStatus == 2"></i> |
| | | <i class="yj" v-if="row.auditStatus == 3"></i> |
| | | <i class="gz" v-if="row.auditStatus == 1"></i> |
| | | </el-tag> |
| | | </template> |
| | | <template slot="menuLeft"> |
| | | <el-button |
| | | style="display: none" |
| | |
| | | @click="handleSecurityAudit" |
| | | >批量审批 |
| | | </el-button> |
| | | <!--图例 components--> |
| | | <span> |
| | | <Legend :datas="datalistLIU"></Legend> |
| | | </span> |
| | | </template> |
| | | <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" |
| | |
| | | import { mapState } from "vuex"; |
| | | import Qs from "qs"; |
| | | import { getToken } from "@/util/auth"; |
| | | import Legend from "@/components/liu-legend/Legend"; |
| | | export default { |
| | | components: { |
| | | Legend, |
| | | }, |
| | | data() { |
| | | return { |
| | | check: false, |
| | |
| | | idCardNo: "", |
| | | registered: "", |
| | | }, |
| | | |
| | | datalistLIU: [ |
| | | { |
| | | color: "#29C093", |
| | | text: "审核通过", |
| | | }, |
| | | { |
| | | color: "#F34A4A", |
| | | text: "审核不通过", |
| | | }, |
| | | { |
| | | color: "#F48F57", |
| | | text: "待审核", |
| | | }, |
| | | ], |
| | | Audit: {}, |
| | | dialogFormVisible: false, |
| | | dialogBatchAudit: false, |
| | |
| | | searchMenuSpan: 6, |
| | | selection: true, |
| | | reserveSelection: true, |
| | | align: "center", |
| | | tip: true, |
| | | border: true, |
| | | index: true, |
| | |
| | | // }, |
| | | { |
| | | label: "企业名称", |
| | | searchLabelWidth: "110", |
| | | prop: "deptName", |
| | | searchLabelWidth: 80, |
| | | // type: "tree", |
| | | // dicUrl: "/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697", |
| | | // props: { |
| | |
| | | prop: "avatar", |
| | | type: "upload", |
| | | listType: "picture-img", |
| | | width:60, |
| | | }, |
| | | { |
| | | label: "保安证编号", |
| | |
| | | prop: "applyUnit", |
| | | search: true, |
| | | searchLabelWidth: 120, |
| | | minWidth: 105, |
| | | minWidth: 160, |
| | | searchSpan: 5, |
| | | addDisplay: false, |
| | | editDisplay: false, |
| | |
| | | type: "select", |
| | | search: true, |
| | | searchLabelWidth: 90, |
| | | width: 90, |
| | | width: 110, |
| | | searchSpan: 4, |
| | | addDisplay: false, |
| | | editDisplay: false, |
| | |
| | | }, |
| | | { |
| | | 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, |
| | |
| | | line-height: 40px; |
| | | letter-spacing: 2px; |
| | | } |
| | | |
| | | |
| | | .dtype { |
| | | width: 100%; |
| | | padding-left: 0px; |
| | | } |
| | | |
| | | .dx { |
| | | position: absolute; |
| | | top: 50%; |
| | | margin-top: -5px; |
| | | margin-left: 6px; |
| | | width: 10px; |
| | | height: 10px; |
| | | border-radius: 30%; |
| | | background: #dfdfdf; |
| | | } |
| | | .zc { |
| | | position: absolute; |
| | | top: 50%; |
| | | margin-top: -5px; |
| | | margin-left: 4px; |
| | | width: 10px; |
| | | height: 10px; |
| | | border-radius: 30%; |
| | | background: #29c093; |
| | | } |
| | | .yj { |
| | | position: absolute; |
| | | top: 50%; |
| | | margin-top: -5px; |
| | | margin-left: 4px; |
| | | width: 10px; |
| | | height: 10px; |
| | | border-radius: 30%; |
| | | background: #f34a4a; |
| | | } |
| | | .gz { |
| | | position: absolute; |
| | | top: 50%; |
| | | margin-top: -5px; |
| | | margin-left: 4px; |
| | | width: 10px; |
| | | height: 10px; |
| | | border-radius: 30%; |
| | | background: #f48f57; |
| | | } |
| | | </style> |