BUG优化

dev
xiepeng 2024-07-03 10:51:16 +08:00
parent 56b3e8f052
commit 261bcdf3d5
2 changed files with 6 additions and 4 deletions

View File

@ -682,7 +682,6 @@
v-model:file-list="data.form.faceFile" v-model:file-list="data.form.faceFile"
accept=".jpg,.jpeg,.png" accept=".jpg,.jpeg,.png"
list-type="picture-card" list-type="picture-card"
disabled
> >
<template #tip> <template #tip>
<div style="line-height: 1.6" class="mt-10"> <div style="line-height: 1.6" class="mt-10">

View File

@ -91,6 +91,7 @@
<el-descriptions-item label="身份证(正面)"> <el-descriptions-item label="身份证(正面)">
<img <img
v-if="data.idCard.ID_PHOTO_FRONT !== null" v-if="data.idCard.ID_PHOTO_FRONT !== null"
:key="data.idCard.ID_PHOTO_FRONT"
v-viewer v-viewer
:src="data.idCard.ID_PHOTO_FRONT" :src="data.idCard.ID_PHOTO_FRONT"
width="100" width="100"
@ -102,6 +103,7 @@
<el-descriptions-item label="身份证(背面)"> <el-descriptions-item label="身份证(背面)">
<img <img
v-if="data.idCard.ID_PHOTO_BACK !== null" v-if="data.idCard.ID_PHOTO_BACK !== null"
:key="data.idCard.ID_PHOTO_BACK"
v-viewer v-viewer
:src="data.idCard.ID_PHOTO_BACK" :src="data.idCard.ID_PHOTO_BACK"
width="100" width="100"
@ -127,6 +129,7 @@
<el-descriptions-item label="驾驶证"> <el-descriptions-item label="驾驶证">
<img <img
v-if="data.drivingLicence.ID_PHOTO_FRONT !== null" v-if="data.drivingLicence.ID_PHOTO_FRONT !== null"
:key="data.drivingLicence.ID_PHOTO_FRONT"
v-viewer v-viewer
:src="data.drivingLicence.ID_PHOTO_FRONT" :src="data.drivingLicence.ID_PHOTO_FRONT"
width="100" width="100"
@ -156,6 +159,7 @@
<el-descriptions-item label="道路运输从业资格证"> <el-descriptions-item label="道路运输从业资格证">
<img <img
v-if="data.qualificationCertificate.ID_PHOTO_FRONT !== null" v-if="data.qualificationCertificate.ID_PHOTO_FRONT !== null"
:key="data.qualificationCertificate.ID_PHOTO_FRONT"
v-viewer v-viewer
:src="data.qualificationCertificate.ID_PHOTO_FRONT" :src="data.qualificationCertificate.ID_PHOTO_FRONT"
width="100" width="100"
@ -180,7 +184,7 @@
}} }}
</el-descriptions-item> </el-descriptions-item>
</el-descriptions> </el-descriptions>
<el-divider content-position="left">人员认证</el-divider> <!-- <el-divider content-position="left">人员认证</el-divider>
<el-descriptions :column="1" border> <el-descriptions :column="1" border>
<el-descriptions-item label="人脸照片"> <el-descriptions-item label="人脸照片">
<img <img
@ -192,7 +196,7 @@
class="ml-10" class="ml-10"
/> />
</el-descriptions-item> </el-descriptions-item>
</el-descriptions> </el-descriptions>-->
<!-- <div v-for="(item, index) in data.certificateList" :key="index"> <!-- <div v-for="(item, index) in data.certificateList" :key="index">
<el-divider content-position="left"> <el-divider content-position="left">
@ -319,7 +323,6 @@ const data = reactive({
drivingLicence: [], drivingLicence: [],
qualificationCertificate: [], qualificationCertificate: [],
}); });
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 });