feat:相关方人员申请

master
dearLin 2026-03-28 15:54:38 +08:00
parent 82d75f81c6
commit c6b6bd942a
2 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,9 @@
import { declareRequest } from "@cqsjjb/jjb-dva-runtime";
export const xgfPersonnelList = declareRequest(
"temporaryPersonnelLoading",
`Post > @/primeport/personApply/xgfPersonAuditList`,
);
export const temporaryPersonnelList = declareRequest(
"temporaryPersonnelLoading",
`Post > @/primeport/personApply/pendingApprovalList`,

View File

@ -13,6 +13,7 @@ import useGetFile from "zy-react-library/hooks/useGetFile";
import useTable from "zy-react-library/hooks/useTable";
import { getLabelName } from "zy-react-library/utils";
import { NS_TEMPORARY_PERSONNEL } from "~/enumerate/namespace";
import {xgfPersonnelList} from "~/api/temporaryPersonnel";
const STATUS_ENUM = [
{ bianma: "1", name: "审核中" },
@ -28,7 +29,7 @@ function RelatedPersonnel(props) {
const [viewRejectReasonModalVisible, setViewRejectReasonModalVisible] = useState(false);
const [form] = Search.useForm();
const { tableProps, getData } = useTable(props["temporaryPersonnelList"], {
const { tableProps, getData } = useTable(props["xgfPersonnelList"], {
form,
params: { processOrRecord: !props.isRecords ? 1 : 2 },
});