BUG优化

dev
xiepeng 2024-05-21 17:56:48 +08:00
parent 1aba082ea7
commit 8e764eecbb
3 changed files with 11 additions and 9 deletions

View File

@ -117,6 +117,7 @@
<el-tag v-if="item2.STATUS === '0'"></el-tag> <el-tag v-if="item2.STATUS === '0'"></el-tag>
<el-tag v-else></el-tag> <el-tag v-else></el-tag>
</td> </td>
<td> {{item2.REMARK}} </td>
</tr> </tr>
<tr> <tr>
<td class="title">检查人</td> <td class="title">检查人</td>
@ -131,11 +132,11 @@
/> />
</td> </td>
<td class="title">检查时间</td> <td class="title">检查时间</td>
<td colspan="2">{{ item1.SIGN_TIME }}</td> <td colspan="3">{{ item1.SIGN_TIME }}</td>
</tr> </tr>
<tr v-if="item.CHECKTYPE_NAME !== '待承诺'"> <tr v-if="item.CHECKTYPE_NAME !== '待承诺'">
<td class="title">检查照片</td> <td class="title">检查照片</td>
<td colspan="4"> <td colspan="5">
<div> <div>
<template <template
v-for="(item3, index3) in item1.IMG_PATH.split(',')" v-for="(item3, index3) in item1.IMG_PATH.split(',')"

View File

@ -960,13 +960,6 @@ const rules = {
trigger: "blur", trigger: "blur",
}, },
], ],
faceFile: [
{
required: true,
message: "人员认证照片不能为空",
trigger: "blur",
},
],
}; };
const formRef = ref(null); const formRef = ref(null);
const data = reactive({ const data = reactive({

View File

@ -1,5 +1,6 @@
<template> <template>
<layout-card> <layout-card>
<el-divider content-position="left"> {{data.statusInfo.REVIEW_RESULT === "-1" ? "打回" : "通过"}}详情 </el-divider>
<el-divider content-position="left">基本信息</el-divider> <el-divider content-position="left">基本信息</el-divider>
<el-descriptions :column="2" border> <el-descriptions :column="2" border>
<el-descriptions-item label="姓名"> <el-descriptions-item label="姓名">
@ -170,11 +171,13 @@ const { USER_ID } = route.query;
const data = reactive({ const data = reactive({
info: {}, info: {},
certificateList: [], certificateList: [],
statusInfo: {},
}); });
const fnGetData = async () => { const fnGetData = async () => {
if (!USER_ID) return; if (!USER_ID) return;
const resData = await getPractitionerInfo({ USER_ID }); const resData = await getPractitionerInfo({ USER_ID });
data.info = resData.pd; data.info = resData.pd;
data.statusInfo = resData.statusInfo
resData.certificateList.forEach((item) => { resData.certificateList.forEach((item) => {
item.ID_PHOTO_FRONT = FILE_URL + item.ID_PHOTO_FRONT; item.ID_PHOTO_FRONT = FILE_URL + item.ID_PHOTO_FRONT;
if (item.ID_PHOTO_BACK) { if (item.ID_PHOTO_BACK) {
@ -190,6 +193,11 @@ const fnGetData = async () => {
item.ID_PHOTO_BACK = null; item.ID_PHOTO_BACK = null;
} }
}); });
data.certificateList.forEach((item) => {
if(!item.ALLOW_QUALIFICATION || item.ALLOW_QUALIFICATION.includes("null")) {
item.ALLOW_QUALIFICATION = null;
}
})
}; };
fnGetData(); fnGetData();
</script> </script>