7月28日需求变更,准入资质申请 增加驳回记录
parent
a5e239da7e
commit
7a04c5cb8b
|
|
@ -14,6 +14,10 @@ export const qualificationApplyList = declareRequest(
|
||||||
"qualificationApplyLoading",
|
"qualificationApplyLoading",
|
||||||
`Post > @/xgfManager/qualificationsApply/list`,
|
`Post > @/xgfManager/qualificationsApply/list`,
|
||||||
);
|
);
|
||||||
|
export const qualificationApplyRejectHistoryList = declareRequest(
|
||||||
|
"qualificationApplyLoading",
|
||||||
|
`Post > @/xgfManager/qualificationsApply/rejectHistory`,
|
||||||
|
);
|
||||||
export const qualificationApplyAdd = declareRequest(
|
export const qualificationApplyAdd = declareRequest(
|
||||||
"qualificationApplyLoading",
|
"qualificationApplyLoading",
|
||||||
`Post > @/xgfManager/qualificationsApply/save`,
|
`Post > @/xgfManager/qualificationsApply/save`,
|
||||||
|
|
|
||||||
|
|
@ -75,7 +75,7 @@ function List(props) {
|
||||||
{
|
{
|
||||||
title: "操作",
|
title: "操作",
|
||||||
fixed: "right",
|
fixed: "right",
|
||||||
width: 200,
|
width: 260,
|
||||||
render: (_, record) => (
|
render: (_, record) => (
|
||||||
<Space>
|
<Space>
|
||||||
{props.permission("zrzz-xgf-zrzzsq-btn-ck") && (
|
{props.permission("zrzz-xgf-zrzzsq-btn-ck") && (
|
||||||
|
|
@ -111,6 +111,16 @@ function List(props) {
|
||||||
查看驳回原因
|
查看驳回原因
|
||||||
</Button>
|
</Button>
|
||||||
)}
|
)}
|
||||||
|
{props.permission("zrzz-xgf-zrzzsq-btn-ckbhyy") && (
|
||||||
|
<Button
|
||||||
|
type="link"
|
||||||
|
onClick={() => {
|
||||||
|
props.history.push(`./rejectRecord?id=${record.id}`);
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
驳回记录
|
||||||
|
</Button>
|
||||||
|
)}
|
||||||
</Space>
|
</Space>
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,44 @@
|
||||||
|
import { Permission } from "@cqsjjb/jjb-common-decorator/permission";
|
||||||
|
import { Connect } from "@cqsjjb/jjb-dva-runtime";
|
||||||
|
import Page from "zy-react-library/components/Page";
|
||||||
|
import Table from "zy-react-library/components/Table";
|
||||||
|
import useGetUrlQuery from "zy-react-library/hooks/useGetUrlQuery";
|
||||||
|
import useTable from "zy-react-library/hooks/useTable";
|
||||||
|
import { NS_QUALIFICATION_APPLY } from "~/enumerate/namespace";
|
||||||
|
|
||||||
|
function List(props) {
|
||||||
|
const query = useGetUrlQuery();
|
||||||
|
|
||||||
|
const { tableProps } = useTable(props["qualificationApplyRejectHistoryList"], {
|
||||||
|
params: { qualificationsApplyId: query.id },
|
||||||
|
});
|
||||||
|
|
||||||
|
return (
|
||||||
|
<Page headerTitle="驳回记录">
|
||||||
|
<Table
|
||||||
|
columns={[
|
||||||
|
{ title: "审核单位", dataIndex: "auditCorpName" },
|
||||||
|
{ title: "审核部门", dataIndex: "auditCorpDeptName" },
|
||||||
|
{ title: "审核人", dataIndex: "auditUserName" },
|
||||||
|
{ title: "审核时间", dataIndex: "auditTime" },
|
||||||
|
{
|
||||||
|
title: "审核状态",
|
||||||
|
dataIndex: "auditStatus",
|
||||||
|
render: (_, record) => (
|
||||||
|
<>
|
||||||
|
{record.auditStatus === 100 && `暂存`}
|
||||||
|
{record.auditStatus === 200 && `${record.auditProcess === 100 ? "集团单位" : "审核部门"}审核中`}
|
||||||
|
{record.auditStatus === 300 && `${record.auditProcess === 100 ? "集团单位" : "审核部门"}已驳回`}
|
||||||
|
{record.auditStatus === 400 && "已通过"}
|
||||||
|
</>
|
||||||
|
),
|
||||||
|
},
|
||||||
|
{ title: "驳回原因", dataIndex: "auditRemarks" },
|
||||||
|
]}
|
||||||
|
{...tableProps}
|
||||||
|
/>
|
||||||
|
</Page>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default Connect([NS_QUALIFICATION_APPLY], true)(Permission(List));
|
||||||
Loading…
Reference in New Issue