| | |
| | | <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> |
| | |
| | | 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" |
| | |
| | | }) |
| | | //要传递的id,一个是数组另一个是字符串 |
| | | this.UserPwdstrategyVO.userIds=this.selid; |
| | | this.UserPwdstrategyVO.pwdstrategyId=this.id; |
| | | this.UserPwdstrategyVO.pwdstrategyId=this.id |
| | | |
| | | //请求 |
| | | insert(this.UserPwdstrategyVO).then(()=>{ |
| | |
| | | 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) { |
| | |
| | | getRoleTree(this.selectionList[0].tenantId).then(res => { |
| | | this.roleGrantList = res.data.data; |
| | | this.roleBox = true; |
| | | |
| | | }); |
| | | }, |
| | | handlePlatform() { |