- 링크결제_분리승인 상세 추가

This commit is contained in:
HyeonJongKim
2025-10-21 17:57:01 +09:00
parent bb7d34bf7d
commit 40a1ee95ce
11 changed files with 355 additions and 185 deletions

View File

@@ -29,7 +29,7 @@ export const LinkPaymentDetailPage = () => {
const [titleInfo, setTitleInfo] = useState<TitleInfo>();
const [detailInfo, setDetailInfo] = useState<DetailInfo>();
const [paymentInfo, setPaymentInfo] = useState<PaymentInfo>();
const [detailExposure, setDetailExposure] = useState<boolean>(false);
const [showPayment, setShowPayment] = useState<boolean>(false);
useSetHeaderTitle('링크결제 상세');
@@ -54,10 +54,11 @@ export const LinkPaymentDetailPage = () => {
setTitleInfo(rs.titleInfo)
setDetailInfo(rs.detailInfo)
setPaymentInfo(rs.paymentInfo)
setDetailExposure(rs.detailExposure ?? false)
})
}
//발송 API
//발송 API
const resendPayment = () => {
let resendParam: ExtensionLinkPayHistoryResendParams = {
mid: mid,
@@ -107,7 +108,7 @@ export const LinkPaymentDetailPage = () => {
const onClickToSeparateApproval = () => {
navigate(PATHS.additionalService.linkPayment.separateApproval, {
state: { mid, tid }
state: { mid, requestId }
});
};
@@ -154,19 +155,20 @@ export const LinkPaymentDetailPage = () => {
detailInfo={detailInfo}
></DetailInfoWrap>
</div>
{/* <div className="apply-row">
<div className="apply-row">
<button
className="btn-50 btn-blue flex-1"
onClick={() => onClickToSeparateApproval()}
disabled={false}
> </button>
</div> */}
<div className="apply-row">
</div>
{/* <div className="apply-row">
<button
className="btn-50 btn-blue flex-1"
onClick={() => onClickToResend()}
disabled={!isResendEnabled()}
>재발송</button>
</div>
</div> */}
</div>
</div>
</main >