module-menu-vue 0.0.99 → 0.1.1
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
|
|
@@ -185,13 +185,14 @@ export default {
|
|
|
185
185
|
},
|
|
186
186
|
// 跳转各个模块
|
|
187
187
|
async toModulePage (nameStr) {
|
|
188
|
-
console.log('nameStr', nameStr)
|
|
189
|
-
if (nameStr === '平台运行总览') {
|
|
190
|
-
window.open('/dataadmin/#/overview', '_blank');
|
|
191
|
-
return;
|
|
192
|
-
}
|
|
193
188
|
let thirdPartyServiceJumpPath = ""; // 第三方服务跳转路径
|
|
194
189
|
switch (nameStr) {
|
|
190
|
+
case '平台运行总览':
|
|
191
|
+
thirdPartyServiceJumpPath = '/dataadmin/#/overview'
|
|
192
|
+
return;
|
|
193
|
+
case '知识图谱':
|
|
194
|
+
thirdPartyServiceJumpPath = 'http://192.168.113.235:8088'
|
|
195
|
+
break;
|
|
195
196
|
case '数据可视化':
|
|
196
197
|
thirdPartyServiceJumpPath = await this.getUrl('dataview')
|
|
197
198
|
break;
|
|
@@ -255,7 +256,11 @@ export default {
|
|
|
255
256
|
default:
|
|
256
257
|
break;
|
|
257
258
|
}
|
|
258
|
-
|
|
259
|
+
if (['平台运行总览', '知识图谱', '数据可视化', '数据填报'].includes(nameStr)) {
|
|
260
|
+
window.open(thirdPartyServiceJumpPath, '_blank')
|
|
261
|
+
} else {
|
|
262
|
+
location.href = thirdPartyServiceJumpPath
|
|
263
|
+
}
|
|
259
264
|
},
|
|
260
265
|
// 跳转首页
|
|
261
266
|
toHomePage (index) {
|
|
@@ -43,7 +43,13 @@ export const menuList = [{
|
|
|
43
43
|
childName: "指标管理",
|
|
44
44
|
path: "/indicator",
|
|
45
45
|
url: require('../../assets/dataApp/indicator.png'),
|
|
46
|
-
}
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
childName: "知识图谱",
|
|
49
|
+
path: "/knowledge",
|
|
50
|
+
url: require('../../assets/ic_zhishitupu.png'),
|
|
51
|
+
}
|
|
52
|
+
]
|
|
47
53
|
},
|
|
48
54
|
{
|
|
49
55
|
name: '数据开发',
|
|
@@ -204,6 +210,7 @@ export const menuList_PANWEI = [{
|
|
|
204
210
|
|
|
205
211
|
export const menuIconSrc = require('../../assets/menuIcon.svg');
|
|
206
212
|
|
|
213
|
+
// 左上角各项目图标和名称 数组
|
|
207
214
|
export const sysNameMap = [
|
|
208
215
|
{
|
|
209
216
|
sysName: 'datasecurity',
|