From b7b1c7cade3b0f37e72d3c2eed5c5341f27bcf49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E6=99=93=E8=8C=B9?= <1935832701@qq.com> Date: Tue, 5 Mar 2024 17:31:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E5=8C=85=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E5=92=8C=E7=94=A8=E6=88=B7=E6=B7=BB=E5=8A=A0=E7=A7=91=E5=AE=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/user/index.vue | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index aeb0af2..f1f4dd3 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -733,12 +733,12 @@ - + - + @@ -793,12 +793,12 @@ - + - + @@ -1080,17 +1080,14 @@ export default { this.formmat.agencyName = ""; this.info(); }, + // 科室重置 addresetQuerylistdep() { this.formmatdep.departmentName = ""; this.infodep(); }, - // 左边选中事件 + // 机构左边选中事件 handleSelectionChangenleft(selection) { this.$nextTick(() => { - console.log( - this.$refs.multipleTable.clearSelection, - "555555555888888888" - ); if (selection.length > 1) { this.$refs.multipleTable.clearSelection(); // 清空所有选择 this.$refs.multipleTable.toggleRowSelection(selection.pop()); // 设置选择项 @@ -1098,13 +1095,11 @@ export default { }); this.nowSelectData = selection; - // if( this.formlist.agencyId){ this.formlist.agencyId = selection[0].agencyId; - // } }, - // 右边选中事件 + // 机构右边选中事件 handleSelectionChangenright(selection) { console.log(selection, "56888"); if (selection.length > 1) { @@ -1136,7 +1131,7 @@ export default { // 科室点击去左边 leftcontentdep() { console.log(this.formlistdeps, "4578"); - this.formlistdeps.departmentId = ""; + // this.formlistdeps.departmentId = ""; editDepartment(this.formlistdeps).then((response) => { if (response.code == 200) { console.log(response.code);