This commit is contained in:
Your Name
2026-04-30 14:09:04 +08:00
154 changed files with 3606 additions and 22938 deletions
+41
View File
@@ -0,0 +1,41 @@
import request from '@/utils/request'
// 接诊台 - 待接诊队列(复用挂号列表接口)
// 建议调用方式:receptionQueue({ status: 1, start_date: today, end_date: today, page_size: 50 })
export function receptionQueue(params: any) {
return request.get({ url: '/doctor.appointment/lists', params })
}
// 接诊台 - 聚合详情:挂号信息 + 诊单病例 + 血糖血压记录
export function receptionDetail(params: { id: number }) {
return request.get({ url: '/doctor.appointment/reception', params })
}
// 接诊台 - 通知接诊医助(发企业微信)
export function notifyAssistant(params: { id: number }) {
return request.post({ url: '/doctor.appointment/notifyAssistant', params })
}
// 医生备注 - 添加/追加(同一天追加 content + tongue_images + report_files
export function addDoctorNote(params: {
diagnosis_id: number
content?: string
tongue_images?: string[]
report_files?: string[]
}) {
return request.post({ url: '/doctor.appointment/addDoctorNote', params })
}
// 医生备注 - 按诊单查询列表
export function getDoctorNotes(params: { diagnosis_id: number }) {
return request.get({ url: '/doctor.appointment/doctorNotes', params })
}
// 医生备注 - 删除单张图片
export function deleteDoctorNoteImage(params: {
note_id: number
image_type: 'tongue_images' | 'report_files'
image_path: string
}) {
return request.post({ url: '/doctor.appointment/deleteDoctorNoteImage', params })
}