This commit is contained in:
Your Name
2026-03-27 18:06:12 +08:00
parent 9160c36735
commit 099bc1dd22
645 changed files with 276473 additions and 957 deletions
+9 -2
View File
@@ -2,12 +2,12 @@ import request from '@/utils/request'
// 医生列表(从管理员表获取,role_id=1)
export function doctorLists(params: any) {
return request.get({ url: '/perms.admin/lists', params: { ...params, role_id: 1 } })
return request.get({ url: '/auth.admin/lists', params: { ...params, role_id: 1 } })
}
// 医生详情
export function doctorDetail(params: any) {
return request.get({ url: '/perms.admin/detail', params })
return request.get({ url: '/auth.admin/detail', params })
}
// ========== 排班管理 ==========
@@ -72,3 +72,10 @@ export function appointmentDetail(params: any) {
export function completeAppointment(params: any) {
return request.post({ url: '/doctor.appointment/complete', params })
}
// ========== 医生统计 ==========
// 获取医生诊单统计
export function getDoctorStatistics(params: any) {
return request.get({ url: '/doctor.statistics/lists', params })
}
+36
View File
@@ -0,0 +1,36 @@
import request from '@/utils/request'
/**
* 药品库列表
*/
export function medicineLists(params: any) {
return request.get({ url: '/doctor.medicine/lists', params })
}
/**
* 添加药品
*/
export function medicineAdd(params: any) {
return request.post({ url: '/doctor.medicine/add', params })
}
/**
* 编辑药品
*/
export function medicineEdit(params: any) {
return request.post({ url: '/doctor.medicine/edit', params })
}
/**
* 删除药品
*/
export function medicineDelete(params: any) {
return request.post({ url: '/doctor.medicine/delete', params })
}
/**
* 药品详情
*/
export function medicineDetail(params: any) {
return request.get({ url: '/doctor.medicine/detail', params })
}
+5
View File
@@ -40,3 +40,8 @@ export function bindWorkWechat(params: { code: string }) {
export function unbindWorkWechat() {
return request.post({ url: '/auth.admin/unbindWorkWechat' })
}
// 首次登录修改密码
export function changeFirstPassword(params: { password: string; password_confirm: string }) {
return request.post({ url: '/login/changeFirstPassword', params })
}