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 @@ > +