module-menu-vue 0.0.98 → 0.1.0

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.0.98",
3
+ "version": "0.1.0",
4
4
  "description": "城市大数据平台菜单--Vue版",
5
5
  "main": "/index.js",
6
6
  "scripts": {
Binary file
@@ -185,13 +185,15 @@ 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;
188
+ if (nameStr === '知识图谱') {
189
+ window.open('http://192.168.113.246:4001', '_blank')
190
+ return
192
191
  }
193
192
  let thirdPartyServiceJumpPath = ""; // 第三方服务跳转路径
194
193
  switch (nameStr) {
194
+ case '平台运行总览':
195
+ window.open('/dataadmin/#/overview', '_blank');
196
+ return;
195
197
  case '数据可视化':
196
198
  thirdPartyServiceJumpPath = await this.getUrl('dataview')
197
199
  break;
@@ -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: '数据开发',
@@ -105,7 +111,7 @@ export const menuList = [{
105
111
  children: [
106
112
  {
107
113
  childName: '数据标签',
108
- path: '',
114
+ path: '/datatag',
109
115
  url: require('../../assets/datalabel_slogo.svg'),
110
116
  },
111
117
  {
@@ -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',