diff --git a/src/api/tblist/patientexamlist/index.ts b/src/api/tblist/patientexamlist/index.ts index 52defc4e..8110cc94 100644 --- a/src/api/tblist/patientexamlist/index.ts +++ b/src/api/tblist/patientexamlist/index.ts @@ -39,7 +39,8 @@ export interface inspdfscreenshotVO { id: string // 主键 imagebase: string // 图片 - + model:string//类型 0 接口 1ftp + folderPath:string // } // PACS检查列表 API export const PatientexamlistApi = { diff --git a/src/api/ultrasoniccom/index.ts b/src/api/ultrasoniccom/index.ts index dc24df53..c9ae677f 100644 --- a/src/api/ultrasoniccom/index.ts +++ b/src/api/ultrasoniccom/index.ts @@ -13,7 +13,8 @@ export interface insimagescreenshotVO { id: string // 主键 imagebase: string // 图片 - + model:string + folderPath:string } // 超声组件 API diff --git a/src/views/dicomForm/dicomViewForm.vue b/src/views/dicomForm/dicomViewForm.vue index a8f5a0a2..981c63e4 100644 --- a/src/views/dicomForm/dicomViewForm.vue +++ b/src/views/dicomForm/dicomViewForm.vue @@ -475,7 +475,7 @@ const exportPdfToBase64 = async () => { // 更新pdfBase64的值 pdfBase64.value = pdfBase64String - await PatientexamlistApi.ftppdf({ id: ID.toString(), imagebase: pdfBase64String }) + await PatientexamlistApi.ftppdf({ id: ID.toString(), imagebase: pdfBase64String,model:"0",folderPath:"D:\\FLYPACS\\ftp"+"\\"+ID.toString() }) } const infoParams = ref({ id: '', diff --git a/src/views/ultrasoniccom/videoForm.vue b/src/views/ultrasoniccom/videoForm.vue index e33fbb1f..2128098b 100644 --- a/src/views/ultrasoniccom/videoForm.vue +++ b/src/views/ultrasoniccom/videoForm.vue @@ -110,7 +110,7 @@ const capture = () => { } // 保存截图 const saveimage = async (imageDataUrl) => { - await ultrasoniccomApi.ftpimage({ id: id.value, imagebase: imageDataUrl }) + await ultrasoniccomApi.ftpimage({ id: id.value, imagebase: imageDataUrl,model:"0",folderPath:"D:\\FLYPACS\\ftp"+"\\"+id.value }) message.notifySuccess('请刷新右侧图片') }