- 거래내역 조회 필터 상세 조회 카테고리 오기입 수정
- 부가서비스 detailOn 수정
This commit is contained in:
@@ -14,7 +14,7 @@ import { PATHS } from '@/shared/constants/paths';
|
||||
import { SortTypeBox } from '@/entities/common/ui/sort-type-box';
|
||||
import { getFundAccountResultStatusBtnGroup, getFundAccountStatusBtnGroup } from '../../model/fund-account/constant';
|
||||
import { FundAccountResultFilter } from '../filter/fund-account-result-filter';
|
||||
import { useStore } from '@/shared/model/store';
|
||||
import { useDetailOnStore, useStore } from '@/shared/model/store';
|
||||
import { DownloadBottomSheet, DownloadSelectedMode } from '@/entities/common/ui/download-bottom-sheet';
|
||||
import useIntersectionObserver from '@/widgets/intersection-observer';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
@@ -66,7 +66,7 @@ export const FundAccountResultListWrap = () => {
|
||||
const [totalFailCount, setTotalFailCount] = useState<number>(0);
|
||||
const [totalFailAmount, setTotalFailAmount] = useState<number>(0);
|
||||
|
||||
const [detailOn, setDetailOn] = useState<boolean>(false);
|
||||
const { detailOn, setDetailOn } = useDetailOnStore();
|
||||
const [detailMid, setDetailMid] = useState<string>('');
|
||||
const [detailTid, setDetailTid] = useState<string>('');
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ import { getFundAccountStatusBtnGroup } from '../../model/fund-account/constant'
|
||||
import { useExtensionFundAccountBalanceMutation } from '../../api/fund-account/use-extension-fund-account-balance-mutation';
|
||||
import { FundAccountTransactionFilter } from '../filter/fund-account-trnasaction-filter';
|
||||
import { PATHS } from '@/shared/constants/paths';
|
||||
import { useStore } from '@/shared/model/store';
|
||||
import { useDetailOnStore, useStore } from '@/shared/model/store';
|
||||
import { DownloadBottomSheet, DownloadSelectedMode } from '@/entities/common/ui/download-bottom-sheet';
|
||||
import useIntersectionObserver from '@/widgets/intersection-observer';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
@@ -60,7 +60,7 @@ export const FundAccountTransferListWrap = () => {
|
||||
const [status, setStatus] = useState<FundAccountStatus>(defaultParams.status);
|
||||
const [bankCode, setBankCode] = useState<string>(defaultParams.bankCode);
|
||||
|
||||
const [detailOn, setDetailOn] = useState<boolean>(false);
|
||||
const { detailOn, setDetailOn } = useDetailOnStore();
|
||||
const [detailSeq, setDetailSeq] = useState<number>(0);
|
||||
|
||||
const [downloadBottomSheetOn, setDownloadBottomSheetOn] = useState<boolean>(false);
|
||||
|
||||
@@ -11,7 +11,7 @@ import { AdditionalServiceCategory, DetailData, ProcessResult } from "../../mode
|
||||
import { useExtensionLinkPayHistoryListMutation } from '../../api/link-payment/use-extension-link-pay-history-list-mutation';
|
||||
import { DEFAULT_PAGE_PARAM } from '@/entities/common/model/constant';
|
||||
import { useExtensionLinkPayHistoryDownloadExcelMutation } from '../../api/link-payment/use-extension-link-pay-history-download-excel-mutation';
|
||||
import { useStore } from '@/shared/model/store';
|
||||
import { useDetailOnStore, useStore } from '@/shared/model/store';
|
||||
import { ExtensionLinkPayHistoryListParams, LinkPaymentHistoryListItem, LinkPaymentPaymentMethod, LinkPaymentPaymentStatus, LinkPaymentSearchCl, LinkPaymentSendMethod, LinkPaymentSendStatus } from '../../model/link-pay/types';
|
||||
import { DownloadBottomSheet, DownloadSelectedMode } from '@/entities/common/ui/download-bottom-sheet';
|
||||
import useIntersectionObserver from '@/widgets/intersection-observer';
|
||||
@@ -67,7 +67,7 @@ export const LinkPaymentHistoryWrap = () => {
|
||||
|
||||
const [downloadBottomSheetOn, setDownloadBottomSheetOn] = useState<boolean>(false);
|
||||
|
||||
const [detailOn, setDetailOn] = useState<boolean>(false);
|
||||
const { detailOn, setDetailOn } = useDetailOnStore();
|
||||
const [detailMid, setDetailMid] = useState<string>('');
|
||||
const [detailRequestId, setDetailRequestId] = useState<string>('');
|
||||
const [detailSubReqId, setDetailSubReqId] = useState<string>('');
|
||||
|
||||
@@ -11,7 +11,7 @@ import { DefaultRequestPagination, SortTypeKeys } from '@/entities/common/model/
|
||||
import { useExtensionLinkPayWaitListMutation } from '../../api/link-payment/use-extension-link-pay-wait-list-mutation';
|
||||
import { DEFAULT_PAGE_PARAM } from '@/entities/common/model/constant';
|
||||
import { useExtensionLinkPayWaitDownloadExcelMutation } from '../../api/link-payment/use-extension-link-pay-wait-download-excel-mutation';
|
||||
import { useStore } from '@/shared/model/store';
|
||||
import { useDetailOnStore, useStore } from '@/shared/model/store';
|
||||
import { LinkPaymentProcessStatus, LinkPaymentSearchCl, LinkPaymentSendMethod, LinkPaymentSendStatus, LinkPaymentWaitListItem } from '../../model/link-pay/types';
|
||||
import { getProcessStatusBtnGroup } from '../../model/link-pay/constant';
|
||||
import { DownloadBottomSheet, DownloadSelectedMode } from '@/entities/common/ui/download-bottom-sheet';
|
||||
@@ -54,7 +54,7 @@ export const LinkPaymentWaitSendWrap = () => {
|
||||
|
||||
const [downloadBottomSheetOn, setDownloadBottomSheetOn] = useState<boolean>(false);
|
||||
|
||||
const [detailOn, setDetailOn] = useState<boolean>(false);
|
||||
const { detailOn, setDetailOn } = useDetailOnStore();
|
||||
const [detailMid, setDetailMid] = useState<string>('');
|
||||
const [detailRequestId, setDetailRequestId] = useState<string>('');
|
||||
|
||||
|
||||
@@ -166,16 +166,16 @@ export const AllTransactionFilter = ({
|
||||
options.push({name: t('filter.searchOptions.phoneNumber'), value: AllTransactionSearchCl.TEL_NO});
|
||||
}
|
||||
else if(value === '14'){
|
||||
options.push({name: t('filter.searchOptions.giftCardNumber'), value: AllTransactionSearchCl.SSGMONEY_GIFT_NO});
|
||||
options.push({name: t('filter.searchOptions.culturelandId'), value: AllTransactionSearchCl.SSGMONEY_GIFT_NO});
|
||||
}
|
||||
else if(value === '21'){
|
||||
options.push({name: t('filter.searchOptions.approvalNumber'), value: AllTransactionSearchCl.SSGBANK_APPROVAL_NO});
|
||||
options.push({name: t('filter.searchOptions.giftCardNumber'), value: AllTransactionSearchCl.SSGBANK_APPROVAL_NO});
|
||||
}
|
||||
else if(value === '24'){
|
||||
options.push({name: t('filter.searchOptions.customerId'), value: AllTransactionSearchCl.CMSBANK_USER_ID});
|
||||
options.push({name: t('filter.searchOptions.approvalNumber'), value: AllTransactionSearchCl.CMSBANK_USER_ID});
|
||||
}
|
||||
else if(value === '26'){
|
||||
options.push({name: t('filter.searchOptions.culturelandId'), value: AllTransactionSearchCl.SSGBANK_APPROVAL_NO});
|
||||
options.push({name: t('filter.searchOptions.customerId'), value: AllTransactionSearchCl.SSGBANK_APPROVAL_NO});
|
||||
}
|
||||
else if(value === '31'){
|
||||
options.push({name: t('filter.searchOptions.tmoneyCardNumber'), value: AllTransactionSearchCl.TMONEY_CARD_NO});
|
||||
|
||||
@@ -19,7 +19,7 @@ import { AccountHolderAuthList } from '@/entities/additional-service/ui/account-
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { useExtensionAccountHolderAuthDownloadExcelMutation } from '@/entities/additional-service/api/account-holder-auth/use-extension-account-holder-auth-download-excel-mutation';
|
||||
import { AccountHolderAuthFilter } from '@/entities/additional-service/ui/account-holder-auth/filter/account-holder-auth-filter';
|
||||
import { useStore } from '@/shared/model/store';
|
||||
import { useDetailOnStore, useStore } from '@/shared/model/store';
|
||||
import { AccountHolderAuthStatus, AccountHolderAuthItem, ExtensionAccountHolderAuthDownloadExcelParams, ExtensionAccountHolderAuthDownloadExcelResponse } from '@/entities/additional-service/model/account-holder-auth/types';
|
||||
import { AdditionalServiceCategory, DetailData } from '@/entities/additional-service/model/types';
|
||||
import { DownloadBottomSheet, DownloadSelectedMode } from '@/entities/common/ui/download-bottom-sheet';
|
||||
@@ -55,7 +55,7 @@ export const AccountHolderAuthPage = () => {
|
||||
const [fromDate, setFromDate] = useState<string>(defaultParams.fromDate);
|
||||
const [toDate, setToDate] = useState<string>(defaultParams.toDate);
|
||||
const [authStatus, setAuthStatus] = useState<AccountHolderAuthStatus>(defaultParams.authStatus);
|
||||
const [detailOn, setDetailOn] = useState<boolean>(false);
|
||||
const { detailOn, setDetailOn } = useDetailOnStore();
|
||||
const [detailMid, setDetailMid] = useState<string>('');
|
||||
const [detailTid, setDetailTid] = useState<string>('');
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ import { useExtensionAccountHolderSearchDownloadExcelMutation } from '@/entities
|
||||
import { SortTypeBox } from '@/entities/common/ui/sort-type-box';
|
||||
import { SortTypeKeys } from '@/entities/common/model/types';
|
||||
import { AccountHolderSearchList } from '@/entities/additional-service/ui/account-holder-search/account-holder-search-list';
|
||||
import { useStore } from '@/shared/model/store';
|
||||
import { useDetailOnStore, useStore } from '@/shared/model/store';
|
||||
import { AccountHolderSearchListItem, AccountHolderSearchCl, AccountHolderResultStatus } from '@/entities/additional-service/model/account-holder-search/types';
|
||||
import { getResultStatusBtnGroup } from '@/entities/additional-service/model/account-holder-search/constant';
|
||||
import { DownloadBottomSheet, DownloadSelectedMode } from '@/entities/common/ui/download-bottom-sheet';
|
||||
@@ -65,7 +65,7 @@ export const AccountHolderSearchPage = () => {
|
||||
|
||||
const [downloadBottomSheetOn, setDownloadBottomSheetOn] = useState<boolean>(false);
|
||||
|
||||
const [detailOn, setDetailOn] = useState<boolean>(false);
|
||||
const { detailOn, setDetailOn } = useDetailOnStore();
|
||||
const [detailMid, setDetailMid] = useState<string>('');
|
||||
const [detailTid, setDetailTid] = useState<string>('');
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ import { useTranslation } from 'react-i18next';
|
||||
import { AlimtalkDetail } from '@/entities/additional-service/ui/alimtalk/detail/alimtalk-detail';
|
||||
import { checkGrant } from '@/shared/lib/check-grant';
|
||||
import { showAlert } from '@/widgets/show-alert';
|
||||
import { useStore } from '@/shared/model/store';
|
||||
import { useDetailOnStore, useStore } from '@/shared/model/store';
|
||||
|
||||
const defaultParams = {
|
||||
searchCl: AlimtalkSearchCl.BUYER_NAME,
|
||||
@@ -74,7 +74,7 @@ export const AlimtalkListPage = () => {
|
||||
|
||||
const [downloadBottomSheetOn, setDownloadBottomSheetOn] = useState<boolean>(false);
|
||||
|
||||
const [detailOn, setDetailOn] = useState<boolean>(false);
|
||||
const { detailOn, setDetailOn } = useDetailOnStore();
|
||||
const [detailMid, setDetailMid] = useState<string>('');
|
||||
const [detailTid, setDetailTid] = useState<string>('');
|
||||
const [detailSeq, setDetailSeq] = useState<number>(0);
|
||||
|
||||
@@ -20,7 +20,7 @@ import { SortTypeBox } from '@/entities/common/ui/sort-type-box';
|
||||
import { getArsPaymentStatusBtnGroup } from '@/entities/additional-service/model/ars/constant';
|
||||
import { ArsFilter } from '@/entities/additional-service/ui/ars/filter/ars-filter';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { useStore } from '@/shared/model/store';
|
||||
import { useDetailOnStore, useStore } from '@/shared/model/store';
|
||||
import { DownloadBottomSheet, DownloadSelectedMode } from '@/entities/common/ui/download-bottom-sheet';
|
||||
import { useExtensionAccessCheck } from '@/shared/lib/hooks/use-extension-access-check';
|
||||
import useIntersectionObserver from '@/widgets/intersection-observer';
|
||||
@@ -68,7 +68,7 @@ export const ArsListPage = () => {
|
||||
|
||||
const [downloadBottomSheetOn, setDownloadBottomSheetOn] = useState<boolean>(false);
|
||||
|
||||
const [detailOn, setDetailOn] = useState<boolean>(false);
|
||||
const { detailOn, setDetailOn } = useDetailOnStore();
|
||||
const [detailMid, setDetailMid] = useState<string>('');
|
||||
const [detailTid, setDetailTid] = useState<string>('');
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ import { getPayoutDisbursementStatusBtnGroup } from '@/entities/additional-servi
|
||||
import { ListDateGroup } from '@/entities/additional-service/ui/list-date-group';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { AdditionalServiceCategory, DetailData } from '@/entities/additional-service/model/types';
|
||||
import { useStore } from '@/shared/model/store';
|
||||
import { useDetailOnStore, useStore } from '@/shared/model/store';
|
||||
import { DownloadBottomSheet, DownloadSelectedMode } from '@/entities/common/ui/download-bottom-sheet';
|
||||
import { useExtensionAccessCheck } from '@/shared/lib/hooks/use-extension-access-check';
|
||||
import useIntersectionObserver from '@/widgets/intersection-observer';
|
||||
@@ -71,7 +71,7 @@ export const PayoutListPage = () => {
|
||||
const [filterUsed, setFilterUsed] = useState<boolean>(false);
|
||||
const [downloadBottomSheetOn, setDownloadBottomSheetOn] = useState<boolean>(false);
|
||||
|
||||
const [detailOn, setDetailOn] = useState<boolean>(false);
|
||||
const { detailOn, setDetailOn } = useDetailOnStore();
|
||||
const [detailMid, setDetailMid] = useState<string>('');
|
||||
const [detailTid, setDetailTid] = useState<string>('');
|
||||
const [detailDepositAmount, setDetailDepositAmount] = useState<number | undefined>();
|
||||
|
||||
Reference in New Issue
Block a user