module-menu 0.3.21 → 0.3.23

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.21",
3
+ "version": "0.3.23",
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',
@@ -136,6 +136,11 @@ export const menuList = (stash = '') => [
136
136
  ? require('../../assets/dataanalytic_slogo.svg')
137
137
  : require('../../assets/dataanalytic_slogo_LNRD.svg'),
138
138
  },
139
+ {
140
+ childName: '机器学习组件',
141
+ url: require('../../assets/ic_shishikaifa.png'),
142
+ path: '/machineLearning',
143
+ },
139
144
  ],
140
145
  },
141
146
  {
@@ -175,7 +180,7 @@ export const menuList = (stash = '') => [
175
180
  : require('../../assets/datasharing_slogo_LNRD.svg'),
176
181
  },
177
182
  {
178
- childName: '目录编制',
183
+ childName: '目录管理',
179
184
  path: '/catalog',
180
185
  // url: require('../../assets/muluguanli_slogo.png'),
181
186
  url:
@@ -183,6 +188,15 @@ export const menuList = (stash = '') => [
183
188
  ? require('../../assets/muluguanli_slogo.png')
184
189
  : require('../../assets/muluguanli_slogo_LNRD.svg'),
185
190
  },
191
+ {
192
+ childName: '目录编制',
193
+ path: '/catalog-compile',
194
+ // url: require('../../assets/muluguanli_slogo.png'),
195
+ url:
196
+ stash !== 'LNRD'
197
+ ? require('../../assets/muluguanli_slogo.png')
198
+ : require('../../assets/muluguanli_slogo_LNRD.svg'),
199
+ },
186
200
  {
187
201
  childName: '目录中心',
188
202
  path: '/catalog-center',
@@ -260,6 +274,11 @@ export const menuList = (stash = '') => [
260
274
  ? require('../../assets/ic_pingjia.png')
261
275
  : require('../../assets/ic_pingjia_LNRD.svg'),
262
276
  },
277
+ {
278
+ childName: '标签分析',
279
+ url: require('../../assets/ic_shujubiaoqian.png'),
280
+ path: '/indicator',
281
+ },
263
282
  ],
264
283
  },
265
284
  {
@@ -191,9 +191,12 @@ const ModuleMenu = ({ sysName, stash = '' }) => {
191
191
  case '数据安全':
192
192
  thirdPartyServiceJumpPath = '/datasecurity/';
193
193
  break;
194
- case '目录编制':
194
+ case '目录管理':
195
195
  thirdPartyServiceJumpPath = '/admin-ui/catalog';
196
196
  break;
197
+ case '目录编制':
198
+ thirdPartyServiceJumpPath = '/admin-ui/catalog-compile';
199
+ break;
197
200
  case '目录中心':
198
201
  thirdPartyServiceJumpPath = '/admin-ui/catalog-center';
199
202
  break;
@@ -222,12 +225,15 @@ const ModuleMenu = ({ sysName, stash = '' }) => {
222
225
  case '知识图谱':
223
226
  thirdPartyServiceJumpPath = await getUrl('knowledge');
224
227
  break;
225
- case '指标管理':
228
+ case '标签分析':
226
229
  thirdPartyServiceJumpPath = await getUrl('indicator');
227
230
  break;
228
231
  case '数据直报':
229
232
  thirdPartyServiceJumpPath = await getUrl('sjzb');
230
233
  break;
234
+ case '机器学习组件':
235
+ thirdPartyServiceJumpPath = await getUrl('machineLearning');
236
+ break;
231
237
  default:
232
238
  break;
233
239
  }
@@ -250,8 +256,9 @@ const ModuleMenu = ({ sysName, stash = '' }) => {
250
256
  '知识图谱',
251
257
  '数据可视化',
252
258
  '数据填报',
253
- '指标管理',
259
+ '标签分析',
254
260
  '数据直报',
261
+ '机器学习组件',
255
262
  ].includes(nameStr)
256
263
  ) {
257
264
  window.open(thirdPartyServiceJumpPath, '_blank');