| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163 |
- import { REQUEST_CONFIG } from '@/config';
- import { request, handle } from '@kasite/uni-app-base';
- /**
- * 处方合并结算
- */
- export const mergeSettledPayReceipt = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/order/businessOrder/MergeSettledPayReceipt/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 处方单笔结算
- */
- export const addOrderPrescription = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/order/businessOrder/AddOrderPrescription/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 查询未结算处方列表/查询发药的列表
- */
- export const queryOrderSettlementList = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/order/businessOrder/QueryOrderSettlementList/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 查询未结算处方列表
- */
- export const queryCardBalance_V3 = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/accountMember/api/QueryCardBalance_V3/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 预交金模式处方结算
- */
- export const settleOrderSettlement = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/order/businessOrder/SettleOrderSettlement/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 查询收件人地址列表
- */
- export const queryUserAddressList = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/user/addressApi/QueryUserAddressList/callApi.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, false);
- };
- /**
- * 查询发药的列表
- */
- export const querySendMedical = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/order/businessOrder/QueryOrderSettlementList/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, false);
- };
- /**
- * 物流下单
- */
- export const netLogistic = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/net/businessOrder/NetLogistic/callApi.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, false);
- };
- /**
- * 查询物流流水
- */
- export const queryNetLogisticWater = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/net/businessOrder/QueryNetLogisticWater/callApi.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, false);
- };
- /**
- * 获取医保授权信息
- */
- export const getMedicalInsUserInfo = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/medicalIns/medicalInsApi/GetMedicalInsUserInfo/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 获取用户医保授权地址
- */
- export const getMedicalInsAuthUrl = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/medicalIns/medicalInsApi/GetMedicalInsAuthUrl/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 医保下单
- */
- export const addMedicalInsSettleOrder = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/medicalIns/medicalInsApi/AddMedicalInsSettleOrder/callApiJSON.do`, queryData, {
- showLoading: false,
- ...options
- }));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 医保预结算
- */
- export const medicalInsOrderPreSettle = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/medicalIns/medicalInsApi/MedicalInsOrderPreSettle/callApiJSON.do`, queryData, {
- showLoading: false,
- ...options
- }));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 获取结算地址
- */
- export const medicalInsOrderSettle = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/medicalIns/medicalInsApi/MedicalInsOrderSettle/callApiJSON.do`, queryData, {
- showLoading: false,
- ...options
- }));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 结算成功后通知HIS医保结算
- */
- export const notifyMedicalInsSettle = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/medicalIns/medicalInsApi/NotifyMedicalInsSettle/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 生成订单
- */
- export const addOrderLocal = async (queryData: any, options?: any) => {
- let resp = handle.promistHandle(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/order/orderApi/AddOrderLocal/callApiJSON.do`, queryData, options));
- return handle.catchPromise(resp, () => resp);
- };
- /**
- * 获取入院登记记录
- */
- export const queryInHospitalList = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/presc/net/QueryInHospitalList/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 取消入院登记记录
- */
- export const cancelInHospital = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/presc/net/CancelInHospital/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 物流轨迹接口
- */
- export const getFengQiaoLogistics = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/net/businessOrder/GetFengQiaoLogistics/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, false);
- };
|