|
@@ -66,7 +66,8 @@ export default {
|
|
|
init() {
|
|
init() {
|
|
|
this._getTreeB().then(res => {
|
|
this._getTreeB().then(res => {
|
|
|
console.log('res', res);
|
|
console.log('res', res);
|
|
|
- // this._getAuthB
|
|
|
|
|
|
|
+ if (this.$constant.)
|
|
|
|
|
+ this._getAuthB()
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
async _getTreeB() {
|
|
async _getTreeB() {
|
|
@@ -83,7 +84,7 @@ export default {
|
|
|
},
|
|
},
|
|
|
async _getAuthB() {
|
|
async _getAuthB() {
|
|
|
let data = {};
|
|
let data = {};
|
|
|
- await this.$service.common.permAuth().then(res => {
|
|
|
|
|
|
|
+ await this.$service.auth.authList({ roleId: this.info.roleId }).then(res => {
|
|
|
data = res;
|
|
data = res;
|
|
|
});
|
|
});
|
|
|
return data;
|
|
return data;
|