From 8807c35a3a984ef86fb649814ebbcbd47c8f9914 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E6=99=93=E8=8C=B9?= <1935832701@qq.com> Date: Mon, 7 Nov 2022 11:53:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=A4=E7=90=86=E7=AB=99=E7=9A=84=E6=8A=A4?= =?UTF-8?q?=E7=90=86=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/person.js | 8 ++++ src/views/system/person/index.vue | 72 +++++++++++++++++++----------- src/views/system/station/index.vue | 2 +- 3 files changed, 55 insertions(+), 27 deletions(-) diff --git a/src/api/system/person.js b/src/api/system/person.js index c046256..81f897d 100644 --- a/src/api/system/person.js +++ b/src/api/system/person.js @@ -16,6 +16,14 @@ export function stationList(query) { params: query }) } +//查看所属护理类型 + +export function getInfoLists(Code) { + return request({ + url: `/system/station/getNurseStationType?nurseTypeCode=${Code}`, + method: 'get' + }) +} // 查询所属科室 export function StationDepartmentList(query) { diff --git a/src/views/system/person/index.vue b/src/views/system/person/index.vue index 396f22d..1b77f61 100644 --- a/src/views/system/person/index.vue +++ b/src/views/system/person/index.vue @@ -485,14 +485,11 @@ align="center" prop="nurseStationType" > - + + + + + + + + + + { + console.log(res); + this.typelooks = res.data; + this.typeopen = true; + }); }, // // 修改所属科室按钮 departclick2() { @@ -1724,24 +1761,7 @@ export default { } } }, - // loadMore() { - // console.log("1"); - // var a = Math.ceil(this.total4 / 10); - // console.log(this.nurseStationlist.length); - // if (this.nurseStationlist.length + 1 >= this.total4) { - // } else { - // if (this.nurseStationqueryParams.pageNum >= a) { - // } else { - // this.nurseStationqueryParams.pageNum++; - // stationList(this.nurseStationqueryParams).then((res) => { - // console.log(res); - // res.rows.forEach((e) => { - // this.nurseStationlist.push(e); - // }); - // }); - // } - // } - // }, + }, }; diff --git a/src/views/system/station/index.vue b/src/views/system/station/index.vue index 546fa70..88a0260 100644 --- a/src/views/system/station/index.vue +++ b/src/views/system/station/index.vue @@ -1027,7 +1027,7 @@ export default { this.looknurseStationLabel = [ { labelDescription: "", - sort: "", + labelSort:"", ids: 1, }, ];