- 알림톡 list 조회, 상세 조회 response seq 필드 추가
- 일부 다국어 오기입 수정
This commit is contained in:
@@ -96,6 +96,7 @@ export interface ExtensionAlimtalkListResponse extends DefaulResponsePagination
|
||||
};
|
||||
export interface AlimtalkListContent {
|
||||
tid?: string;
|
||||
seq?: number;
|
||||
sendDate?: string;
|
||||
alimCl?: AlimtalkAlimCl;
|
||||
sendType?: AlimtalkSendType;
|
||||
@@ -123,6 +124,7 @@ export interface ExtensionAlimtalkDownloadExcelResponse {
|
||||
export interface ExtensionAlimtalkDetailParams {
|
||||
mid: string;
|
||||
tid: string;
|
||||
seq: number;
|
||||
};
|
||||
|
||||
export interface ExtensionAlimtalkDetailResponse {
|
||||
|
||||
@@ -46,7 +46,7 @@ export interface ExtensionFundAccountTransferRegistResponse {
|
||||
};
|
||||
|
||||
export interface ExtensionFundAccountTransferRequestParams {
|
||||
seq: string;
|
||||
seq: number;
|
||||
}
|
||||
|
||||
export interface ExtensionFundAccountTransferRequestResponse {
|
||||
@@ -124,7 +124,7 @@ export interface ExtensionFundAccountTransferExcelResponse {
|
||||
status: boolean;
|
||||
};
|
||||
export interface ExtensionFundAccountTransferDetailParams {
|
||||
seq: string;
|
||||
seq: number;
|
||||
};
|
||||
export interface ExtensionFundAccountTransferDetailResponse {
|
||||
tid: string;
|
||||
|
||||
@@ -132,4 +132,6 @@ export interface ExtensionKeyinApplyResponse {
|
||||
path?: string;
|
||||
};
|
||||
};
|
||||
|
||||
resultMessage?: string
|
||||
}
|
||||
@@ -150,7 +150,7 @@ export interface DetailInfoSectionProps extends DetailResponse {
|
||||
export interface DetailData {
|
||||
mid?: string;
|
||||
tid?: string;
|
||||
seq?: string;
|
||||
seq?: number;
|
||||
requestId?: string;
|
||||
subReqId?: string;
|
||||
detailOn: boolean;
|
||||
@@ -194,7 +194,7 @@ export interface ListItemProps extends
|
||||
AccountHolderAuthListItem, AccountHolderSearchListItem, FaceAuthListItem {
|
||||
additionalServiceCategory?: AdditionalServiceCategory;
|
||||
mid?: string;
|
||||
seq?: string;
|
||||
seq?: number;
|
||||
onResendClick?: (mid: string, tid: string) => void;
|
||||
setDetailData?: (detailData: DetailData) => void;
|
||||
}
|
||||
|
||||
@@ -61,7 +61,7 @@ export const AccountHolderSearchDetail = ({
|
||||
>
|
||||
<div className="full-menu-container pdw-16">
|
||||
<div className="full-menu-header">
|
||||
<div className="full-menu-title center">{ t('transaction.detailTitle') }</div>
|
||||
<div className="full-menu-title center">{ t('additionalService.accountHolderSearch.detailTitle') }</div>
|
||||
<div className="full-menu-actions">
|
||||
<FullMenuClose
|
||||
addClass="full-menu-close"
|
||||
|
||||
@@ -15,13 +15,15 @@ export interface AlimtalkDetailProps {
|
||||
setDetailOn: (detailOn: boolean) => void;
|
||||
mid: string;
|
||||
tid: string;
|
||||
seq: number;
|
||||
};
|
||||
|
||||
export const AlimtalkDetail = ({
|
||||
detailOn,
|
||||
setDetailOn,
|
||||
mid,
|
||||
tid
|
||||
tid,
|
||||
seq
|
||||
}: AlimtalkDetailProps) => {
|
||||
const { t } = useTranslation();
|
||||
|
||||
@@ -32,7 +34,8 @@ export const AlimtalkDetail = ({
|
||||
const callDetail = () => {
|
||||
let params: ExtensionAlimtalkDetailParams = {
|
||||
mid: mid,
|
||||
tid: tid
|
||||
tid: tid,
|
||||
seq: seq
|
||||
};
|
||||
|
||||
extensionAlimtalkDetail(params).then((rs: ExtensionAlimtalkDetailResponse) => {
|
||||
@@ -49,10 +52,10 @@ export const AlimtalkDetail = ({
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
if(!!mid && !!tid){
|
||||
if(!!mid && !!tid && seq !== undefined){
|
||||
callDetail();
|
||||
}
|
||||
}, [mid, tid]);
|
||||
}, [mid, tid, seq]);
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ import { FullMenuClose } from '@/entities/common/ui/full-menu-close';
|
||||
export interface FundAccountTransferDetailProps {
|
||||
detailOn: boolean;
|
||||
setDetailOn: (detailOn: boolean) => void;
|
||||
seq: string;
|
||||
seq: number;
|
||||
};
|
||||
|
||||
export const FundAccountTransferDetail = ({
|
||||
|
||||
@@ -49,7 +49,7 @@ export const FundAccountTransferListWrap = () => {
|
||||
const [bankCode, setBankCode] = useState<string>('');
|
||||
|
||||
const [detailOn, setDetailOn] = useState<boolean>(false);
|
||||
const [detailSeq, setDetailSeq] = useState<string>('');
|
||||
const [detailSeq, setDetailSeq] = useState<number>(0);
|
||||
|
||||
const [emailBottomSheetOn, setEmailBottomSheetOn] = useState<boolean>(false);
|
||||
const [balance, setBalance] = useState<number>(0);
|
||||
|
||||
@@ -70,14 +70,16 @@ export const LinkPaymentWaitDetail = ({
|
||||
unmount
|
||||
}) => {
|
||||
return (
|
||||
<Dialog
|
||||
afterLeave={unmount}
|
||||
open={isOpen}
|
||||
onClose={close}
|
||||
onConfirmClick={() => deletePayment()}
|
||||
message={msg}
|
||||
buttonLabel={[t('common.cancel'), t('common.confirm')]}
|
||||
/>
|
||||
<div style={{ zIndex: 3000, position: 'relative' }}>
|
||||
<Dialog
|
||||
afterLeave={unmount}
|
||||
open={isOpen}
|
||||
onClose={close}
|
||||
onConfirmClick={() => deletePayment()}
|
||||
message={msg}
|
||||
buttonLabel={[t('common.cancel'), t('common.confirm')]}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
});
|
||||
};
|
||||
|
||||
@@ -236,10 +236,11 @@ export const ListItem = ({
|
||||
}
|
||||
}
|
||||
else if (additionalServiceCategory === AdditionalServiceCategory.Alimtalk) {
|
||||
if(setDetailData && !!mid && !!tid){
|
||||
if(setDetailData && !!mid && !!tid && seq !== undefined){
|
||||
setDetailData({
|
||||
mid: mid,
|
||||
tid: tid,
|
||||
seq: seq,
|
||||
detailOn: true
|
||||
});
|
||||
}
|
||||
@@ -501,7 +502,6 @@ export const ListItem = ({
|
||||
);
|
||||
}
|
||||
else if (additionalServiceCategory === AdditionalServiceCategory.Alimtalk) {
|
||||
console.log(serviceCode)
|
||||
rs.push(
|
||||
<div className="transaction-details">
|
||||
<span>{getTime()}</span>
|
||||
|
||||
@@ -64,6 +64,7 @@ export const AlimtalkListPage = () => {
|
||||
const [detailOn, setDetailOn] = useState<boolean>(false);
|
||||
const [detailMid, setDetailMid] = useState<string>('');
|
||||
const [detailTid, setDetailTid] = useState<string>('');
|
||||
const [detailSeq, setDetailSeq] = useState<number>(0);
|
||||
|
||||
const { mutateAsync: extensionAlimtalkList } = useExtensionAlimtalkListMutation();
|
||||
const { mutateAsync: extensionAlimtalkDownloadExcel } = useExtensionAlimtalkDownloadExcelMutation();
|
||||
@@ -167,6 +168,7 @@ export const AlimtalkListPage = () => {
|
||||
};
|
||||
|
||||
const setDetailData = (detailData: DetailData) => {
|
||||
console.log('Alimtalk setDetailData called with:', detailData);
|
||||
setDetailOn(detailData.detailOn);
|
||||
if(detailData.mid){
|
||||
setDetailMid(detailData.mid);
|
||||
@@ -174,6 +176,9 @@ export const AlimtalkListPage = () => {
|
||||
if(detailData.tid){
|
||||
setDetailTid(detailData.tid);
|
||||
}
|
||||
if(detailData.seq !== undefined){
|
||||
setDetailSeq(detailData.seq);
|
||||
}
|
||||
};
|
||||
|
||||
const onClickToNavigate = () => {
|
||||
@@ -329,6 +334,7 @@ export const AlimtalkListPage = () => {
|
||||
setDetailOn={ setDetailOn }
|
||||
mid={ detailMid }
|
||||
tid={ detailTid }
|
||||
seq={ detailSeq }
|
||||
></AlimtalkDetail>
|
||||
<EmailBottomSheet
|
||||
bottomSheetOn={emailBottomSheetOn}
|
||||
|
||||
@@ -95,6 +95,7 @@ export const KeyInPaymentRequestPage = () => {
|
||||
// 실패: 화면 유지 & 입력 내용 유지
|
||||
const errorMessage = rs.data?.resultMessage ||
|
||||
rs.error?.message ||
|
||||
rs.resultMessage||
|
||||
t('additionalService.keyIn.requestFailed');
|
||||
console.log('최종 errorMessage:', errorMessage);
|
||||
// HTML 태그 제거
|
||||
|
||||
Reference in New Issue
Block a user