ecg-form/src/api/ultrasoniccom/index.ts

32 lines
1.1 KiB
TypeScript
Raw Normal View History

2024-07-17 21:01:02 +08:00
import request from '@/config/axios'
2024-07-19 21:17:27 +08:00
//分检操作使用
export interface updateexamineimageVO {
id: string // 主键
isDelete: string // 删除标记
deletePerson:string//删除人
selected:string//是否选中
}
2024-07-17 21:01:02 +08:00
// 超声组件 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}` })
},
2024-07-19 21:17:27 +08:00
// 查询图片表数据
getimageslist: async (orgID: string,regID:string,select:string) => {
return await request.get({ url: `/ultrasoniccom/ultrasonic/getimageslist?orgID=${orgID}&&regID=${regID}&&select=${select}` })
},
// 查询图片表数据
updateexamineimagelist: async (data:updateexamineimageVO[]) => {
return await request.put({ url: `/ultrasoniccom/ultrasonic/examineimageupdate`, data})
},
2024-07-17 21:01:02 +08:00
2024-07-19 21:17:27 +08:00
//更新模版使用时间
upreporttemplatetime: async (pid:string) => {
return await request.get({ url: `/ultrasoniccom/ultrasonic/upreporttemplatetime?pid=${pid}`})
},
2024-07-17 21:01:02 +08:00
}