From 7a04c5cb8bc0cd34a82e738a8111bbce1e7df733 Mon Sep 17 00:00:00 2001 From: LiuJiaNan <15703339975@163.com> Date: Tue, 4 Aug 2026 15:06:12 +0800 Subject: [PATCH] =?UTF-8?q?7=E6=9C=8828=E6=97=A5=E9=9C=80=E6=B1=82?= =?UTF-8?q?=E5=8F=98=E6=9B=B4=EF=BC=8C=E5=87=86=E5=85=A5=E8=B5=84=E8=B4=A8?= =?UTF-8?q?=E7=94=B3=E8=AF=B7=20=20=E5=A2=9E=E5=8A=A0=E9=A9=B3=E5=9B=9E?= =?UTF-8?q?=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/qualificationApply/index.js | 4 ++ .../Qualification/Apply/List/index.js | 12 ++++- .../Qualification/Apply/RejectRecord/index.js | 44 +++++++++++++++++++ 3 files changed, 59 insertions(+), 1 deletion(-) create mode 100644 src/pages/Container/Stakeholder/Qualification/Apply/RejectRecord/index.js diff --git a/src/api/qualificationApply/index.js b/src/api/qualificationApply/index.js index bbe618c..acde1c3 100644 --- a/src/api/qualificationApply/index.js +++ b/src/api/qualificationApply/index.js @@ -14,6 +14,10 @@ export const qualificationApplyList = declareRequest( "qualificationApplyLoading", `Post > @/xgfManager/qualificationsApply/list`, ); +export const qualificationApplyRejectHistoryList = declareRequest( + "qualificationApplyLoading", + `Post > @/xgfManager/qualificationsApply/rejectHistory`, +); export const qualificationApplyAdd = declareRequest( "qualificationApplyLoading", `Post > @/xgfManager/qualificationsApply/save`, diff --git a/src/pages/Container/Stakeholder/Qualification/Apply/List/index.js b/src/pages/Container/Stakeholder/Qualification/Apply/List/index.js index 6becfbf..271d007 100644 --- a/src/pages/Container/Stakeholder/Qualification/Apply/List/index.js +++ b/src/pages/Container/Stakeholder/Qualification/Apply/List/index.js @@ -75,7 +75,7 @@ function List(props) { { title: "操作", fixed: "right", - width: 200, + width: 260, render: (_, record) => ( {props.permission("zrzz-xgf-zrzzsq-btn-ck") && ( @@ -111,6 +111,16 @@ function List(props) { 查看驳回原因 )} + {props.permission("zrzz-xgf-zrzzsq-btn-ckbhyy") && ( + + )} ), }, diff --git a/src/pages/Container/Stakeholder/Qualification/Apply/RejectRecord/index.js b/src/pages/Container/Stakeholder/Qualification/Apply/RejectRecord/index.js new file mode 100644 index 0000000..9d7b2eb --- /dev/null +++ b/src/pages/Container/Stakeholder/Qualification/Apply/RejectRecord/index.js @@ -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 ( + + ( + <> + {record.auditStatus === 100 && `暂存`} + {record.auditStatus === 200 && `${record.auditProcess === 100 ? "集团单位" : "审核部门"}审核中`} + {record.auditStatus === 300 && `${record.auditProcess === 100 ? "集团单位" : "审核部门"}已驳回`} + {record.auditStatus === 400 && "已通过"} + + ), + }, + { title: "驳回原因", dataIndex: "auditRemarks" }, + ]} + {...tableProps} + /> + + ); +} + +export default Connect([NS_QUALIFICATION_APPLY], true)(Permission(List));