119 lines
4.1 KiB
TypeScript
119 lines
4.1 KiB
TypeScript
import request from '@/config/axios'
|
||
|
||
// PACS检查列表 VO
|
||
export interface PatientexamlistVO {
|
||
id: string // 主键
|
||
examId: string // 检查ID:体检编号、住院号、门诊号等
|
||
pname: string // 患者姓名
|
||
gender: string // 性别
|
||
birthday: Date // 出生日期
|
||
examDate: Date // 检查日期:年月日时分秒
|
||
deviceType: string // 设备类型:CT DR MR B超 彩超等
|
||
seDc: string // seri_dicomCount:序列数量/dicom数量
|
||
examItemName: string // 检查项目名称
|
||
reportstatus: string // 报告状态
|
||
applicationDate: Date // 申请日期:年月日时分秒
|
||
uploadDate: Date // dicom文件上传时间
|
||
orgName: string // 机构名称
|
||
orgId: string // 机构ID
|
||
highLevelOrgId: string // 上级判读机构id列表:orgid1,orgid2,orgid3
|
||
createDate: Date // 创建时间:年月日时分秒
|
||
examDescription: string // 检查所见
|
||
diagResults: string // 诊断结论
|
||
diagDate: Date // 下诊断结论的时间:年月日时分秒
|
||
diagDoctor: string // 诊断医生
|
||
diagDoctorId:string
|
||
reviewDoctor: string // 审核医生
|
||
reviewDate: Date // 审核日期:年月日时分秒
|
||
thumbnailImgUrl: string // 缩略图oss url, httP:oss url
|
||
examItemCode: string //
|
||
regId: string // 登记单号
|
||
diagFlag: string // 阴性阳性标记
|
||
deviceName: string // 影像设备名称
|
||
notes:string//备注
|
||
billDoctorDepartment:string// 开单科室 送检科室
|
||
StudyInsta:string
|
||
isFavourite:string //是否收藏
|
||
}
|
||
export interface inspdfscreenshotVO {
|
||
|
||
id: string // 主键
|
||
imagebase: string // 图片
|
||
|
||
}
|
||
// PACS检查列表 API
|
||
export const PatientexamlistApi = {
|
||
// 查询PACS检查列表分页
|
||
getPatientexamlistPage: async (params: any) => {
|
||
return await request.get({ url: `/tblist/patientexamlist/page`, params })
|
||
},
|
||
|
||
// 查询PACS检查列表详情
|
||
getPatientexamlist: async (id: number) => {
|
||
return await request.get({ url: `/tblist/patientexamlist/get?id=` + id })
|
||
},
|
||
|
||
// 新增PACS检查列表
|
||
createPatientexamlist: async (data: PatientexamlistVO) => {
|
||
return await request.post({ url: `/tblist/patientexamlist/create`, data })
|
||
},
|
||
|
||
// 修改PACS检查列表
|
||
updatePatientexamlist: async (data: PatientexamlistVO) => {
|
||
return await request.put({ url: `/tblist/patientexamlist/update`, data })
|
||
},
|
||
|
||
// 删除PACS检查列表
|
||
deletePatientexamlist: async (id: number) => {
|
||
return await request.delete({ url: `/tblist/patientexamlist/delete?id=` + id })
|
||
},
|
||
|
||
// 导出PACS检查列表 Excel
|
||
exportPatientexamlist: async (params) => {
|
||
return await request.download({ url: `/tblist/patientexamlist/export-excel`, params })
|
||
},
|
||
|
||
|
||
getuporghiid: async (id: number,orgId:String) => {
|
||
return await request.get({ url: `/tblist/patientexamlist/UPDATEHigOrg?id=${id}&&orgId=${orgId}` })
|
||
},
|
||
|
||
// 超声保存修改
|
||
examineupdatelist: async (data: PatientexamlistVO) => {
|
||
return await request.put({ url: `/tblist/patientexamlist/examineupdate`, data })
|
||
},
|
||
|
||
// 超声审核
|
||
examine: async (id: String) => {
|
||
return await request.get({ url: `/tblist/patientexamlist/examine?id=` + id })
|
||
},
|
||
|
||
// dicom数据同步
|
||
dicomDataSync: async () => {
|
||
return await request.get({ url: `/tblist/patientexamlist/dicomDataSync` })
|
||
},
|
||
|
||
// 分检数据刷新
|
||
dicomDataRefresh: async () => {
|
||
return await request.get({ url: `/tblist/patientexamlist/dicomDataRefresh` })
|
||
},
|
||
|
||
// 获取已检查全部的阴性阳性重大阳性统计
|
||
WholeDiagFlagCount: async () => {
|
||
return await request.get({ url: `/tblist/patientexamlist/WholeDiagFlagCount`})
|
||
},
|
||
// 获取一周已检查全部的阴性阳性重大阳性统计
|
||
GetDateYYZDYXCount: async () => {
|
||
return await request.get({ url: `/tblist/patientexamlist/GetDateYYZDYXCount`})
|
||
},
|
||
|
||
// 收藏功能
|
||
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})
|
||
},
|
||
}
|