diff --git a/src/api/abpm/index.ts b/src/api/abpm/index.ts index acda1b0..25e98e5 100644 --- a/src/api/abpm/index.ts +++ b/src/api/abpm/index.ts @@ -1,10 +1,14 @@ import request from '@/config/axios' +import { patientinfoVO } from '../patientinfo' // ABPM动态血压监测 VO export interface abpmVO { id: number // 主键ID examid: string // 检查ID regid: string // 患者注册ID + name: string // 患者姓名 + gender: string // 性别 + age: number // 年龄 orgid: string // 机构ID orgname: string // 机构名称 managerorg: string // 管理机构 @@ -48,5 +52,10 @@ export const abpmApi = { // 导出ABPM动态血压监测 Excel exportabpm: async (params) => { return await request.download({ url: `/system/abpm/export-excel`, params }) + }, + + // 批量新增ABPM患者数据 + insertAbpmPatientData: async (data: patientinfoVO[]) => { + return await request.post({ url: `/system/abpm/insertAbpmPatientData`, data }) } -} \ No newline at end of file +} diff --git a/src/patientcom/index.vue b/src/patientcom/index.vue index 4415408..600de0f 100644 --- a/src/patientcom/index.vue +++ b/src/patientcom/index.vue @@ -107,11 +107,11 @@ @@ -201,6 +201,7 @@