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 +1 -1
- package/src/.umi/.cache/babel-loader/20e483a42c4d7941dfc50fb17eea11c8.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/37d670798d4605135e9d0158d5bdd2c7.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/50421952593ed123543b66e7d2f9d003.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/50da1cb23672a88ab3699553c86c16f9.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/885ffa42e91596feaec4d528db9f3ab5.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/bc734d50fcfbd39fa32920ed535e6ef0.json.gz +0 -0
- package/src/pages/ModuleMenu/constData.jsx +13 -13
- package/src/pages/ModuleMenu/index.jsx +22 -18
- package/src/pages/ModuleMenu/index.less +1 -0
package/package.json
CHANGED
|
@@ -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
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
case "
|
|
106
|
-
thirdPartyServiceJumpPath = "/
|
|
107
|
-
thirdPartyServiceRootMenuPath = "/
|
|
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 ===
|
|
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 ===
|
|
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 (
|