| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- import { request, handle } from '@kasite/uni-app-base';
- import { REQUEST_CONFIG } from '@/config';
- /**
- * 咨询获取科室列表
- * 不传值 参数默认'' 查询一级科室
- * 传值查询二级科室
- */
- export const queryClinicBaseDept = async (queryData: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/yy/yygh/QueryClinicBaseDept/callApiJSON.do`, queryData));
- return handle.catchPromiseNew(resp, () => resp);
- };
- /**
- * 查询门诊排班时间
- */
- export const queryClinicScheduleDate = async (queryData: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/yy/yygh/QueryClinicScheduleDate/callApiJSON.do`, queryData));
- return handle.catchPromiseNew(resp, () => resp);
- };
- /**
- * 咨询 查询门诊排班时间
- */
- export const queryClinicDoctorSchedule = async (queryData: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/yy/yygh/QueryClinicDoctorSchedule/callApiJSON.do`, queryData));
- return handle.catchPromiseNew(resp, () => resp);
- };
- /**
- * 医生列表+详情信息
- */
- export const queryClinicBaseDoctor = async (queryData: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/yy/yygh/QueryClinicBaseDoctor/callApiJSON.do`, queryData));
- return handle.catchPromiseNew(resp, () => resp);
- };
- /**
- * 医生列表+详情信息
- */
- export const searchClinicDeptAndDoctor = async (queryData: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/yy/yygh/SearchClinicDeptAndDoctor/callApiJSON.do`, queryData));
- return handle.catchPromiseNew(resp, () => resp);
- };
- /**
- * 搜索科室
- */
- export const queryDeptList_V2 = async (queryData: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/basic/DeptApi/QueryDeptList_V2/callApiJSON.do`, queryData));
- return handle.catchPromiseNew(resp, () => resp);
- };
- /**
- * 咨询搜索科室 医生
- */
- export const queryDoctorList_V2 = async (queryData: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/basic/DoctorApi/QueryDoctorList_V2/callApiJSON.do`, queryData));
- return handle.catchPromiseNew(resp, () => resp);
- };
- /**
- * 咨询 查询历史医生
- */
- export const queryHistoryBaseDoctor = async (queryData: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/yy/yygh/QueryHistoryBaseDoctor/callApiJSON.do`, queryData));
- return handle.catchPromiseNew(resp, () => resp);
- };
- /**
- * 获取预约时间段
- */
- export const queryNumbers = async (queryData: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/yy/yygh/QueryNumbers/callApiJSON.do`, queryData));
- return handle.catchPromiseNew(resp, () => resp);
- };
- /**
- * 锁号
- */
- export const lockOrder = async (queryData: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/yy/yygh/LockOrder/callApiJSON.do`, queryData));
- return handle.catchPromiseNew(resp, () => resp);
- };
- /**
- * 释号
- */
- export const unlock = async (queryData: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/yy/yygh/Unlock/callApiJSON.do`, queryData));
- return handle.catchPromiseNew(resp, () => resp);
- };
- /**
- * 挂号(不支付)
- */
- export const bookService = async (queryData: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/yy/yygh/BookService/callApiJSON.do`, queryData));
- return handle.catchPromiseNew(resp, () => resp);
- };
- /**
- * 签到
- */
- export const regSignForHis = async (queryData: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/queue/QueueWs/RegSignForHis/callApiJSON.do`, queryData));
- return handle.catchPromiseNew(resp, () => resp);
- };
|