| | |
| | | @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 == 1"></i> |
| | | <i class="yj" v-if="row.auditStatus == 2"></i> |
| | | <i class="gz" v-if="row.auditStatus == 3"></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> |
| | |
| | | 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, |
| | |
| | | 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, |
| | |
| | | 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> |