update 用户管理
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user