医生备注优化

This commit is contained in:
2026-04-30 12:19:04 +08:00
parent cba04067bd
commit 901629ac6e
15 changed files with 675 additions and 272 deletions
+16 -2
View File
@@ -16,8 +16,13 @@ export function notifyAssistant(params: { id: number }) {
return request.post({ url: '/doctor.appointment/notifyAssistant', params })
}
// 医生备注 - 添加/追加(同一天追加 content + tongue_images
export function addDoctorNote(params: { diagnosis_id: number; content?: string; tongue_images?: string[] }) {
// 医生备注 - 添加/追加(同一天追加 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 })
}
@@ -25,3 +30,12 @@ export function addDoctorNote(params: { diagnosis_id: number; content?: string;
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 })
}