Commit d774a037 authored by XieZhiXiong's avatar XieZhiXiong
parents 67d2e9cc fe0c56f1
...@@ -5,7 +5,6 @@ import cx from 'classnames' ...@@ -5,7 +5,6 @@ import cx from 'classnames'
import { QuestionCircleOutlined } from '@ant-design/icons'; import { QuestionCircleOutlined } from '@ant-design/icons';
import { postContractSignatureAuthAgentAuth } from '@/services/ContractV2Api' import { postContractSignatureAuthAgentAuth } from '@/services/ContractV2Api'
import { getManageCountryAreaGetTelCode } from '@/services/ManageV2Api'; import { getManageCountryAreaGetTelCode } from '@/services/ManageV2Api';
// import { getManageCountryAreaGetTelCode } from '@/services/ManageV2Api';
interface queryProps { interface queryProps {
......
...@@ -2,6 +2,7 @@ import React, { useEffect, useState } from 'react' ...@@ -2,6 +2,7 @@ import React, { useEffect, useState } from 'react'
import { Result, Button, Form, Input, Select, Row, Col } from 'antd' import { Result, Button, Form, Input, Select, Row, Col } from 'antd'
import styles from '../index.less' import styles from '../index.less'
import { AlipaySquareFilled } from '@ant-design/icons'; import { AlipaySquareFilled } from '@ant-design/icons';
import { getManageCountryAreaGetTelCode } from '@/services/ManageV2Api';
interface queryProps { interface queryProps {
actionRef?: any, actionRef?: any,
......
...@@ -17,21 +17,13 @@ import { ...@@ -17,21 +17,13 @@ import {
FormEffectHooks, FormEffectHooks,
FormPath, FormPath,
} from '@formily/antd'; } from '@formily/antd';
<<<<<<< HEAD
import { getMemberDepositClassifyCity, getMemberDepositClassifyProvince } from '@/services/MemberV2Api'; import { getMemberDepositClassifyCity, getMemberDepositClassifyProvince } from '@/services/MemberV2Api';
=======
>>>>>>> 1fb662be44e7d6f880b3e886f596bb2a2c814806
import { useLinkageUtils } from '@/utils/formEffectUtils'; import { useLinkageUtils } from '@/utils/formEffectUtils';
import { ArrayCards } from '@formily/antd-components'; import { ArrayCards } from '@formily/antd-components';
import { schema } from './schema'; import { schema } from './schema';
import CascaderFormItem from '../../../components/CascaderFormItem'; import CascaderFormItem from '../../../components/CascaderFormItem';
import styles from './index.less'; import styles from './index.less';
<<<<<<< HEAD
// import { getProductCustomerGetCustomerCategoryTree } from '@/services/ProductApi'; // import { getProductCustomerGetCustomerCategoryTree } from '@/services/ProductApi';
=======
import { getMemberDepositClassifyCity, getMemberDepositClassifyProvince } from '@/services/MemberV2Api/id9022';
import { getProductCustomerGetCustomerCategoryTree } from '@/services/ProductV2Api/id6097';
>>>>>>> 1fb662be44e7d6f880b3e886f596bb2a2c814806
type CategoriesType = { type CategoriesType = {
/** /**
......
...@@ -22,11 +22,8 @@ import ReutrnEle from '@/components/ReturnEle'; ...@@ -22,11 +22,8 @@ import ReutrnEle from '@/components/ReturnEle';
import NiceForm from '@/components/NiceForm'; import NiceForm from '@/components/NiceForm';
import MellowCard from '@/components/MellowCard'; import MellowCard from '@/components/MellowCard';
import NoData from '@/components/NoData'; import NoData from '@/components/NoData';
<<<<<<< HEAD
import { getMemberAbilityInfoApplyDepositDetail, getMemberAbilityInfoDepositDetail, postMemberAbilityInfoApply, postMemberAbilityInfoDepositDetailUpdate } from '@/services/MemberV2Api'; import { getMemberAbilityInfoApplyDepositDetail, getMemberAbilityInfoDepositDetail, postMemberAbilityInfoApply, postMemberAbilityInfoDepositDetailUpdate } from '@/services/MemberV2Api';
import { getManageContentNoticeFindAllByColumnType } from '@/services/ManageV2Api'; import { getManageContentNoticeFindAllByColumnType } from '@/services/ManageV2Api';
=======
>>>>>>> 1fb662be44e7d6f880b3e886f596bb2a2c814806
import { normalizeFiledata, FileData } from '@/utils'; import { normalizeFiledata, FileData } from '@/utils';
import schema, { GroupItem } from './schema'; import schema, { GroupItem } from './schema';
import { useBusinessEffects } from '../../components/QualitiesUploadFormItem/effects'; import { useBusinessEffects } from '../../components/QualitiesUploadFormItem/effects';
...@@ -36,11 +33,6 @@ import SubmitSuccess from './components/SubmitSuccess'; ...@@ -36,11 +33,6 @@ import SubmitSuccess from './components/SubmitSuccess';
import QualitiesUpload from '../../components/QualitiesUpload'; import QualitiesUpload from '../../components/QualitiesUpload';
import QualitiesUploadFormItem from '../../components/QualitiesUploadFormItem'; import QualitiesUploadFormItem from '../../components/QualitiesUploadFormItem';
import AreaSelect from '../../components/AreaSelect'; import AreaSelect from '../../components/AreaSelect';
<<<<<<< HEAD
=======
import { getMemberAbilityInfoApplyDepositDetail, getMemberAbilityInfoDepositDetail, postMemberAbilityInfoApply, postMemberAbilityInfoDepositDetailUpdate } from '@/services/MemberV2Api/id9393';
import { getManageContentNoticeFindAllByColumnType } from '@/services/ManageV2Api';
>>>>>>> 1fb662be44e7d6f880b3e886f596bb2a2c814806
type ValueType = { type ValueType = {
...@@ -251,11 +243,8 @@ const MemberQueryApplyMember: React.FC<RouteComponentProps> = (props: any) => { ...@@ -251,11 +243,8 @@ const MemberQueryApplyMember: React.FC<RouteComponentProps> = (props: any) => {
}); });
} else { } else {
postMemberAbilityInfoDepositDetailUpdate({ postMemberAbilityInfoDepositDetailUpdate({
<<<<<<< HEAD
validateId: validateId as number, validateId: validateId as number,
======= validateId: validateId as number,
validateId: validateId as number,
>>>>>>> 1fb662be44e7d6f880b3e886f596bb2a2c814806
detail: step3, detail: step3,
...commonPayload, ...commonPayload,
}).then(res => { }).then(res => {
......
...@@ -3,11 +3,11 @@ import { history } from 'umi'; ...@@ -3,11 +3,11 @@ import { history } from 'umi';
import { Form, Input, Upload, Card, Tooltip, Button, message, Badge, Popconfirm } from 'antd' import { Form, Input, Upload, Card, Tooltip, Button, message, Badge, Popconfirm } from 'antd'
import { PageHeaderWrapper } from '@ant-design/pro-layout'; import { PageHeaderWrapper } from '@ant-design/pro-layout';
import ReutrnEle from '@/components/ReturnEle'; import ReutrnEle from '@/components/ReturnEle';
import { PublicApi } from '@/services/api'
import { UploadFile, UploadChangeParam } from 'antd/lib/upload/interface'; import { UploadFile, UploadChangeParam } from 'antd/lib/upload/interface';
import { UPLOAD_TYPE } from '@/constants' import { UPLOAD_TYPE } from '@/constants'
import { QuestionCircleOutlined, StarOutlined, FileWordFilled, UploadOutlined, DeleteOutlined } from '@ant-design/icons'; import { QuestionCircleOutlined, StarOutlined, FileWordFilled, UploadOutlined, DeleteOutlined } from '@ant-design/icons';
import styles from './index.less' import styles from './index.less'
import { getContractContractTemplateExample, getContractContractTemplateGet, getContractContractTemplatePreview, postContractContractTemplateAdd, postContractContractTemplateUpdate } from '@/services/ContractV2Api';
export interface parmas { export interface parmas {
page_type?: string, page_type?: string,
...@@ -54,7 +54,7 @@ const AddContract: React.FC<parmas> = (props) => { ...@@ -54,7 +54,7 @@ const AddContract: React.FC<parmas> = (props) => {
/**合同模板样例查询 */ /**合同模板样例查询 */
useEffect(() => { useEffect(() => {
PublicApi.getContractContractTemplateExample().then(res => { getContractContractTemplateExample().then(res => {
setFileExampleUrl(res.data) setFileExampleUrl(res.data)
}) })
}, []) }, [])
...@@ -62,14 +62,14 @@ const AddContract: React.FC<parmas> = (props) => { ...@@ -62,14 +62,14 @@ const AddContract: React.FC<parmas> = (props) => {
/**新增&修改 */ /**新增&修改 */
const sharedFn = async (parmas: any) => { const sharedFn = async (parmas: any) => {
if (page_type === 'add') { if (page_type === 'add') {
await PublicApi.postContractContractTemplateAdd(parmas).then(res => { await postContractContractTemplateAdd(parmas).then(res => {
setTimeout(() => { setTimeout(() => {
history.goBack() history.goBack()
}, 1000) }, 1000)
}) })
} else { } else {
parmas.id = id; parmas.id = id;
await PublicApi.postContractContractTemplateUpdate(parmas).then(res => { await postContractContractTemplateUpdate(parmas).then(res => {
setTimeout(() => { setTimeout(() => {
history.goBack() history.goBack()
}, 1000) }, 1000)
...@@ -111,7 +111,7 @@ const AddContract: React.FC<parmas> = (props) => { ...@@ -111,7 +111,7 @@ const AddContract: React.FC<parmas> = (props) => {
/**班级查看数据 */ /**班级查看数据 */
useEffect(() => { useEffect(() => {
if (id) { if (id) {
PublicApi.getContractContractTemplateGet({ id }).then(res => { getContractContractTemplateGet({ id }).then(res => {
setData(res.data); setData(res.data);
setUploadFile({ setUploadFile({
name: res.data.fileName, name: res.data.fileName,
...@@ -130,7 +130,7 @@ const AddContract: React.FC<parmas> = (props) => { ...@@ -130,7 +130,7 @@ const AddContract: React.FC<parmas> = (props) => {
} }
/**预览 */ /**预览 */
const onView = async (file: any) => { const onView = async (file: any) => {
await PublicApi.getContractContractTemplatePreview({ await getContractContractTemplatePreview({
contractName: file.name, contractName: file.name,
contractUrl: file.file contractUrl: file.file
}).then(res => { }).then(res => {
......
...@@ -4,9 +4,8 @@ import { history } from 'umi'; ...@@ -4,9 +4,8 @@ import { history } from 'umi';
import { PageHeaderWrapper } from '@ant-design/pro-layout' import { PageHeaderWrapper } from '@ant-design/pro-layout'
import { ExclamationCircleFilled, CheckCircleFilled, ClockCircleFilled, CloseCircleFilled } from '@ant-design/icons'; import { ExclamationCircleFilled, CheckCircleFilled, ClockCircleFilled, CloseCircleFilled } from '@ant-design/icons';
import { Descriptions, Button } from 'antd'; import { Descriptions, Button } from 'antd';
import div from './../../../editor/configs/componentConfigs/HTML/div';
import { PublicApi } from '@/services/api';
import Test from '../components/test' import Test from '../components/test'
import { getContractSignatureAuthGet, postContractSignatureAuthApply } from '@/services/ContractV2Api';
const Apply = () => { const Apply = () => {
const ref = useRef<any>({}); const ref = useRef<any>({});
...@@ -40,7 +39,7 @@ const Apply = () => { ...@@ -40,7 +39,7 @@ const Apply = () => {
/**电子签章认证查询 */ /**电子签章认证查询 */
useEffect(() => { useEffect(() => {
PublicApi.getContractSignatureAuthGet({}).then((res: any) => { getContractSignatureAuthGet({}).then((res: any) => {
setData(res.data) setData(res.data)
}) })
}, []) }, [])
...@@ -50,14 +49,14 @@ const Apply = () => { ...@@ -50,14 +49,14 @@ const Apply = () => {
if (ref && data.state === 1) { if (ref && data.state === 1) {
const vaildDetail = await ref.current.validateFields(); const vaildDetail = await ref.current.validateFields();
if (vaildDetail) { if (vaildDetail) {
await PublicApi.postContractSignatureAuthApply({}).then(res => { await postContractSignatureAuthApply({}).then(res => {
setSignatureAuthLogId(res.data.signatureAuthLogId); setSignatureAuthLogId(res.data.signatureAuthLogId);
sessionStorage.setItem('signatureAuthLogId', res.data.signatureAuthLogId.toString()) sessionStorage.setItem('signatureAuthLogId', res.data.signatureAuthLogId.toString())
history.push(`/memberCenter/tranactionAbility/electronicContracts/apply/enterpriseCertified?authTypeEdit=${authType}`) history.push(`/memberCenter/tranactionAbility/electronicContracts/apply/enterpriseCertified?authTypeEdit=${authType}`)
}) })
} }
} else { } else {
await PublicApi.postContractSignatureAuthApply({}).then(res => { await postContractSignatureAuthApply({}).then(res => {
setSignatureAuthLogId(res.data.signatureAuthLogId); setSignatureAuthLogId(res.data.signatureAuthLogId);
sessionStorage.setItem('signatureAuthLogId', res.data.signatureAuthLogId.toString()) sessionStorage.setItem('signatureAuthLogId', res.data.signatureAuthLogId.toString())
history.push(`/memberCenter/tranactionAbility/electronicContracts/apply/enterpriseCertified?authTypeEdit=${authType}`) history.push(`/memberCenter/tranactionAbility/electronicContracts/apply/enterpriseCertified?authTypeEdit=${authType}`)
......
...@@ -4,7 +4,7 @@ import { Card, Row, Col, Input, Button } from 'antd'; ...@@ -4,7 +4,7 @@ import { Card, Row, Col, Input, Button } from 'antd';
import statuStyle from '../../common/colorTag' import statuStyle from '../../common/colorTag'
import { ColumnType } from 'antd/lib/table/interface'; import { ColumnType } from 'antd/lib/table/interface';
import { StandardTable } from 'god'; import { StandardTable } from 'god';
import { PublicApi } from '@/services/api' import { getContractContractParamPage } from '@/services/ContractV2Api';
const ClassSearch = () => { const ClassSearch = () => {
const ref = useRef<any>({}); const ref = useRef<any>({});
...@@ -36,7 +36,7 @@ const ClassSearch = () => { ...@@ -36,7 +36,7 @@ const ClassSearch = () => {
const fetchData = (params?: any) => { const fetchData = (params?: any) => {
console.log(params)//可以直接打印参数 console.log(params)//可以直接打印参数
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
PublicApi.getContractContractParamPage({ ...filterParams, ...params }).then(res => { getContractContractParamPage({ ...filterParams, ...params }).then(res => {
resolve(res.data) resolve(res.data)
}) })
}) })
......
...@@ -3,7 +3,8 @@ import { Button, Row, Col, Form, Input, Select } from 'antd' ...@@ -3,7 +3,8 @@ import { Button, Row, Col, Form, Input, Select } from 'antd'
import styles from '../index.less' import styles from '../index.less'
import cx from 'classnames' import cx from 'classnames'
import { QuestionCircleOutlined } from '@ant-design/icons'; import { QuestionCircleOutlined } from '@ant-design/icons';
import { PublicApi } from '@/services/api'; import { postContractSignatureAuthAgentAuth } from '@/services/ContractV2Api';
import { getManageCountryAreaGetTelCode } from '@/services/ManageV2Api';
interface queryProps { interface queryProps {
authType: number, authType: number,
...@@ -44,7 +45,7 @@ const Corporate: React.FC<queryProps> = (props) => { ...@@ -44,7 +45,7 @@ const Corporate: React.FC<queryProps> = (props) => {
delete value.code; delete value.code;
const parmas = Object.assign(query, value); const parmas = Object.assign(query, value);
updateData(parmas) updateData(parmas)
PublicApi.postContractSignatureAuthAgentAuth(parmas).then(res => { postContractSignatureAuthAgentAuth(parmas).then(res => {
if (res.code === 1000) { if (res.code === 1000) {
authTypeFn(2, 2, 'company') authTypeFn(2, 2, 'company')
setPayWay(3) setPayWay(3)
...@@ -61,7 +62,7 @@ const Corporate: React.FC<queryProps> = (props) => { ...@@ -61,7 +62,7 @@ const Corporate: React.FC<queryProps> = (props) => {
useEffect(() => { useEffect(() => {
CheckPayWay(1); CheckPayWay(1);
PublicApi.getManageCountryAreaGetTelCode().then(res => { getManageCountryAreaGetTelCode().then(res => {
setOptions(res.data) setOptions(res.data)
}) })
}, []) }, [])
......
...@@ -3,8 +3,8 @@ import { history } from 'umi' ...@@ -3,8 +3,8 @@ import { history } from 'umi'
import { Result, Button, Form, Input, Row, Col, Alert, Spin } from 'antd' import { Result, Button, Form, Input, Row, Col, Alert, Spin } from 'antd'
import styles from '../index.less' import styles from '../index.less'
import { AlipaySquareFilled } from '@ant-design/icons'; import { AlipaySquareFilled } from '@ant-design/icons';
import { PublicApi } from '@/services/api';
import QRCode, { QRCodeToDataURLOptions } from 'qrcode'; import QRCode, { QRCodeToDataURLOptions } from 'qrcode';
import { postContractSignatureAuthFaceVerify, postContractSignatureAuthLegalRepSignVerify, postContractSignatureAuthMobileVerify, postContractSignatureAuthMobileVerifyCode, postContractSignatureAuthPaymentVerify, postContractSignatureAuthPaymentVerifyAmount } from '@/services/ContractV2Api';
interface queryProps { interface queryProps {
payWay: number, payWay: number,
...@@ -42,7 +42,7 @@ const PublicAccount: React.FC<queryProps> = (props) => { ...@@ -42,7 +42,7 @@ const PublicAccount: React.FC<queryProps> = (props) => {
quality: 0.9 quality: 0.9
} }
} }
PublicApi.postContractSignatureAuthFaceVerify({ signatureAuthLogId: Number(sessionStorage.getItem('signatureAuthLogId')) }).then(res => { postContractSignatureAuthFaceVerify({ signatureAuthLogId: Number(sessionStorage.getItem('signatureAuthLogId')) }).then(res => {
QRCode.toDataURL(res.data.authUrl, options).then((url: any) => { QRCode.toDataURL(res.data.authUrl, options).then((url: any) => {
setQrCode(url) setQrCode(url)
console.log(res.data.authUrl) console.log(res.data.authUrl)
...@@ -58,7 +58,7 @@ const PublicAccount: React.FC<queryProps> = (props) => { ...@@ -58,7 +58,7 @@ const PublicAccount: React.FC<queryProps> = (props) => {
/**发起对公打款验证 */ /**发起对公打款验证 */
const paymentVerifyFn = () => { const paymentVerifyFn = () => {
delete query.orgName; delete query.orgName;
PublicApi.postContractSignatureAuthPaymentVerify(query).then(res => { postContractSignatureAuthPaymentVerify(query).then(res => {
if(res.code === 1000) { if(res.code === 1000) {
setPaymentVerify(1) setPaymentVerify(1)
} }
...@@ -73,7 +73,7 @@ const PublicAccount: React.FC<queryProps> = (props) => { ...@@ -73,7 +73,7 @@ const PublicAccount: React.FC<queryProps> = (props) => {
signatureAuthLogId: Number(sessionStorage.getItem('signatureAuthLogId')), signatureAuthLogId: Number(sessionStorage.getItem('signatureAuthLogId')),
amount: value.amount amount: value.amount
} }
PublicApi.postContractSignatureAuthPaymentVerifyAmount(parmas).then(res => { postContractSignatureAuthPaymentVerifyAmount(parmas).then(res => {
if(res.code === 1000) { if(res.code === 1000) {
history.goBack() history.goBack()
} }
...@@ -90,7 +90,7 @@ const PublicAccount: React.FC<queryProps> = (props) => { ...@@ -90,7 +90,7 @@ const PublicAccount: React.FC<queryProps> = (props) => {
agentName: data.transactorName, agentName: data.transactorName,
agentIdNo: data.transactorIdNumber, agentIdNo: data.transactorIdNumber,
} }
PublicApi.postContractSignatureAuthLegalRepSignVerify(parmas).then(res => { postContractSignatureAuthLegalRepSignVerify(parmas).then(res => {
if(res.code === 1000) { if(res.code === 1000) {
setVisible(true) setVisible(true)
console.log('发送成功') console.log('发送成功')
...@@ -120,7 +120,7 @@ const PublicAccount: React.FC<queryProps> = (props) => { ...@@ -120,7 +120,7 @@ const PublicAccount: React.FC<queryProps> = (props) => {
/** 发起手机认证*/ /** 发起手机认证*/
const handleVerifyCode = async () => { const handleVerifyCode = async () => {
await PublicApi.postContractSignatureAuthMobileVerify({ await postContractSignatureAuthMobileVerify({
signatureAuthLogId: Number(sessionStorage.getItem('signatureAuthLogId')), signatureAuthLogId: Number(sessionStorage.getItem('signatureAuthLogId')),
mobileNo: data.transactorMobile mobileNo: data.transactorMobile
}).then(res => { }).then(res => {
...@@ -136,7 +136,7 @@ const PublicAccount: React.FC<queryProps> = (props) => { ...@@ -136,7 +136,7 @@ const PublicAccount: React.FC<queryProps> = (props) => {
const onSubmit = async () => { const onSubmit = async () => {
const value = await form.validateFields(); const value = await form.validateFields();
if(value) { if(value) {
await PublicApi.postContractSignatureAuthMobileVerifyCode({ await postContractSignatureAuthMobileVerifyCode({
signatureAuthLogId: Number(sessionStorage.getItem('signatureAuthLogId')), signatureAuthLogId: Number(sessionStorage.getItem('signatureAuthLogId')),
authcode: value.authcode authcode: value.authcode
}).then(res => { }).then(res => {
......
...@@ -2,7 +2,7 @@ import React, { useEffect, useState } from 'react' ...@@ -2,7 +2,7 @@ import React, { useEffect, useState } from 'react'
import { Result, Button, Form, Input, Select, Row, Col } from 'antd' import { Result, Button, Form, Input, Select, Row, Col } from 'antd'
import styles from '../index.less' import styles from '../index.less'
import { AlipaySquareFilled } from '@ant-design/icons'; import { AlipaySquareFilled } from '@ant-design/icons';
import { PublicApi } from '@/services/api'; import { getManageCountryAreaGetTelCode } from '@/services/ManageV2Api';
interface queryProps { interface queryProps {
actionRef?: any, actionRef?: any,
...@@ -51,7 +51,7 @@ const Test: React.FC<queryProps> = (props) => { ...@@ -51,7 +51,7 @@ const Test: React.FC<queryProps> = (props) => {
actionRef.current = userAction; actionRef.current = userAction;
} }
} }
PublicApi.getManageCountryAreaGetTelCode().then(res => { getManageCountryAreaGetTelCode().then(res => {
setOptions(res.data) setOptions(res.data)
}) })
}, []) }, [])
......
...@@ -6,7 +6,7 @@ import StepComponents from '../components/steps' ...@@ -6,7 +6,7 @@ import StepComponents from '../components/steps'
import EnterpriseInfoCheck from '../components/enterpriseInfoCheck' import EnterpriseInfoCheck from '../components/enterpriseInfoCheck'
import Corporate from '../components/corporate' import Corporate from '../components/corporate'
import PublicAccount from '../components/publicAccount' import PublicAccount from '../components/publicAccount'
import { PublicApi } from '@/services/api'; import { postContractSignatureAuthLegalRepAuth, postContractSignatureAuthPersonalAuth } from '@/services/ContractV2Api';
const EnterpriseCertified = () => { const EnterpriseCertified = () => {
const { authTypeEdit } = history.location.query; // 认证方式 1-法人认证 2-经办人认证 3-个人认证 const { authTypeEdit } = history.location.query; // 认证方式 1-法人认证 2-经办人认证 3-个人认证
...@@ -31,7 +31,7 @@ const EnterpriseCertified = () => { ...@@ -31,7 +31,7 @@ const EnterpriseCertified = () => {
authType, authType,
...data ...data
} }
PublicApi.postContractSignatureAuthLegalRepAuth(parmas).then(res => { postContractSignatureAuthLegalRepAuth(parmas).then(res => {
if(res.code === 1000) { if(res.code === 1000) {
setStep(steps) setStep(steps)
} }
...@@ -44,7 +44,7 @@ const EnterpriseCertified = () => { ...@@ -44,7 +44,7 @@ const EnterpriseCertified = () => {
signatureAuthLogId: Number(sessionStorage.getItem('signatureAuthLogId')), signatureAuthLogId: Number(sessionStorage.getItem('signatureAuthLogId')),
...data ...data
} }
PublicApi.postContractSignatureAuthPersonalAuth(parmas).then(res => { postContractSignatureAuthPersonalAuth(parmas).then(res => {
if(res.code === 1000) { if(res.code === 1000) {
setStep(steps) setStep(steps)
} }
......
...@@ -9,7 +9,7 @@ import { SaveOutlined } from '@ant-design/icons'; ...@@ -9,7 +9,7 @@ import { SaveOutlined } from '@ant-design/icons';
import { useLinkEnumEffect } from '@/components/NiceForm/linkages/linkEnum'; import { useLinkEnumEffect } from '@/components/NiceForm/linkages/linkEnum';
import { useAsyncSelect } from '@/formSchema/effects/useAsyncSelect'; import { useAsyncSelect } from '@/formSchema/effects/useAsyncSelect';
import styles from './index.less'; import styles from './index.less';
import { getManageAreaAll } from '@/services/ManageV2Api'; import { getManageAreaAll, getManageCountryAreaGetTelCode } from '@/services/ManageV2Api';
const formActions = createFormActions(); const formActions = createFormActions();
const { const {
...@@ -53,7 +53,6 @@ const AddressForm: React.FC<AddressFormProps> = (props: any) => { ...@@ -53,7 +53,6 @@ const AddressForm: React.FC<AddressFormProps> = (props: any) => {
// 获取手机code // 获取手机code
const fetchTelCode = async () => { const fetchTelCode = async () => {
/** 接口待转v2 */
const { data } = await getManageCountryAreaGetTelCode(); const { data } = await getManageCountryAreaGetTelCode();
return data; return data;
}; };
......
...@@ -17,6 +17,7 @@ import { ...@@ -17,6 +17,7 @@ import {
OFFTER_INTERNALSTATE, OFFTER_INTERNALSTATE,
OFFTER_INTERNALSTATE_COLOR OFFTER_INTERNALSTATE_COLOR
} from '../../../constants'; } from '../../../constants';
import { getManageCountryAreaGetTelCode } from '@/services/ManageV2Api';
const { Option } = Select; const { Option } = Select;
const { Text, Link } = Typography; const { Text, Link } = Typography;
...@@ -47,7 +48,6 @@ const BasicInfo: React.FC<IProps> = (props: any) => { ...@@ -47,7 +48,6 @@ const BasicInfo: React.FC<IProps> = (props: any) => {
const [telCode, setTelCode] = useState<any>([]) const [telCode, setTelCode] = useState<any>([])
const handleGetTelCode = useCallback(async () => { const handleGetTelCode = useCallback(async () => {
/** 接口待转v2 */
await getManageCountryAreaGetTelCode().then(res => { await getManageCountryAreaGetTelCode().then(res => {
if (res.code === 1000) { if (res.code === 1000) {
setTelCode(res.data) setTelCode(res.data)
......
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