| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- import { request, handle } from '@kasite/uni-app-base';
- // @ts-ignore
- import api from '@/pagesPatient/service/api';
- import { REQUEST_CONFIG } from '@/config';
- /**
- * 获取校验码
- */
- export const sendVerificationCode_V3 = async (queryData: any) => {
- let resp = handle.promistHandleNew(await request.doPost(api.SendVerificationCode_V3, queryData));
- return handle.catchPromiseNew(resp, () => resp);
- };
- /**
- * 校验验证码
- */
- export const checkVerificationCode_V3 = async (queryData: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/accountMember/api/CheckVerificationCode_V3/callApiJSON.do`, queryData));
- return handle.catchPromiseNew(resp, () => resp);
- };
- /**
- * OCR身份验证
- */
- export const idCardVerification = async (queryData: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/medicalCopy/MedicalCopyApi/IdCardVerification/callApiJSON.do`, queryData));
- return handle.catchPromiseNew(resp, () => resp);
- };
- /**
- * 退款人员信息登记
- */
- export const refundRegister = async (queryData: any) => {
- let resp = handle.promistHandleNew(await request.doPost(api.RefundRegister, queryData));
- return handle.catchPromiseNew(resp, () => resp, { showModal: false });
- };
- /**
- * 退款申请记录
- */
- export const refundSelect = async (queryData: any) => {
- let resp = handle.promistHandleNew(await request.doPost(api.RefundSelect, queryData));
- return handle.catchPromiseNew(resp, () => resp);
- };
- /**
- * 退款申请记录
- */
- export const refundSelectNew = async (queryData: any) => {
- let resp = handle.promistHandleNew(await request.doPost(api.RefundSelect, queryData));
- return handle.catchPromiseNew(resp, () => resp);
- };
- /**
- * 银行卡号查询银行
- */
- export const getBankName = async (queryData: any) => {
- let resp = handle.promistHandleNew(await request.doPost(api.GetBankName, queryData));
- return handle.catchPromiseNew(resp, () => resp);
- };
- /**
- * 获取患者信息
- */
- export const getPatInfo = async (queryData: any) => {
- let resp = handle.promistHandleNew(await request.doPost(api.GetPatInfo, queryData));
- return handle.catchPromiseNew(resp, () => resp);
- };
- /**
- * 查可退余额(详情)
- */
- export const queryCanOriginalReturnedMoney = async (queryData: any) => {
- let resp = handle.promistHandleNew(
- await request.doPost(
- `${REQUEST_CONFIG.BASE_URL}wsgw/refund/refundRegister/QueryCanOriginalReturnedMoney/callApiJSON.do`,
- queryData
- )
- );
- return handle.catchPromiseNew(resp, () => resp);
- };
|