| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330 |
- import { REQUEST_CONFIG } from '@/config';
- import { request, handle } from '@kasite/uni-app-base';
- /**
- * 获取咨询记录
- */
- export const queryConsultWaterList = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/cons/Consult/QueryConsultWaterList/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 查询房间列表信息
- */
- export const queryConsultRoomList = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/cons/ConsultRoom/QueryConsultRoomList/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 获取报告单列表
- */
- export const getReportList = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/report/ReportWs/GetReportList/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 查询处方明细
- */
- export const queryNetOrderSettlement = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/net/businessOrder/QueryNetOrderSettlement/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 咨询查询门诊排班列表
- */
- export const queryClinicDoctorSchedule = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/yy/yygh/QueryClinicDoctorSchedule/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 获取预约时间段
- */
- export const queryNumbers = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/yy/yygh/QueryNumbers/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 申请图文咨询
- */
- export const applyImgTxtConsult = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/cons/Consult/ApplyImgTxtConsult/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 锁号
- */
- export const lockOrder = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/yy/yygh/LockOrder/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 释号
- */
- export const unlock = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/yy/yygh/Unlock/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 视频咨询申请
- */
- export const applyVideoConsult = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/cons/Consult/ApplyVideoConsult/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 搜索医生
- */
- export const queryConsultDoctorList = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/cons/ConsultDoc/QueryConsultDoctorList/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 获取科室列表
- */
- export const queryDeptList = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/basic/DeptApi/QueryDeptList/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 查询推荐科室
- */
- export const queryConsultDeptList = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/cons/ConsultDoc/QueryConsultDeptList/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 查询医生(互联网)
- */
- export const queryNetConsultDoctorList = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/cons/ConsultDoc/QueryNetConsultDoctorList/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 判断医生是否被关注
- */
- export const getUserCollectByDoctorUid = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/user/collect/GetUserCollectByDoctorUid/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 查询评价列表
- */
- export const queryAppraiseList = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/orderAppr/appraise/Query/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 关注医生
- */
- export const userCollect = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/user/collect/UserCollect/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 取消关注医生
- */
- export const unUserCollect = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/user/collect/UnUserCollect/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 查询医生二维码
- */
- export const queryQrCode = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/qr/QrCode/QueryQrCode/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 查询就诊人信息
- */
- export const queryBaseMemberList_V3 = async (queryData: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/accountMember/api/QueryBaseMemberList_V3/callApiJSON.do`, queryData));
- return handle.catchPromiseNew(resp, () => resp);
- };
- /**
- * 查询医生职称
- */
- export const queryTitleInfoNew = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/basic/DoctorApi/QueryTitleInfoNew/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 获取专家介绍列表(根据doctorUid查询对应医生)
- */
- export const queryBDoctorList = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/basic/DoctorApi/QueryBDoctorList/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 查询关注医生
- */
- export const queryUserCollect = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/user/collect/QueryUserCollect/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 查询历史咨询医生
- */
- export const queryHistoryConsultDoctor = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/cons/ConsultDoc/QueryHistoryConsultDoctor/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 取消咨询
- */
- export const cancelConsultWater = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/cons/Consult/CancelConsultWater/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 查询排队队列信息
- */
- export const queryNetQueueList = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/net/QueueWs/QueryNetQueueList/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 查询库存
- */
- export const QueryPrescriptionInformationList = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/net/businessOrder/QueryPrescriptionInformationList/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 在线续方
- */
- export const ApplyPrescriptionConsult = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/cons/Consult/ApplyPrescriptionConsult/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 查询当前医生信息
- */
- export const QueryBDoctorInfo = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/basic/DoctorApi/QueryBDoctorInfo/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 查询医生专家组列表
- */
- export const GroupList = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/base/docGroupApi/GroupList/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 添加医生主页访问数据
- */
- export const addOrUpdateConsultDoctorReport = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/cons/ConsultDocReport/AddOrUpdateConsultDoctorReport/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 查询门诊就诊记录
- */
- export const QueryOutpatientVisitList = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/member/memberApi/QueryOutpatientVisitList/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 获取科室列表-个性化
- */
- export const queryConsultDept = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/cons/ConsultDept/QueryConsultDept/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 查询咨询医生组
- */
- export const queryConsultDoctorGroup = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/cons/ConsultDoctorGroup/QueryConsultDoctorGroup/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 获取咨询配置
- */
- export const getConsultAgreement = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/cons/Consult/GetConsultAgreement/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 查询咨询医生组医生
- */
- export const queryConsultDoctorGroupDoctor = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/cons/ConsultDoctorGroup/QueryConsultDoctorGroupDoctor/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 查询医生组排班
- */
- export const queryGroupSchedule = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/cons/GroupSchedule/QueryGroupSchedule/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 统计咨询评价
- */
- export const countConsultAppraise = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/cons/ConsultAppraise/CountConsultAppraise/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 查询咨询评价列表
- */
- export const queryConsultAppraiseList = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/cons/ConsultAppraise/QueryConsultAppraiseList/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 申请图文咨询-团队
- */
- export const applyDoctorGroupConsult = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/cons/ConsultDoctorGroup/ApplyDoctorGroupConsult/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
- /**
- * 医生信息
- */
- export const queryUserCollectBDoctorInfo = async (queryData: any, options?: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/basic/DoctorApi/QueryUserCollectBDoctorInfo/callApiJSON.do`, queryData, options));
- return handle.catchPromiseNew(resp, () => resp, options);
- };
|