From c14962967d341873ef7f6989f84c9bad3c763131 Mon Sep 17 00:00:00 2001 From: lxd <1004405501@qq.com> Date: Fri, 18 Oct 2024 10:54:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=BD=B1=E5=83=8F=E4=BF=9D?= =?UTF-8?q?=E5=AD=98=E6=97=B6=E5=80=99=E4=BF=9D=E5=AD=98PDF=E5=88=B0FTP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/applyregistration/applyform/index.ts | 4 +- src/api/tblist/patientexamlist/index.ts | 9 ++ .../applyregistration/applyform/index.vue | 8 +- src/views/dicomForm/dicomViewForm.vue | 115 ++++++++++++++++-- 4 files changed, 120 insertions(+), 16 deletions(-) diff --git a/src/api/applyregistration/applyform/index.ts b/src/api/applyregistration/applyform/index.ts index d1de8d59..511e93d9 100644 --- a/src/api/applyregistration/applyform/index.ts +++ b/src/api/applyregistration/applyform/index.ts @@ -111,8 +111,8 @@ export const ApplyformApi = { return await request.post({ url: `/applyregistration/applyform/batchupdateFJ`, data}) }, // 同步 - SyncDb: async (AppCode: string) => { - return await request.get({ url: `/applyregistration/applyform/SyncDb?AppCode=` + AppCode }) + SyncDb: async (AppCode: string,type:string) => { + return await request.get({ url: `/applyregistration/applyform/SyncDb?AppCode=${AppCode}&&type=${type}` }) }, // 获取登记单统计信息 GetReglistCount: async () => { diff --git a/src/api/tblist/patientexamlist/index.ts b/src/api/tblist/patientexamlist/index.ts index 717b5074..52defc4e 100644 --- a/src/api/tblist/patientexamlist/index.ts +++ b/src/api/tblist/patientexamlist/index.ts @@ -35,7 +35,12 @@ export interface PatientexamlistVO { StudyInsta:string isFavourite:string //是否收藏 } +export interface inspdfscreenshotVO { + id: string // 主键 + imagebase: string // 图片 + +} // PACS检查列表 API export const PatientexamlistApi = { // 查询PACS检查列表分页 @@ -106,4 +111,8 @@ export const PatientexamlistApi = { CollectAndCancellation: async (id: String,type:string) => { return await request.get({ url: `/tblist/patientexamlist/CollectAndCancellation?id=${id}&&type=${type}`}) }, + + ftppdf: async (data:inspdfscreenshotVO) => { + return await request.post({ url: `/tblist/patientexamlist/ftppdf`,data}) + }, } diff --git a/src/views/applyregistration/applyform/index.vue b/src/views/applyregistration/applyform/index.vue index 1c5d086f..e7289ddb 100644 --- a/src/views/applyregistration/applyform/index.vue +++ b/src/views/applyregistration/applyform/index.vue @@ -143,7 +143,8 @@ 导出 - 同步 @@ -340,10 +341,11 @@ const resetQuery = () => { handleQuery() } -// 同步操作 +// 同步操作 1接口 2 数据库 const Sync = async () => { - const data = await ApplyformApi.SyncDb('DB001') + const data = await ApplyformApi.SyncDb('API001',"1") if (data) { + message.alertSuccess(data) getList() } } diff --git a/src/views/dicomForm/dicomViewForm.vue b/src/views/dicomForm/dicomViewForm.vue index d50d8aed..bafb94cd 100644 --- a/src/views/dicomForm/dicomViewForm.vue +++ b/src/views/dicomForm/dicomViewForm.vue @@ -4,15 +4,22 @@ :title="dialogTitle" class="my-custom-close-icon" :fullscreen="true" + @close=" + () => { + newSrc = 'about:blank' + dataLoaded = false + } + " > @@ -289,6 +296,7 @@ > +