imatrix-ui 0.0.15 → 0.1.1-up
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/.vscode/extensions.json +3 -0
- package/README.md +7 -0
- package/components/dynamic-source-select/dynamic-source-select-service.js +106 -0
- package/components/dynamic-source-select/dynamic-source-select.vue +673 -0
- package/components/dynamic-source-select/events.js +77 -0
- package/components/fs-preview/fs-preview.vue +287 -0
- package/components/index.js +26 -0
- package/components/plugins/export-data-new.js +623 -0
- package/components/plugins/export-data.js +431 -0
- package/components/plugins/index.js +15 -0
- package/components/plugins/public-method.js +47 -0
- package/components/rich-editor/index-bak.vue +306 -0
- package/components/rich-editor/index.vue +236 -0
- package/components/rich-editor/langs/zh-Hans.js +438 -0
- package/components/rich-editor/viewer.vue +105 -0
- package/components/super-grid/apis.js +1065 -0
- package/components/super-grid/columns-config.vue +430 -0
- package/components/super-grid/custom-formatter.js +330 -0
- package/components/super-grid/dynamic-input.vue +1706 -0
- package/components/super-grid/eventBus.js +2 -0
- package/components/super-grid/events.js +56 -0
- package/components/super-grid/formValidatorUtil.js +300 -0
- package/components/super-grid/formatter.js +190 -0
- package/components/super-grid/group-column.vue +100 -0
- package/components/super-grid/header-context-menu.vue +82 -0
- package/components/super-grid/index-column.vue +69 -0
- package/components/super-grid/normal-column.vue +1148 -0
- package/components/super-grid/public-methods.js +30 -0
- package/components/super-grid/row-operation.vue +193 -0
- package/components/super-grid/search-button.vue +74 -0
- package/components/super-grid/search-condition-input.vue +73 -0
- package/components/super-grid/search-condition-list.vue +68 -0
- package/components/super-grid/search-form-advancedQuery.vue +820 -0
- package/components/super-grid/search-form-dialog.vue +77 -0
- package/components/super-grid/search-form-item.vue +470 -0
- package/components/super-grid/search-form-number.vue +111 -0
- package/components/super-grid/search-form-open.vue +178 -0
- package/components/super-grid/search-form-ordinarySearch.vue +218 -0
- package/components/super-grid/search-form.vue +756 -0
- package/components/super-grid/search-methods.js +484 -0
- package/components/super-grid/selection-column.vue +46 -0
- package/components/super-grid/store.js +3 -0
- package/components/super-grid/super-grid-service.js +682 -0
- package/components/super-grid/super-grid.vue +2893 -0
- package/components/super-grid/utils.js +851 -0
- package/components/super-grid/view-image-dialog.vue +173 -0
- package/components/utils/gogocodeTransfer.js +59 -0
- package/components/utils/utils.js +180 -0
- package/components/utils/value-set.js +98 -0
- package/components/z-test-utton/index.vue +82 -0
- package/package.json +29 -40
- package/public/index.html +13 -0
- package/public/vite.svg +1 -0
- package/src/api/sso-service.js +172 -19
- package/src/api/tab.js +36 -0
- package/src/api/user-service.js +11 -11
- package/src/assets/401/401.gif +0 -0
- package/src/assets/404/404-cloud.png +0 -0
- package/src/assets/404/404.png +0 -0
- package/src/assets/cloud.png +0 -0
- package/src/directives/permission/index.js +13 -13
- package/src/directives/permission/permission.js +20 -15
- package/src/i18n/i18n.js +16 -0
- package/src/i18n/langs/cn.js +254 -0
- package/src/i18n/langs/en.js +264 -0
- package/src/permission.js +157 -71
- package/src/plugins.js +18 -18
- package/src/router/index.js +96 -69
- package/src/store/getters.js +15 -10
- package/src/store/index.js +19 -19
- package/src/store/modules/app.js +54 -42
- package/src/store/modules/permission.js +137 -73
- package/src/store/modules/tab-content.js +36 -0
- package/src/store/modules/user.js +293 -80
- package/src/styles/display-layout.scss +34 -0
- package/src/styles/element-ui.scss +29 -29
- package/src/styles/index.scss +157 -78
- package/src/styles/mixin.scss +27 -27
- package/src/styles/theme/black/font-style.scss +70 -0
- package/src/styles/theme/black/index.scss +306 -0
- package/src/styles/theme/black/sidebar.scss +189 -0
- package/src/styles/theme/blue/font-style.scss +46 -0
- package/src/styles/theme/blue/index.scss +172 -0
- package/src/styles/{sidebar.scss → theme/blue/sidebar.scss} +171 -141
- package/src/styles/theme/blue2/font-style.scss +70 -0
- package/src/styles/theme/blue2/index.scss +188 -0
- package/src/styles/theme/blue2/sidebar.scss +201 -0
- package/src/styles/theme/dark-blue/button.scss +9 -0
- package/src/styles/theme/dark-blue/card.scss +62 -0
- package/src/styles/theme/dark-blue/checkbox.scss +10 -0
- package/src/styles/theme/dark-blue/dark-blue-var.scss +8 -0
- package/src/styles/theme/dark-blue/dialog.scss +21 -0
- package/src/styles/theme/dark-blue/element-variables.scss +7 -0
- package/src/styles/theme/dark-blue/font.scss +71 -0
- package/src/styles/theme/dark-blue/form.scss +51 -0
- package/src/styles/theme/dark-blue/index.scss +269 -0
- package/src/styles/theme/dark-blue/input.scss +15 -0
- package/src/styles/theme/dark-blue/message.scss +8 -0
- package/src/styles/theme/dark-blue/pagination.scss +14 -0
- package/src/styles/theme/dark-blue/scrollbar-style.scss +32 -0
- package/src/styles/theme/dark-blue/sidebar.scss +266 -0
- package/src/styles/theme/dark-blue/tab.scss +83 -0
- package/src/styles/theme/dark-blue/table.scss +60 -0
- package/src/styles/theme/dark-blue/tree.scss +31 -0
- package/src/styles/theme/dark-blue/var.scss +1028 -0
- package/src/styles/theme/gray/card-style.scss +54 -0
- package/src/styles/theme/gray/font-style.scss +70 -0
- package/src/styles/theme/gray/index.scss +172 -0
- package/src/styles/theme/gray/input-style.scss +19 -0
- package/src/styles/theme/gray/scrollbar-style.scss +32 -0
- package/src/styles/theme/gray/sidebar.scss +231 -0
- package/src/styles/theme/gray/tab-style.scss +81 -0
- package/src/styles/transition.scss +47 -46
- package/src/utils/auth-api.js +159 -0
- package/src/utils/auth.js +61 -15
- package/src/utils/calculator/calculator-factory-wf.js +558 -0
- package/src/utils/calculator/calculator-factory.js +145 -0
- package/src/utils/calculator/calculator-util.js +166 -0
- package/src/utils/common-util.js +305 -0
- package/src/utils/eventBus.js +2 -0
- package/src/utils/iconUtils.js +28 -0
- package/src/utils/index.js +102 -86
- package/src/utils/jump-page-utils.js +814 -0
- package/src/utils/local-storage.js +33 -31
- package/src/utils/menu.js +19 -0
- package/src/utils/permission.js +31 -26
- package/src/utils/permissionAuth.js +90 -0
- package/src/utils/range-selector.js +188 -0
- package/src/utils/request.js +270 -116
- package/src/utils/restful-interface-utils.js +57 -0
- package/src/utils/util.js +698 -0
- package/src/utils/validate.js +34 -33
- package/src/utils/watermark.js +108 -0
- package/src/utils/workflow-util.js +93 -0
- package/src/views/404.vue +248 -228
- package/src/views/dsc-component/Sidebar/Item.vue +84 -0
- package/src/views/dsc-component/Sidebar/Link.vue +38 -0
- package/src/views/dsc-component/Sidebar/SidebarItem.vue +196 -0
- package/src/views/dsc-component/Sidebar/index.vue +220 -0
- package/src/views/dsc-component/tabs/tab-content.vue +199 -0
- package/src/views/error-page/401.vue +106 -91
- package/src/views/error-page/404.vue +248 -228
- package/src/views/layout/EmptyLayout.vue +3 -0
- package/src/views/layout/Layout.vue +81 -68
- package/src/views/layout/NewLayout.vue +18 -0
- package/src/views/layout/components/AppMain.vue +39 -29
- package/src/views/layout/components/Breadcrumb/index.vue +156 -0
- package/src/views/layout/components/Menubar/Item.vue +57 -0
- package/src/views/layout/components/Menubar/Link.vue +38 -0
- package/src/views/layout/components/Menubar/SidebarItem.vue +164 -0
- package/src/views/layout/components/Menubar/index.vue +210 -0
- package/src/views/layout/components/Sidebar/Item.vue +53 -29
- package/src/views/layout/components/Sidebar/Link.vue +38 -39
- package/src/views/layout/components/Sidebar/SidebarItem.vue +135 -100
- package/src/views/layout/components/Sidebar/index.vue +141 -48
- package/src/views/layout/components/iframe-page.vue +38 -0
- package/src/views/layout/components/index.js +4 -3
- package/src/views/layout/components/tabs/tab-content.vue +207 -0
- package/src/views/layout/mixin/ResizeHandler.js +41 -41
- package/src/views/layout/tab-content-iframe-index.vue +38 -0
- package/src/views/layout/tab-content-index.vue +93 -0
- package/src/views/login/authredirect.vue +10 -10
- package/src/views/login/index.vue +296 -203
- package/src/views/login/update-password.vue +243 -0
- package/src/views/redirect/index.vue +14 -12
- package/src/views/wf-history/tache-subprocess-history.vue +45 -0
- package/vite.config.js +31 -0
- package/lib/super-ui.css +0 -1
- package/lib/super-ui.umd.min.js +0 -2
- package/src/styles/variables.scss +0 -4
- package/src/views/layout/components/Navbar.vue +0 -92
package/src/styles/index.scss
CHANGED
|
@@ -1,78 +1,157 @@
|
|
|
1
|
-
@import './
|
|
2
|
-
@import './
|
|
3
|
-
@import './
|
|
4
|
-
@import './
|
|
5
|
-
@import './sidebar.scss';
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
1
|
+
@import './mixin.scss';
|
|
2
|
+
@import './transition.scss';
|
|
3
|
+
@import './element-ui.scss';
|
|
4
|
+
@import './theme/black/index.scss';
|
|
5
|
+
@import './theme/black/sidebar.scss';
|
|
6
|
+
@import './theme/blue/index.scss';
|
|
7
|
+
@import './theme/blue/sidebar.scss';
|
|
8
|
+
@import './theme/blue2/index.scss';
|
|
9
|
+
@import './theme/blue2/sidebar.scss';
|
|
10
|
+
@import './theme/gray/index.scss';
|
|
11
|
+
@import './theme/gray/sidebar.scss';
|
|
12
|
+
@import './theme/dark-blue/index.scss';
|
|
13
|
+
@import './theme/dark-blue/sidebar.scss';
|
|
14
|
+
@import './display-layout.scss';
|
|
15
|
+
|
|
16
|
+
body {
|
|
17
|
+
overflow: hidden;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
// 省略号
|
|
21
|
+
.ellipsis {
|
|
22
|
+
// display: inline-block;
|
|
23
|
+
overflow: hidden;
|
|
24
|
+
text-overflow: ellipsis;
|
|
25
|
+
white-space: nowrap;
|
|
26
|
+
word-break: keep-all;
|
|
27
|
+
width: 100%;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
// 解决el-table表头错位问题
|
|
31
|
+
body .el-table th.gutter {
|
|
32
|
+
display: table-cell !important;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
body .el-table colgroup.gutter {
|
|
36
|
+
display: table-cell !important;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
// 日期控件宽度不自适应问题
|
|
40
|
+
.formContent .el-date-editor.el-input,
|
|
41
|
+
.formContent .el-date-editor.el-input__input,
|
|
42
|
+
.formContent .el-date-editor.el-input__inner,
|
|
43
|
+
.grid-search-form .el-date-editor.el-input,
|
|
44
|
+
.grid-search-form .el-date-editor.el-input__input,
|
|
45
|
+
.grid-search-form .el-date-editor.el-input__inner {
|
|
46
|
+
width: 100%;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.formContent .el-date-editor--daterange.el-input,
|
|
50
|
+
.formContent .el-date-editor--daterange.el-input__inner,
|
|
51
|
+
.formContent .el-date-editor--timerange.el-input,
|
|
52
|
+
.formContent .el-date-editor--timerange.el-input__inner,
|
|
53
|
+
.grid-search-form .el-date-editor--daterange.el-input,
|
|
54
|
+
.grid-search-form .el-date-editor--daterange.el-input__inner,
|
|
55
|
+
.grid-search-form .el-date-editor--timerange.el-input,
|
|
56
|
+
.grid-search-form .el-date-editor--timerange.el-input__inner {
|
|
57
|
+
width: 100%;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// 日期选择按钮太小问题(gcommon ui)
|
|
61
|
+
.el-picker-panel__footer .el-button--mini {
|
|
62
|
+
font-size: 16px;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
// 显示必填标志
|
|
66
|
+
.is_req {
|
|
67
|
+
.required__label::before {
|
|
68
|
+
content: '*';
|
|
69
|
+
color: #f56c6c;
|
|
70
|
+
margin-right: 4px;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.formContent .el-form-item {
|
|
75
|
+
margin-bottom: 0;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.operation-area,
|
|
79
|
+
.grid-search-form .search-button,
|
|
80
|
+
.grid-area .grid-operation-buttons {
|
|
81
|
+
.el-button:not(:first-child) {
|
|
82
|
+
margin-left: 10px;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.button-at-top {
|
|
87
|
+
width: 100%;
|
|
88
|
+
background: rgb(255, 255, 255);
|
|
89
|
+
line-height: 72px;
|
|
90
|
+
height: 72px;
|
|
91
|
+
position: absolute;
|
|
92
|
+
z-index: 100;
|
|
93
|
+
top: 0px;
|
|
94
|
+
left: 0px;
|
|
95
|
+
right: 0px;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.button-at-bottom {
|
|
99
|
+
width: 100%;
|
|
100
|
+
background: rgb(255, 255, 255);
|
|
101
|
+
line-height: 72px;
|
|
102
|
+
height: 72px;
|
|
103
|
+
position: absolute;
|
|
104
|
+
bottom: 0px;
|
|
105
|
+
z-index: 100;
|
|
106
|
+
left: 0px;
|
|
107
|
+
right: 0px;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.form-top-button {
|
|
111
|
+
height: 72px;
|
|
112
|
+
float: left;
|
|
113
|
+
padding-left: 24px;
|
|
114
|
+
line-height: 72px;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.form-bottom-button {
|
|
118
|
+
height: 72px;
|
|
119
|
+
float: right;
|
|
120
|
+
padding-right: 24px;
|
|
121
|
+
line-height: 72px;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
// 带有tab页签的表单高度
|
|
125
|
+
.tab-form-container {
|
|
126
|
+
height: calc(100vh - 190px);
|
|
127
|
+
overflow: auto;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.form-container {
|
|
131
|
+
height: calc(100vh - 90px);
|
|
132
|
+
overflow: auto;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.form-container-bottom-button {
|
|
136
|
+
margin-bottom: 50px;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.form-container .el-form .el-card {
|
|
140
|
+
margin-bottom: 10px;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.form-container .el-form .el-card:last-child {
|
|
144
|
+
margin-bottom: 0;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.operation-area-float {
|
|
148
|
+
float: right;
|
|
149
|
+
position: fixed;
|
|
150
|
+
bottom: 0;
|
|
151
|
+
right: 4%;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.el-button+.el-button {
|
|
155
|
+
margin-left: 10px;
|
|
156
|
+
}
|
|
157
|
+
|
package/src/styles/mixin.scss
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
@mixin clearfix {
|
|
2
|
-
&:after {
|
|
3
|
-
content: "";
|
|
4
|
-
display: table;
|
|
5
|
-
clear: both;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
@mixin scrollBar {
|
|
10
|
-
&::-webkit-scrollbar-track-piece {
|
|
11
|
-
background: #d3dce6;
|
|
12
|
-
}
|
|
13
|
-
&::-webkit-scrollbar {
|
|
14
|
-
width: 6px;
|
|
15
|
-
}
|
|
16
|
-
&::-webkit-scrollbar-thumb {
|
|
17
|
-
background: #99a9bf;
|
|
18
|
-
border-radius: 20px;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
@mixin relative {
|
|
23
|
-
position: relative;
|
|
24
|
-
width: 100%;
|
|
25
|
-
height: 100%;
|
|
26
|
-
}
|
|
27
|
-
|
|
1
|
+
@mixin clearfix {
|
|
2
|
+
&:after {
|
|
3
|
+
content: "";
|
|
4
|
+
display: table;
|
|
5
|
+
clear: both;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@mixin scrollBar {
|
|
10
|
+
&::-webkit-scrollbar-track-piece {
|
|
11
|
+
background: #d3dce6;
|
|
12
|
+
}
|
|
13
|
+
&::-webkit-scrollbar {
|
|
14
|
+
width: 6px;
|
|
15
|
+
}
|
|
16
|
+
&::-webkit-scrollbar-thumb {
|
|
17
|
+
background: #99a9bf;
|
|
18
|
+
border-radius: 20px;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@mixin relative {
|
|
23
|
+
position: relative;
|
|
24
|
+
width: 100%;
|
|
25
|
+
height: 100%;
|
|
26
|
+
}
|
|
27
|
+
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
.gray {
|
|
2
|
+
$titleColor: rgba(0, 0, 0, 0.85);
|
|
3
|
+
|
|
4
|
+
.list-file {
|
|
5
|
+
color: rgba(0, 13, 31, 0.45);
|
|
6
|
+
font-size: 14px;
|
|
7
|
+
cursor: pointer;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.form-list-file {
|
|
11
|
+
color: rgba(0, 0, 0, 0.65);
|
|
12
|
+
background: #F2F6FA;
|
|
13
|
+
border-radius: 6px;
|
|
14
|
+
font-size: 14px;
|
|
15
|
+
cursor: pointer;
|
|
16
|
+
height: 28px;
|
|
17
|
+
line-height: 28px;
|
|
18
|
+
padding: 0 8px 0 8px;
|
|
19
|
+
margin-right: 32px
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.tip-font {
|
|
23
|
+
color: rgba(0, 0, 0, 0.65);
|
|
24
|
+
font-size: 14px;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.superForm {
|
|
28
|
+
.el-form-item__label {
|
|
29
|
+
color: rgba(0, 13, 31, 0.85);
|
|
30
|
+
}
|
|
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
|
+
}
|
|
70
|
+
}
|
|
@@ -0,0 +1,306 @@
|
|
|
1
|
+
@import './sidebar.scss';
|
|
2
|
+
@import './font-style.scss';
|
|
3
|
+
|
|
4
|
+
.black .el-dialog__header {
|
|
5
|
+
padding: 10px 10px 10px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.black .el-dialog__body {
|
|
9
|
+
padding: 10px 10px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.black {
|
|
13
|
+
height: 100%;
|
|
14
|
+
-moz-osx-font-smoothing: grayscale;
|
|
15
|
+
-webkit-font-smoothing: antialiased;
|
|
16
|
+
text-rendering: optimizeLegibility;
|
|
17
|
+
font-family: SourceHanSansCN-Regular, SourceHanSansCN, Arial, sans-serif;
|
|
18
|
+
font-size: 14px;
|
|
19
|
+
color: #333;
|
|
20
|
+
|
|
21
|
+
.fl {
|
|
22
|
+
float: left;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.fr {
|
|
26
|
+
float: right;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
html {
|
|
31
|
+
height: 100%;
|
|
32
|
+
box-sizing: border-box;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
#app {
|
|
36
|
+
height: 100%;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
a,
|
|
40
|
+
a:focus,
|
|
41
|
+
a:hover {
|
|
42
|
+
cursor: pointer;
|
|
43
|
+
color: inherit;
|
|
44
|
+
outline: none;
|
|
45
|
+
text-decoration: none;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
div:focus {
|
|
49
|
+
outline: none;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
a:focus,
|
|
53
|
+
a:active {
|
|
54
|
+
outline: none;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
a,
|
|
58
|
+
a:focus,
|
|
59
|
+
a:hover {
|
|
60
|
+
cursor: pointer;
|
|
61
|
+
color: inherit;
|
|
62
|
+
text-decoration: none;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.clearfix {
|
|
66
|
+
&:after {
|
|
67
|
+
visibility: hidden;
|
|
68
|
+
display: block;
|
|
69
|
+
font-size: 0;
|
|
70
|
+
content: " ";
|
|
71
|
+
clear: both;
|
|
72
|
+
height: 0;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
//main-container全局样式
|
|
77
|
+
.app-main {
|
|
78
|
+
min-height: 100%
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.app-container {
|
|
82
|
+
padding: 20px;
|
|
83
|
+
border-radius: 6px;
|
|
84
|
+
box-shadow: 0px 1px 8px 0px #00000019;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.operation-area {
|
|
88
|
+
margin-bottom: 10px;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.operation-area-chart {
|
|
92
|
+
float: right;
|
|
93
|
+
padding-right: 24px;
|
|
94
|
+
padding-top: 10px;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
// 解决tab页签中内容多时没有滚动条问题
|
|
98
|
+
.el-tabs__content {
|
|
99
|
+
flex-grow: 1;
|
|
100
|
+
overflow-y: auto;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
// 解决在edge浏览器中dialog有遮罩层 或 MessageBox的$confirm时,遮罩层偏移,导致弹框中组件元素无法操作问题。
|
|
104
|
+
// .el-dialog__wrapper、.el-message-box__wrapper、.v-modal默认position是relative,改为absolute就不会出现偏移了。
|
|
105
|
+
// dialog弹框的样式
|
|
106
|
+
.el-dialog__wrapper {
|
|
107
|
+
position: absolute;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
// MessageBox的样式,必须这样修改,否则会导致点击确定、取消按钮不好用
|
|
111
|
+
.el-message-box__wrapper {
|
|
112
|
+
position: absolute;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
// dialog遮罩层的样式
|
|
116
|
+
.v-modal {
|
|
117
|
+
position: absolute;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.el-tree-node.is-current>.el-tree-node__content {
|
|
121
|
+
background-color: #c2d6ea !important;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.el-table th {
|
|
125
|
+
background-color: #eee;
|
|
126
|
+
color: #555
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
// 列表表头整个都有背景色
|
|
130
|
+
.el-table .el-table__header-wrapper {
|
|
131
|
+
background: #eee;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.blue2 {
|
|
136
|
+
height: 100%;
|
|
137
|
+
-moz-osx-font-smoothing: grayscale;
|
|
138
|
+
-webkit-font-smoothing: antialiased;
|
|
139
|
+
text-rendering: optimizeLegibility;
|
|
140
|
+
font-family: SourceHanSansCN-Regular, SourceHanSansCN, Arial, sans-serif;
|
|
141
|
+
font-size: 14px;
|
|
142
|
+
color: #4A4A4A;
|
|
143
|
+
|
|
144
|
+
.fl {
|
|
145
|
+
float: left;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.fr {
|
|
149
|
+
float: right;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
html {
|
|
154
|
+
height: 100%;
|
|
155
|
+
box-sizing: border-box;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
#app {
|
|
159
|
+
height: 100%;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
a,
|
|
163
|
+
a:focus,
|
|
164
|
+
a:hover {
|
|
165
|
+
cursor: pointer;
|
|
166
|
+
color: inherit;
|
|
167
|
+
outline: none;
|
|
168
|
+
text-decoration: none;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
div:focus {
|
|
172
|
+
outline: none;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
a:focus,
|
|
176
|
+
a:active {
|
|
177
|
+
outline: none;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
a,
|
|
181
|
+
a:focus,
|
|
182
|
+
a:hover {
|
|
183
|
+
cursor: pointer;
|
|
184
|
+
color: inherit;
|
|
185
|
+
text-decoration: none;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.clearfix {
|
|
189
|
+
&:after {
|
|
190
|
+
visibility: hidden;
|
|
191
|
+
display: block;
|
|
192
|
+
font-size: 0;
|
|
193
|
+
content: " ";
|
|
194
|
+
clear: both;
|
|
195
|
+
height: 0;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
//main-container全局样式
|
|
200
|
+
.app-main {
|
|
201
|
+
min-height: 100%
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.app-container {
|
|
205
|
+
padding: 20px;
|
|
206
|
+
border-radius: 6px;
|
|
207
|
+
box-shadow: 0px 1px 8px 0px #00000019;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.operation-area {
|
|
211
|
+
margin-bottom: 10px;
|
|
212
|
+
height: 40px;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
// 解决tab页签中内容多时没有滚动条问题
|
|
218
|
+
.el-tabs__content {
|
|
219
|
+
flex-grow: 1;
|
|
220
|
+
overflow-y: auto;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
// 解决在edge浏览器中dialog有遮罩层 或 MessageBox的$confirm时,遮罩层偏移,导致弹框中组件元素无法操作问题。
|
|
224
|
+
// .el-dialog__wrapper、.el-message-box__wrapper、.v-modal默认position是relative,改为absolute就不会出现偏移了。
|
|
225
|
+
// dialog弹框的样式
|
|
226
|
+
.el-dialog__wrapper {
|
|
227
|
+
position: absolute;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
// MessageBox的样式,必须这样修改,否则会导致点击确定、取消按钮不好用
|
|
231
|
+
.el-message-box__wrapper {
|
|
232
|
+
position: absolute;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
// dialog遮罩层的样式
|
|
236
|
+
.v-modal {
|
|
237
|
+
position: absolute;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.el-tree-node.is-current>.el-tree-node__content {
|
|
241
|
+
background-color: #c2d6ea !important;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.el-pagination {
|
|
245
|
+
background: #fff;
|
|
246
|
+
text-align: center;
|
|
247
|
+
padding: 5px 0;
|
|
248
|
+
color: #777;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.el-pager li.active {
|
|
252
|
+
color: #4A4A4A;
|
|
253
|
+
background: #FBE997;
|
|
254
|
+
border-radius: 50px;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.grid-area .el-table .cell {
|
|
258
|
+
height: 43px;
|
|
259
|
+
line-height: 43px;
|
|
260
|
+
|
|
261
|
+
.cell--span,
|
|
262
|
+
.el-checkbox__input {
|
|
263
|
+
line-height: 43px;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.grid-area .el-table td,
|
|
268
|
+
.grid-area .el-table th {
|
|
269
|
+
padding: 0;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
.el-table td,
|
|
273
|
+
.el-table th {
|
|
274
|
+
padding: 10px 0;
|
|
275
|
+
min-width: 0;
|
|
276
|
+
-webkit-box-sizing: border-box;
|
|
277
|
+
box-sizing: border-box;
|
|
278
|
+
text-overflow: ellipsis;
|
|
279
|
+
vertical-align: middle;
|
|
280
|
+
position: relative;
|
|
281
|
+
text-align: left
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.el-table--enable-row-hover .el-table__body tr:hover>td {
|
|
285
|
+
background-color: #FFF3CB
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.el-table--striped .el-table__body tr.el-table__row--striped.current-row td,
|
|
289
|
+
.el-table__body tr.current-row>td,
|
|
290
|
+
.el-table__body tr.hover-row.current-row>td,
|
|
291
|
+
.el-table__body tr.hover-row.el-table__row--striped.current-row>td,
|
|
292
|
+
.el-table__body tr.hover-row.el-table__row--striped>td,
|
|
293
|
+
.el-table__body tr.hover-row>td {
|
|
294
|
+
background-color: #FFF3CB
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.el-table th {
|
|
298
|
+
background-color: #eee;
|
|
299
|
+
color: #555
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
// 列表表头整个都有背景色
|
|
303
|
+
.el-table .el-table__header-wrapper {
|
|
304
|
+
background: #eee;
|
|
305
|
+
}
|
|
306
|
+
}
|