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