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