diff --git a/src/views/system/person/index.vue b/src/views/system/person/index.vue index 396f22d..63307ff 100644 --- a/src/views/system/person/index.vue +++ b/src/views/system/person/index.vue @@ -8,10 +8,13 @@ v-show="showSearch" label-width="68px" > - + - + - + - + @@ -223,7 +235,6 @@ :prop="`nurseStationPersonList.${index}.nurseStationId`" > {{ item.nurseStationName }} @@ -871,7 +881,7 @@ style="margin-left: -20px" > {{ nurseStationName }} {{ departmentName }} + + + - { + this.loading = true; + stationList(this.queryParams2).then((res) => { this.stationLists = res.rows; this.total2 = res.total; this.loading = false; @@ -1426,7 +1428,6 @@ export default { this.total3 = res.total; this.loading = false; }); - }, // 取消按钮 cancel() { @@ -1439,7 +1440,6 @@ export default { }, // 表单重置 reset() { - this.form = { id: null, nurseStationId: null, @@ -1473,7 +1473,6 @@ export default { ], }; this.resetForm("form"); - }, /** 搜索按钮操作 */ @@ -1543,22 +1542,22 @@ export default { resetQuery() { if (this.nurseStationlist[0].isAdmin == "1") { - this.resetForm("queryForm"); - this.queryParams = { - pageNum: 1, - pageSize: 10, - nurseStationId: null, - departmentCode: null, - userId: null, - nursePersonCode: null, - nursePersonName: null, - nursePersonType: null, - phone: null, - address: null, - }; + this.resetForm("queryForm"); + this.queryParams = { + pageNum: 1, + pageSize: 10, + nurseStationId: null, + departmentCode: null, + userId: null, + nursePersonCode: null, + nursePersonName: null, + nursePersonType: null, + phone: null, + address: null, + }; - this.handleQuery(); - } else { + this.handleQuery(); + } else { console.log(1); console.log(this.nurseStationlist); this.queryParams.departmentName = null; @@ -1596,10 +1595,9 @@ export default { this.title = "修改护理站人员信息"; if (this.departmentName == null && this.departmentName == undefined) { this.departmentName = "请选择所属科室"; - } else{ - this.departmentName = response.data.departmentName; + } else { + this.departmentName = response.data.departmentName; } - }); }, /** 提交按钮 */ @@ -1632,7 +1630,7 @@ export default { handleDelete(row) { const ids = row.id || this.ids; this.$modal - .confirm('是否确认删除护理站人员信息的数据项?') + .confirm("是否确认删除护理站人员信息的数据项?") .then(function () { return delPerson(ids); }) @@ -1690,7 +1688,7 @@ export default { `person_${new Date().getTime()}.xlsx` ); }, - //权限列表 + //权限列表 info() { getListByUser(this.nurseStationqueryParams).then((res) => { console.log(res);