module-menu-vue 0.3.28 → 0.3.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "module-menu-vue",
3
- "version": "0.3.28",
3
+ "version": "0.3.29",
4
4
  "description": "城市大数据平台菜单--Vue版",
5
5
  "main": "/index.js",
6
6
  "scripts": {
@@ -31,7 +31,7 @@
31
31
  import Axios from '../Util/axios.js'
32
32
  import { userMenuIcon } from './constant.js'
33
33
  import { getUserName, getIsHaveSystemManagementPermissionFlag } from './../Util/userInfo.js'
34
- import { integrationLogout, getSysUrl } from './service.js'
34
+ import { integrationLogout, getSysUrl, getStandardSysUrl } from './service.js'
35
35
  import { getLoginUrl } from '../Util/permessionUtils.js';
36
36
  import {getMenuList, getAuthListMenus} from '../Menu/service.js'
37
37
 
@@ -180,7 +180,15 @@ export default {
180
180
  console.error('getSysUrl 接口异常: ', e)
181
181
  })
182
182
  } else if (this.stash === 'integration'){
183
- location.href = '/admin-ui/system/menu'
183
+ // 查询 标准版系统管理 需要跳转的页面
184
+ getStandardSysUrl().then(rsp => {
185
+ const data = rsp.data.data
186
+ if (data) {
187
+ location.href = '/admin-ui' + data.path
188
+ }
189
+ }).catch(e => {
190
+ console.error('getSysUrl 接口异常: ', e)
191
+ })
184
192
  } else {
185
193
  const menuObj = JSON.parse(sessionStorage.getItem('bigdata-menu'));
186
194
  let systemPath = ''
@@ -12,3 +12,10 @@ export const getSysUrl = () => {
12
12
  method: 'get'
13
13
  })
14
14
  }
15
+
16
+ // 获取标准版到要跳转的系统管理路径
17
+ export const getStandardSysUrl = () => {
18
+ return request('/admin-api/system/auth/systemPage', {
19
+ method: 'get'
20
+ })
21
+ }