From 9b48048530a2c4b171afff1598598c20ae99dc7c Mon Sep 17 00:00:00 2001 From: lxd <1004405501@qq.com> Date: Mon, 28 Oct 2024 12:49:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9ftpimage=E6=96=B9=E6=B3=95?= =?UTF-8?q?=E7=9A=84=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/tblist/patientexamlist/index.ts | 3 ++- src/api/ultrasoniccom/index.ts | 3 ++- src/views/dicomForm/dicomViewForm.vue | 2 +- src/views/ultrasoniccom/videoForm.vue | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) 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('请刷新右侧图片') }