From 49914bcbbe322595f1bcd62787be42f7d1984755 Mon Sep 17 00:00:00 2001 From: wangting <675591594@qq.com> Date: 星期五, 14 七月 2023 11:12:32 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- Source/UBCS-WEB/src/views/system/user.vue | 23 +++++++++++------------ 1 files changed, 11 insertions(+), 12 deletions(-) diff --git a/Source/UBCS-WEB/src/views/system/user.vue b/Source/UBCS-WEB/src/views/system/user.vue index 8bce7c9..98810f9 100644 --- a/Source/UBCS-WEB/src/views/system/user.vue +++ b/Source/UBCS-WEB/src/views/system/user.vue @@ -5,7 +5,7 @@ <el-scrollbar style="height: auto;border-bottom-right-radius:8px "> <basic-container> <div class="abox"> - <avue-tree :data="treeData" :option="treeOption" @node-click="nodeClick"/> + <avue-tree ref="tree" :data="treeData" :option="treeOption" @node-click="nodeClick"/> </div> </basic-container> </el-scrollbar> @@ -142,8 +142,7 @@ class="passdialog" append-to-body title="璁剧疆瀵嗙爜绛栫暐" - width="30%" - > + width="30%"> <el-select v-model="sevalue" placeholder="璇烽�夋嫨" class="selects" @change="selChange" > <el-option v-for="item in seoptions" @@ -155,9 +154,9 @@ </el-option> </el-select> <span slot="footer" class="dialog-footer"> - <el-button @click="passVisible = false">鍙� 娑�</el-button> - <el-button type="primary" @click="passhandle">纭� 瀹�</el-button> - </span> + <el-button @click="passVisible = false">鍙� 娑�</el-button> + <el-button type="primary" @click="passhandle">纭� 瀹�</el-button> + </span> </el-dialog> </basic-container> </el-col> @@ -780,7 +779,7 @@ this.UserPwdstrategyVO.pwdstrategyId=this.id //璇锋眰 - insert(this.UserPwdstrategyVO.userIds).then(()=>{ + insert(this.UserPwdstrategyVO).then(()=>{ this.passVisible=false this.$message({ type: "success", @@ -801,10 +800,10 @@ selChange(row){ this.id=row }, - selecload(page, params = {}) { - getPage(this.page.currentPage, this.page.pageSize, Object.assign(params, this.query)).then(res => { - console.log(res) - this.seoptions=res.data.data.content + selecload() { + getPage(1, -1).then(res => { + // console.log(res) + this.seoptions=res.data.data.records }); }, nodeClick(data) { @@ -967,7 +966,7 @@ if (this.selectionList.length === 1) { this.roleTreeObj = this.selectionList[0].roleId.split(","); } - getRoleTree().then(res => { + getRoleTree(this.selectionList[0].tenantId).then(res => { this.roleGrantList = res.data.data; this.roleBox = true; -- Gitblit v1.9.3