module-menu 0.3.20 → 0.3.22

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",
3
- "version": "0.3.20",
3
+ "version": "0.3.22",
4
4
  "description": "城市大数据平台公共头部及尾部",
5
5
  "main": "src/pages/index.jsx",
6
6
  "scripts": {
Binary file
Binary file
@@ -37,11 +37,11 @@ const getDataManageChildrenMenus = (stash = '') => [
37
37
  ? require('../../assets/quality_slogo.svg')
38
38
  : require('../../assets/quality_slogo_LNRD.svg'),
39
39
  },
40
- {
41
- childName: '指标管理',
42
- path: '/indicator',
43
- url: require('../../assets/dataApp/indicator.png'),
44
- },
40
+ // {
41
+ // childName: '指标管理',
42
+ // path: '/indicator',
43
+ // url: require('../../assets/dataApp/indicator.png'),
44
+ // },
45
45
  {
46
46
  childName: '知识图谱',
47
47
  path: '/knowledge',
@@ -82,6 +82,11 @@ export const menuList = (stash = '') => [
82
82
  path: '/datafill',
83
83
  url: require('../../assets/dataApp/datafill.png'),
84
84
  },
85
+ {
86
+ childName: '数据直报',
87
+ path: '/sjzb',
88
+ url: require('../../assets/dataApp/datafill.png'),
89
+ },
85
90
  ],
86
91
  },
87
92
  {
@@ -131,6 +136,11 @@ export const menuList = (stash = '') => [
131
136
  ? require('../../assets/dataanalytic_slogo.svg')
132
137
  : require('../../assets/dataanalytic_slogo_LNRD.svg'),
133
138
  },
139
+ {
140
+ childName: '机器学习组件',
141
+ url: require('../../assets/ic_shishikaifa.png'),
142
+ path: '/machineLearning',
143
+ },
134
144
  ],
135
145
  },
136
146
  {
@@ -255,6 +265,11 @@ export const menuList = (stash = '') => [
255
265
  ? require('../../assets/ic_pingjia.png')
256
266
  : require('../../assets/ic_pingjia_LNRD.svg'),
257
267
  },
268
+ {
269
+ childName: '标签分析',
270
+ url: require('../../assets/ic_shujubiaoqian.png'),
271
+ path: '/indicator',
272
+ },
258
273
  ],
259
274
  },
260
275
  {
@@ -506,6 +521,11 @@ export const sysNameMap = (stash = '') => [
506
521
  ? require('../../assets/alert_logo.svg')
507
522
  : require('../../assets/alert_logo_LNRD.svg'),
508
523
  },
524
+ {
525
+ sysName: 'sjzb',
526
+ title: '数据直报',
527
+ logoSrc: require('../../assets/dataApp/datafill.png'),
528
+ },
509
529
  ];
510
530
 
511
531
  export const menuList_HBJK = [
@@ -222,9 +222,15 @@ const ModuleMenu = ({ sysName, stash = '' }) => {
222
222
  case '知识图谱':
223
223
  thirdPartyServiceJumpPath = await getUrl('knowledge');
224
224
  break;
225
- case '指标管理':
225
+ case '标签分析':
226
226
  thirdPartyServiceJumpPath = await getUrl('indicator');
227
227
  break;
228
+ case '数据直报':
229
+ thirdPartyServiceJumpPath = await getUrl('sjzb');
230
+ break;
231
+ case '机器学习组件':
232
+ thirdPartyServiceJumpPath = await getUrl('machineLearning');
233
+ break;
228
234
  default:
229
235
  break;
230
236
  }
@@ -247,7 +253,9 @@ const ModuleMenu = ({ sysName, stash = '' }) => {
247
253
  '知识图谱',
248
254
  '数据可视化',
249
255
  '数据填报',
250
- '指标管理',
256
+ '标签分析',
257
+ '数据直报',
258
+ '机器学习组件',
251
259
  ].includes(nameStr)
252
260
  ) {
253
261
  window.open(thirdPartyServiceJumpPath, '_blank');
@@ -5,7 +5,7 @@ import getStore from './userInfo';
5
5
  import { checkToken } from './permessionUtils';
6
6
  import CONSTANT from './constant';
7
7
 
8
- let tokenValue = '1cec132bd3da451f9c67b7c6e9fad16f';
8
+ let tokenValue = 'c4c92dfdb1694104be683bc743acb4d7';
9
9
  // 轻量级tokenInSessionStor存在(GZW跳/data-platform/#/login,否则/#/login),一体化tokenInSessionStor不存在
10
10
  const tokenInSessionStor = window.sessionStorage.getItem(
11
11
  'bigdata-access_token',