From 7bab1657d9bd76a8d05c09b8d8a8ddc6796c8895 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E6=99=93=E8=8C=B9?= <1935832701@qq.com> Date: Fri, 1 Mar 2024 13:35:30 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/user/index.vue | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index 82137dd..0785224 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -885,18 +885,19 @@ export default { methods: { // 左边选中事件 handleSelectionChangen(selection) { - console.log(selection, "56"); + // console.log(selection, "56"); // this.abc=selection // console.log(data,"9"); // this.selection=[] if (selection.length >1) { this.$refs.multipleTable.clearSelection(); // 清空所有选择 this.$refs.multipleTable.toggleRowSelection(selection.pop()); // 设置选择项 - this.formlist.agencyId = selection[0].agencyId; } + this.nowSelectData = selection; - this.nowSelectRightData=[] + this.formlist.agencyId = selection[0].agencyId; + // this.nowSelectRightData=[] // this.formlist.agencyCode = selection[0].agencyCode; // console.log(this.formlist.agencyId, "99999999"); @@ -913,7 +914,7 @@ export default { this.$refs.multipleTables.toggleRowSelection(selection.pop()); // 设置选择项 } this.nowSelectRightData = selection; - this.nowSelectData=[] + // this.nowSelectData=[] }, addresetQuerylist() { this.formmat.agencyName = ""; @@ -936,8 +937,10 @@ export default { }, // 点击去左边 leftcontent() { + console.log(this.formlists,'4578') updateUser(this.formlists).then((response) => { if (response.code == 200) { + console.log(response.code) this.info(); this.info2(); } @@ -1079,10 +1082,10 @@ export default { }, info2() { selectUserAgency(this.userName).then((res) => { - console.log(res,"/////////"); + // console.log(res,"/////////"); // this.agencyNum = res.data.agencyNum; + this.tableData2 = res.rows; if (res.rows.length > 0) { - this.tableData2 = res.rows; this.belongAgencyNum = res.rows[0].agencyNum; } });