1. 特色方模块
This commit is contained in:
@@ -51,3 +51,35 @@ export function switchDoctorWxAccount(payload) {
|
||||
data: payload,
|
||||
});
|
||||
}
|
||||
|
||||
export function getDoctorWxAuthConfig() {
|
||||
return req.request({
|
||||
url: `${AUTH_PREFIX}/config`,
|
||||
method: 'GET',
|
||||
header: { isToken: false },
|
||||
});
|
||||
}
|
||||
|
||||
export function doctorWxLoginByWechat(payload) {
|
||||
return req.request({
|
||||
url: `${AUTH_PREFIX}/wx-login`,
|
||||
method: 'POST',
|
||||
data: payload,
|
||||
header: { isToken: false },
|
||||
});
|
||||
}
|
||||
|
||||
export function getDoctorWxBindStatus() {
|
||||
return doctorAuthRequest({
|
||||
url: '/wx-bind-status',
|
||||
method: 'GET',
|
||||
});
|
||||
}
|
||||
|
||||
export function bindDoctorWxWechat(code) {
|
||||
return doctorAuthRequest({
|
||||
url: '/bind-wechat',
|
||||
method: 'POST',
|
||||
data: { code },
|
||||
});
|
||||
}
|
||||
|
||||
@@ -34,6 +34,15 @@ export function getAcceptingPatientList(data) {
|
||||
})
|
||||
}
|
||||
|
||||
/** 工作台看板统计 */
|
||||
export function getWorkbenchStats(data) {
|
||||
return req.request({
|
||||
url: '/newApi/doctor-reception-wx/workbench-stats',
|
||||
method: 'GET',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 获取患者详情(挂号维度的就诊信息,不含处方列表)
|
||||
export function getPatientItem(id) {
|
||||
return req.request({
|
||||
@@ -43,6 +52,15 @@ export function getPatientItem(id) {
|
||||
})
|
||||
}
|
||||
|
||||
/** 医生应用特色方到开方区 */
|
||||
export function applySpecialPrescriptionApi(data) {
|
||||
return req.request({
|
||||
url: '/newApi/doctor-reception-wx/apply-special-prescription',
|
||||
method: 'POST',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
/** 常用回复模板(与 PC online-consultation/get-quick-reply-list 同源) */
|
||||
export function getQuickReplyListApi() {
|
||||
return req.request({
|
||||
|
||||
10
api/storeConsultation.js
Normal file
10
api/storeConsultation.js
Normal file
@@ -0,0 +1,10 @@
|
||||
import { req } from '@/common/js/index.js';
|
||||
|
||||
/** 检查门店在线复诊配置(委托诊所 + 在线复诊医生) */
|
||||
export function checkOnlineConsultationConfigApi(data) {
|
||||
return req.request({
|
||||
url: '/newApi/doctor-reception-wx/check-online-consultation-config',
|
||||
method: 'GET',
|
||||
data,
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user