|
|
@ -1,6 +1,6 @@
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
|
<el-dialog
|
|
|
|
<el-dialog
|
|
|
|
title="人员背景审核结果"
|
|
|
|
title="重点岗位审核结果"
|
|
|
|
:visible.sync="dialogVisible"
|
|
|
|
:visible.sync="dialogVisible"
|
|
|
|
width="80%"
|
|
|
|
width="80%"
|
|
|
|
:before-close="handleClose"
|
|
|
|
:before-close="handleClose"
|
|
|
@ -20,7 +20,7 @@
|
|
|
|
<div class="msgDetailItem">
|
|
|
|
<div class="msgDetailItem">
|
|
|
|
<div class="msgDetailLabel">审查人数:</div>
|
|
|
|
<div class="msgDetailLabel">审查人数:</div>
|
|
|
|
<div class="msgDetailValue">
|
|
|
|
<div class="msgDetailValue">
|
|
|
|
{{ (dataInfo.details && dataInfo.details.length) || 0 }}人
|
|
|
|
{{ dataInfo.investigateCount || 0 }}人
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -33,7 +33,6 @@
|
|
|
|
:tableData="tableList"
|
|
|
|
:tableData="tableList"
|
|
|
|
:columns="columns"
|
|
|
|
:columns="columns"
|
|
|
|
rowKey="id"
|
|
|
|
rowKey="id"
|
|
|
|
:pagination="{}"
|
|
|
|
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<template v-slot:photoSlot="{ scope }">
|
|
|
|
<template v-slot:photoSlot="{ scope }">
|
|
|
|
<el-image
|
|
|
|
<el-image
|
|
|
@ -45,12 +44,8 @@
|
|
|
|
</el-image>
|
|
|
|
</el-image>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
<template v-slot:optSlot="{ scope }">
|
|
|
|
<template v-slot:optSlot="{ scope }">
|
|
|
|
<el-radio v-model="scope.row.auditResult" label="正常"
|
|
|
|
<el-radio v-model="scope.row.auditResult" label="0">正常</el-radio>
|
|
|
|
>正常</el-radio
|
|
|
|
<el-radio v-model="scope.row.auditResult" label="1">异常</el-radio>
|
|
|
|
>
|
|
|
|
|
|
|
|
<el-radio v-model="scope.row.auditResult" label="异常"
|
|
|
|
|
|
|
|
>异常</el-radio
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</gMainTable>
|
|
|
|
</gMainTable>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -61,9 +56,9 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</el-dialog>
|
|
|
|
</el-dialog>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
import { getDetail, modifyPerson } from "@/api/applySupermarket/personBack";
|
|
|
|
import { modifyPerson } from "@/api/applySupermarket/personBack";
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
data() {
|
|
|
@ -86,11 +81,11 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
prop: "card",
|
|
|
|
prop: "cardId",
|
|
|
|
label: "身份证号",
|
|
|
|
label: "身份证号",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
prop: "reason",
|
|
|
|
prop: "auditReason",
|
|
|
|
label: "审查原因",
|
|
|
|
label: "审查原因",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -110,18 +105,31 @@ export default {
|
|
|
|
openDialog(obj) {
|
|
|
|
openDialog(obj) {
|
|
|
|
this.dialogVisible = true;
|
|
|
|
this.dialogVisible = true;
|
|
|
|
|
|
|
|
|
|
|
|
getDetail(obj.id).then((res) => {
|
|
|
|
this.dataInfo = obj;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.tableList = obj.details || [];
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
sureExamine() {
|
|
|
|
|
|
|
|
console.log(this.tableList);
|
|
|
|
|
|
|
|
for (let i = 0; i < this.tableList.length; i++) {
|
|
|
|
|
|
|
|
if (!this.tableList[i]["auditResult"]) {
|
|
|
|
|
|
|
|
this.$message.info("存在未审核处理的数据!");
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.dataInfo.verificationType = 2;
|
|
|
|
|
|
|
|
this.dataInfo.details = this.tableList;
|
|
|
|
|
|
|
|
modifyPerson(this.dataInfo).then((res) => {
|
|
|
|
if (res.code == 200) {
|
|
|
|
if (res.code == 200) {
|
|
|
|
this.tableList = res.data.details || [];
|
|
|
|
this.$message.success("操作成功!");
|
|
|
|
this.dataInfo = res.data;
|
|
|
|
this.handleClose();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
sureExamine() {},
|
|
|
|
|
|
|
|
handleClose() {
|
|
|
|
handleClose() {
|
|
|
|
this.dialogVisible = false;
|
|
|
|
this.dialogVisible = false;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|