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