n20-common-lib 3.0.22 → 3.0.24
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 +4 -3
- package/src/assets/css/drag-list.scss +22 -14
- package/src/assets/css/normalize.scss +6 -0
- package/src/assets/css/show-column.scss +72 -14
- package/src/assets/css/table copy.scss +234 -0
- package/src/assets/css/table.scss +159 -13
- package/src/assets/realUrl.js +2 -1
- package/src/components/AdvancedFilter/index.vue +1 -1
- package/src/components/ApprovalButtons/showOtherAttrNew.vue +1 -1
- package/src/components/ApprovalRecord/index.vue +5 -5
- package/src/components/DragList/index.vue +33 -12
- package/src/components/Empty/img/searchNoData.png +0 -0
- package/src/components/HandlingAdvice/index.vue +1 -0
- package/src/components/ShowColumn/index copy.vue +18 -33
- package/src/components/ShowColumn/index.vue +244 -59
- package/src/components/TablePro/index copy.vue +462 -0
- package/src/components/TablePro/index.js +9 -2
- package/src/components/TablePro/index.vue +542 -28
- package/src/components/TableSetSize/index copy.vue +69 -0
- package/src/components/TableSetSize/index.vue +10 -13
- package/src/plugins/Print/print-js/src/js/print.js +0 -6
- package/style/index.css +1 -1
- package/theme/blue.css +3 -0
- package/theme/cctcRed.css +3 -0
- package/theme/fonts/SIMSUN.5e0c362c.ttf +0 -0
- package/theme/fonts/element-icons.535877f5.woff +0 -0
- package/theme/fonts/element-icons.732389de.ttf +0 -0
- package/theme/fonts/iconfont.09d221ee.woff +0 -0
- package/theme/fonts/iconfont.15a3ce0f.woff2 +0 -0
- package/theme/fonts/iconfont.1c4bfacc.ttf +0 -0
- package/theme/fonts/iconfont.a6f34dc7.woff2 +0 -0
- package/theme/fonts/iconfont.da8f3f01.ttf +0 -0
- package/theme/fonts/iconfont.ed15bc90.woff +0 -0
- package/theme/fonts/iconfont.f4c32765.ttf +0 -0
- package/theme/green.css +3 -0
- package/theme/lightBlue.css +3 -0
- package/theme/mapleLeafRed.css +3 -0
- package/theme/orange.css +3 -0
- package/theme/purple.css +3 -0
- package/theme/red.css +3 -0
- package/theme/yellow.css +3 -0
- package/src/components/ShowColumn/index copy 2.vue +0 -545
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n20-common-lib",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.24",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"serve": "vue-cli-service serve",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"vue-jsonp": "2.0.0",
|
|
69
69
|
"vuedraggable": "*",
|
|
70
70
|
"webpack-duplicate-relano-plugin": "^0.1.0",
|
|
71
|
-
"xe-utils": "^
|
|
71
|
+
"xe-utils": "^4.0.2",
|
|
72
72
|
"ngraph.events": "1.2.2"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
@@ -120,7 +120,8 @@
|
|
|
120
120
|
"vue-router": "^3.5.2",
|
|
121
121
|
"vue-template-compiler": "^2.6.11",
|
|
122
122
|
"vuex": "^3.6.2",
|
|
123
|
-
"vxe-table": "3.
|
|
123
|
+
"vxe-table": "3.20.0",
|
|
124
|
+
"vxe-pc-ui": "3.13.2",
|
|
124
125
|
"webpack-bundle-analyzer": "^3.9.0",
|
|
125
126
|
"xlsx": "0.14.1",
|
|
126
127
|
"xlsx-style": "^0.8.13"
|
|
@@ -1,24 +1,32 @@
|
|
|
1
1
|
.n20-drag-list-item {
|
|
2
2
|
display: flex;
|
|
3
|
+
padding: 7px 12px;
|
|
3
4
|
align-items: center;
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
gap: 8px;
|
|
6
|
+
align-self: stretch;
|
|
7
|
+
border-radius: 2px;
|
|
8
|
+
background: var(--bg-5, #fff);
|
|
6
9
|
span {
|
|
7
10
|
flex: 1;
|
|
8
11
|
}
|
|
9
|
-
}
|
|
10
|
-
.n20-drag-icon {
|
|
11
|
-
margin-right: 12px;
|
|
12
|
-
font-size: 16px;
|
|
13
|
-
cursor: move;
|
|
14
12
|
&:hover {
|
|
15
|
-
|
|
13
|
+
background: var(--bg-2, #f7f8fa);
|
|
16
14
|
}
|
|
17
|
-
|
|
18
|
-
.
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
15
|
+
|
|
16
|
+
.drag-item-text {
|
|
17
|
+
overflow: hidden;
|
|
18
|
+
color: var(--text-1, #1d2129);
|
|
19
|
+
text-overflow: ellipsis;
|
|
20
|
+
white-space: nowrap;
|
|
21
|
+
|
|
22
|
+
font-family: 'PingFang SC';
|
|
23
|
+
font-size: 14px;
|
|
24
|
+
font-style: normal;
|
|
25
|
+
font-weight: 400;
|
|
26
|
+
line-height: 22px;
|
|
27
|
+
}
|
|
28
|
+
.icon-class {
|
|
29
|
+
font-size: 14px;
|
|
30
|
+
color: #4e5969;
|
|
23
31
|
}
|
|
24
32
|
}
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
.dialog-view {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
margin: 16px;
|
|
3
|
+
height: 476px;
|
|
4
|
+
overflow: hidden;
|
|
5
|
+
|
|
6
|
+
&-search {
|
|
7
|
+
width: 320px;
|
|
8
|
+
}
|
|
4
9
|
|
|
5
10
|
.left-c {
|
|
6
11
|
flex: 1;
|
|
7
|
-
height:
|
|
12
|
+
height: 476px;
|
|
8
13
|
}
|
|
9
14
|
|
|
10
15
|
.m-title {
|
|
@@ -13,10 +18,52 @@
|
|
|
13
18
|
}
|
|
14
19
|
|
|
15
20
|
.right-c {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
21
|
+
width: 240px;
|
|
22
|
+
height: 474px;
|
|
23
|
+
display: flex;
|
|
24
|
+
flex-direction: column;
|
|
25
|
+
align-items: flex-start;
|
|
26
|
+
gap: 8px;
|
|
27
|
+
align-self: stretch;
|
|
28
|
+
border-radius: 4px;
|
|
29
|
+
border: 1px solid var(--border-1, #f2f3f5);
|
|
30
|
+
background: var(--bg-2, #fff);
|
|
31
|
+
.right-header {
|
|
32
|
+
display: flex;
|
|
33
|
+
padding: 9px 10px;
|
|
34
|
+
justify-content: space-between;
|
|
35
|
+
align-items: center;
|
|
36
|
+
align-self: stretch;
|
|
37
|
+
background: var(--fill-1, #f7f8fa);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.right-count {
|
|
41
|
+
color: var(--text-3, #86909c);
|
|
42
|
+
/* 14/CN-Regular */
|
|
43
|
+
font-family: 'PingFang SC';
|
|
44
|
+
font-size: 14px;
|
|
45
|
+
font-style: normal;
|
|
46
|
+
font-weight: 400;
|
|
47
|
+
line-height: 22px;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.icon-class {
|
|
51
|
+
font-size: 14px;
|
|
52
|
+
color: #4e5969;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.darg-list-wrap {
|
|
56
|
+
overflow-y: auto;
|
|
57
|
+
align-self: stretch;
|
|
58
|
+
|
|
59
|
+
/* 隐藏滚动条 */
|
|
60
|
+
scrollbar-width: none; /* Firefox */
|
|
61
|
+
-ms-overflow-style: none; /* IE 10+ */
|
|
62
|
+
|
|
63
|
+
&::-webkit-scrollbar {
|
|
64
|
+
display: none; /* Chrome, Safari, Edge */
|
|
65
|
+
}
|
|
66
|
+
}
|
|
20
67
|
}
|
|
21
68
|
|
|
22
69
|
.right-tree {
|
|
@@ -24,7 +71,7 @@
|
|
|
24
71
|
width: 200px;
|
|
25
72
|
margin-left: 15px;
|
|
26
73
|
overflow-y: hidden;
|
|
27
|
-
.menu-tree{
|
|
74
|
+
.menu-tree {
|
|
28
75
|
height: 360px;
|
|
29
76
|
overflow-y: auto;
|
|
30
77
|
}
|
|
@@ -46,11 +93,22 @@
|
|
|
46
93
|
color: $--color-text-primary;
|
|
47
94
|
}
|
|
48
95
|
}
|
|
96
|
+
}
|
|
49
97
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
98
|
+
.fixed-divider {
|
|
99
|
+
display: flex;
|
|
100
|
+
align-items: center;
|
|
101
|
+
margin: 6px 0;
|
|
102
|
+
color: #999;
|
|
103
|
+
font-size: 12px;
|
|
104
|
+
}
|
|
105
|
+
.fixed-divider::before,
|
|
106
|
+
.fixed-divider::after {
|
|
107
|
+
content: '';
|
|
108
|
+
flex: 1;
|
|
109
|
+
border-top: 1px solid #e4e7ed;
|
|
110
|
+
}
|
|
111
|
+
.fixed-divider-text {
|
|
112
|
+
padding: 0 8px;
|
|
113
|
+
white-space: nowrap;
|
|
56
114
|
}
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
.el-table--small {
|
|
2
|
+
font-size: 14px;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.el-table--mini {
|
|
6
|
+
font-size: 12px;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.el-table th {
|
|
10
|
+
font-weight: $--font-weight-primary;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.el-table--small .el-table__cell {
|
|
14
|
+
padding: 8px 0;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.el-table .cell {
|
|
18
|
+
padding-left: 8px;
|
|
19
|
+
padding-right: 8px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.el-table--small,
|
|
23
|
+
.el-table--mini {
|
|
24
|
+
.el-table__cell {
|
|
25
|
+
.el-button--text {
|
|
26
|
+
padding-top: 2px;
|
|
27
|
+
padding-bottom: 2px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.el-link {
|
|
31
|
+
line-height: initial;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.el-table--mini {
|
|
37
|
+
.el-table__cell {
|
|
38
|
+
padding: 2px 0;
|
|
39
|
+
|
|
40
|
+
.cell {
|
|
41
|
+
padding-left: 4px;
|
|
42
|
+
padding-right: 4px;
|
|
43
|
+
// line-height: 18px;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.el-button--mini,
|
|
47
|
+
.el-link {
|
|
48
|
+
font-size: 12px;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.el-table {
|
|
54
|
+
/* 排序 */
|
|
55
|
+
.caret-wrapper {
|
|
56
|
+
display: inline-flex;
|
|
57
|
+
flex-direction: row-reverse;
|
|
58
|
+
align-items: center;
|
|
59
|
+
width: 16px;
|
|
60
|
+
height: 16px;
|
|
61
|
+
line-height: 16px;
|
|
62
|
+
vertical-align: middle;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.sort-caret.ascending,
|
|
66
|
+
.sort-caret.descending {
|
|
67
|
+
width: 8px;
|
|
68
|
+
height: 16px;
|
|
69
|
+
border: none;
|
|
70
|
+
font-style: normal;
|
|
71
|
+
position: static;
|
|
72
|
+
|
|
73
|
+
&:hover {
|
|
74
|
+
color: $--color-primary-light-6;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&:before {
|
|
78
|
+
content: '\e61c';
|
|
79
|
+
font-family: 'core-lib-iconfont';
|
|
80
|
+
font-size: 12px;
|
|
81
|
+
line-height: 12px;
|
|
82
|
+
position: relative;
|
|
83
|
+
right: 3px;
|
|
84
|
+
bottom: 1px;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.sort-caret.descending:before {
|
|
89
|
+
content: '\e61d';
|
|
90
|
+
position: relative;
|
|
91
|
+
right: 1px;
|
|
92
|
+
bottom: 1px;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.ascending .sort-caret.ascending,
|
|
96
|
+
.descending .sort-caret.descending {
|
|
97
|
+
color: $--color-primary;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/* 过滤 */
|
|
102
|
+
.el-table-filter__bottom {
|
|
103
|
+
text-align: center;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.el-table__column-filter-trigger {
|
|
107
|
+
height: 16px;
|
|
108
|
+
line-height: 16px;
|
|
109
|
+
vertical-align: middle;
|
|
110
|
+
position: relative;
|
|
111
|
+
bottom: 1px;
|
|
112
|
+
|
|
113
|
+
i {
|
|
114
|
+
font-size: 16px;
|
|
115
|
+
transform: scale(1);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.table-header-popover.el-popover {
|
|
120
|
+
padding: 16px;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/* 附件上传hover颜色 */
|
|
124
|
+
.base-table_default {
|
|
125
|
+
.el-table__body .hover-active:hover > td {
|
|
126
|
+
background-color: #ff3c2f10 !important;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.vxe-table .vxe-cell--sort {
|
|
131
|
+
display: inline-flex !important;
|
|
132
|
+
flex-direction: row-reverse !important;
|
|
133
|
+
align-items: center !important;
|
|
134
|
+
width: 16px !important;
|
|
135
|
+
height: 16px !important;
|
|
136
|
+
line-height: 16px !important;
|
|
137
|
+
vertical-align: middle !important;
|
|
138
|
+
cursor: pointer;
|
|
139
|
+
|
|
140
|
+
.vxe-sort--asc-btn,
|
|
141
|
+
.vxe-sort--desc-btn {
|
|
142
|
+
width: 6px;
|
|
143
|
+
height: 10px;
|
|
144
|
+
color: #333;
|
|
145
|
+
border: none;
|
|
146
|
+
font-style: normal;
|
|
147
|
+
position: static;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.vxe-header--row {
|
|
152
|
+
color: #333;
|
|
153
|
+
background-color: #f5f5f5;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.vxe-cell--filter .vxe-filter--btn {
|
|
157
|
+
color: #666;
|
|
158
|
+
font-weight: $--font-weight-primary;
|
|
159
|
+
cursor: pointer;
|
|
160
|
+
font-size: 16px;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.is--filter-active .vxe-cell--filter .vxe-filter--btn {
|
|
164
|
+
color: $--color-primary;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.is--filter-active .vxe-cell--title {
|
|
168
|
+
color: $--color-primary;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.vxe-table--render-default.size--small {
|
|
172
|
+
font-size: 14px !important;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.vxe-table--render-default.size--mini {
|
|
176
|
+
font-size: 14px !important;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.vxe-header--row th,
|
|
180
|
+
th.vxe-header--column {
|
|
181
|
+
position: relative;
|
|
182
|
+
font-weight: $--font-weight-primary;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.vxe-table--tooltip-wrapper {
|
|
186
|
+
z-index: 9999 !important;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.cell-default-set-- .vxe-table--body-wrapper .vxe-body--row .vxe-body--column .vxe-cell .vxe-cell--label:empty::before {
|
|
190
|
+
content: '--';
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.n20-table-pro.vxe-table--render-default {
|
|
194
|
+
font-family: PingFang SC, Microsoft YaHei, Arial, sans-serif !important;
|
|
195
|
+
color: #333;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.vxe-table-custom-wrap.vxe-body--column.col--ellipsis:not(.col--actived) > .vxe-cell,
|
|
199
|
+
.vxe-table--render-default .vxe-table-custom-wrap.vxe-footer--column.col--ellipsis:not(.col--actived) > .vxe-cell,
|
|
200
|
+
.vxe-table--render-default .vxe-table-custom-wrap.vxe-header--column.col--ellipsis:not(.col--actived) > .vxe-cell {
|
|
201
|
+
overflow: hidden;
|
|
202
|
+
text-overflow: ellipsis;
|
|
203
|
+
white-space: wrap !important;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.vxe-table--render-default.size--small .vxe-table-custom-wrap.vxe-body--column.col--ellipsis > .vxe-cell,
|
|
207
|
+
.vxe-table--render-default.size--small .vxe-table-custom-wrap.vxe-footer--column.col--ellipsis > .vxe-cell,
|
|
208
|
+
.vxe-table--render-default.size--small .vxe-table-custom-wrap.vxe-header--column.col--ellipsis > .vxe-cell {
|
|
209
|
+
max-height: 100%;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.vxe-header--column {
|
|
213
|
+
.vxe-cell {
|
|
214
|
+
justify-content: center !important;
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
@import '../../components/TableSetSize/style.scss';
|
|
219
|
+
|
|
220
|
+
.el-table-set-size-item {
|
|
221
|
+
.icon-mini {
|
|
222
|
+
background-image: url('../../components/TableSetSize/small.png');
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.icon-mini {
|
|
226
|
+
background-image: url('../../components/TableSetSize/mini.png');
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.el-table th.el-table__cell > .cell {
|
|
231
|
+
overflow: hidden;
|
|
232
|
+
text-overflow: ellipsis;
|
|
233
|
+
white-space: nowrap;
|
|
234
|
+
}
|
|
@@ -50,6 +50,66 @@
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
+
/* 骨架屏样式 - 仅覆盖内容区域,表头正常显示 */
|
|
54
|
+
.table-pro-skeleton {
|
|
55
|
+
position: absolute;
|
|
56
|
+
top: 40px; /* 表头高度,small 尺寸约 40px */
|
|
57
|
+
left: 0;
|
|
58
|
+
right: 0;
|
|
59
|
+
bottom: 0;
|
|
60
|
+
height: calc(100% - 40px);
|
|
61
|
+
background: #fff;
|
|
62
|
+
z-index: 100;
|
|
63
|
+
overflow: hidden;
|
|
64
|
+
padding: 0;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.skeleton-row {
|
|
68
|
+
display: flex;
|
|
69
|
+
align-items: center;
|
|
70
|
+
height: 36px;
|
|
71
|
+
border-bottom: 1px solid #f0f0f0;
|
|
72
|
+
padding: 0 8px;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.skeleton-cell {
|
|
76
|
+
height: 14px;
|
|
77
|
+
background: linear-gradient(90deg, #f2f2f2 25%, #e6e6e6 50%, #f2f2f2 75%);
|
|
78
|
+
background-size: 200% 100%;
|
|
79
|
+
animation: skeleton-loading 1.5s infinite;
|
|
80
|
+
border-radius: 4px;
|
|
81
|
+
margin: 0 8px;
|
|
82
|
+
flex: 1;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.skeleton-checkbox {
|
|
86
|
+
width: 16px;
|
|
87
|
+
height: 16px;
|
|
88
|
+
flex: 0 0 16px;
|
|
89
|
+
margin-left: 12px;
|
|
90
|
+
margin-right: 16px;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
@keyframes skeleton-loading {
|
|
94
|
+
0% {
|
|
95
|
+
background-position: 200% 0;
|
|
96
|
+
}
|
|
97
|
+
100% {
|
|
98
|
+
background-position: -200% 0;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/* 不同尺寸的表头高度适配 */
|
|
103
|
+
.table-pro-wrapper:has(.vxe-table--render-default.size--mini) .table-pro-skeleton {
|
|
104
|
+
top: 36px;
|
|
105
|
+
height: calc(100% - 36px);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.table-pro-wrapper:has(.vxe-table--render-default.size--medium) .table-pro-skeleton {
|
|
109
|
+
top: 44px;
|
|
110
|
+
height: calc(100% - 44px);
|
|
111
|
+
}
|
|
112
|
+
|
|
53
113
|
.el-table {
|
|
54
114
|
/* 排序 */
|
|
55
115
|
.caret-wrapper {
|
|
@@ -127,21 +187,101 @@
|
|
|
127
187
|
}
|
|
128
188
|
}
|
|
129
189
|
|
|
190
|
+
.vxe-table {
|
|
191
|
+
.vxe-table--column {
|
|
192
|
+
&__icon {
|
|
193
|
+
font-size: 11px;
|
|
194
|
+
color: #88909b;
|
|
195
|
+
border: none;
|
|
196
|
+
font-style: normal;
|
|
197
|
+
position: static;
|
|
198
|
+
cursor: pointer;
|
|
199
|
+
width: 12px;
|
|
200
|
+
height: 12px;
|
|
201
|
+
line-height: 12px;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.vxe-header--column.is--padding.fixed-column__static {
|
|
206
|
+
padding: 0 6px;
|
|
207
|
+
.vxe-cell {
|
|
208
|
+
padding: 0;
|
|
209
|
+
}
|
|
210
|
+
i {
|
|
211
|
+
display: inline-block;
|
|
212
|
+
font-size: 16px;
|
|
213
|
+
color: #505968;
|
|
214
|
+
cursor: pointer;
|
|
215
|
+
margin-left: 10px;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
/* 悬浮按钮组样式 */
|
|
221
|
+
.table-hover-btns {
|
|
222
|
+
position: absolute;
|
|
223
|
+
right: 0;
|
|
224
|
+
display: flex;
|
|
225
|
+
align-items: center;
|
|
226
|
+
justify-content: flex-end;
|
|
227
|
+
padding: 0 12px;
|
|
228
|
+
z-index: 10;
|
|
229
|
+
pointer-events: auto;
|
|
230
|
+
|
|
231
|
+
.hover-btns-wrapper {
|
|
232
|
+
display: flex;
|
|
233
|
+
align-items: center;
|
|
234
|
+
gap: 4px;
|
|
235
|
+
white-space: nowrap;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.hover-btns-more {
|
|
239
|
+
margin-left: 4px;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.color-danger {
|
|
243
|
+
color: #f56c6c;
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
/* 过渡动画 */
|
|
248
|
+
.hover-btns-fade-enter-active,
|
|
249
|
+
.hover-btns-fade-leave-active {
|
|
250
|
+
transition: opacity 0.2s ease, transform 0.2s ease;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.hover-btns-fade-enter,
|
|
254
|
+
.hover-btns-fade-leave-to {
|
|
255
|
+
opacity: 0;
|
|
256
|
+
transform: translateX(10px);
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.hover-btns-fade-enter-to,
|
|
260
|
+
.hover-btns-fade-leave {
|
|
261
|
+
opacity: 1;
|
|
262
|
+
transform: translateX(0);
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.vxe-table.vxe-table--render-default.border--none,
|
|
266
|
+
.vxe-table.vxe-table--render-default.border--inner .vxe-cell--col-resizable:before {
|
|
267
|
+
background-color: transparent;
|
|
268
|
+
}
|
|
269
|
+
|
|
130
270
|
.vxe-table .vxe-cell--sort {
|
|
131
271
|
display: inline-flex !important;
|
|
132
|
-
flex-direction:
|
|
272
|
+
flex-direction: column !important;
|
|
133
273
|
align-items: center !important;
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
vertical-align: middle !important;
|
|
274
|
+
justify-content: center !important;
|
|
275
|
+
font-size: 8px !important;
|
|
276
|
+
|
|
138
277
|
cursor: pointer;
|
|
139
278
|
|
|
140
279
|
.vxe-sort--asc-btn,
|
|
141
280
|
.vxe-sort--desc-btn {
|
|
142
|
-
width:
|
|
143
|
-
height:
|
|
144
|
-
|
|
281
|
+
width: 10px;
|
|
282
|
+
height: 8px !important;
|
|
283
|
+
line-height: 1;
|
|
284
|
+
color: #88909b;
|
|
145
285
|
border: none;
|
|
146
286
|
font-style: normal;
|
|
147
287
|
position: static;
|
|
@@ -176,6 +316,12 @@
|
|
|
176
316
|
font-size: 14px !important;
|
|
177
317
|
}
|
|
178
318
|
|
|
319
|
+
.vxe-header-column__right {
|
|
320
|
+
display: flex;
|
|
321
|
+
flex-direction: row-reverse;
|
|
322
|
+
align-items: center;
|
|
323
|
+
}
|
|
324
|
+
|
|
179
325
|
.vxe-header--row th,
|
|
180
326
|
th.vxe-header--column {
|
|
181
327
|
position: relative;
|
|
@@ -209,11 +355,11 @@ th.vxe-header--column {
|
|
|
209
355
|
max-height: 100%;
|
|
210
356
|
}
|
|
211
357
|
|
|
212
|
-
.vxe-header--column {
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
}
|
|
358
|
+
// .vxe-header--column {
|
|
359
|
+
// .vxe-cell {
|
|
360
|
+
// justify-content: center !important;
|
|
361
|
+
// }
|
|
362
|
+
// }
|
|
217
363
|
|
|
218
364
|
@import '../../components/TableSetSize/style.scss';
|
|
219
365
|
|
package/src/assets/realUrl.js
CHANGED
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
v-title="item.cfgName"
|
|
23
23
|
style="
|
|
24
24
|
display: inline-block;
|
|
25
|
-
max-width: 200px;
|
|
26
25
|
white-space: nowrap;
|
|
27
26
|
overflow: hidden;
|
|
28
27
|
text-overflow: ellipsis;
|
|
29
28
|
"
|
|
29
|
+
:style="{ maxWidth: labelWidth }"
|
|
30
30
|
>
|
|
31
31
|
<span v-if="required" style="color: red">*</span>
|
|
32
32
|
{{ item.cfgName }}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* 审批记录 */
|
|
2
2
|
<template>
|
|
3
|
-
<div v-if="approvalMode === 'dialog'
|
|
3
|
+
<div v-if="approvalMode === 'dialog'">
|
|
4
4
|
<expandableWrap :title="'审批记录' | $lc" :show-expand="false" :icon="false">
|
|
5
5
|
<template slot="tips">
|
|
6
6
|
<el-button plain size="mini" :disabled="false" @click="cardV = true">{{ '审批进度查看' | $lc }}</el-button>
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
<approvalImg class="text-c p-a" :proc-inst-id="procInstIdC" style="height: 70vh; overflow: auto" />
|
|
36
36
|
</el-dialog>
|
|
37
37
|
</div>
|
|
38
|
-
<div v-else>
|
|
38
|
+
<div v-else-if="approvalMode === 'title'">
|
|
39
39
|
<expandableWrap :title="'审批记录' | $lc">
|
|
40
40
|
<template slot="tips">
|
|
41
41
|
<el-button size="mini" plain @click="imgV = true">{{ '流程图查看' | $lc }}</el-button>
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
append-to-body
|
|
51
51
|
top="10vh"
|
|
52
52
|
>
|
|
53
|
-
<approvalImg class="text-c p-a" style="height: 70vh; overflow: auto" />
|
|
53
|
+
<approvalImg class="text-c p-a" :proc-inst-id="procInstIdC" style="height: 70vh; overflow: auto" />
|
|
54
54
|
</el-dialog>
|
|
55
55
|
</expandableWrap>
|
|
56
56
|
</div>
|
|
@@ -86,7 +86,7 @@ export default {
|
|
|
86
86
|
return {
|
|
87
87
|
cardV: false,
|
|
88
88
|
imgV: false,
|
|
89
|
-
approvalMode:
|
|
89
|
+
approvalMode: 'dialog'
|
|
90
90
|
}
|
|
91
91
|
},
|
|
92
92
|
computed: {
|
|
@@ -96,7 +96,7 @@ export default {
|
|
|
96
96
|
},
|
|
97
97
|
mounted() {
|
|
98
98
|
getJsonc('portal/server-config.jsonc').then(({ approvalMode }) => {
|
|
99
|
-
this.approvalMode = approvalMode
|
|
99
|
+
this.approvalMode = approvalMode || 'dialog'
|
|
100
100
|
})
|
|
101
101
|
}
|
|
102
102
|
}
|