module-menu 0.1.33 → 0.1.35
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/.idea/codeStyles/Project.xml +92 -0
- package/.idea/codeStyles/codeStyleConfig.xml +5 -0
- package/.idea/module-menu.iml +12 -0
- package/.idea/modules.xml +8 -0
- package/.idea/vcs.xml +6 -0
- package/package.json +1 -1
- package/src/pages/ModuleMenu/constData.jsx +1 -1
- package/src/pages/ModuleMenu/index.jsx +5 -1
- package/src/pages/ModuleUser/index.jsx +4 -1
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
<component name="ProjectCodeStyleConfiguration">
|
|
2
|
+
<code_scheme name="Project" version="173">
|
|
3
|
+
<HTMLCodeStyleSettings>
|
|
4
|
+
<option name="HTML_SPACE_INSIDE_EMPTY_TAG" value="true" />
|
|
5
|
+
</HTMLCodeStyleSettings>
|
|
6
|
+
<JSCodeStyleSettings version="0">
|
|
7
|
+
<option name="FORCE_SEMICOLON_STYLE" value="true" />
|
|
8
|
+
<option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" />
|
|
9
|
+
<option name="USE_DOUBLE_QUOTES" value="false" />
|
|
10
|
+
<option name="FORCE_QUOTE_STYlE" value="true" />
|
|
11
|
+
<option name="ENFORCE_TRAILING_COMMA" value="WhenMultiline" />
|
|
12
|
+
<option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
|
|
13
|
+
<option name="SPACES_WITHIN_IMPORTS" value="true" />
|
|
14
|
+
<option name="INDENT_CHAINED_CALLS" value="false" />
|
|
15
|
+
</JSCodeStyleSettings>
|
|
16
|
+
<TypeScriptCodeStyleSettings version="0">
|
|
17
|
+
<option name="FORCE_SEMICOLON_STYLE" value="true" />
|
|
18
|
+
<option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" />
|
|
19
|
+
<option name="USE_DOUBLE_QUOTES" value="false" />
|
|
20
|
+
<option name="FORCE_QUOTE_STYlE" value="true" />
|
|
21
|
+
<option name="ENFORCE_TRAILING_COMMA" value="WhenMultiline" />
|
|
22
|
+
<option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
|
|
23
|
+
<option name="SPACES_WITHIN_IMPORTS" value="true" />
|
|
24
|
+
</TypeScriptCodeStyleSettings>
|
|
25
|
+
<VueCodeStyleSettings>
|
|
26
|
+
<option name="INTERPOLATION_NEW_LINE_AFTER_START_DELIMITER" value="false" />
|
|
27
|
+
<option name="INTERPOLATION_NEW_LINE_BEFORE_END_DELIMITER" value="false" />
|
|
28
|
+
</VueCodeStyleSettings>
|
|
29
|
+
<codeStyleSettings language="CSS">
|
|
30
|
+
<indentOptions>
|
|
31
|
+
<option name="INDENT_SIZE" value="2" />
|
|
32
|
+
<option name="CONTINUATION_INDENT_SIZE" value="4" />
|
|
33
|
+
<option name="TAB_SIZE" value="2" />
|
|
34
|
+
</indentOptions>
|
|
35
|
+
</codeStyleSettings>
|
|
36
|
+
<codeStyleSettings language="HTML">
|
|
37
|
+
<option name="SOFT_MARGINS" value="80" />
|
|
38
|
+
<indentOptions>
|
|
39
|
+
<option name="INDENT_SIZE" value="2" />
|
|
40
|
+
<option name="CONTINUATION_INDENT_SIZE" value="2" />
|
|
41
|
+
<option name="TAB_SIZE" value="2" />
|
|
42
|
+
</indentOptions>
|
|
43
|
+
</codeStyleSettings>
|
|
44
|
+
<codeStyleSettings language="JSON">
|
|
45
|
+
<indentOptions>
|
|
46
|
+
<option name="CONTINUATION_INDENT_SIZE" value="4" />
|
|
47
|
+
<option name="TAB_SIZE" value="2" />
|
|
48
|
+
</indentOptions>
|
|
49
|
+
</codeStyleSettings>
|
|
50
|
+
<codeStyleSettings language="JavaScript">
|
|
51
|
+
<option name="KEEP_BLANK_LINES_IN_CODE" value="4" />
|
|
52
|
+
<option name="SOFT_MARGINS" value="80" />
|
|
53
|
+
<indentOptions>
|
|
54
|
+
<option name="INDENT_SIZE" value="2" />
|
|
55
|
+
<option name="CONTINUATION_INDENT_SIZE" value="2" />
|
|
56
|
+
<option name="TAB_SIZE" value="2" />
|
|
57
|
+
<option name="KEEP_INDENTS_ON_EMPTY_LINES" value="true" />
|
|
58
|
+
</indentOptions>
|
|
59
|
+
</codeStyleSettings>
|
|
60
|
+
<codeStyleSettings language="LESS">
|
|
61
|
+
<indentOptions>
|
|
62
|
+
<option name="TAB_SIZE" value="2" />
|
|
63
|
+
</indentOptions>
|
|
64
|
+
</codeStyleSettings>
|
|
65
|
+
<codeStyleSettings language="Markdown">
|
|
66
|
+
<indentOptions>
|
|
67
|
+
<option name="INDENT_SIZE" value="2" />
|
|
68
|
+
<option name="CONTINUATION_INDENT_SIZE" value="4" />
|
|
69
|
+
<option name="TAB_SIZE" value="2" />
|
|
70
|
+
</indentOptions>
|
|
71
|
+
</codeStyleSettings>
|
|
72
|
+
<codeStyleSettings language="SCSS">
|
|
73
|
+
<indentOptions>
|
|
74
|
+
<option name="TAB_SIZE" value="2" />
|
|
75
|
+
</indentOptions>
|
|
76
|
+
</codeStyleSettings>
|
|
77
|
+
<codeStyleSettings language="TypeScript">
|
|
78
|
+
<option name="SOFT_MARGINS" value="80" />
|
|
79
|
+
<indentOptions>
|
|
80
|
+
<option name="INDENT_SIZE" value="2" />
|
|
81
|
+
<option name="CONTINUATION_INDENT_SIZE" value="2" />
|
|
82
|
+
<option name="TAB_SIZE" value="2" />
|
|
83
|
+
</indentOptions>
|
|
84
|
+
</codeStyleSettings>
|
|
85
|
+
<codeStyleSettings language="Vue">
|
|
86
|
+
<option name="SOFT_MARGINS" value="80" />
|
|
87
|
+
<indentOptions>
|
|
88
|
+
<option name="CONTINUATION_INDENT_SIZE" value="2" />
|
|
89
|
+
</indentOptions>
|
|
90
|
+
</codeStyleSettings>
|
|
91
|
+
</code_scheme>
|
|
92
|
+
</component>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<module type="WEB_MODULE" version="4">
|
|
3
|
+
<component name="NewModuleRootManager">
|
|
4
|
+
<content url="file://$MODULE_DIR$">
|
|
5
|
+
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
|
|
6
|
+
<excludeFolder url="file://$MODULE_DIR$/temp" />
|
|
7
|
+
<excludeFolder url="file://$MODULE_DIR$/tmp" />
|
|
8
|
+
</content>
|
|
9
|
+
<orderEntry type="inheritedJdk" />
|
|
10
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
|
11
|
+
</component>
|
|
12
|
+
</module>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ProjectModuleManager">
|
|
4
|
+
<modules>
|
|
5
|
+
<module fileurl="file://$PROJECT_DIR$/.idea/module-menu.iml" filepath="$PROJECT_DIR$/.idea/module-menu.iml" />
|
|
6
|
+
</modules>
|
|
7
|
+
</component>
|
|
8
|
+
</project>
|
package/.idea/vcs.xml
ADDED
package/package.json
CHANGED
|
@@ -124,6 +124,10 @@ const ModuleMenu = ({ sysName }) => {
|
|
|
124
124
|
thirdPartyServiceJumpPath = '/alert/';
|
|
125
125
|
thirdPartyServiceRootMenuPath = '/alert';
|
|
126
126
|
break;
|
|
127
|
+
case '数据安全':
|
|
128
|
+
thirdPartyServiceJumpPath = '/datasecurity/';
|
|
129
|
+
thirdPartyServiceRootMenuPath = '/datasecurity';
|
|
130
|
+
break;
|
|
127
131
|
default:
|
|
128
132
|
break;
|
|
129
133
|
}
|
|
@@ -143,7 +147,7 @@ const ModuleMenu = ({ sysName }) => {
|
|
|
143
147
|
// 跳转首页
|
|
144
148
|
const toHomePage = (index) => {
|
|
145
149
|
if (index === 0) {
|
|
146
|
-
window.location.href = '
|
|
150
|
+
window.location.href = '/index';
|
|
147
151
|
}
|
|
148
152
|
};
|
|
149
153
|
const getNewMenuList = () => {
|
|
@@ -63,7 +63,10 @@ const ModuleUser = () => {
|
|
|
63
63
|
<span>个人中心</span>
|
|
64
64
|
</Menu.Item>
|
|
65
65
|
{isHaveSystemManagementPermission && (
|
|
66
|
-
<Menu.Item
|
|
66
|
+
<Menu.Item
|
|
67
|
+
key="systemManage"
|
|
68
|
+
onClick={() => handleClickmenu('/#/admin/user/index')}
|
|
69
|
+
>
|
|
67
70
|
<img
|
|
68
71
|
src={SystemManageSrc}
|
|
69
72
|
alt=""
|