| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- import { request, handle } from '@kasite/uni-app-base';
- import { REQUEST_CONFIG } from '@/config';
- /**
- * 获取医院信息
- */
- export const queryBHospitalList = async (queryData: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/basic/HosApi/QueryBHospitalList/callApiJSON.do`, queryData));
- return handle.catchPromiseNew(resp, () => resp);
- };
- export const queryBDeptList = async (queryData: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/basic/DeptApi/QueryBDeptList/callApiJSON.do`, queryData));
- return handle.catchPromiseNew(resp, () => resp);
- };
- export const queryBDoctorList = async (queryData: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/basic/DoctorApi/QueryBDoctorList/callApiJSON.do`, queryData));
- return handle.catchPromiseNew(resp, () => resp);
- };
- export const queryBDoctorInfo = async (queryData: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/basic/DoctorApi/QueryBDoctorInfo/callApiJSON.do`, queryData));
- return handle.catchPromiseNew(resp, () => resp);
- };
- /**
- * 获取科室介绍列表
- */
- export const queryBaseDeptTreeV2 = async (queryData: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/basic/DeptApi/QueryBaseDeptTreeV2/callApiJSON.do`, queryData));
- return handle.catchPromiseNew(resp, () => resp);
- };
- /**
- * 获取专家介绍列表
- */
- export const deptAndDocApiList = async (queryData: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/basic/DeptAndDocApi/List/callApiJSON.do`, queryData));
- return handle.catchPromiseNew(resp, () => resp);
- };
|