From 196fdd8531cf514111b9c7a5aaa9dd625388c6ba Mon Sep 17 00:00:00 2001 From: shidongli Date: Fri, 27 Oct 2023 13:56:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=9A=E5=91=98=E4=BF=A1=E6=81=AF=E7=AE=A1?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/patientArchives.js | 72 ++ src/views/system/patientArchives/index.vue | 874 +++++++++++++++++++++ 2 files changed, 946 insertions(+) create mode 100644 src/api/system/patientArchives.js create mode 100644 src/views/system/patientArchives/index.vue diff --git a/src/api/system/patientArchives.js b/src/api/system/patientArchives.js new file mode 100644 index 0000000..6e46519 --- /dev/null +++ b/src/api/system/patientArchives.js @@ -0,0 +1,72 @@ +import request from '@/utils/request' + +// 查询被护理人基本信息列表 +export function listPatientArchives(query) { + return request({ + url: '/system/patientArchives/list', + method: 'get', + params: query + }) +} +// 查询被护理人基本信息详细 +export function getPatientArchives(id) { + return request({ + url: '/system/patientArchives/' + id, + method: 'get' + }) +} +// 查询省信息 +export function FirstLevel(query) { + return request({ + url: '/system/communityInfo/getFirstLevelInfo', + method: 'get', + params: query + }) +} +// 查询市信息 +export function SecondaryLevelInfo(id) { + return request({ + url: `/system/communityInfo/getSecondaryLevelInfo?`+`parentId=${id}`, + method: 'get', + }) +} +//省市区 +export function getSubordinateRegions(Code) { + return request({ + url: `/system/area/getSubordinateRegions?areaCode=${Code}`, + method: 'get' + }) +} +// 新增被护理人基本信息 +export function addPatientArchives(data) { + return request({ + url: '/system/patientArchives', + method: 'post', + data: data + }) +} + +// 修改被护理人基本信息 +export function updatePatientArchives(data) { + return request({ + url: '/system/patientArchives/edit', + method: 'post', + data: data + }) +} + +// 删除被护理人基本信息 +export function delPatientArchives(id) { + return request({ + url: '/system/patientArchives/' + id, + method: 'delete' + }) +} +// 重置密码 +export function updatePassword(params) { + return request({ + url: '/system/patientArchives/updatePassword', + method: 'post', + params: params + }) +} diff --git a/src/views/system/patientArchives/index.vue b/src/views/system/patientArchives/index.vue new file mode 100644 index 0000000..18ee3d0 --- /dev/null +++ b/src/views/system/patientArchives/index.vue @@ -0,0 +1,874 @@ + + +