From c825a118a471aa7bd78cd41f7b1120ab57d1175f Mon Sep 17 00:00:00 2001 From: lxd <1004405501@qq.com> Date: Thu, 11 Jul 2024 19:46:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=94=B3=E8=AF=B7=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/applyregistration/applyform/index.ts | 61 +++ .../applyform/ApplyformForm.vue | 215 ++++++++++ .../applyregistration/applyform/index.vue | 369 ++++++++++++++++++ 3 files changed, 645 insertions(+) create mode 100644 src/api/applyregistration/applyform/index.ts create mode 100644 src/views/applyregistration/applyform/ApplyformForm.vue create mode 100644 src/views/applyregistration/applyform/index.vue diff --git a/src/api/applyregistration/applyform/index.ts b/src/api/applyregistration/applyform/index.ts new file mode 100644 index 00000000..640bd3b6 --- /dev/null +++ b/src/api/applyregistration/applyform/index.ts @@ -0,0 +1,61 @@ +import request from '@/config/axios' + +// 申请登记记录 VO +export interface ApplyformVO { + id: string // 主键 + regId: string // 登记单号 + regSource: string // 登记来源 + examId: string // 检查ID + pname: string // 患者姓名 + gender: string // 性别 + birthday: Date // 出生日期 + examDate: Date // 检查日期 + examItemName: string // 检查项目名称 + deviceId: string // 检查设备ID + deviceName: string // 检查设备名称 + contactTel: string // 患者联系电话 + regDate: Date // 登记时间 + sortDate: Date // 分检时间 + billgDoctor: string // 开单医生 + examStatus: string // 检查状态 + billDoctorDepartment: string // 开单医生科室 + createDate: Date // 此条记录的创建时间 + examItemCode: string // 检查项目代码 + orgId: string // 机构ID + sortDoctor: string // 分检医生 + deviceDepartment:string // 执行科室 + departmentCode:string //执行科室代码 +} + +// 申请登记记录 API +export const ApplyformApi = { + // 查询申请登记记录分页 + getApplyformPage: async (params: any) => { + return await request.get({ url: `/applyregistration/applyform/page`, params }) + }, + + // 查询申请登记记录详情 + getApplyform: async (id: number) => { + return await request.get({ url: `/applyregistration/applyform/get?id=` + id }) + }, + + // 新增申请登记记录 + createApplyform: async (data: ApplyformVO) => { + return await request.post({ url: `/applyregistration/applyform/create`, data }) + }, + + // 修改申请登记记录 + updateApplyform: async (data: ApplyformVO) => { + return await request.put({ url: `/applyregistration/applyform/update`, data }) + }, + + // 删除申请登记记录 + deleteApplyform: async (id: number) => { + return await request.delete({ url: `/applyregistration/applyform/delete?id=` + id }) + }, + + // 导出申请登记记录 Excel + exportApplyform: async (params) => { + return await request.download({ url: `/applyregistration/applyform/export-excel`, params }) + }, +} diff --git a/src/views/applyregistration/applyform/ApplyformForm.vue b/src/views/applyregistration/applyform/ApplyformForm.vue new file mode 100644 index 00000000..7392d2d9 --- /dev/null +++ b/src/views/applyregistration/applyform/ApplyformForm.vue @@ -0,0 +1,215 @@ + + \ No newline at end of file diff --git a/src/views/applyregistration/applyform/index.vue b/src/views/applyregistration/applyform/index.vue new file mode 100644 index 00000000..d5911229 --- /dev/null +++ b/src/views/applyregistration/applyform/index.vue @@ -0,0 +1,369 @@ + + + \ No newline at end of file