imatrix-ui 2.9.15-dw-tmp2 → 2.9.16-boe10
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/lib/super-ui.css +1 -1
- package/lib/super-ui.umd.min.js +5 -35
- package/package.json +2 -2
- package/src/api/sso-service.js +19 -1
- package/src/assets/nonemessage.png +0 -0
- package/src/i18n/i18n.js +1 -1
- package/src/i18n/langs/cn.js +18 -6
- package/src/i18n/langs/en.js +20 -7
- package/src/permission.js +2 -2
- package/src/plugins.js +3 -3
- package/src/router/index.js +10 -0
- package/src/store/modules/tab-content.js +6 -0
- package/src/store/modules/user.js +32 -2
- package/src/styles/display-layout.scss +1 -1
- package/src/styles/index.scss +74 -4
- package/src/styles/theme/black/font-style.scss +70 -0
- package/src/styles/theme/black/index.scss +6 -30
- package/src/styles/theme/blue/font-style.scss +37 -0
- package/src/styles/theme/blue/index.scss +2 -18
- package/src/styles/theme/blue2/font-style.scss +70 -0
- package/src/styles/theme/blue2/index.scss +3 -13
- package/src/styles/theme/dark-blue/card.scss +4 -6
- package/src/styles/theme/dark-blue/form.scss +7 -4
- package/src/styles/theme/dark-blue/index.scss +30 -5
- package/src/styles/theme/dark-blue/message.scss +8 -0
- package/src/styles/theme/dark-blue/radio.scss +13 -0
- package/src/styles/theme/dark-blue/sidebar.scss +7 -37
- package/src/styles/theme/dark-blue/tab.scss +4 -1
- package/src/styles/theme/dark-blue/table.scss +1 -1
- package/src/styles/theme/dark-blue/tree.scss +35 -10
- package/src/styles/theme/gray/card-style.scss +13 -1
- package/src/styles/theme/gray/font-style.scss +38 -0
- package/src/styles/theme/gray/index.scss +13 -25
- package/src/styles/theme/gray/scrollbar-style.scss +32 -0
- package/src/styles/theme/gray/sidebar.scss +7 -14
- package/src/utils/auth-api.js +47 -1
- package/src/utils/common-util.js +22 -81
- package/src/utils/jump-page-utils.js +8 -10
- package/src/utils/range-selector.js +185 -0
- package/src/utils/request.js +6 -3
- package/src/utils/util.js +13 -11
- package/src/utils/workflow-util.js +3 -0
- package/src/views/dsc-component/Sidebar/Item.vue +7 -5
- package/src/views/dsc-component/Sidebar/SidebarItem.vue +2 -3
- package/src/views/dsc-component/Sidebar/index.vue +12 -20
- package/src/views/dsc-component/tabs/tab-content.vue +8 -9
- package/src/views/layout/EmptyLayout.vue +4 -1
- package/src/views/layout/NewLayout.vue +6 -65
- package/src/views/layout/components/AppMain.vue +2 -1
- package/src/views/layout/components/Menubar/Item.vue +23 -7
- package/src/views/layout/components/Menubar/Link.vue +11 -2
- package/src/views/layout/components/Menubar/SidebarItem.vue +50 -7
- package/src/views/layout/components/Menubar/index.vue +51 -16
- package/src/views/layout/components/tabs/tab-content.vue +162 -0
- package/src/views/layout/tab-content-iframe-index.vue +31 -0
- package/src/views/layout/tab-content-index.vue +85 -0
- package/src/views/login/index.vue +1 -1
- package/packages/breadcrumb/index.js +0 -6
- package/packages/breadcrumb/src/breadcrumb.vue +0 -71
- package/packages/department-tree/index.js +0 -6
- package/packages/department-tree/src/department-tree.vue +0 -108
- package/packages/department-tree-inline/index.js +0 -6
- package/packages/department-tree-inline/src/department-multi-tree-inline.vue +0 -408
- package/packages/department-tree-inline/src/department-single-tree-inline.vue +0 -290
- package/packages/department-tree-inline/src/department-tree-inline.vue +0 -86
- package/packages/department-tree-inline/src/department-tree-service.js +0 -273
- package/packages/department-tree-inline/src/search-result.vue +0 -176
- package/packages/department-user-tree/index.js +0 -6
- package/packages/department-user-tree/src/department-user-multiple-tree.vue +0 -116
- package/packages/department-user-tree/src/department-user-single-tree.vue +0 -76
- package/packages/department-user-tree/src/department-user-tree.vue +0 -101
- package/packages/department-user-tree-inline/index.js +0 -6
- package/packages/department-user-tree-inline/src/department-user-multiple-tree-inline.vue +0 -636
- package/packages/department-user-tree-inline/src/department-user-single-tree-inline.vue +0 -271
- package/packages/department-user-tree-inline/src/department-user-tree-inline.vue +0 -79
- package/packages/department-user-tree-inline/src/department-user-tree-multi-service.js +0 -248
- package/packages/department-user-tree-inline/src/department-user-tree-single-service.js +0 -142
- package/packages/department-user-tree-inline/src/search-result.vue +0 -197
- package/packages/directives/prevent-reclick.js +0 -19
- package/packages/dynamic-source-select/index.js +0 -6
- package/packages/dynamic-source-select/src/dynamic-source-select-service.js +0 -70
- package/packages/dynamic-source-select/src/dynamic-source-select.vue +0 -440
- package/packages/dynamic-source-select/src/events.js +0 -55
- package/packages/fs-preview/index.js +0 -6
- package/packages/fs-preview/src/fs-preview.vue +0 -226
- package/packages/fs-upload/index.js +0 -6
- package/packages/fs-upload/src/fs-upload-multi.vue +0 -420
- package/packages/fs-upload/src/fs-upload-single.vue +0 -312
- package/packages/fs-upload/src/fs-upload.vue +0 -189
- package/packages/fs-upload/src/see-big-picture.vue +0 -55
- package/packages/fs-upload-list/index.js +0 -6
- package/packages/fs-upload-list/src/fs-upload-list.vue +0 -287
- package/packages/hamburger/index.js +0 -6
- package/packages/hamburger/src/hamburger.vue +0 -38
- package/packages/index.js +0 -121
- package/packages/multipart-upload/index.js +0 -6
- package/packages/multipart-upload/src/index.vue +0 -73
- package/packages/multipart-upload/src/multipart-upload-form.vue +0 -297
- package/packages/multipart-upload/src/multipart-upload-list.vue +0 -378
- package/packages/organization-input/index.js +0 -6
- package/packages/organization-input/src/organization-input.vue +0 -542
- package/packages/plugins/export-data-new.js +0 -466
- package/packages/plugins/export-data.js +0 -361
- package/packages/plugins/index.js +0 -15
- package/packages/plugins/public-method.js +0 -43
- package/packages/remove-department/index.js +0 -6
- package/packages/remove-department/src/remove-department.vue +0 -172
- package/packages/remove-department/src/remove-dept-service.js +0 -20
- package/packages/remove-user/index.js +0 -6
- package/packages/remove-user/src/remove-user-service.js +0 -20
- package/packages/remove-user/src/remove-user.vue +0 -195
- package/packages/remove-workgroup/index.js +0 -6
- package/packages/remove-workgroup/src/remove-workgroup-service.js +0 -20
- package/packages/remove-workgroup/src/remove-workgroup.vue +0 -159
- package/packages/rich-editor/index.js +0 -7
- package/packages/rich-editor/index.vue +0 -278
- package/packages/rich-editor/langs/zh-Hans.js +0 -1
- package/packages/rich-editor/viewer.vue +0 -103
- package/packages/scan-code-input/index.js +0 -6
- package/packages/scan-code-input/src/events.js +0 -33
- package/packages/scan-code-input/src/scan-code-input-colse.vue +0 -131
- package/packages/scan-code-input/src/scan-code-input.vue +0 -116
- package/packages/secret-info/index.js +0 -7
- package/packages/secret-info/index.vue +0 -90
- package/packages/super-grid/index.js +0 -7
- package/packages/super-grid/src/apis.js +0 -820
- package/packages/super-grid/src/columns-config.vue +0 -335
- package/packages/super-grid/src/custom-formatter.js +0 -278
- package/packages/super-grid/src/dynamic-input.vue +0 -1279
- package/packages/super-grid/src/eventBus.js +0 -2
- package/packages/super-grid/src/events.js +0 -55
- package/packages/super-grid/src/formValidatorUtil.js +0 -226
- package/packages/super-grid/src/formatter.js +0 -181
- package/packages/super-grid/src/group-column.vue +0 -100
- package/packages/super-grid/src/header-context-menu.vue +0 -87
- package/packages/super-grid/src/index-column.vue +0 -51
- package/packages/super-grid/src/normal-column.vue +0 -771
- package/packages/super-grid/src/public-methods.js +0 -31
- package/packages/super-grid/src/row-operation.vue +0 -161
- package/packages/super-grid/src/search-button.vue +0 -66
- package/packages/super-grid/src/search-condition-input.vue +0 -61
- package/packages/super-grid/src/search-condition-list.vue +0 -59
- package/packages/super-grid/src/search-form-advancedQuery.vue +0 -653
- package/packages/super-grid/src/search-form-dialog.vue +0 -79
- package/packages/super-grid/src/search-form-item.vue +0 -404
- package/packages/super-grid/src/search-form-number.vue +0 -38
- package/packages/super-grid/src/search-form-open.vue +0 -170
- package/packages/super-grid/src/search-form-ordinarySearch.vue +0 -196
- package/packages/super-grid/src/search-form.vue +0 -642
- package/packages/super-grid/src/search-methods.js +0 -448
- package/packages/super-grid/src/selection-column.vue +0 -43
- package/packages/super-grid/src/store.js +0 -3
- package/packages/super-grid/src/super-grid-service.js +0 -593
- package/packages/super-grid/src/super-grid.vue +0 -2882
- package/packages/super-grid/src/utils.js +0 -762
- package/packages/super-grid/src/view-image-dialog.vue +0 -130
- package/packages/super-nine-grid/index.js +0 -7
- package/packages/super-nine-grid/src/apis.js +0 -103
- package/packages/super-nine-grid/src/custom-formatter.js +0 -66
- package/packages/super-nine-grid/src/formatter.js +0 -132
- package/packages/super-nine-grid/src/search-form-number.vue +0 -38
- package/packages/super-nine-grid/src/search-form.vue +0 -430
- package/packages/super-nine-grid/src/search-methods.js +0 -134
- package/packages/super-nine-grid/src/store.js +0 -3
- package/packages/super-nine-grid/src/super-grid-service.js +0 -91
- package/packages/super-nine-grid/src/super-nine-grid.vue +0 -872
- package/packages/super-nine-grid/src/utils.js +0 -261
- package/packages/svg-icon/index.js +0 -6
- package/packages/svg-icon/src/svg-icon.vue +0 -43
- package/packages/utils/memory-cache-utils.js +0 -90
- package/packages/utils/utils.js +0 -152
- package/packages/utils/value-set.js +0 -86
- package/packages/valid-code/index.js +0 -7
- package/packages/valid-code/src/valid-code.vue +0 -95
- package/packages/workflow-button/index.js +0 -6
- package/packages/workflow-button/src/workflow-button.vue +0 -325
- package/packages/workflow-history-list/index.js +0 -6
- package/packages/workflow-history-list/src/api.js +0 -7
- package/packages/workflow-history-list/src/workflow-history-list.vue +0 -185
- package/packages/workgroup-tree/index.js +0 -6
- package/packages/workgroup-tree/src/workgroup-tree.vue +0 -76
- package/packages/workgroup-tree-inline/index.js +0 -6
- package/packages/workgroup-tree-inline/src/workgroup-tree-inline.vue +0 -317
- package/packages/workgroup-tree-inline/src/workgroup-tree-service.js +0 -43
- package/packages/workgroup-user-tree/index.js +0 -6
- package/packages/workgroup-user-tree/src/workgroup-user-tree.vue +0 -100
- package/packages/workgroup-user-tree-inline/index.js +0 -6
- package/packages/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +0 -163
- package/packages/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue +0 -436
- package/packages/year-range-picker/index.js +0 -6
- package/packages/year-range-picker/src/year-range-picker.vue +0 -51
- package/report.20190716.140129.216348.001.json +0 -354
- package/src/index.js +0 -93
- package/src/styles/theme/gray/form-style.scss +0 -41
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@import './sidebar.scss';
|
|
2
|
-
|
|
2
|
+
@import './font-style.scss';
|
|
3
3
|
.blue2 .el-dialog__header {
|
|
4
4
|
padding: 10px 10px 10px;
|
|
5
5
|
}
|
|
@@ -81,6 +81,8 @@
|
|
|
81
81
|
|
|
82
82
|
.app-container {
|
|
83
83
|
padding: 20px;
|
|
84
|
+
border-radius: 6px;
|
|
85
|
+
box-shadow: 0px 1px 8px 0px #00000019;
|
|
84
86
|
}
|
|
85
87
|
|
|
86
88
|
.operation-area {
|
|
@@ -92,18 +94,6 @@
|
|
|
92
94
|
padding-right: 24px;
|
|
93
95
|
padding-top: 10px;
|
|
94
96
|
}
|
|
95
|
-
.form-container {
|
|
96
|
-
height: calc(100vh - 82px);
|
|
97
|
-
overflow: auto;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.form-container .el-form .el-card {
|
|
101
|
-
margin-bottom: 10px;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.form-container .el-form .el-card:last-child {
|
|
105
|
-
margin-bottom: 0;
|
|
106
|
-
}
|
|
107
97
|
|
|
108
98
|
|
|
109
99
|
// 解决tab页签中内容多时没有滚动条问题
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
.dark-blue {
|
|
2
|
+
.grid-search-form .el-form-item {
|
|
3
|
+
margin-bottom: 0px;
|
|
4
|
+
}
|
|
2
5
|
|
|
3
6
|
.button-at-top {
|
|
4
7
|
width: 100%;
|
|
@@ -38,14 +41,14 @@
|
|
|
38
41
|
line-height: 72px;
|
|
39
42
|
}
|
|
40
43
|
|
|
41
|
-
.form-center-position{
|
|
44
|
+
.form-center-position {
|
|
42
45
|
position: relative;
|
|
43
46
|
|
|
44
|
-
.form-center-son{
|
|
47
|
+
.form-center-son {
|
|
45
48
|
position: absolute;
|
|
46
49
|
top: 50%;
|
|
47
50
|
left: 50%;
|
|
48
|
-
transform: translate(-50
|
|
51
|
+
transform: translate(-50%, -50%);
|
|
49
52
|
}
|
|
50
53
|
}
|
|
51
|
-
}
|
|
54
|
+
}
|
|
@@ -12,10 +12,12 @@
|
|
|
12
12
|
@import './dialog.scss';
|
|
13
13
|
@import './tree.scss';
|
|
14
14
|
@import './scrollbar-style.scss';
|
|
15
|
+
@import './message.scss';
|
|
16
|
+
@import './radio.scss';
|
|
15
17
|
|
|
16
18
|
|
|
17
19
|
.dark-blue {
|
|
18
|
-
font-family:
|
|
20
|
+
font-family: Source Han Sans CN;
|
|
19
21
|
font-size: 14px;
|
|
20
22
|
color: rgba(0, 0, 0, 0.85);
|
|
21
23
|
-moz-osx-font-smoothing: grayscale;
|
|
@@ -24,7 +26,7 @@
|
|
|
24
26
|
height: 100%;
|
|
25
27
|
|
|
26
28
|
.el-button {
|
|
27
|
-
font-family:
|
|
29
|
+
font-family: Source Han Sans CN;
|
|
28
30
|
}
|
|
29
31
|
|
|
30
32
|
.fl {
|
|
@@ -84,16 +86,16 @@
|
|
|
84
86
|
|
|
85
87
|
//main-container全局样式
|
|
86
88
|
.app-main {
|
|
87
|
-
min-height:
|
|
89
|
+
min-height: 100vh;
|
|
88
90
|
background: #f7f7f8;
|
|
89
|
-
padding: 11px 24px
|
|
91
|
+
padding: 11px 24px 24px 24px;
|
|
90
92
|
// padding-top: 12px;
|
|
91
93
|
}
|
|
92
94
|
|
|
93
95
|
.app-container {
|
|
94
96
|
// padding: 20px;
|
|
95
97
|
// padding: 0px;
|
|
96
|
-
padding: 20px 24px;
|
|
98
|
+
padding: 20px 24px 0px 24px;
|
|
97
99
|
background: #FFFFFF;
|
|
98
100
|
border-radius: 6px;
|
|
99
101
|
box-shadow: 0px 1px 8px 0px #00000019;
|
|
@@ -116,6 +118,7 @@
|
|
|
116
118
|
top: 50%;
|
|
117
119
|
left: 50%;
|
|
118
120
|
transform: translate(-50%, -50%);
|
|
121
|
+
height: auto;
|
|
119
122
|
|
|
120
123
|
.add_form_buttomButton {
|
|
121
124
|
text-align: right;
|
|
@@ -125,7 +128,21 @@
|
|
|
125
128
|
|
|
126
129
|
.operation-area {
|
|
127
130
|
margin-bottom: 20px;
|
|
131
|
+
}
|
|
128
132
|
|
|
133
|
+
/**
|
|
134
|
+
* @description: 工具栏布局
|
|
135
|
+
* @Date: 2023-07-17 15:48:04
|
|
136
|
+
* @param {*}
|
|
137
|
+
* @return {*}
|
|
138
|
+
*/
|
|
139
|
+
.toolbar_flex {
|
|
140
|
+
display: flex;
|
|
141
|
+
justify-content: space-between;
|
|
142
|
+
|
|
143
|
+
.list_toolbar_page_style {
|
|
144
|
+
text-align: right;
|
|
145
|
+
}
|
|
129
146
|
}
|
|
130
147
|
|
|
131
148
|
.operation-area-chart {
|
|
@@ -244,4 +261,12 @@
|
|
|
244
261
|
// box-shadow: 0px 1px 8px 0px #00000019;
|
|
245
262
|
// }
|
|
246
263
|
// }
|
|
264
|
+
|
|
265
|
+
// 清除 app-container 类样式
|
|
266
|
+
.clear_app_container {
|
|
267
|
+
padding: 0;
|
|
268
|
+
background: transparent;
|
|
269
|
+
border-radius: 0;
|
|
270
|
+
box-shadow: 0 0px 0px #ccc;
|
|
271
|
+
}
|
|
247
272
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
.dark-blue {
|
|
2
|
+
|
|
3
|
+
// radio中间的圆点颜色
|
|
4
|
+
.el-radio__input.is-disabled.is-checked .el-radio__inner::after {
|
|
5
|
+
background-color: #000000;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.el-radio__input.is-disabled .el-radio__inner,
|
|
9
|
+
.el-radio__input.is-disabled.is-checked .el-radio__inner {
|
|
10
|
+
background-color: #F5F7FA;
|
|
11
|
+
border-color: #666666;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -6,30 +6,26 @@
|
|
|
6
6
|
.main-container {
|
|
7
7
|
height: 100%;
|
|
8
8
|
transition: margin-left .28s;
|
|
9
|
-
margin-left:
|
|
9
|
+
margin-left: 224px;
|
|
10
10
|
// padding-left: 24px;
|
|
11
11
|
position: relative;
|
|
12
12
|
background: #F8F9FA;
|
|
13
13
|
|
|
14
14
|
.nav-tab {
|
|
15
|
-
padding-top:
|
|
16
|
-
padding-left:
|
|
17
|
-
.el-tabs__header{
|
|
18
|
-
padding-left: 24px;
|
|
19
|
-
}
|
|
15
|
+
padding-top: 5px;
|
|
16
|
+
padding-left: 5px;
|
|
20
17
|
}
|
|
21
18
|
}
|
|
22
19
|
|
|
23
20
|
// 侧边栏
|
|
24
21
|
.sidebar-container {
|
|
25
22
|
transition: width 0.28s;
|
|
26
|
-
width:
|
|
23
|
+
width: 224px !important;
|
|
27
24
|
height: 100%;
|
|
28
25
|
position: fixed;
|
|
29
26
|
top: 0;
|
|
30
27
|
bottom: 0;
|
|
31
28
|
left: 0;
|
|
32
|
-
padding-top: 16px;
|
|
33
29
|
z-index: 1001;
|
|
34
30
|
overflow: hidden;
|
|
35
31
|
font-weight: medium;
|
|
@@ -173,11 +169,11 @@
|
|
|
173
169
|
|
|
174
170
|
.sidebar-container .nest-menu .el-submenu>.el-submenu__title,
|
|
175
171
|
.sidebar-container .el-submenu .el-menu-item {
|
|
176
|
-
min-width:
|
|
172
|
+
min-width: 224px !important;
|
|
177
173
|
}
|
|
178
174
|
|
|
179
175
|
.sidebar-container .el-menu--collapse .el-menu .el-submenu {
|
|
180
|
-
min-width:
|
|
176
|
+
min-width: 224px !important;
|
|
181
177
|
}
|
|
182
178
|
|
|
183
179
|
.sidebar-container .el-menu--collapse .el-submenu.is-active>.el-submenu__title,
|
|
@@ -185,7 +181,7 @@
|
|
|
185
181
|
background-color: #FFFFFF !important;
|
|
186
182
|
color: #1A6BF3;
|
|
187
183
|
font-weight: medium;
|
|
188
|
-
border-
|
|
184
|
+
border-right: 2px solid #3D4CF2
|
|
189
185
|
}
|
|
190
186
|
|
|
191
187
|
.sidebar-container .el-menu--collapse .el-submenu__title:not(.is-disabled):hover,
|
|
@@ -227,10 +223,6 @@
|
|
|
227
223
|
}
|
|
228
224
|
}
|
|
229
225
|
|
|
230
|
-
.sidebar-container-popper {
|
|
231
|
-
width: 180px;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
226
|
.sidebar-container-popper .el-submenu__title:not(.is-disabled):hover {
|
|
235
227
|
background: #F7F7F8;
|
|
236
228
|
color: rgba(0, 13, 31, 0.85);
|
|
@@ -259,33 +251,11 @@
|
|
|
259
251
|
text-align: left;
|
|
260
252
|
}
|
|
261
253
|
|
|
262
|
-
//侧边弹出菜单样式
|
|
263
|
-
.sidebar-container-popper .el-menu-item {
|
|
264
|
-
height: 46px;
|
|
265
|
-
line-height: 46px;
|
|
266
|
-
font-weight: medium;
|
|
267
|
-
color: #A4ABB8;
|
|
268
|
-
min-width: 164px;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
.sidebar-container-popper .el-submenu__title {
|
|
272
|
-
height: 46px;
|
|
273
|
-
line-height: 46px;
|
|
274
|
-
color: #A4ABB8;
|
|
275
|
-
font-weight: medium;
|
|
276
|
-
}
|
|
277
254
|
|
|
278
255
|
.sidebar-container-popper .el-menu--collapse {
|
|
279
256
|
text-align: left;
|
|
280
257
|
}
|
|
281
258
|
|
|
282
|
-
.sidebar-container-popper .el-menu--popup {
|
|
283
|
-
min-width: 180px;
|
|
284
|
-
padding: 12px 8px 12px 8px;
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
259
|
.el-menu--vertical {
|
|
290
260
|
&>.el-menu {
|
|
291
261
|
.svg-icon {
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
// }
|
|
23
23
|
|
|
24
24
|
.el-table .el-table__cell {
|
|
25
|
+
color: $table-cell-font-color;
|
|
25
26
|
padding: 0;
|
|
26
27
|
}
|
|
27
28
|
|
|
@@ -38,7 +39,6 @@
|
|
|
38
39
|
|
|
39
40
|
// 表格内容颜色
|
|
40
41
|
.el-table .cell {
|
|
41
|
-
color: $table-cell-font-color;
|
|
42
42
|
font-family: Source Han Sans CN;
|
|
43
43
|
font-weight: regular;
|
|
44
44
|
font-size: 14px;
|
|
@@ -12,20 +12,45 @@
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
|
|
15
|
+
// .el-tree-node .is-checked {
|
|
16
|
+
// background-color: $th-cell-background !important;
|
|
17
|
+
// }
|
|
15
18
|
|
|
16
|
-
.el-tree-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content {
|
|
21
|
-
background-color: transparent;
|
|
22
|
-
}
|
|
19
|
+
// .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content {
|
|
20
|
+
// background-color: transparent;
|
|
21
|
+
// }
|
|
23
22
|
|
|
24
|
-
.el-tree-node .is-expanded .is-focusable .is-checked {
|
|
25
|
-
|
|
26
|
-
}
|
|
23
|
+
// .el-tree-node .is-expanded .is-focusable .is-checked {
|
|
24
|
+
// background-color: transparent;
|
|
25
|
+
// }
|
|
27
26
|
|
|
28
27
|
.el-tree-node .is-current .is-focusable {
|
|
29
28
|
background-color: $th-cell-background !important;
|
|
30
29
|
}
|
|
30
|
+
|
|
31
|
+
// "暂无更多" 样式
|
|
32
|
+
.roleQuery_center_area {
|
|
33
|
+
width: 100%;
|
|
34
|
+
position: relative;
|
|
35
|
+
|
|
36
|
+
.roleQuery_notAvailable {
|
|
37
|
+
background-image: url('../assets/nonemessage.png');
|
|
38
|
+
background-size: 100%;
|
|
39
|
+
position: absolute;
|
|
40
|
+
top: 30%;
|
|
41
|
+
left: 50%;
|
|
42
|
+
transform: translate(-50%, -50%);
|
|
43
|
+
|
|
44
|
+
.roleQuery_notAvailable_text {
|
|
45
|
+
position: absolute;
|
|
46
|
+
bottom: 0;
|
|
47
|
+
left: 50%;
|
|
48
|
+
transform: translate(-50%, 100%);
|
|
49
|
+
color: #313233;
|
|
50
|
+
font-weight: regular;
|
|
51
|
+
font-size: 14px;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
31
56
|
}
|
|
@@ -38,5 +38,17 @@
|
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
}
|
|
41
|
-
|
|
41
|
+
.gray_card_box {
|
|
42
|
+
border-radius: 6px;
|
|
43
|
+
background: #FFFFFF;
|
|
44
|
+
padding: 20px;
|
|
45
|
+
box-shadow: 0px 1px 8px 0px #00000019;
|
|
46
|
+
box-sizing: border-box;
|
|
47
|
+
overflow-y: scroll;
|
|
48
|
+
}
|
|
49
|
+
.gray_buttomBtn_box{
|
|
50
|
+
position: fixed;
|
|
51
|
+
bottom: 0;
|
|
52
|
+
right: 4%;
|
|
53
|
+
}
|
|
42
54
|
}
|
|
@@ -29,4 +29,42 @@
|
|
|
29
29
|
color: rgba(0, 13, 31, 0.85);
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
+
|
|
33
|
+
.page-layout__title {
|
|
34
|
+
width: 46px;
|
|
35
|
+
height: 16px;
|
|
36
|
+
font-size: 11px;
|
|
37
|
+
font-weight: 500;
|
|
38
|
+
color: #333333;
|
|
39
|
+
line-height: 13px;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.component-type-name__title {
|
|
43
|
+
width: 40px;
|
|
44
|
+
height: 14px;
|
|
45
|
+
font-size: 10px;
|
|
46
|
+
font-weight: 500;
|
|
47
|
+
color: #333333;
|
|
48
|
+
line-height: 12px;
|
|
49
|
+
// -webkit-background-clip: text;
|
|
50
|
+
// -webkit-text-fill-color: transparent;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.page-layout__title::before {
|
|
54
|
+
content: "";
|
|
55
|
+
text-align: center;
|
|
56
|
+
background: #1A6BF3;
|
|
57
|
+
float: left;
|
|
58
|
+
position: relative;
|
|
59
|
+
border-radius: 3px;
|
|
60
|
+
/** 定义成 block 元素 **/
|
|
61
|
+
display: block;
|
|
62
|
+
// height: 21px;
|
|
63
|
+
// width: 4px;
|
|
64
|
+
margin-right: 12px;
|
|
65
|
+
|
|
66
|
+
width: 2px;
|
|
67
|
+
height: 16px;
|
|
68
|
+
|
|
69
|
+
}
|
|
32
70
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
@import './card-style.scss';
|
|
4
4
|
@import './tab-style.scss';
|
|
5
5
|
@import './input-style.scss';
|
|
6
|
-
@import './
|
|
6
|
+
@import './scrollbar-style.scss';
|
|
7
7
|
|
|
8
8
|
.gray {
|
|
9
9
|
font-family: microsoft yahei, Arial, Helvetica, sans-serif;
|
|
@@ -76,8 +76,9 @@
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
.app-container {
|
|
79
|
-
|
|
80
|
-
|
|
79
|
+
padding: 20px;
|
|
80
|
+
border-radius: 6px;
|
|
81
|
+
box-shadow: 0px 1px 8px 0px #00000019;
|
|
81
82
|
|
|
82
83
|
.box-card {
|
|
83
84
|
margin: 16px 24px;
|
|
@@ -95,26 +96,6 @@
|
|
|
95
96
|
}
|
|
96
97
|
|
|
97
98
|
|
|
98
|
-
.form-container {
|
|
99
|
-
height: calc(100vh - 82px);
|
|
100
|
-
overflow: auto;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.form-container .el-form .el-card {
|
|
104
|
-
margin-bottom: 10px;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.form-container .el-form .el-card:last-child {
|
|
108
|
-
margin-bottom: 0;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
// 带有tab页签的表单高度
|
|
112
|
-
.tab-form-container {
|
|
113
|
-
height: calc(100vh - 190px);
|
|
114
|
-
overflow: auto;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
|
|
118
99
|
// 解决tab页签中内容多时没有滚动条问题
|
|
119
100
|
.el-tabs__content {
|
|
120
101
|
flex-grow: 1;
|
|
@@ -173,12 +154,19 @@
|
|
|
173
154
|
.el-table th {
|
|
174
155
|
padding: 0;
|
|
175
156
|
}
|
|
157
|
+
|
|
176
158
|
/**表格内容纵向分隔线去掉**/
|
|
177
|
-
.el-table--border td,
|
|
159
|
+
.el-table--border td,
|
|
160
|
+
.el-table--border th,
|
|
161
|
+
.el-table__body-wrapper .el-table--border.is-scrolling-left~.el-table__fixed {
|
|
178
162
|
border-right: 0px
|
|
179
163
|
}
|
|
164
|
+
|
|
180
165
|
/**表格标题纵向分隔线颜色调浅点儿**/
|
|
181
|
-
.el-table--border td,
|
|
166
|
+
.el-table--border td,
|
|
167
|
+
.el-table--border th,
|
|
168
|
+
.el-table--border th.is-leaf,
|
|
169
|
+
.el-table__body-wrapper .el-table--border.is-scrolling-left~.el-table__fixed {
|
|
182
170
|
border-right: 1px solid #fefefe;
|
|
183
171
|
}
|
|
184
172
|
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
.dark-blue {
|
|
2
|
+
|
|
3
|
+
// 滚动条基础样式
|
|
4
|
+
::-webkit-scrollbar {
|
|
5
|
+
width: 6px; // 纵向的宽度
|
|
6
|
+
height: 8px; // 横向的高度
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
// 默认下滚动条的样式
|
|
10
|
+
::-webkit-scrollbar-thumb {
|
|
11
|
+
background: #eaeaea;
|
|
12
|
+
border: none;
|
|
13
|
+
border-radius: 4px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
// 鼠标悬停在滚动条时的样式
|
|
17
|
+
::-webkit-scrollbar-thumb:hover {
|
|
18
|
+
background: rgba(157, 165, 183, 0.7)
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
// 滚动条区域 空白地方的样式
|
|
22
|
+
::-webkit-scrollbar-track {
|
|
23
|
+
background-color: transparent;
|
|
24
|
+
border: none;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
// 鼠标悬停在滚动条时 滚动条区域 空白地方的样式
|
|
28
|
+
::-webkit-scrollbar-track:hover {
|
|
29
|
+
background-color: #eaeaea;
|
|
30
|
+
border: none;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -8,6 +8,11 @@
|
|
|
8
8
|
transition: margin-left .28s;
|
|
9
9
|
margin-left: 224px;
|
|
10
10
|
position: relative;
|
|
11
|
+
|
|
12
|
+
.nav-tab {
|
|
13
|
+
padding-top: 5px;
|
|
14
|
+
padding-left: 5px;
|
|
15
|
+
}
|
|
11
16
|
}
|
|
12
17
|
|
|
13
18
|
// 侧边栏
|
|
@@ -79,11 +84,8 @@
|
|
|
79
84
|
}
|
|
80
85
|
|
|
81
86
|
.el-menu {
|
|
82
|
-
position: static;
|
|
83
87
|
border: none;
|
|
84
|
-
|
|
85
|
-
height: auto;
|
|
86
|
-
max-height: 100vh;
|
|
88
|
+
height: 100%;
|
|
87
89
|
width: 100% !important;
|
|
88
90
|
background-color: #FFF;
|
|
89
91
|
color: #000D1F
|
|
@@ -191,22 +193,13 @@
|
|
|
191
193
|
}
|
|
192
194
|
}
|
|
193
195
|
|
|
194
|
-
.sidebar-container-popper .el-menu{
|
|
195
|
-
// height: 100vh;
|
|
196
|
-
height: auto;
|
|
197
|
-
max-height: 100vh;
|
|
198
|
-
overflow-y: auto;
|
|
199
|
-
overflow-x: hidden;
|
|
200
|
-
scroll-behavior: smooth;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
196
|
.sidebar-container-popper .el-submenu__title:not(.is-disabled):hover {
|
|
204
197
|
background: #F7F7F8;
|
|
205
198
|
color: rgba(0, 13, 31, 0.85);
|
|
206
199
|
font-weight: 500;
|
|
207
200
|
}
|
|
208
201
|
|
|
209
|
-
.sidebar-container-popper .el-menu
|
|
202
|
+
.sidebar-container-popper .el-menu .el-submenu.is-active>.el-submenu__title {
|
|
210
203
|
background-color: #EBECFF !important;
|
|
211
204
|
color: #3D4CF2;
|
|
212
205
|
font-weight: 500;
|
package/src/utils/auth-api.js
CHANGED
|
@@ -4,6 +4,7 @@ import Vue from 'vue'
|
|
|
4
4
|
const jwtKey = 'JWT'
|
|
5
5
|
const currentUserNameKey = 'USERNAME'
|
|
6
6
|
const currentUserInfoKey = 'CURRENT_USER'
|
|
7
|
+
const currentSystemUrlKey = 'CURRENT_SYSTEM_URL_'
|
|
7
8
|
|
|
8
9
|
function getToken() {
|
|
9
10
|
let token = getCookieCache(jwtKey)
|
|
@@ -66,6 +67,7 @@ function setCurrentUser(userInfo) {
|
|
|
66
67
|
|
|
67
68
|
function removeCurrentUser() {
|
|
68
69
|
removeSessionCache(currentUserInfoKey)
|
|
70
|
+
// 会导致cookie过大,后端没有设置请求头大小时,导致后端报错
|
|
69
71
|
removeCookieCache(currentUserInfoKey)
|
|
70
72
|
}
|
|
71
73
|
|
|
@@ -96,6 +98,46 @@ function setSessionCache(key, value) {
|
|
|
96
98
|
function removeSessionCache(key) {
|
|
97
99
|
sessionStorage.removeItem(key)
|
|
98
100
|
}
|
|
101
|
+
|
|
102
|
+
function getSystemCacheUrlByCode(systemCode) {
|
|
103
|
+
if (!systemCode) {
|
|
104
|
+
systemCode = Vue.prototype.customSystem
|
|
105
|
+
}
|
|
106
|
+
if (!systemCode) {
|
|
107
|
+
systemCode = Vue.prototype.systemCode
|
|
108
|
+
}
|
|
109
|
+
if (systemCode) {
|
|
110
|
+
const systemUrls = getSystemCacheUrl()
|
|
111
|
+
if (systemUrls) {
|
|
112
|
+
return systemUrls[systemCode]
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
function getSystemCacheUrl() {
|
|
118
|
+
let systemUrlJson = getCookieCache(currentSystemUrlKey)
|
|
119
|
+
if (!systemUrlJson) {
|
|
120
|
+
systemUrlJson = getSessionCache(currentSystemUrlKey)
|
|
121
|
+
}
|
|
122
|
+
if (systemUrlJson) {
|
|
123
|
+
return JSON.parse(systemUrlJson)
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
function setSystemCacheUrl(systemUrlObj) {
|
|
128
|
+
if (systemUrlObj) {
|
|
129
|
+
const systemUrlStr = JSON.stringify(systemUrlObj)
|
|
130
|
+
setSessionCache(currentSystemUrlKey, systemUrlStr)
|
|
131
|
+
// 会导致cookie过大,后端没有设置请求头大小时,导致后端报错
|
|
132
|
+
setCookieCache(currentSystemUrlKey, systemUrlStr)
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
function removeSystemCacheUrl() {
|
|
137
|
+
removeSessionCache(currentSystemUrlKey)
|
|
138
|
+
removeCookieCache(currentSystemUrlKey)
|
|
139
|
+
}
|
|
140
|
+
|
|
99
141
|
export default {
|
|
100
142
|
getToken,
|
|
101
143
|
setToken,
|
|
@@ -111,5 +153,9 @@ export default {
|
|
|
111
153
|
removeCookieCache,
|
|
112
154
|
getSessionCache,
|
|
113
155
|
setSessionCache,
|
|
114
|
-
removeSessionCache
|
|
156
|
+
removeSessionCache,
|
|
157
|
+
getSystemCacheUrlByCode,
|
|
158
|
+
getSystemCacheUrl,
|
|
159
|
+
setSystemCacheUrl,
|
|
160
|
+
removeSystemCacheUrl
|
|
115
161
|
}
|