|
@@ -1,7 +1,8 @@
|
|
|
<template>
|
|
|
- <div>
|
|
|
+ <div >
|
|
|
<div class="container normal-panel normal-margin">
|
|
|
<add style="margin-right:10px;" v-if="tool.checkAuth($route.name,'insert')" @onSuccess="onSuccess"></add>
|
|
|
+<!-- <el-button @click="query">获取</el-button>-->
|
|
|
</div>
|
|
|
<list v-if="tool.checkAuth($route.name,'read')" ref="list" @handleSelectionChange="handleSelectionChange">
|
|
|
<template v-slot:detail="scope">
|
|
@@ -47,7 +48,9 @@ export default {
|
|
|
},
|
|
|
data () {
|
|
|
return {
|
|
|
- accounts:[]
|
|
|
+ accounts:[],
|
|
|
+ moduleList:[],
|
|
|
+ list:[]
|
|
|
}
|
|
|
},
|
|
|
methods:{
|
|
@@ -58,7 +61,24 @@ export default {
|
|
|
console.log(arr)
|
|
|
this.accounts = arr
|
|
|
},
|
|
|
-
|
|
|
+ query(){
|
|
|
+ var module = []
|
|
|
+ module = sessionStorage.getItem('module_info')
|
|
|
+ module = JSON.parse(module)
|
|
|
+ console.log(module,'module')
|
|
|
+ module.forEach(item=>{
|
|
|
+ if (item.systemname === '通用'){
|
|
|
+ this.moduleList = item
|
|
|
+ }
|
|
|
+ })
|
|
|
+ console.log(this.moduleList,'moduleList')
|
|
|
+ this.moduleList.forEach(item => {
|
|
|
+ if (item.systemmodulename === '用户管理') {
|
|
|
+ this.list = item
|
|
|
+ }
|
|
|
+ })
|
|
|
+ console.log(this.list,'list')
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -69,4 +89,5 @@ export default {
|
|
|
.borderRight{
|
|
|
border-right: 1px solid #ccc;
|
|
|
}
|
|
|
-</style>
|
|
|
+
|
|
|
+</style>
|