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);