From ccf453dedd91ebad5c15a1003b763582f247c6df Mon Sep 17 00:00:00 2001 From: shidongli Date: Tue, 20 Sep 2022 17:51:42 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E8=A2=AB=E6=8A=A4=E7=90=86=E4=BA=BA?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=EF=BC=8C=E7=A4=BE=E5=8C=BA=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/communityInfo.js | 18 +- src/api/system/patientArchives.js | 58 ++ src/views/system/communityInfo/index.vue | 633 +++++++++++++++++-- src/views/system/patientArchives/index.vue | 682 +++++++++++++++++++++ src/views/system/person/index.vue | 14 +- 5 files changed, 1330 insertions(+), 75 deletions(-) create mode 100644 src/api/system/patientArchives.js create mode 100644 src/views/system/patientArchives/index.vue diff --git a/src/api/system/communityInfo.js b/src/api/system/communityInfo.js index f9fff17..fe19e17 100644 --- a/src/api/system/communityInfo.js +++ b/src/api/system/communityInfo.js @@ -16,7 +16,21 @@ export function getCommunityInfo(id) { method: 'get' }) } - +// 查询省信息 +export function FirstLevels(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 addCommunityInfo(data) { return request({ @@ -29,7 +43,7 @@ export function addCommunityInfo(data) { // 修改居住社区信息 export function updateCommunityInfo(data) { return request({ - url: '/system/nurseItemTemplate/edit', + url: '/system/communityInfo/edit', method: 'post', data: data }) diff --git a/src/api/system/patientArchives.js b/src/api/system/patientArchives.js new file mode 100644 index 0000000..5f0a0ac --- /dev/null +++ b/src/api/system/patientArchives.js @@ -0,0 +1,58 @@ +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 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' + }) +} diff --git a/src/views/system/communityInfo/index.vue b/src/views/system/communityInfo/index.vue index 7127234..84c6b16 100644 --- a/src/views/system/communityInfo/index.vue +++ b/src/views/system/communityInfo/index.vue @@ -1,7 +1,14 @@ diff --git a/src/views/system/patientArchives/index.vue b/src/views/system/patientArchives/index.vue new file mode 100644 index 0000000..9b5a923 --- /dev/null +++ b/src/views/system/patientArchives/index.vue @@ -0,0 +1,682 @@ + + + diff --git a/src/views/system/person/index.vue b/src/views/system/person/index.vue index a8fca36..5e427cd 100644 --- a/src/views/system/person/index.vue +++ b/src/views/system/person/index.vue @@ -60,7 +60,7 @@ --> - + --> - - + - + - + diff --git a/src/views/system/patientArchives/index.vue b/src/views/system/patientArchives/index.vue index 9b5a923..a9c6a15 100644 --- a/src/views/system/patientArchives/index.vue +++ b/src/views/system/patientArchives/index.vue @@ -306,36 +306,35 @@ communityAliasName - + - + - + - + - + - + - + - + - + - From 9cc72bbfd330cd6247a85f569ce7fb86b9e4f320 Mon Sep 17 00:00:00 2001 From: shidongli Date: Tue, 20 Sep 2022 18:17:00 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E8=A2=AB=E6=8A=A4=E7=90=86=E4=BA=BA?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=EF=BC=8C=E7=A4=BE=E5=8C=BA=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=20=20=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/communityInfo/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/system/communityInfo/index.vue b/src/views/system/communityInfo/index.vue index d03beec..59f8eed 100644 --- a/src/views/system/communityInfo/index.vue +++ b/src/views/system/communityInfo/index.vue @@ -362,7 +362,7 @@ > -