forked from integrated_whb/integrated_whb_vue
BUG优化
parent
1aba082ea7
commit
8e764eecbb
|
@ -117,6 +117,7 @@
|
|||
<el-tag v-if="item2.STATUS === '0'">合格</el-tag>
|
||||
<el-tag v-else>不合格</el-tag>
|
||||
</td>
|
||||
<td> {{item2.REMARK}} </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="title">检查人</td>
|
||||
|
@ -131,11 +132,11 @@
|
|||
/>
|
||||
</td>
|
||||
<td class="title">检查时间</td>
|
||||
<td colspan="2">{{ item1.SIGN_TIME }}</td>
|
||||
<td colspan="3">{{ item1.SIGN_TIME }}</td>
|
||||
</tr>
|
||||
<tr v-if="item.CHECKTYPE_NAME !== '待承诺'">
|
||||
<td class="title">检查照片</td>
|
||||
<td colspan="4">
|
||||
<td colspan="5">
|
||||
<div>
|
||||
<template
|
||||
v-for="(item3, index3) in item1.IMG_PATH.split(',')"
|
||||
|
|
|
@ -960,13 +960,6 @@ const rules = {
|
|||
trigger: "blur",
|
||||
},
|
||||
],
|
||||
faceFile: [
|
||||
{
|
||||
required: true,
|
||||
message: "人员认证照片不能为空",
|
||||
trigger: "blur",
|
||||
},
|
||||
],
|
||||
};
|
||||
const formRef = ref(null);
|
||||
const data = reactive({
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
<template>
|
||||
<layout-card>
|
||||
<el-divider content-position="left"> {{data.statusInfo.REVIEW_RESULT === "-1" ? "打回" : "通过"}}详情 </el-divider>
|
||||
<el-divider content-position="left">基本信息</el-divider>
|
||||
<el-descriptions :column="2" border>
|
||||
<el-descriptions-item label="姓名">
|
||||
|
@ -170,11 +171,13 @@ const { USER_ID } = route.query;
|
|||
const data = reactive({
|
||||
info: {},
|
||||
certificateList: [],
|
||||
statusInfo: {},
|
||||
});
|
||||
const fnGetData = async () => {
|
||||
if (!USER_ID) return;
|
||||
const resData = await getPractitionerInfo({ USER_ID });
|
||||
data.info = resData.pd;
|
||||
data.statusInfo = resData.statusInfo
|
||||
resData.certificateList.forEach((item) => {
|
||||
item.ID_PHOTO_FRONT = FILE_URL + item.ID_PHOTO_FRONT;
|
||||
if (item.ID_PHOTO_BACK) {
|
||||
|
@ -190,6 +193,11 @@ const fnGetData = async () => {
|
|||
item.ID_PHOTO_BACK = null;
|
||||
}
|
||||
});
|
||||
data.certificateList.forEach((item) => {
|
||||
if(!item.ALLOW_QUALIFICATION || item.ALLOW_QUALIFICATION.includes("null")) {
|
||||
item.ALLOW_QUALIFICATION = null;
|
||||
}
|
||||
})
|
||||
};
|
||||
fnGetData();
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue