module-menu-vue 0.0.78 → 0.0.80
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
|
Binary file
|
|
@@ -81,7 +81,8 @@ export default {
|
|
|
81
81
|
menuListInit: menuListInit,
|
|
82
82
|
sysNameMap: sysNameMap,
|
|
83
83
|
showCollapse: true,
|
|
84
|
-
isExist: false
|
|
84
|
+
isExist: false,
|
|
85
|
+
systemPath: ''
|
|
85
86
|
}
|
|
86
87
|
},
|
|
87
88
|
created () {
|
|
@@ -103,7 +104,7 @@ export default {
|
|
|
103
104
|
},
|
|
104
105
|
toHref () {
|
|
105
106
|
if (this.sysName === 'admin' && this.stash !== "integration") {
|
|
106
|
-
location.href =
|
|
107
|
+
location.href = `/#${this.systemPath}`
|
|
107
108
|
}
|
|
108
109
|
},
|
|
109
110
|
async getSessionMenu () {
|
|
@@ -141,6 +142,9 @@ export default {
|
|
|
141
142
|
this.sessionMenu = [...menuObj.content]
|
|
142
143
|
// 判断是否展示 政务共享平台 菜单(烟台需求)
|
|
143
144
|
this.isExist = this.sessionMenu.some(obj => {
|
|
145
|
+
if (obj.name === '权限管理' && obj.children.length > 0) {
|
|
146
|
+
this.systemPath = obj.children[0].path
|
|
147
|
+
}
|
|
144
148
|
return obj.path === '/exchange'
|
|
145
149
|
})
|
|
146
150
|
}
|
|
@@ -160,7 +164,7 @@ export default {
|
|
|
160
164
|
toModulePage (nameStr) {
|
|
161
165
|
console.log('nameStr', nameStr)
|
|
162
166
|
if (nameStr === '平台运行总览') {
|
|
163
|
-
window.open('
|
|
167
|
+
window.open('/dataadmin/#/overview', '_blank');
|
|
164
168
|
return;
|
|
165
169
|
}
|
|
166
170
|
let thirdPartyServiceJumpPath = ""; // 第三方服务跳转路径
|
|
@@ -213,6 +217,9 @@ export default {
|
|
|
213
217
|
case "级联管理":
|
|
214
218
|
thirdPartyServiceJumpPath = '/admin-ui/cascade';
|
|
215
219
|
break;
|
|
220
|
+
case '综合评价系统':
|
|
221
|
+
thirdPartyServiceJumpPath = '/admin-ui/evaluate';
|
|
222
|
+
break;
|
|
216
223
|
default:
|
|
217
224
|
break;
|
|
218
225
|
}
|
|
@@ -84,6 +84,11 @@ export const menuList = [{
|
|
|
84
84
|
childName: "级联管理",
|
|
85
85
|
path: "/jilianguanli",
|
|
86
86
|
url: require("../../assets/ic_jilianguanli.png"),
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
childName: '综合评价系统',
|
|
90
|
+
path: '/zonghepingjia',
|
|
91
|
+
url: require("../../assets/ic_pingjia.png"),
|
|
87
92
|
}]
|
|
88
93
|
},
|
|
89
94
|
{
|
|
@@ -99,7 +99,16 @@ export default {
|
|
|
99
99
|
console.error('getSysUrl 接口异常: ', e)
|
|
100
100
|
})
|
|
101
101
|
} else {
|
|
102
|
-
|
|
102
|
+
const menuObj = JSON.parse(sessionStorage.getItem('bigdata-menu'));
|
|
103
|
+
let systemPath = ''
|
|
104
|
+
if (menuObj) {
|
|
105
|
+
menuObj.content.forEach(obj => {
|
|
106
|
+
if (obj.name === '权限管理' && obj.children.length > 0) {
|
|
107
|
+
systemPath = obj.children[0].path
|
|
108
|
+
}
|
|
109
|
+
})
|
|
110
|
+
}
|
|
111
|
+
location.href = `/#${systemPath}`
|
|
103
112
|
}
|
|
104
113
|
} else if (flag === 'app') {
|
|
105
114
|
url = '/dataadmin/#/appSystem/index'
|