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); };