Commit 10dd53f1 authored by XieZhiXiong's avatar XieZhiXiong

chore: 修改 授信常量 引入路径

parent f4c77716
......@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2020-11-04 15:09:09
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-05-17 16:20:49
* @LastEditTime: 2021-06-02 16:00:51
* @Description: 维修商品抽屉组件
*/
import React from 'react';
......@@ -15,8 +15,10 @@ import { FORM_FILTER_PATH } from '@/formSchema/const';
import {
PAYWAY,
PAY_CHANNEL,
} from '@/constants/payment';
import {
PayOutWorkState,
} from '@/constants';
} from '@/constants/order';
import {
ORDER_TYPE_INQUIRY_CONTRACT,
ORDER_TYPE_BIDDING_CONTRACT,
......
......@@ -19,10 +19,12 @@ import {
PAY_CHANNEL_BALANCE,
PAY_CHANNEL_CREDIT,
PAY_CHANNEL_COD,
} from '@/constants/payment';
import {
RETURN_OUTER_STATUS_TO_BE_REFUNDED,
RETURN_OUTER_STATUS_UNCONFIRMED_REFUNDED,
RETURN_OUTER_STATUS_NOT_RECEIVED,
} from '@/constants';
} from '@/constants/afterService';
import Stamp from '../Stamp';
import CheckVoucherModal from '../CheckVoucherModal';
import RefundModal from '../RefundModal';
......
......@@ -32,7 +32,7 @@ import {
CREDIT_INNER_STATUS_UNCOMMITTED_PURCHASER,
CREDIT_INNER_STATUS_COMMITTED_PURCHASER,
} from '@/constants';
} from '@/constants/payment';
// 授信状态 Badge map
......
......@@ -14,7 +14,7 @@ import { history } from 'umi';
import lodash from 'lodash';
import { PublicApi } from '@/services/api';
import { GetPayCreditApplyGetApplyDetailResponse } from '@/services/PayApi';
import { CREDIT_INNER_STATUS, CREDIT_OUTER_STATUS, CREDIT_STATUS } from '@/constants';
import { CREDIT_INNER_STATUS, CREDIT_OUTER_STATUS, CREDIT_STATUS } from '@/constants/payment';
import { normalizeFiledata, FileData } from '@/utils';
import AvatarWrap from '@/components/AvatarWrap';
import StatusTag from '@/components/StatusTag';
......
......@@ -7,7 +7,7 @@ import {
Empty,
} from 'antd';
import { GetPayCreditApplyPageCreditOverdueResponseDetail } from '@/services/PayApi';
import { BILL_TRADE_OPERATION } from '@/constants';
import { BILL_TRADE_OPERATION } from '@/constants/payment';
import { normalizeFiledata, FileData } from '@/utils';
import MellowCard from '@/components/MellowCard';
import StatusTag from '@/components/StatusTag';
......
......@@ -18,7 +18,7 @@ import { PublicApi } from '@/services/api';
import {
PAY_CHANNEL_WECHAT,
PAY_CHANNEL_BALANCE,
} from '@/constants';
} from '@/constants/payment';
import MellowCard from '@/components/MellowCard';
import { Pie } from '@/components/Charts';
import StatusTag from '@/components/StatusTag';
......
......@@ -18,7 +18,7 @@ import {
CREDIT_STATUS_FROZEN,
CREDIT_STATUS,
CREDIT_REPAYMENT_STATUS_OVERDUE,
} from '@/constants';
} from '@/constants/payment';
import {
CREDIT_REPAYMENT_STATUS_TAG_MAP,
CREDIT_STATUS_BADGE_MAP,
......
......@@ -26,7 +26,7 @@ import { listSearchSchema } from './schema';
import {
CREDIT_INNER_STATUS_UNCOMMITTED,
CREDIT_OUTER_STATUS_FAILED,
} from '@/constants';
} from '@/constants/payment';
import {
CREDIT_OUTER_STATUS_TAG_MAP,
CREDIT_INNER_STATUS_BADGE_MAP_PURCHASER,
......
......@@ -13,7 +13,7 @@ import {
CREDIT_INNER_STATUS,
CREDIT_OUTER_STATUS, CREDIT_STATUS,
CREDIT_INNER_STATUS_UNCOMMITTED,
} from '@/constants';
} from '@/constants/payment';
import { normalizeFiledata, FileData, findLastIndexFlowState, normalizeFlowData } from '@/utils';
import { PageHeaderWrapper } from '@ant-design/pro-layout';
import AvatarWrap from '@/components/AvatarWrap';
......
......@@ -10,7 +10,7 @@ import StatusTag from '@/components/StatusTag';
import {
CREDIT_INNER_STATUS,
CREDIT_OUTER_STATUS,
} from '@/constants';
} from '@/constants/payment';
import {
CREDIT_INNER_STATUS_BADGE_MAP,
CREDIT_OUTER_STATUS_TAG_MAP,
......
......@@ -7,7 +7,7 @@ import {
Empty,
} from 'antd';
import { GetPayCreditApplyPageCreditOverdueResponseDetail } from '@/services/PayApi';
import { BILL_TRADE_OPERATION } from '@/constants';
import { BILL_TRADE_OPERATION } from '@/constants/payment';
import { normalizeFiledata, FileData } from '@/utils';
import MellowCard from '@/components/MellowCard';
import StatusTag from '@/components/StatusTag';
......
......@@ -29,7 +29,7 @@ import {
CREDIT_STATUS_FROZEN,
CREDIT_STATUS,
CREDIT_REPAYMENT_STATUS_OVERDUE,
} from '@/constants';
} from '@/constants/payment';
import {
CREDIT_REPAYMENT_STATUS_TAG_MAP,
CREDIT_STATUS_BADGE_MAP,
......
......@@ -11,7 +11,7 @@ import {
CREDIT_INNER_STATUS_FAILED_1,
CREDIT_INNER_STATUS_FAILED_2,
CREDIT_INNER_STATUS_FAILED_3,
} from '@/constants';
} from '@/constants/payment';
import DetailInfo from '../components/DetailInfo';
import VerifyModal from '../components/VerifyModal';
......
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