module-menu 0.1.12 → 0.1.14

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.1.12",
3
+ "version": "0.1.14",
4
4
  "description": "城市大数据平台公共头部及尾部",
5
5
  "main":"src/pages/index.jsx",
6
6
  "scripts": {
@@ -7,33 +7,30 @@ export const menuList = [{
7
7
  name: '数据汇聚',
8
8
  url: require('../../assets/ic_shujuhuiju_m.svg'),
9
9
  children: [{
10
- childName: '数据集成平台'
10
+ childName: '数据集成'
11
11
  }]
12
12
  },
13
13
  {
14
14
  name: '数据治理',
15
15
  url: require('../../assets/ic_shujuzhili_m.svg'),
16
16
  children: [{
17
- childName: '数据治理平台'
18
- },
19
- {
20
- childName: '数据资产管理'
17
+ childName: '数据治理'
21
18
  },
22
19
  {
23
20
  childName: '元数据管理'
24
21
  },
25
22
  {
26
- childName: '数据质量管理'
23
+ childName: '数据质量'
27
24
  }]
28
25
  },
29
26
  {
30
27
  name: '数据开发',
31
28
  url: require('../../assets/ic_shujukaifa_m.svg'),
32
29
  children: [{
33
- childName: '离线开发平台'
30
+ childName: '离线开发'
34
31
  },
35
32
  {
36
- childName: '实时开发平台'
33
+ childName: '实时开发'
37
34
  }]
38
35
  },
39
36
  {
@@ -43,17 +40,17 @@ export const menuList = [{
43
40
  childName: '数据服务'
44
41
  },
45
42
  {
46
- childName: '数据集市'
43
+ childName: '数据资产'
44
+ },
45
+ {
46
+ childName: '数据共享'
47
47
  }]
48
48
  },
49
49
  {
50
50
  name: '数据应用',
51
51
  url: require('../../assets/ic_shujuyingyong_m.svg'),
52
52
  children: [{
53
- childName: '标签管理系统'
54
- },
55
- {
56
- childName: '数据可视化'
53
+ childName: '数据标签'
57
54
  }]
58
55
  },
59
56
  {
@@ -67,6 +64,9 @@ export const menuList = [{
67
64
  },
68
65
  {
69
66
  childName: '工单管理'
67
+ },
68
+ {
69
+ childName: '消息中心'
70
70
  }]
71
71
  }];
72
72
  export const menuIconSrc = require('../../assets/menuIcon.svg');
@@ -66,11 +66,11 @@ const ModuleMenu = ({sysName})=>{
66
66
  let thirdPartyServiceJumpPath = ""; // 第三方服务跳转路径
67
67
  let thirdPartyServiceRootMenuPath = ""; // 第三方服务根菜单路径
68
68
  switch (nameStr) {
69
- case "数据集成平台":
69
+ case "数据集成":
70
70
  thirdPartyServiceJumpPath = "/datacollect/";
71
71
  thirdPartyServiceRootMenuPath = "/datacollection";
72
72
  break;
73
- case "数据治理平台":
73
+ case "数据治理":
74
74
  thirdPartyServiceJumpPath = "/datamanage/";
75
75
  thirdPartyServiceRootMenuPath = "/dataManager";
76
76
  break;
@@ -78,11 +78,15 @@ const ModuleMenu = ({sysName})=>{
78
78
  thirdPartyServiceJumpPath = "/metadata/";
79
79
  thirdPartyServiceRootMenuPath = "/metadata";
80
80
  break;
81
- case "离线开发平台":
81
+ case "数据质量":
82
+ thirdPartyServiceJumpPath = "/quality/";
83
+ thirdPartyServiceRootMenuPath = "/quality/";
84
+ break;
85
+ case "离线开发":
82
86
  thirdPartyServiceJumpPath = "/datadev/";
83
87
  thirdPartyServiceRootMenuPath = "/datadev/";
84
88
  break;
85
- case "实时开发平台":
89
+ case "实时开发":
86
90
  thirdPartyServiceJumpPath = "/dataanalytic/";
87
91
  thirdPartyServiceRootMenuPath = "/dataanalytic";
88
92
  break;
@@ -90,21 +94,21 @@ const ModuleMenu = ({sysName})=>{
90
94
  thirdPartyServiceJumpPath = "/dataservice/";
91
95
  thirdPartyServiceRootMenuPath = "/dataservice";
92
96
  break;
93
- case "数据资产管理":
97
+ case "数据资产":
94
98
  thirdPartyServiceJumpPath = "/dataasset/";
95
99
  thirdPartyServiceRootMenuPath = "/dataasset";
96
100
  break;
97
- // case "数据共享":
98
- // thirdPartyServiceJumpPath = "/datasharing/";
99
- // thirdPartyServiceRootMenuPath = "/datasharing";
100
- // break;
101
- // case "运维中心":
102
- // thirdPartyServiceJumpPath = "/operate/";
103
- // thirdPartyServiceRootMenuPath = "/operate";
104
- // break;
105
- case "数据质量管理":
106
- thirdPartyServiceJumpPath = "/quality/";
107
- thirdPartyServiceRootMenuPath = "/quality/";
101
+ case "数据共享":
102
+ thirdPartyServiceJumpPath = "/datasharing/";
103
+ thirdPartyServiceRootMenuPath = "/datasharing";
104
+ break;
105
+ case "运维中心":
106
+ thirdPartyServiceJumpPath = "/operate/";
107
+ thirdPartyServiceRootMenuPath = "/operate";
108
+ break;
109
+ case "消息中心":
110
+ thirdPartyServiceJumpPath = "/alert/";
111
+ thirdPartyServiceRootMenuPath = "/alert/";
108
112
  break;
109
113
  default:
110
114
  break;
@@ -131,12 +135,12 @@ const ModuleMenu = ({sysName})=>{
131
135
 
132
136
  const menu = menuList.map((item, index) => {
133
137
  return (
134
- <div key={item.name} className="cardLine" style={{height: index === 2 ? '90px' : ''}}>
138
+ <div key={item.name} className="cardLine" style={{height: index === 6 ? '90px' : ''}}>
135
139
  <div className='leftMenu'>
136
140
  <img src={item.url} className="middle"/>
137
141
  <span className="middle textPad" onClick={() => {toHomePage(index)}}>{item.name}</span>
138
142
  </div>
139
- <div className='rightMenu' style={{height: index === 2 ? '90px' : '', borderBottom: index === 6 ? '0px' : '1px solid #E9E9E9'}}>
143
+ <div className='rightMenu' style={{height: index === 6 ? '90px' : '', borderBottom: index === 6 ? '0px' : '1px solid #E9E9E9'}}>
140
144
  {
141
145
  item.children.map((child, idx) => {
142
146
  return (
@@ -40,6 +40,7 @@
40
40
  font-size: 14px;
41
41
  color: rgba(0,0,0,0.65);
42
42
  font-weight: 400;
43
+ margin-left: 15px;
43
44
  }
44
45
  .childMenu:hover{
45
46
  cursor: pointer;