module-menu-vue 0.3.27 → 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.27",
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
 
@@ -80,6 +80,10 @@ export default {
80
80
  isBigDataFoundationPlatform: {
81
81
  type: Boolean,
82
82
  default: false,
83
+ },
84
+ PZCS: {
85
+ type: Boolean,
86
+ default: false,
83
87
  }
84
88
  },
85
89
  created() {
@@ -176,7 +180,15 @@ export default {
176
180
  console.error('getSysUrl 接口异常: ', e)
177
181
  })
178
182
  } else if (this.stash === 'integration'){
179
- 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
+ })
180
192
  } else {
181
193
  const menuObj = JSON.parse(sessionStorage.getItem('bigdata-menu'));
182
194
  let systemPath = ''
@@ -200,7 +212,11 @@ export default {
200
212
  // }
201
213
  }
202
214
  } else if (flag === 'app') {
203
- url = '/dataadmin/#/appSystem/index'
215
+ if (this.PZCS) {
216
+ url = '/dataadmin/#/appManager/index'
217
+ } else {
218
+ url = '/dataadmin/#/appSystem/index'
219
+ }
204
220
  location.href = url;
205
221
  } else if (flag === 'logout') {
206
222
  this.logoutFunc()
@@ -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
+ }