退款记录

This commit is contained in:
潘晓云
2022-02-24 11:23:05 +08:00
parent c8e2c088ea
commit 0eb12cdf75
13 changed files with 799 additions and 573 deletions

View File

@ -152,22 +152,22 @@ export class EAUserService extends BaseService {
* 加载用户菜单
*/
async loadUserMenus() {
return this.asyncRequest(this.$api_get_user_menus, {
appId: this.envSrv.getEnvironment().appId
}).then(res => {
this.cacheSrv.set(cacheConf.menu, res);
this.menuService.add(res);
});
// this.request('assets/mocks/menu-data.json', {}, 'GET').subscribe((res: any) => {
// this.cacheSrv.set(cacheConf.menu, res.menu);
// this.menuService.add(res.menu);
// return this.asyncRequest(this.$api_get_user_menus, {
// appId: this.envSrv.getEnvironment().appId
// }).then(res => {
// this.cacheSrv.set(cacheConf.menu, res);
// this.menuService.add(res);
// });
this.request('assets/mocks/menu-data.json', {}, 'GET').subscribe((res: any) => {
this.cacheSrv.set(cacheConf.menu, res.menu);
this.menuService.add(res.menu);
});
}
/**
* 加载用户角色
*/
loadUserRoles() {}
loadUserRoles() { }
/**
* 登出