临时车辆审批 修改没有签字照片报错问题

master
853931625@qq.com 2026-08-01 17:17:17 +08:00
parent 538d2b1485
commit 0db53635d4
3 changed files with 8 additions and 2 deletions

Binary file not shown.

View File

@ -215,12 +215,17 @@ const ReviewModalComponent = (props) => {
const getData = async () => { const getData = async () => {
const { data } = await props["vehicleApplyInfo"]({ id: props.vehicleApplyId }); const { data } = await props["vehicleApplyInfo"]({ id: props.vehicleApplyId });
console.log(data);
const drivingLicenseFile = await getFile({ const drivingLicenseFile = await getFile({
eqType: UPLOAD_FILE_TYPE_ENUM[601], eqType: UPLOAD_FILE_TYPE_ENUM[601],
eqForeignKey: data.drivingLicenseId, eqForeignKey: data.drivingLicenseId,
}); });
const attachmentFile = await getFile({ eqType: UPLOAD_FILE_TYPE_ENUM[602], eqForeignKey: data.attachmentId }); const attachmentFile = await getFile({ eqType: UPLOAD_FILE_TYPE_ENUM[602], eqForeignKey: data.attachmentId });
const informSignFile = await getFile({ eqType: UPLOAD_FILE_TYPE_ENUM[606], eqForeignKey: data.informSignId }); let informSignFile = []
if(data.informSignId){
informSignFile = await getFile({ eqType: UPLOAD_FILE_TYPE_ENUM[606], eqForeignKey: data.informSignId });
}
setInfo({ setInfo({
...data, ...data,
drivingLicenseFile, drivingLicenseFile,

View File

@ -17,6 +17,7 @@ function View(props) {
const [info, setInfo] = useState({}); const [info, setInfo] = useState({});
const getData = async () => { const getData = async () => {
const { data } = await props["vehicleApplyInfo"]({ id: query.id }); const { data } = await props["vehicleApplyInfo"]({ id: query.id });
const drivingLicenseFile = await getFile({ const drivingLicenseFile = await getFile({
eqType: UPLOAD_FILE_TYPE_ENUM[601], eqType: UPLOAD_FILE_TYPE_ENUM[601],
eqForeignKey: data.drivingLicenseId, eqForeignKey: data.drivingLicenseId,
@ -50,7 +51,7 @@ function View(props) {
items={[ items={[
{ label: "访问人姓名", children: info.employeeVehicleUserName }, { label: "访问人姓名", children: info.employeeVehicleUserName },
{ label: "手机号", children: info.lsUserPhone }, { label: "手机号", children: info.lsUserPhone },
{ label: "身份证号", children: info.lsUserIdcard }, { label: "身份证号", children: info.lsUserIdcard ? atob(info.lsUserIdcard) : "" },
{ label: "车牌号", children: info.licenceNo }, { label: "车牌号", children: info.licenceNo },
{ label: "车牌类型", children: info.licenceTypeName }, { label: "车牌类型", children: info.licenceTypeName },
{ label: "车辆类型", children: info.vehicleTypeName }, { label: "车辆类型", children: info.vehicleTypeName },