56 lines
2.0 KiB
TypeScript
56 lines
2.0 KiB
TypeScript
import request from '@/config/axios'
|
|
|
|
|
|
//分检操作使用
|
|
export interface updateexamineimageVO {
|
|
|
|
id: string // 主键
|
|
isDelete: string // 删除标记
|
|
deletePerson:string//删除人
|
|
selected:string//是否选中
|
|
}
|
|
export interface insimagescreenshotVO {
|
|
|
|
id: string // 主键
|
|
imagebase: string // 图片
|
|
|
|
}
|
|
|
|
// 超声组件 API
|
|
export const ultrasoniccomApi = {
|
|
// 查询模版表数据
|
|
getreporttemplatelist: async (orgID: string,type:string,isprivate:string) => {
|
|
return await request.get({ url: `/ultrasoniccom/ultrasonic/reporttemplatetlist?orgID=${orgID}&&type=${type}&&isprivate=${isprivate}` })
|
|
},
|
|
// 查询图片表数据
|
|
getimageslist: async (orgID: string,regID:string,select:string) => {
|
|
return await request.get({ url: `/ultrasoniccom/ultrasonic/getimageslist?orgID=${orgID}&®ID=${regID}&&select=${select}` })
|
|
},
|
|
// 查询图片表数据
|
|
updateexamineimagelist: async (data:updateexamineimageVO[]) => {
|
|
return await request.put({ url: `/ultrasoniccom/ultrasonic/examineimageupdate`, data})
|
|
},
|
|
|
|
//更新模版使用时间
|
|
upreporttemplatetime: async (pid:string) => {
|
|
return await request.get({ url: `/ultrasoniccom/ultrasonic/upreporttemplatetime?pid=${pid}`})
|
|
},
|
|
|
|
//获取dicom数据
|
|
getdcmlist: async (studyInsta:string,orgid:string,regId:string) => {
|
|
return await request.get({ url: `/ultrasoniccom/ultrasonic/getdcm?orgID=${orgid}&&studyInsta=${studyInsta}&®Id=${regId}`})
|
|
},
|
|
//插入截屏图片
|
|
insimagescreenshot: async (data:insimagescreenshotVO) => {
|
|
return await request.post({ url: `/ultrasoniccom/ultrasonic/insimagescreenshot`,data})
|
|
} ,
|
|
ftpimage: async (data:insimagescreenshotVO) => {
|
|
return await request.post({ url: `/ultrasoniccom/ultrasonic/ftpimage`,data})
|
|
} ,
|
|
|
|
// 查询图片表视频数据
|
|
getImageVideo: async (regID:string) => {
|
|
return await request.get({ url: `/ultrasoniccom/ultrasonic/GetImageVideo?regID=${regID}` })
|
|
},
|
|
}
|