From aa49a3724ace8040c42a07134870eedaf778769d Mon Sep 17 00:00:00 2001 From: shidongli Date: Wed, 21 Sep 2022 14:54:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=A4=E7=90=86=E7=AB=99=E4=BA=BA=E5=91=98?= =?UTF-8?q?=20=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/person/index.vue | 32 +++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/src/views/system/person/index.vue b/src/views/system/person/index.vue index c95da54..d83bab2 100644 --- a/src/views/system/person/index.vue +++ b/src/views/system/person/index.vue @@ -345,6 +345,7 @@ text-align: left; height: 36px; padding-left: -10px; + " >{{ item.departmentName }} @@ -615,7 +616,7 @@ @keyup.enter.native="handleQuery" /> - + @@ -881,6 +882,7 @@ export default { pageNum: 1, pageSize: 10, nurseStationName: null, + departmentName: null, id: null, nurseStationId: null, }, @@ -983,9 +985,21 @@ export default { this.loading = false; }); console.log(item); + this.departid = item.departmentCode; this.innerVisible2 = true; this.index = index; }, + clickinnerVisible(item, index) { + stationList(this.queryParams2).then((res) => { + this.stationLists = res.rows; + this.total2 = res.total; + this.loading = false; + }); + console.log(item); + this.stationid = item.nurseStationId; + this.innerVisible = true; + this.index = index; + }, //xialakuang loadMore() { console.log("1"); @@ -1021,7 +1035,7 @@ export default { adddisease() { // this.nurseStationName = "请选择护理站名称"; - // this.departmentName="请选择所属科室" + // this.departmentName="" var obj = { nursePersonCode: "", nursePersonCode: "", @@ -1132,17 +1146,7 @@ export default { }); this.innerVisible = true; }, - clickinnerVisible(item, index) { - stationList(this.queryParams2).then((res) => { - this.stationLists = res.rows; - this.total2 = res.total; - this.loading = false; - }); - console.log(item); - this.stationid = item.nurseStationId; - this.innerVisible = true; - this.index = index; - }, + handleQuery3() { console.log(this.queryParams3); StationDepartmentList(this.queryParams3).then((response) => {