- 오류 수정
This commit is contained in:
@@ -40,3 +40,16 @@ export const AlimtalkSendClBtnGroup = [
|
|||||||
{name: '성공', value: AlimTalkSendCl.SUCCESS },
|
{name: '성공', value: AlimTalkSendCl.SUCCESS },
|
||||||
{name: '실패', value: AlimTalkSendCl.FAIL }
|
{name: '실패', value: AlimTalkSendCl.FAIL }
|
||||||
]
|
]
|
||||||
|
|
||||||
|
export const getAlimtalkServiceCodeText = (status?: string): string => {
|
||||||
|
if (!status) return '';
|
||||||
|
|
||||||
|
const serviceCodeMap: Record<string, string> = {
|
||||||
|
'CARD': '카드',
|
||||||
|
'BANK': '계좌이체',
|
||||||
|
'VBANK': '가상계좌',
|
||||||
|
'PHONE': '휴대폰'
|
||||||
|
};
|
||||||
|
|
||||||
|
return serviceCodeMap[status] || status;
|
||||||
|
}
|
||||||
@@ -79,7 +79,7 @@ export const LinkPaymentWaitSendWrap = () => {
|
|||||||
if (selectedEmail) {
|
if (selectedEmail) {
|
||||||
downloadExcel({
|
downloadExcel({
|
||||||
mid: mid,
|
mid: mid,
|
||||||
//email: selectedEmail,
|
email: selectedEmail,
|
||||||
searchCl: searchType,
|
searchCl: searchType,
|
||||||
searchValue: searchValue,
|
searchValue: searchValue,
|
||||||
fromDate: startDate,
|
fromDate: startDate,
|
||||||
|
|||||||
@@ -9,6 +9,8 @@ import { FundAccountResultStatus } from '../model/fund-account/types';
|
|||||||
import { getSmsClName } from '../model/sms-payment/constant';
|
import { getSmsClName } from '../model/sms-payment/constant';
|
||||||
import { getKeyInPaymentPaymentStatusName } from '../model/key-in/constant';
|
import { getKeyInPaymentPaymentStatusName } from '../model/key-in/constant';
|
||||||
import { getArsPaymentStatusName, getArsOrderStatusName } from '../model/ars/constant';
|
import { getArsPaymentStatusName, getArsOrderStatusName } from '../model/ars/constant';
|
||||||
|
import { ServiceCode } from '../model/alimtalk/types';
|
||||||
|
import { getAlimtalkServiceCodeText } from '../model/alimtalk/constant';
|
||||||
|
|
||||||
export const ListItem = ({
|
export const ListItem = ({
|
||||||
additionalServiceCategory,
|
additionalServiceCategory,
|
||||||
@@ -28,7 +30,7 @@ export const ListItem = ({
|
|||||||
paymentMethod, receiverName,
|
paymentMethod, receiverName,
|
||||||
requestId,subReqId,
|
requestId,subReqId,
|
||||||
buyerName,receiverInfo,
|
buyerName,receiverInfo,
|
||||||
seq,
|
seq,serviceCode,
|
||||||
|
|
||||||
smsCl,
|
smsCl,
|
||||||
name,
|
name,
|
||||||
@@ -351,7 +353,7 @@ export const ListItem = ({
|
|||||||
str = '이름(' + tid + ')';
|
str = '이름(' + tid + ')';
|
||||||
}
|
}
|
||||||
else if (additionalServiceCategory === AdditionalServiceCategory.Alimtalk) {
|
else if (additionalServiceCategory === AdditionalServiceCategory.Alimtalk) {
|
||||||
str = `${receiverName}(${tid})`;
|
str = `${receiverName}(${getAlimtalkServiceCodeText(serviceCode)})`;
|
||||||
}
|
}
|
||||||
|
|
||||||
return str;
|
return str;
|
||||||
|
|||||||
@@ -136,7 +136,6 @@ export const AlimtalkListPage = () => {
|
|||||||
date = itemDate;
|
date = itemDate;
|
||||||
}
|
}
|
||||||
if (date !== itemDate) {
|
if (date !== itemDate) {
|
||||||
date = itemDate;
|
|
||||||
if (list.length > 0) {
|
if (list.length > 0) {
|
||||||
rs.push(
|
rs.push(
|
||||||
<ListDateGroup
|
<ListDateGroup
|
||||||
@@ -148,6 +147,7 @@ export const AlimtalkListPage = () => {
|
|||||||
></ListDateGroup>
|
></ListDateGroup>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
date = itemDate;
|
||||||
list = [];
|
list = [];
|
||||||
}
|
}
|
||||||
list.push(item);
|
list.push(item);
|
||||||
|
|||||||
Reference in New Issue
Block a user