module-menu 0.3.20 → 0.3.21

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.21",
4
4
  "description": "城市大数据平台公共头部及尾部",
5
5
  "main": "src/pages/index.jsx",
6
6
  "scripts": {
@@ -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
  {
@@ -506,6 +511,11 @@ export const sysNameMap = (stash = '') => [
506
511
  ? require('../../assets/alert_logo.svg')
507
512
  : require('../../assets/alert_logo_LNRD.svg'),
508
513
  },
514
+ {
515
+ sysName: 'sjzb',
516
+ title: '数据直报',
517
+ logoSrc: require('../../assets/dataApp/datafill.png'),
518
+ },
509
519
  ];
510
520
 
511
521
  export const menuList_HBJK = [
@@ -225,6 +225,9 @@ const ModuleMenu = ({ sysName, stash = '' }) => {
225
225
  case '指标管理':
226
226
  thirdPartyServiceJumpPath = await getUrl('indicator');
227
227
  break;
228
+ case '数据直报':
229
+ thirdPartyServiceJumpPath = await getUrl('sjzb');
230
+ break;
228
231
  default:
229
232
  break;
230
233
  }
@@ -248,6 +251,7 @@ const ModuleMenu = ({ sysName, stash = '' }) => {
248
251
  '数据可视化',
249
252
  '数据填报',
250
253
  '指标管理',
254
+ '数据直报',
251
255
  ].includes(nameStr)
252
256
  ) {
253
257
  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',