From 2eb94a6aafda52e7a0139930e9ba3749c835e9bf Mon Sep 17 00:00:00 2001 From: dearLin <1261008090@qq.com> Date: Tue, 31 Mar 2026 15:25:43 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E9=95=BF=E6=9C=9F=E8=BD=A6?= =?UTF-8?q?=E8=BE=86=E5=AE=A1=E6=89=B9=E4=B8=8E=E8=82=A1=E4=BB=BD=E8=BD=A6?= =?UTF-8?q?=E8=BE=86=E5=AE=A1=E6=89=B9=E9=A1=B5=E9=9D=A2=E6=8A=A5=E9=94=99?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/vehicleAudit/index.js | 4 ++++ .../LongTermVehicleApproval/RelatedVehicles/index.js | 10 +++++----- .../LongTermVehicleApproval/ShareVehicles/index.js | 2 +- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/api/vehicleAudit/index.js b/src/api/vehicleAudit/index.js index fb2837d..2da439a 100644 --- a/src/api/vehicleAudit/index.js +++ b/src/api/vehicleAudit/index.js @@ -4,6 +4,10 @@ export const vehicleAuditList = declareRequest( "vehicleAuditLoading", `Post > @/primeport/vehicleAudit/pendingApprovalList`, ); +export const vehicleApplyInfo = declareRequest( + "vehicleAuditLoading", + `Get > /primeport/vehicleApply/{id}`, +); export const vehicleAuditInfo = declareRequest( "vehicleAuditLoading", `Get > /primeport/vehicleAudit/{id}`, diff --git a/src/pages/Container/Supervision/FirstLevelDoor/PortEntryApproval/LongTermVehicleApproval/RelatedVehicles/index.js b/src/pages/Container/Supervision/FirstLevelDoor/PortEntryApproval/LongTermVehicleApproval/RelatedVehicles/index.js index 911d0de..f2145f8 100644 --- a/src/pages/Container/Supervision/FirstLevelDoor/PortEntryApproval/LongTermVehicleApproval/RelatedVehicles/index.js +++ b/src/pages/Container/Supervision/FirstLevelDoor/PortEntryApproval/LongTermVehicleApproval/RelatedVehicles/index.js @@ -235,7 +235,7 @@ const InfoModalComponent = (props) => { const { getFile } = useGetFile(); const getData = async () => { - const { data } = await props["vehicleAuditInfo"]({ vehicleApplyId: props.vehicleApplyId }); + const { data } = await props["vehicleApplyInfo"]({ id: props.vehicleApplyId }); const drivingLicenseFile = await getFile({ eqType: UPLOAD_FILE_TYPE_ENUM[601], eqForeignKey: data.drivingLicenseId }); 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 }); @@ -259,16 +259,16 @@ const InfoModalComponent = (props) => { bordered styles={{ label: { width: 200 } }} items={[ - { label: "相关方名称", children: info.todo1 }, + { label: "相关方名称", children: info.vehicleCorpName }, { label: "项目名称", children: info.projectName }, - { label: "审核人员", children: info.auditUserName }, + { label: "审核人员", children: info.currentAuditUserName }, { label: "时间范围", children: info.visitStartTime + info.visitEndTime }, { label: "地域范围", children: info.gateLevelAuthArea && JSON.parse(info.gateLevelAuthArea).area.map(item => item.value).join("、") }, - { label: "驾驶人员", children: info.employeeVehicleUserName }, + { label: "驾驶人员", children: info.drivingUserName }, { label: "车辆类型", children: info.vehicleTypeName }, { label: "车牌类型", children: info.licenceTypeName }, { label: "车牌号", children: info.licenceNo }, - { label: "审核状态", children: getLabelName({ list: VEHICLE_AUDIT_STATUS_ENUM, status: info.auditStatus }) }, + { label: "审核状态", children: getLabelName({ list: VEHICLE_AUDIT_STATUS_ENUM, status: info.auditFlag }) }, { label: "车辆照片", children: () }, { label: "车辆行驶证照片", children: () }, { label: "申请人签字", children: () }, diff --git a/src/pages/Container/Supervision/FirstLevelDoor/PortEntryApproval/LongTermVehicleApproval/ShareVehicles/index.js b/src/pages/Container/Supervision/FirstLevelDoor/PortEntryApproval/LongTermVehicleApproval/ShareVehicles/index.js index c055127..3aaa58c 100644 --- a/src/pages/Container/Supervision/FirstLevelDoor/PortEntryApproval/LongTermVehicleApproval/ShareVehicles/index.js +++ b/src/pages/Container/Supervision/FirstLevelDoor/PortEntryApproval/LongTermVehicleApproval/ShareVehicles/index.js @@ -198,7 +198,7 @@ function InfoModalComponent(props) { const [recordsList, setRecordsList] = useState([]); const getData = async () => { - const { data } = await props["vehicleAuditInfo"]({ vehicleApplyId: props.vehicleApplyId }); + const { data } = await props["vehicleAuditInfo"]({ id: props.id }); const changeAfter = data.changeAfter ? JSON.parse(data.changeAfter) : {}; const changeBefore = data.changeBefore ? JSON.parse(data.changeBefore) : {}; const changeAfterDrivingLicenseFile = await getFile({