module-menu 0.1.11 → 0.1.13
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/50421952593ed123543b66e7d2f9d003.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/508a6a3564d742a82fdd80a949f54d4b.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/50da1cb23672a88ab3699553c86c16f9.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/b51f7bd4f3b12b116aa7971ce87664aa.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 +2 -2
- package/src/pages/ModuleMenu/index.less +1 -0
- package/src/pages/index.jsx +1 -1
- package/src/pages/PageHeader/index.jsx +0 -13
- package/src/pages/PageHeader/index.less +0 -11
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');
|
|
@@ -131,12 +131,12 @@ const ModuleMenu = ({sysName})=>{
|
|
|
131
131
|
|
|
132
132
|
const menu = menuList.map((item, index) => {
|
|
133
133
|
return (
|
|
134
|
-
<div key={item.name} className="cardLine" style={{height: index ===
|
|
134
|
+
<div key={item.name} className="cardLine" style={{height: index === 6 ? '90px' : ''}}>
|
|
135
135
|
<div className='leftMenu'>
|
|
136
136
|
<img src={item.url} className="middle"/>
|
|
137
137
|
<span className="middle textPad" onClick={() => {toHomePage(index)}}>{item.name}</span>
|
|
138
138
|
</div>
|
|
139
|
-
<div className='rightMenu' style={{height: index ===
|
|
139
|
+
<div className='rightMenu' style={{height: index === 6 ? '90px' : '', borderBottom: index === 6 ? '0px' : '1px solid #E9E9E9'}}>
|
|
140
140
|
{
|
|
141
141
|
item.children.map((child, idx) => {
|
|
142
142
|
return (
|
package/src/pages/index.jsx
CHANGED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { useState, useEffect, useRef } from 'react';
|
|
2
|
-
import ModuleMenu from '../ModuleMenu';
|
|
3
|
-
// import ModuleUser from '../ModuleUser'
|
|
4
|
-
import './index.less'
|
|
5
|
-
|
|
6
|
-
const PageHeader = ({sysName})=>{
|
|
7
|
-
// const sysNames = 'datacollection';
|
|
8
|
-
return (<div className="pageheader">
|
|
9
|
-
<ModuleMenu sysName={sysName||''}/>
|
|
10
|
-
{/* <ModuleUser/> */}
|
|
11
|
-
</div>)
|
|
12
|
-
}
|
|
13
|
-
export default PageHeader;
|