Commit 6c58b94e authored by Bill's avatar Bill

fix: 修改轮询结果接口请求方式

parent 0c6bf79f
...@@ -15,7 +15,15 @@ import { fetchOptions } from '../../common' ...@@ -15,7 +15,15 @@ import { fetchOptions } from '../../common'
import UploadVoucherModal from '../../components/UploadVoucherModal'; import UploadVoucherModal from '../../components/UploadVoucherModal';
import Voucher from '../../components/Voucher'; import Voucher from '../../components/Voucher';
import useSetSearchValueInTable from '@/hooks/useSetSearchValueInTable'; import useSetSearchValueInTable from '@/hooks/useSetSearchValueInTable';
import { getSettleAccountsCommonGetSettlementOrderType, getSettleAccountsCommonGetSettlementStatus, getSettleAccountsMemberSettlementGetPayablePayProve, getSettleAccountsMemberSettlementPagePayableSettlement, GetSettleAccountsMemberSettlementPagePayableSettlementRequest, postSettleAccountsMemberSettlementCommunicationPay, postSettleAccountsMemberSettlementCommunicationPayResult, postSettleAccountsMemberSettlementPay } from '@/services/SettleV2Api'; import {
getSettleAccountsCommonGetSettlementOrderType,
getSettleAccountsCommonGetSettlementStatus,
getSettleAccountsMemberSettlementCommunicationPayResult,
getSettleAccountsMemberSettlementGetPayablePayProve,
getSettleAccountsMemberSettlementPagePayableSettlement,
GetSettleAccountsMemberSettlementPagePayableSettlementRequest,
postSettleAccountsMemberSettlementCommunicationPay,
postSettleAccountsMemberSettlementPay } from '@/services/SettleV2Api';
import { postReportSettlementMemberManualSettlement } from '@/services/ReportV2Api'; import { postReportSettlementMemberManualSettlement } from '@/services/ReportV2Api';
import OtherPayModal from '../components/OtherPayModal'; import OtherPayModal from '../components/OtherPayModal';
import useHandleSettlementList from './hooks/useHandleSettlementList'; import useHandleSettlementList from './hooks/useHandleSettlementList';
...@@ -211,7 +219,7 @@ const SettlementList = () => { ...@@ -211,7 +219,7 @@ const SettlementList = () => {
/** 轮询接口 */ /** 轮询接口 */
useEffect(() => { useEffect(() => {
if (modals.qrcodeModal) { if (modals.qrcodeModal) {
cycleStart(postSettleAccountsMemberSettlementCommunicationPayResult, { settlementNo: itemInfo.settlementNo }); cycleStart(getSettleAccountsMemberSettlementCommunicationPayResult, { settlementNo: itemInfo.settlementNo });
} }
}, [modals]) }, [modals])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment