动态心电
This commit is contained in:
parent
d4c86d3527
commit
9af33c70db
56
src/api/ecgdata/index.ts
Normal file
56
src/api/ecgdata/index.ts
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
import request from '@/config/axios'
|
||||||
|
|
||||||
|
// 心电图动态数据 VO
|
||||||
|
export interface ecgdataVO {
|
||||||
|
id: number // 主键ID,自增
|
||||||
|
regid: string // 患者ID
|
||||||
|
examid: string // 检查ID
|
||||||
|
name: string // 患者姓名
|
||||||
|
gender: string // 性别:0-未知,1-男,2-女
|
||||||
|
age: number // 年龄
|
||||||
|
wearstarttime: Date // 佩戴开始时间
|
||||||
|
wearendtime: Date // 佩戴结束时间
|
||||||
|
duration: localtime // 佩戴时长(时分秒格式)
|
||||||
|
durationseconds: number // 佩戴时长(秒数)
|
||||||
|
reportgenerated: number // 是否生成报告:0-未生成,1-已生成
|
||||||
|
superiorrequest: number // 是否上级申请:0-否,1-是
|
||||||
|
orgid: string // 机构ID
|
||||||
|
orgname: string // 机构名称
|
||||||
|
managerorg: string // 管理机构
|
||||||
|
status: number // 状态:0-禁用,1-启用
|
||||||
|
createtime: Date // 创建时间
|
||||||
|
updatetime: Date // 更新时间
|
||||||
|
}
|
||||||
|
|
||||||
|
// 心电图动态数据 API
|
||||||
|
export const ecgdataApi = {
|
||||||
|
// 查询心电图动态数据分页
|
||||||
|
getecgdataPage: async (params: any) => {
|
||||||
|
return await request.get({ url: `/system/ecgdata/page`, params })
|
||||||
|
},
|
||||||
|
|
||||||
|
// 查询心电图动态数据详情
|
||||||
|
getecgdata: async (id: number) => {
|
||||||
|
return await request.get({ url: `/system/ecgdata/get?id=` + id })
|
||||||
|
},
|
||||||
|
|
||||||
|
// 新增心电图动态数据
|
||||||
|
createecgdata: async (data: ecgdataVO) => {
|
||||||
|
return await request.post({ url: `/system/ecgdata/create`, data })
|
||||||
|
},
|
||||||
|
|
||||||
|
// 修改心电图动态数据
|
||||||
|
updateecgdata: async (data: ecgdataVO) => {
|
||||||
|
return await request.put({ url: `/system/ecgdata/update`, data })
|
||||||
|
},
|
||||||
|
|
||||||
|
// 删除心电图动态数据
|
||||||
|
deleteecgdata: async (id: number) => {
|
||||||
|
return await request.delete({ url: `/system/ecgdata/delete?id=` + id })
|
||||||
|
},
|
||||||
|
|
||||||
|
// 导出心电图动态数据 Excel
|
||||||
|
exportecgdata: async (params) => {
|
||||||
|
return await request.download({ url: `/system/ecgdata/export-excel`, params })
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user