| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- import { request, handle } from '@kasite/uni-app-base';
- // @ts-ignore
- import { REQUEST_CONFIG } from '@/config';
- /**
- * 获取校验码
- */
- export const sendVerificationCode_V3 = async (queryData: any, options: any = {}) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/accountMember/api/SendVerificationCode_V3/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 校验验证码
- */
- export const checkVerificationCode_V3 = async (queryData: any, options: any = {}) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/accountMember/api/CheckVerificationCode_V3/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 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(`${REQUEST_CONFIG.BASE_URL}wsgw/refund/refundRegister/RefundRegister/callApiJSON.do`, queryData));
- return handle.catchPromiseNew(resp, () => resp, { showModal: false });
- };
- /**
- * 退款申请记录
- */
- export const refundSelect = async (queryData: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/refund/refundRegister/RefundSelect/callApiJSON.do`, queryData));
- return handle.catchPromiseNew(resp, () => resp);
- };
- /**
- * 退款申请记录
- */
- export const refundSelectNew = async (queryData: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/refund/refundRegister/RefundSelect/callApiJSON.do`, queryData));
- return handle.catchPromiseNew(resp, () => resp);
- };
- /**
- * 银行卡号查询银行
- */
- export const getBankName = async (queryData: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/refund/refundRegister/GetBankName/callApiJSON.do`, queryData));
- return handle.catchPromiseNew(resp, () => resp);
- };
- /**
- * 获取患者信息
- */
- export const getPatInfo = async (queryData: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/refund/refundRegister/GetPatInfo/callApiJSON.do`, 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);
- };
- export const refundRegisterNew = async (queryData: any, options: any = {}) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/refund/refundRegister/RefundRegisterNew/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- export const refundUpdate = async (queryData: any, options: any = {}) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/refund/refundRegister/RefundUpdate/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- export const userConfirmAuth = async (queryData: any, options: any = {}) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/transfer/auth/UserConfirmAuth/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- export const queryMemberCardListAdnCardBalance = async (queryData: any, options: any = {}) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/accountMember/api/QueryMemberCardListAdnCardBalance/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- export const queryRefundRecord = async (queryData: any, options: any = {}) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/refund/refundRegister/RefundSelect/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- export const getBankNameUrl = `${REQUEST_CONFIG.BASE_URL}wsgw/refund/refundRegister/GetBankName/callApiJSON.do`;
|