From 4b6bef2f1a3eb7c4949eccc162dbb147c2a2a3e3 Mon Sep 17 00:00:00 2001 From: shidongli Date: Fri, 11 Nov 2022 17:35:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=A4=E7=90=86=E7=AB=99=E4=BA=BA=E5=91=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/OperateGoodsInfo/index.vue | 5 +- src/views/system/person/index.vue | 74 +++++++++++++-------- 2 files changed, 48 insertions(+), 31 deletions(-) diff --git a/src/views/system/OperateGoodsInfo/index.vue b/src/views/system/OperateGoodsInfo/index.vue index 538de19..bb3e779 100644 --- a/src/views/system/OperateGoodsInfo/index.vue +++ b/src/views/system/OperateGoodsInfo/index.vue @@ -728,9 +728,9 @@ export default { this.innerVisible = true; }, nurseclick(row) { - console.log(this.form); + // console.log(this.form); console.log(row); - this.form.nurseStationId = row.id; + this.nurseStationId = row.id; this.StationName = row.nurseStationName; this.innerVisible = false; }, @@ -839,6 +839,7 @@ export default { }, /** 修改按钮操作 */ handleUpdate(row) { + this.nurseStationId = row.id; this.reset(); const id = row.goodsInfoId || this.ids; this.StationName = row.nurseStationName; diff --git a/src/views/system/person/index.vue b/src/views/system/person/index.vue index 347168a..d631f51 100644 --- a/src/views/system/person/index.vue +++ b/src/views/system/person/index.vue @@ -396,7 +396,7 @@ > @@ -418,7 +418,7 @@ label-width="120" > @@ -481,9 +481,9 @@ @@ -496,7 +496,7 @@ > @@ -518,7 +518,7 @@ label-width="120" > @@ -574,9 +574,9 @@ @@ -641,6 +641,12 @@ @click="StationDepartmentclick(scope.row)" > + + { - this.nursetotal = res.total; - this.nurseStationlist = res.rows; - this.loading = false; - }); - }, + // getList2() { + // this.loading = true; + // getListByUser(this.StationqueryParams).then((res) => { + // this.nursetotal = res.total; + // this.nurseStationlist = res.rows; + // this.loading = false; + // }); + // }, getList3() { this.loading = true; StationDepartmentList(this.queryParams3).then((res) => { @@ -1323,13 +1339,13 @@ export default { }, /** 搜索按钮操作 */ handleQuery2() { - this.StationqueryParams.pageNum = 1; - this.getList2(); + this.nurseStationqueryParams.pageNum = 1; + this.info(); }, // 修改护理站弹框的搜索 handleQuery4() { - this.StationqueryParams.pageNum = 1; - this.getList2(); + this.nurseStationqueryParams.pageNum = 1; + this.info(); }, //修改所属科室 handleQuery3() { @@ -1353,16 +1369,15 @@ export default { }, resetQuery2() { this.resetForm("queryForm"); - this.StationqueryParams = { + this.nurseStationqueryParams = { pageNum: 1, pageSize: 10, - }; this.handleQuery2(); }, resetQuery4() { this.resetForm("queryForm"); - this.StationqueryParams = { + this.nurseStationqueryParams = { pageNum: 1, pageSize: 10, }; @@ -1534,6 +1549,7 @@ export default { this.nursetotal = res.total; this.nurseStationlist = res.rows; this.queryParams.nurseStationId = res.rows[0].id; + this.queryParams3.nurseStationId = res.rows[0].id; this.handleQuery(); } });