update 用户管理

This commit is contained in:
lb
2022-11-15 10:09:07 +08:00
parent 82aeb2818f
commit 59d90eabb3
3 changed files with 79 additions and 156 deletions

View File

@@ -9,7 +9,8 @@
<div class="app-container system-manage-landpage">
<el-container>
<el-aside>
<side-tree v-if="menuList.length > 0" :menu-list="menuList" @getOrganization="getOrganization" />
<TestTree />
<!-- <side-tree v-if="menuList.length > 0" :menu-list="menuList" @getOrganization="getOrganization" /> -->
</el-aside>
<el-main>
<el-form
@@ -69,6 +70,7 @@
</template>
<script>
import TestTree from './TestTree.vue'
import sideTree from '../system-manage/sideTree'
import { getOrgList } from '@/api/org'
import AddUserForm from './AddUserForm'
@@ -157,7 +159,7 @@ const tableProps = [
}
]
export default {
components: { sideTree, Pagination, BaseTable, MethodBtn, AddUserForm, EditUserForm, AssignRole },
components: { TestTree, sideTree, Pagination, BaseTable, MethodBtn, AddUserForm, EditUserForm, AssignRole },
data() {
return {
topBtnConfig,
@@ -223,6 +225,7 @@ export default {
const res1 = await getOrgList(params)
if (res1.code === 0) {
this.menuList = res1.data.records
console.log('menulist===>', this.menuList)
}
},
getOrganization(data) {