diff --git a/src/views/system/person/index.vue b/src/views/system/person/index.vue index 0df20d3..9919920 100644 --- a/src/views/system/person/index.vue +++ b/src/views/system/person/index.vue @@ -356,6 +356,7 @@ text-align: left; height: 36px; padding-left: -10px; + " >{{ item.departmentName }} @@ -623,7 +624,7 @@ @keyup.enter.native="handleQuery" /> - + @@ -953,6 +954,7 @@ export default { pageNum: 1, pageSize: 10, nurseStationName: null, + departmentName: null, id: null, nurseStationId: null, }, @@ -1055,9 +1057,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"); @@ -1093,7 +1107,7 @@ export default { adddisease() { // this.nurseStationName = "请选择护理站名称"; - // this.departmentName="请选择所属科室" + // this.departmentName="" var obj = { nursePersonCode: "", nursePersonCode: "", @@ -1206,17 +1220,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) => {