From 774a09aea95a35d609a6d45e902a71e5cb880ff6 Mon Sep 17 00:00:00 2001 From: lxd <1004405501@qq.com> Date: Fri, 26 Jul 2024 12:48:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=9C=BA=E6=9E=84=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E5=92=8C=E5=BE=AE=E4=BF=A1=E9=80=9A=E7=9F=A5=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E7=9B=B8=E5=85=B3=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/org/index.ts | 50 ++++ src/api/system/wx/index.ts | 45 ++++ src/views/system/org/OrgForm.vue | 164 +++++++++++ src/views/system/org/OrgSuperiorForm.vue | 147 ++++++++++ src/views/system/org/OrgWxForm.vue | 174 ++++++++++++ src/views/system/org/index.vue | 330 +++++++++++++++++++++++ src/views/system/wx/WxForm.vue | 126 +++++++++ src/views/system/wx/index.vue | 201 ++++++++++++++ 8 files changed, 1237 insertions(+) create mode 100644 src/api/system/org/index.ts create mode 100644 src/api/system/wx/index.ts create mode 100644 src/views/system/org/OrgForm.vue create mode 100644 src/views/system/org/OrgSuperiorForm.vue create mode 100644 src/views/system/org/OrgWxForm.vue create mode 100644 src/views/system/org/index.vue create mode 100644 src/views/system/wx/WxForm.vue create mode 100644 src/views/system/wx/index.vue diff --git a/src/api/system/org/index.ts b/src/api/system/org/index.ts new file mode 100644 index 00000000..26999ead --- /dev/null +++ b/src/api/system/org/index.ts @@ -0,0 +1,50 @@ +import request from '@/config/axios' + +// 机构管理 VO +export interface OrgVO { + orgID: string // 机构ID + orgName: string // 机构名称 + address: string // 机构地址 + contactTel: string // 联系电话 + contactPerson: string // 联系人姓名 + reportName: string // 报告上显示的名称:一般跟机构名称一致 + highLevelOrgID: string // 上级判读医院机构ID + wxOpenidlist: string // 能收到微信消息提醒的微信列表,格式为:wxopenid1,wxopenid2,wxopenid3 + orgSN: string // 机构编号:通常为一个4位数的短号 用于与其他系统的对接之用 + createDate: Date // 创建时间:年月日时分秒 + highLevelOrgName: string // 上级机构的机构名称 + orgLogoUrl: string // 机构logo的URL +} + +// 机构管理 API +export const OrgApi = { + // 查询机构管理分页 + getOrgPage: async (params: any) => { + return await request.get({ url: `/org/org/page`, params }) + }, + + // 查询机构管理详情 + getOrg: async (id: number) => { + return await request.get({ url: `/org/org/get?id=` + id }) + }, + + // 新增机构管理 + createOrg: async (data: OrgVO) => { + return await request.post({ url: `/org/org/create`, data }) + }, + + // 修改机构管理 + updateOrg: async (data: OrgVO) => { + return await request.put({ url: `/org/org/update`, data }) + }, + + // 删除机构管理 + deleteOrg: async (id: number) => { + return await request.delete({ url: `/org/org/delete?id=` + id }) + }, + + // 导出机构管理 Excel + exportOrg: async (params) => { + return await request.download({ url: `/org/org/export-excel`, params }) + }, +} diff --git a/src/api/system/wx/index.ts b/src/api/system/wx/index.ts new file mode 100644 index 00000000..25157e50 --- /dev/null +++ b/src/api/system/wx/index.ts @@ -0,0 +1,45 @@ +import request from '@/config/axios' + +// 微信通知管理 VO +export interface WxVO { + id: string // 主键 + wxUserid: string // 个人微信号的userid,唯一值,通过公众号发固定格式命令获取 + bindTel: string // 电话号码,通过公众号发固定格式命令获取 + personName: string // 微信号所属人的姓名,通过公众号发固定格式命令获取 + createDate: Date // 创建时间 + remark: string // 备注 + orgId: string // 机构ID +} + +// 微信通知管理 API +export const WxApi = { + // 查询微信通知管理分页 + getWxPage: async (params: any) => { + return await request.get({ url: `/system/wx/page`, params }) + }, + + // 查询微信通知管理详情 + getWx: async (id: number) => { + return await request.get({ url: `/system/wx/get?id=` + id }) + }, + + // 新增微信通知管理 + createWx: async (data: WxVO) => { + return await request.post({ url: `/system/wx/create`, data }) + }, + + // 修改微信通知管理 + updateWx: async (data: WxVO) => { + return await request.put({ url: `/system/wx/update`, data }) + }, + + // 删除微信通知管理 + deleteWx: async (id: number) => { + return await request.delete({ url: `/system/wx/delete?id=` + id }) + }, + + // 导出微信通知管理 Excel + exportWx: async (params) => { + return await request.download({ url: `/system/wx/export-excel`, params }) + }, +} \ No newline at end of file diff --git a/src/views/system/org/OrgForm.vue b/src/views/system/org/OrgForm.vue new file mode 100644 index 00000000..7d08d52d --- /dev/null +++ b/src/views/system/org/OrgForm.vue @@ -0,0 +1,164 @@ + + \ No newline at end of file diff --git a/src/views/system/org/OrgSuperiorForm.vue b/src/views/system/org/OrgSuperiorForm.vue new file mode 100644 index 00000000..e5699a6d --- /dev/null +++ b/src/views/system/org/OrgSuperiorForm.vue @@ -0,0 +1,147 @@ + + diff --git a/src/views/system/org/OrgWxForm.vue b/src/views/system/org/OrgWxForm.vue new file mode 100644 index 00000000..70695c11 --- /dev/null +++ b/src/views/system/org/OrgWxForm.vue @@ -0,0 +1,174 @@ + + diff --git a/src/views/system/org/index.vue b/src/views/system/org/index.vue new file mode 100644 index 00000000..dc9182c7 --- /dev/null +++ b/src/views/system/org/index.vue @@ -0,0 +1,330 @@ + + + \ No newline at end of file diff --git a/src/views/system/wx/WxForm.vue b/src/views/system/wx/WxForm.vue new file mode 100644 index 00000000..45996199 --- /dev/null +++ b/src/views/system/wx/WxForm.vue @@ -0,0 +1,126 @@ + + \ No newline at end of file diff --git a/src/views/system/wx/index.vue b/src/views/system/wx/index.vue new file mode 100644 index 00000000..f37863aa --- /dev/null +++ b/src/views/system/wx/index.vue @@ -0,0 +1,201 @@ + + + \ No newline at end of file