|
@@ -302,17 +302,17 @@
|
|
|
let menuAll = [];
|
|
|
let menuClientAll = [];
|
|
|
menuList.forEach((id)=>{
|
|
|
- menuAll.push(id+'&&all')
|
|
|
+ menuAll.push(id+'---all')
|
|
|
})
|
|
|
menuListHanlf.forEach((id)=>{
|
|
|
- menuAll.push(id+'&&hanlf')
|
|
|
+ menuAll.push(id+'---hanlf')
|
|
|
})
|
|
|
|
|
|
menuClientList.forEach((id)=>{
|
|
|
- menuClientAll.push(id+'&&all')
|
|
|
+ menuClientAll.push(id+'---all')
|
|
|
})
|
|
|
menuClientListHanlf.forEach((id)=>{
|
|
|
- menuClientAll.push(id+'&&hanlf')
|
|
|
+ menuClientAll.push(id+'---hanlf')
|
|
|
})
|
|
|
|
|
|
|
|
@@ -416,7 +416,7 @@
|
|
|
getRole(this.ids).then(res => {
|
|
|
let menuTreeObj = [];
|
|
|
res.data.data.menu.forEach((item)=>{
|
|
|
- let arr = item.split("&&");
|
|
|
+ let arr = item.split("---");
|
|
|
if(arr[1] == 'all'){
|
|
|
menuTreeObj.push(arr[0])
|
|
|
}
|
|
@@ -425,7 +425,7 @@
|
|
|
|
|
|
let menuClientObj = [];
|
|
|
res.data.data.usermenu.forEach((item)=>{
|
|
|
- let arr = item.split("&&");
|
|
|
+ let arr = item.split("---");
|
|
|
if(arr[1] == 'all'){
|
|
|
menuClientObj.push(arr[0])
|
|
|
}
|