| | |
| | | # VUE_APP_API = 'http://192.168.0.104:10023/' |
| | | |
| | | #VUE_APP_API = 'http://192.168.0.134:10023/' |
| | | VUE_APP_API = 'http://localhost:10023/' |
| | | #VUE_APP_API = 'http://localhost:10023/' |
| | | # 企业端-仁康 |
| | | VUE_APP_API = 'http://192.168.0.134:10025/' |
| | | |
| | |
| | | |
| | | # VUE_APP_API = 'http://192.168.0.134:10023/' |
| | | |
| | | # VUE_APP_API = 'http://localhost:10023/' |
| | | VUE_APP_API = 'http://localhost:10023/' |
| | | |
| | | # VUE_APP_API = 'http://192.168.0.134:10023/' |
| | |
| | | } |
| | | |
| | | // 查询菜单树 |
| | | export function fetchMenuTree () { |
| | | return request.get('/system/menu/treeNodes?type=1') |
| | | export function fetchMenuTree (type) { |
| | | return request.get('/system/menu/treeNodes?type='+type) |
| | | } |
| | | |
| | | // 排序 |
| | |
| | | visible3: false, |
| | | visible4: false, |
| | | visible5: false, |
| | | visible6: false, |
| | | } |
| | | }, |
| | | created () { |
| | |
| | | if (storeMenus.length > 0 && this.homePage == null) { |
| | | this.setHomePage(storeMenus[0]) |
| | | } |
| | | await fetchMenuTree() |
| | | await fetchMenuTree(this.userInfo.type) |
| | | .then(menus => { |
| | | // 添加菜单 |
| | | storeMenus.push.apply(storeMenus, menus) |