fixed:过时间的项目禁止申请入场

master^2
dearLin 2026-05-27 11:05:56 +08:00
parent ffd2b24659
commit ac8d75adf5
7 changed files with 8 additions and 6 deletions

View File

@ -35,7 +35,7 @@ function Add(props) {
const signatureUrl = useRef(""); const signatureUrl = useRef("");
const getXgfProjectListAll = async () => { const getXgfProjectListAll = async () => {
const { data } = await props["xgfProjectListAll"](); const { data } = await props["xgfProjectListAll"]({betweenProjectTime :1 });
setXgfProjectListAll(data); setXgfProjectListAll(data);
}; };

View File

@ -33,7 +33,7 @@ function Add(props) {
const signatureUrl = useRef(""); const signatureUrl = useRef("");
const getXgfProjectListAll = async () => { const getXgfProjectListAll = async () => {
const { data } = await props["xgfProjectListAll"](); const { data } = await props["xgfProjectListAll"]({betweenProjectTime :1 });
setXgfProjectListAll(data); setXgfProjectListAll(data);
}; };

View File

@ -171,7 +171,7 @@ const ViewModalComponent = (props) => {
const { loading: getFileLoading, getFile } = useGetFile(); const { loading: getFileLoading, getFile } = useGetFile();
const getData = async () => { const getData = async () => {
const { data } = await props["vehicleApplyInfo"]({ vehicleApplyId: props.id }); const { data } = await props["vehicleApplyInfo"]({ id: props.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,

View File

@ -39,7 +39,7 @@ function Add(props) {
}; };
const getXgfProjectListAll = async () => { const getXgfProjectListAll = async () => {
const { data } = await props["xgfProjectListAll"](); const { data } = await props["xgfProjectListAll"]({betweenProjectTime :1 });
setXgfProjectListAll(data); setXgfProjectListAll(data);
}; };

View File

@ -55,7 +55,7 @@ function Add(props) {
}; };
const getXgfProjectListAll = async () => { const getXgfProjectListAll = async () => {
const { data } = await props["xgfProjectListAll"](); const { data } = await props["xgfProjectListAll"]({betweenProjectTime :1 });
setXgfProjectListAll(data); setXgfProjectListAll(data);
}; };

View File

@ -51,7 +51,8 @@ function List(props) {
// }, // },
// { name: "employeeVehicleUserName", label: "车辆所属人" }, // { name: "employeeVehicleUserName", label: "车辆所属人" },
{ name: "licenceNo", label: "车牌号" }, { name: "licenceNo", label: "车牌号" },
// { name: "vehicleType", label: "车辆类型", render: (<DictionarySelect dictValue="VEHICLE_TYPE" />) }, { name: "licenceType", label: "车牌类型", render: (<DictionarySelect dictValue="LICENCE_TYPE" />) },
{ name: "vehicleType", label: "车辆类型", render: (<DictionarySelect dictValue="VEHICLE_TYPE" />) },
]} ]}
form={form} form={form}
onFinish={getData} onFinish={getData}

View File

@ -154,6 +154,7 @@ const ReviewModalComponent = (props) => {
const onSubmit = async (values) => { const onSubmit = async (values) => {
const { success } = await props["vehicleAuditApproval"]({ const { success } = await props["vehicleAuditApproval"]({
id: props.id, id: props.id,
vehicleApplyId: props.vehicleApplyId,
...values, ...values,
}); });
if (success) { if (success) {