From c35c3102219816fdf0fd2702c00616152d05184a Mon Sep 17 00:00:00 2001 From: lxd <1004405501@qq.com> Date: Wed, 24 Jul 2024 17:16:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E6=A3=80=E6=9F=A5=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/examitems/index.ts | 51 ++++ src/views/system/doctor/index.vue | 1 + src/views/system/examitems/examitemsForm.vue | 169 +++++++++++++ .../system/examitems/examitemscompareForm.vue | 227 ++++++++++++++++++ src/views/system/examitems/index.vue | 221 +++++++++++++++++ 5 files changed, 669 insertions(+) create mode 100644 src/api/system/examitems/index.ts create mode 100644 src/views/system/examitems/examitemsForm.vue create mode 100644 src/views/system/examitems/examitemscompareForm.vue create mode 100644 src/views/system/examitems/index.vue diff --git a/src/api/system/examitems/index.ts b/src/api/system/examitems/index.ts new file mode 100644 index 00000000..56031c16 --- /dev/null +++ b/src/api/system/examitems/index.ts @@ -0,0 +1,51 @@ +import request from '@/config/axios' + +// 检查部位 VO +export interface examitemsVO { + id: string // ID + examItemName: string // 检查项目 + createDate: Date // 创建时间 + createPerson: string // 创建人 + isdelete: string // 删除标记:删除为 1 + orgId: string // 机构ID + deletePerson: string // 删除人 + deleteDate: Date // 删除时间 + examItemCode: string // 检查项目代号 + examPartCode: string // 检查部位代码 + thirdPartyExamItemCode: string // 第三方系统的检查项目的CODE + thirdPartyExamItemName: string // 第三方系统的检查项目名称 + thirdPartyExamItemPrice: string // 第三方系统的检查项目的收费价格 +} + +// 检查部位 API +export const examitemsApi = { + // 查询检查部位分页 + getexamitemsPage: async (params: any) => { + return await request.get({ url: `/examitems/examitems/page`, params }) + }, + + // 查询检查部位详情 + getexamitems: async (id: number) => { + return await request.get({ url: `/examitems/examitems/get?id=` + id }) + }, + + // 新增检查部位 + createexamitems: async (data: examitemsVO) => { + return await request.post({ url: `/examitems/examitems/create`, data }) + }, + + // 修改检查部位 + updateexamitems: async (data: examitemsVO) => { + return await request.put({ url: `/examitems/examitems/update`, data }) + }, + + // 删除检查部位 + deleteexamitems: async (id: number,username:string) => { + return await request.delete({ url: `/examitems/examitems/delete?id=${id}&&username=${username}`}) + }, + + // 导出检查部位 Excel + exportexamitems: async (params) => { + return await request.download({ url: `/examitems/examitems/export-excel`, params }) + }, +} diff --git a/src/views/system/doctor/index.vue b/src/views/system/doctor/index.vue index 45acd0bf..f88728b8 100644 --- a/src/views/system/doctor/index.vue +++ b/src/views/system/doctor/index.vue @@ -199,6 +199,7 @@ const getlogininfo = async () => { /** 初始化 **/ onMounted(() => { + getlogininfo() getList() }) \ No newline at end of file diff --git a/src/views/system/examitems/examitemsForm.vue b/src/views/system/examitems/examitemsForm.vue new file mode 100644 index 00000000..aec98704 --- /dev/null +++ b/src/views/system/examitems/examitemsForm.vue @@ -0,0 +1,169 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 确 定 + 取 消 + + + + \ No newline at end of file diff --git a/src/views/system/examitems/examitemscompareForm.vue b/src/views/system/examitems/examitemscompareForm.vue new file mode 100644 index 00000000..cde6ebc4 --- /dev/null +++ b/src/views/system/examitems/examitemscompareForm.vue @@ -0,0 +1,227 @@ + + + + + + 本地列表 + + + + + + + + + + + + + + + + + + 本地列表选择:检查项目:{{ bdrow.examItemName }} + + 对照 + + 对照列表选择:第三方检查项目名称:{{}} + + + + 对照信息列表 + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/system/examitems/index.vue b/src/views/system/examitems/index.vue new file mode 100644 index 00000000..baf080f3 --- /dev/null +++ b/src/views/system/examitems/index.vue @@ -0,0 +1,221 @@ + + + + + + + + + + + + + + + + 搜索 + 重置 + 字典对照 + + 新增 + + + + 导出 + + + + + + + + + + + + + + + + + + + + 编辑 + + + 删除 + + + + + + + + + + + + + + + \ No newline at end of file
本地列表
本地列表选择:检查项目:{{ bdrow.examItemName }}
对照列表选择:第三方检查项目名称:{{}}
对照信息列表