부가서비스

- KeyIn결제 상태값에 따른 sort 오류 수정
This commit is contained in:
HyeonJongKim
2025-09-25 10:53:49 +09:00
parent d824528336
commit a06085a9bc
3 changed files with 13 additions and 10 deletions

View File

@@ -122,9 +122,9 @@ export interface FilterProps {
export enum KeyInPaymentTransactionStatus { export enum KeyInPaymentTransactionStatus {
ALL = 'ALL', ALL = 'ALL',
APPROVE = 'APPROVE', APPROVAL = 'APPROVAL',
ALL_CANCEL = 'ALL_CANCEL', PRE_CANCEL = 'PRE_CANCEL',
AFTER_CANCEL = 'AFTER_CANCEL' POST_CANCEL = 'POST_CANCEL'
} }
export interface KeyInPaymentListItem { export interface KeyInPaymentListItem {
@@ -587,7 +587,7 @@ export interface ExtensionLinkPayWaitDeleteRespone {
export interface ExtensionAccountHolderAuthListParams extends ExtensionRequestParams { export interface ExtensionAccountHolderAuthListParams extends ExtensionRequestParams {
fromDate: string; fromDate: string;
toDate: string; toDate: string;
authStatus: String; authStatus: string;
page?: DefaultRequestPagination; page?: DefaultRequestPagination;
} }

View File

@@ -65,9 +65,9 @@ export const KeyInPaymentFilter = ({
let transactionStatusOption = [ let transactionStatusOption = [
{ name: '전체', value: KeyInPaymentTransactionStatus.ALL }, { name: '전체', value: KeyInPaymentTransactionStatus.ALL },
{ name: '승인', value: KeyInPaymentTransactionStatus.APPROVE }, { name: '승인', value: KeyInPaymentTransactionStatus.APPROVAL },
{ name: '전취소', value: KeyInPaymentTransactionStatus.ALL_CANCEL }, { name: '전취소', value: KeyInPaymentTransactionStatus.PRE_CANCEL },
{ name: '후취소', value: KeyInPaymentTransactionStatus.AFTER_CANCEL }, { name: '후취소', value: KeyInPaymentTransactionStatus.POST_CANCEL },
] ]
return ( return (

View File

@@ -21,9 +21,9 @@ import { KeyInPaymentList } from '@/entities/additional-service/ui/key-in-paymen
// contant로 옮기기 // contant로 옮기기
const requestStatusBtnGroup = [ const requestStatusBtnGroup = [
{ name: '전체', value: KeyInPaymentTransactionStatus.ALL }, { name: '전체', value: KeyInPaymentTransactionStatus.ALL },
{ name: '승인', value: KeyInPaymentTransactionStatus.APPROVE }, { name: '승인', value: KeyInPaymentTransactionStatus.APPROVAL },
{ name: '전취소', value: KeyInPaymentTransactionStatus.ALL_CANCEL }, { name: '전취소', value: KeyInPaymentTransactionStatus.PRE_CANCEL },
{ name: '후취소', value: KeyInPaymentTransactionStatus.AFTER_CANCEL } { name: '후취소', value: KeyInPaymentTransactionStatus.POST_CANCEL }
]; ];
export const KeyInPaymentPage = () => { export const KeyInPaymentPage = () => {
@@ -76,6 +76,8 @@ export const KeyInPaymentPage = () => {
page: pageParam page: pageParam
}; };
console.log("Request Info: ", listParams)
keyinList(listParams).then((rs) => { keyinList(listParams).then((rs) => {
setListItems(assembleData(rs.content)); setListItems(assembleData(rs.content));
}); });
@@ -132,6 +134,7 @@ export const KeyInPaymentPage = () => {
}; };
const onClickToTransactionStatus = (val: KeyInPaymentTransactionStatus) => { const onClickToTransactionStatus = (val: KeyInPaymentTransactionStatus) => {
console.log("TransactionStatus Test: ", val)
setTransactionStatus(val); setTransactionStatus(val);
callList({ val: val }); callList({ val: val });
}; };