1
This commit is contained in:
@@ -129,6 +129,7 @@
|
||||
import { ref, nextTick, watch, computed, onMounted, onUnmounted } from 'vue'
|
||||
import { Loading, Close, Rank, Camera, Fold, Expand } from '@element-plus/icons-vue'
|
||||
import { uploadImageBlob, uploadVideoBlob } from '@/api/file'
|
||||
import { addDoctorNote } from '@/api/patient'
|
||||
import {
|
||||
attachLocalCallRecording,
|
||||
bindCallRoom,
|
||||
@@ -1327,6 +1328,9 @@ const handleCallKitScreenshot = async () => {
|
||||
}
|
||||
})
|
||||
)
|
||||
try {
|
||||
await addDoctorNote({ diagnosis_id: diagnosisId.value, tongue_images: [path] })
|
||||
} catch { /* 写入备注表失败不阻塞主流程 */ }
|
||||
} catch (e: unknown) {
|
||||
const err = e as Error
|
||||
console.error(err)
|
||||
|
||||
Reference in New Issue
Block a user