| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- import { request, handle } from '@kasite/uni-app-base';
- import { REQUEST_CONFIG } from '@/config';
- /**
- * 获取电子病历明细
- */
- export const getEMRInfo = async (queryData: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/report/ReportWs/GetEMRInfo/callApiJSON.do`, queryData));
- return handle.catchPromiseNew(resp, () => resp);
- };
- /**
- * 医技预约回执单
- */
- export const getAppointReceiptInfo = async (hisKey: any) => {
- const queryData = {
- HisKey: hisKey
- };
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/yy/yygh/GetAppointReceiptInfo/callApiJSON.do`, queryData));
- return handle.catchPromiseNew(resp, () => resp);
- };
- /**
- * 医技预约查询检查预约信息
- */
- export const queryExamItemList = async (data: any = {}) => {
- const queryData = {
- MemberId: data.memberId || '',
- CardType: data.cardType || '',
- CardNo: data.cardNo || '',
- StartDate: data.beginDate || '',
- EndDate: data.endDate || ''
- };
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/yy/yygh/QueryExamItemList/callApiJSON.do`, queryData));
- return handle.catchPromiseNew(resp, () => resp);
- };
- export const getMedicalReceipts = async (queryData: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/diy/queryApi/GetMedicalReceipts/callApiJSON.do`, queryData));
- return handle.catchPromiseNew(resp, () => resp);
- };
- /**
- * 取消医技预约
- */
- export const cancelAppoint = async (queryData: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/yy/yygh/CancelAppoint/callApiJSON.do`, queryData));
- return handle.catchPromiseNew(resp, () => resp);
- };
|