feat:相关方人员申请
parent
82d75f81c6
commit
c6b6bd942a
|
|
@ -1,5 +1,9 @@
|
||||||
import { declareRequest } from "@cqsjjb/jjb-dva-runtime";
|
import { declareRequest } from "@cqsjjb/jjb-dva-runtime";
|
||||||
|
|
||||||
|
export const xgfPersonnelList = declareRequest(
|
||||||
|
"temporaryPersonnelLoading",
|
||||||
|
`Post > @/primeport/personApply/xgfPersonAuditList`,
|
||||||
|
);
|
||||||
export const temporaryPersonnelList = declareRequest(
|
export const temporaryPersonnelList = declareRequest(
|
||||||
"temporaryPersonnelLoading",
|
"temporaryPersonnelLoading",
|
||||||
`Post > @/primeport/personApply/pendingApprovalList`,
|
`Post > @/primeport/personApply/pendingApprovalList`,
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,7 @@ import useGetFile from "zy-react-library/hooks/useGetFile";
|
||||||
import useTable from "zy-react-library/hooks/useTable";
|
import useTable from "zy-react-library/hooks/useTable";
|
||||||
import { getLabelName } from "zy-react-library/utils";
|
import { getLabelName } from "zy-react-library/utils";
|
||||||
import { NS_TEMPORARY_PERSONNEL } from "~/enumerate/namespace";
|
import { NS_TEMPORARY_PERSONNEL } from "~/enumerate/namespace";
|
||||||
|
import {xgfPersonnelList} from "~/api/temporaryPersonnel";
|
||||||
|
|
||||||
const STATUS_ENUM = [
|
const STATUS_ENUM = [
|
||||||
{ bianma: "1", name: "审核中" },
|
{ bianma: "1", name: "审核中" },
|
||||||
|
|
@ -28,7 +29,7 @@ function RelatedPersonnel(props) {
|
||||||
const [viewRejectReasonModalVisible, setViewRejectReasonModalVisible] = useState(false);
|
const [viewRejectReasonModalVisible, setViewRejectReasonModalVisible] = useState(false);
|
||||||
|
|
||||||
const [form] = Search.useForm();
|
const [form] = Search.useForm();
|
||||||
const { tableProps, getData } = useTable(props["temporaryPersonnelList"], {
|
const { tableProps, getData } = useTable(props["xgfPersonnelList"], {
|
||||||
form,
|
form,
|
||||||
params: { processOrRecord: !props.isRecords ? 1 : 2 },
|
params: { processOrRecord: !props.isRecords ? 1 : 2 },
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue