From 09954788b2aa4a38dee59336102a0010ce02f168 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E8=BE=89?= <814457906@qq.com> Date: Thu, 22 Sep 2022 08:32:14 +0800 Subject: [PATCH 1/8] =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/baseurl.js | 2 +- src/api/system/station.js | 37 ++ src/api/system/userlist.js | 8 + src/views/system/nurseItem/index.vue | 189 +++++--- src/views/system/station/index.vue | 473 +++++++++++++++++-- src/views/system/stationAvatar/index.vue | 18 +- src/views/system/stationConsumable/index.vue | 2 +- src/views/system/user/index.vue | 3 +- src/views/system/userlist/index.vue | 21 + 9 files changed, 618 insertions(+), 135 deletions(-) create mode 100644 src/api/system/userlist.js create mode 100644 src/views/system/userlist/index.vue diff --git a/src/api/baseurl.js b/src/api/baseurl.js index 6ca908c..a56555f 100644 --- a/src/api/baseurl.js +++ b/src/api/baseurl.js @@ -1,3 +1,3 @@ -var baseurl = "http://192.168.16.81:8081"; +var baseurl = "http://192.168.16.81:8080"; export default baseurl \ No newline at end of file diff --git a/src/api/system/station.js b/src/api/system/station.js index 0809d49..8988a96 100644 --- a/src/api/system/station.js +++ b/src/api/system/station.js @@ -1,5 +1,7 @@ import request from '@/utils/request' + + // 查询护理站信息列表 export function listStation(query) { return request({ @@ -58,4 +60,39 @@ export function getSecondaryLevelInfo(id) { url: `/system/communityInfo/getSecondaryLevelInfo?parentId=${id}`, method: 'get' }) +} + + +//省市区 +export function getSubordinateRegions(Code) { + return request({ + url: `/system/area/getSubordinateRegions?areaCode=${Code}`, + method: 'get' + }) +} + +//查看所属护理类型 + +export function getInfoLists(Code) { + return request({ + url: `/system/nurseType/getInfoList?nurseTypeCode=${Code}`, + method: 'get' + }) +} +//查看所属标签信息 + +export function nurseStationlabel(id) { + return request({ + url: `/system/nurseStationlabel/list?nurseStationId=${id}`, + method: 'get' + }) +} + + + +export function getLabelList(id) { + return request({ + url: `/system/nurseStationlabel/getLabelList?nurseStationId=${id}`, + method: 'get' + }) } \ No newline at end of file diff --git a/src/api/system/userlist.js b/src/api/system/userlist.js new file mode 100644 index 0000000..00bee4b --- /dev/null +++ b/src/api/system/userlist.js @@ -0,0 +1,8 @@ +import request from '@/utils/request' + +export function getListByUser(data) { + return request({ + url: '/system/user/getListByUser', + method: 'GET' + }) +} \ No newline at end of file diff --git a/src/views/system/nurseItem/index.vue b/src/views/system/nurseItem/index.vue index 1f35aad..3520713 100644 --- a/src/views/system/nurseItem/index.vue +++ b/src/views/system/nurseItem/index.vue @@ -133,6 +133,30 @@ @selection-change="handleSelectionChange" > + + + - @@ -206,7 +229,7 @@ ref="form" :model="form" :rules="rules" - label-width="110px" + label-width="130px" :inline="true" > @@ -243,6 +266,13 @@ > + + + - - - - - - + - +