@lx-frontend/wrap-element-ui 1.0.0-beta.8 → 1.0.1-7.beta-2
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/README.md +2 -2
- package/package.json +6 -5
- package/src/components/AddMembers/index.vue +32 -40
- package/src/components/EditableTable/bizHooks/index.ts +7 -0
- package/src/components/EditableTable/{useCellHover.ts → bizHooks/useCellHover.ts} +1 -1
- package/src/components/EditableTable/bizHooks/useColumnHeaderOperation.ts +329 -0
- package/src/components/EditableTable/{useDefaultOperation.ts → bizHooks/useDefaultOperation.ts} +2 -2
- package/src/components/EditableTable/{useDragSort.ts → bizHooks/useDragSort.ts} +4 -4
- package/src/components/EditableTable/{usePagination.ts → bizHooks/usePagination.ts} +3 -3
- package/src/components/EditableTable/{useRowBgColor.ts → bizHooks/useRowBgColor.ts} +9 -16
- package/src/components/EditableTable/bizHooks/useViewSetting.ts +125 -0
- package/src/components/EditableTable/features/bizColorSelect.vue +63 -0
- package/src/components/EditableTable/features/bizEditCell.vue +44 -0
- package/src/components/EditableTable/features/bizTableHeaderPopover/BizCheckboxFilter.vue +40 -0
- package/src/components/EditableTable/features/bizTableHeaderPopover/BizColorRadioFilter.vue +56 -0
- package/src/components/EditableTable/features/bizTableHeaderPopover/BizDoubleDatePickerFilter.vue +91 -0
- package/src/components/EditableTable/features/bizTableHeaderPopover/BizInputFilter.vue +26 -0
- package/src/components/EditableTable/features/bizTableHeaderPopover/BizMonthDayPicker.helper.ts +131 -0
- package/src/components/EditableTable/features/bizTableHeaderPopover/BizMonthDayPicker.vue +115 -0
- package/src/components/EditableTable/features/bizTableHeaderPopover/BizRadioFilter.vue +39 -0
- package/src/components/EditableTable/features/bizTableHeaderPopover/BizSortFilter.vue +50 -0
- package/src/components/EditableTable/features/bizTableHeaderPopover/index.vue +155 -0
- package/src/components/EditableTable/features/bizTableOperatePopover.vue +67 -0
- package/src/components/EditableTable/features/bizViewSettingDialog.vue +137 -0
- package/src/components/EditableTable/index.less +524 -428
- package/src/components/EditableTable/index.vue +167 -456
- package/src/components/EditableTable/{types.ts → types/index.ts} +176 -116
- package/src/components/SearchForm/index.vue +7 -4
- package/src/components/SearchForm/types/index.ts +63 -0
- package/src/components/EditableTable/useColumnHeaderOperation.ts +0 -326
- package/src/components/EditableTable/useViewSetting.ts +0 -119
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
@--theme-blue--: #2468f2;
|
|
2
2
|
|
|
3
3
|
.editable-table {
|
|
4
|
+
.el-table__body {
|
|
5
|
+
width: 100% !important;
|
|
6
|
+
}
|
|
7
|
+
|
|
4
8
|
&__selected-color {
|
|
5
9
|
position: absolute;
|
|
6
10
|
left: 0;
|
|
@@ -139,337 +143,371 @@
|
|
|
139
143
|
}
|
|
140
144
|
}
|
|
141
145
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
width: 24px;
|
|
148
|
-
height: 24px;
|
|
149
|
-
color: white;
|
|
150
|
-
background-color: #969ca4;
|
|
151
|
-
}
|
|
146
|
+
&-view-setting {
|
|
147
|
+
&__btn-wrapper {
|
|
148
|
+
display: flex;
|
|
149
|
+
justify-content: flex-end;
|
|
150
|
+
}
|
|
152
151
|
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
152
|
+
&__btn {
|
|
153
|
+
display: flex;
|
|
154
|
+
justify-content: flex-end;
|
|
155
|
+
align-items: center;
|
|
156
|
+
font-weight: 400;
|
|
157
|
+
font-size: 14px;
|
|
158
|
+
color: @--theme-blue--;
|
|
159
|
+
margin-bottom: 17px;
|
|
160
|
+
margin-right: 20px;
|
|
161
|
+
}
|
|
157
162
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
background-color: #fafafa;
|
|
163
|
+
&__btn-text {
|
|
164
|
+
margin-left: 4px;
|
|
161
165
|
}
|
|
162
|
-
}
|
|
163
166
|
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
border-top: none;
|
|
167
|
-
border-left: none;
|
|
168
|
-
border-right: none;
|
|
169
|
-
}
|
|
167
|
+
&__dialog {
|
|
168
|
+
padding: 0px;
|
|
170
169
|
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
170
|
+
.el-dialog__body {
|
|
171
|
+
max-height: 70vh;
|
|
172
|
+
}
|
|
174
173
|
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
174
|
+
.el-dialog__body {
|
|
175
|
+
padding: 0;
|
|
176
|
+
}
|
|
178
177
|
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
178
|
+
& .el-button--primary {
|
|
179
|
+
background-color: @--theme-blue-- !important;
|
|
180
|
+
border-color: @--theme-blue-- !important;
|
|
181
|
+
}
|
|
183
182
|
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
183
|
+
& .el-checkbox.is-checked:not(.is-disabled) {
|
|
184
|
+
.el-checkbox__input .el-checkbox__inner {
|
|
185
|
+
background-color: @--theme-blue-- !important;
|
|
186
|
+
border-color: @--theme-blue-- !important;
|
|
187
|
+
}
|
|
189
188
|
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
189
|
+
.el-checkbox__label {
|
|
190
|
+
color: @--theme-blue-- !important;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
194
193
|
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
}
|
|
194
|
+
& .el-button {
|
|
195
|
+
border-radius: 2px;
|
|
196
|
+
}
|
|
199
197
|
|
|
200
|
-
|
|
201
|
-
|
|
198
|
+
.el-dialog__header {
|
|
199
|
+
display: flex;
|
|
200
|
+
justify-content: space-between;
|
|
201
|
+
align-items: center;
|
|
202
|
+
font-size: 14px;
|
|
203
|
+
background-color: #eeeeee;
|
|
204
|
+
height: 36px;
|
|
205
|
+
line-height: 36px;
|
|
206
|
+
padding: 0 20px;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.el-dialog__title {
|
|
210
|
+
font-size: 14px;
|
|
211
|
+
line-height: 20px;
|
|
212
|
+
color: #333333;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.el-dialog__footer {
|
|
216
|
+
background-color: #eeeeee;
|
|
217
|
+
height: 42px;
|
|
218
|
+
line-height: 42px;
|
|
219
|
+
padding: 0 20px;
|
|
220
|
+
|
|
221
|
+
& .el-button {
|
|
222
|
+
height: 24px;
|
|
223
|
+
// line-height: 24px;
|
|
224
|
+
font-size: 12px;
|
|
225
|
+
padding: 5px 12px;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
202
228
|
}
|
|
203
|
-
}
|
|
204
229
|
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
}
|
|
230
|
+
&__content {
|
|
231
|
+
display: flex;
|
|
232
|
+
min-height: 500px;
|
|
233
|
+
}
|
|
209
234
|
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
justify-content: flex-end;
|
|
214
|
-
}
|
|
235
|
+
&__content-left {
|
|
236
|
+
min-width: 417px;
|
|
237
|
+
width: 417px;
|
|
215
238
|
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
font-size: 14px;
|
|
222
|
-
color: @--theme-blue--;
|
|
223
|
-
margin-bottom: 17px;
|
|
224
|
-
margin-right: 20px;
|
|
225
|
-
}
|
|
239
|
+
display: flex;
|
|
240
|
+
flex-direction: column;
|
|
241
|
+
justify-content: flex-start;
|
|
242
|
+
align-items: flex-start;
|
|
243
|
+
}
|
|
226
244
|
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
245
|
+
&__content-left-item {
|
|
246
|
+
width: 130px;
|
|
247
|
+
margin-bottom: 15px;
|
|
248
|
+
}
|
|
230
249
|
|
|
231
|
-
|
|
232
|
-
|
|
250
|
+
&__content-right {
|
|
251
|
+
border-left: 1px solid #d9d9d9;
|
|
252
|
+
display: flex;
|
|
253
|
+
flex-direction: column;
|
|
254
|
+
justify-content: flex-start;
|
|
255
|
+
align-items: flex-start;
|
|
256
|
+
}
|
|
233
257
|
|
|
234
|
-
|
|
235
|
-
|
|
258
|
+
&__content-right-title,
|
|
259
|
+
&__content-left-title {
|
|
260
|
+
border-bottom: 1px solid #d9d9d9;
|
|
261
|
+
width: 100%;
|
|
262
|
+
height: 46px;
|
|
263
|
+
display: flex;
|
|
264
|
+
justify-content: flex-start;
|
|
265
|
+
align-items: center;
|
|
266
|
+
padding-left: 20px;
|
|
236
267
|
}
|
|
237
268
|
|
|
238
|
-
|
|
239
|
-
|
|
269
|
+
&__selected-count {
|
|
270
|
+
margin-left: 20px;
|
|
240
271
|
}
|
|
241
272
|
|
|
242
|
-
&
|
|
243
|
-
|
|
244
|
-
|
|
273
|
+
&__checkbox-wrapper {
|
|
274
|
+
padding-left: 37px;
|
|
275
|
+
padding-top: 24px;
|
|
245
276
|
}
|
|
246
277
|
|
|
247
|
-
&
|
|
248
|
-
|
|
249
|
-
background-color: @--theme-blue-- !important;
|
|
250
|
-
border-color: @--theme-blue-- !important;
|
|
251
|
-
}
|
|
252
|
-
.el-checkbox__label {
|
|
253
|
-
color: @--theme-blue-- !important;
|
|
254
|
-
}
|
|
278
|
+
&__content-right {
|
|
279
|
+
flex-grow: 1;
|
|
255
280
|
}
|
|
256
281
|
|
|
257
|
-
&
|
|
258
|
-
|
|
282
|
+
&__content-right-frize {
|
|
283
|
+
width: 100%;
|
|
284
|
+
display: flex;
|
|
285
|
+
justify-content: flex-start;
|
|
286
|
+
align-items: center;
|
|
287
|
+
height: 50px;
|
|
288
|
+
border-bottom: 1px solid #d9d9d9;
|
|
289
|
+
padding-left: 20px;
|
|
259
290
|
}
|
|
260
|
-
}
|
|
261
291
|
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
}
|
|
292
|
+
&__content-right-input.el-input {
|
|
293
|
+
width: 140px;
|
|
294
|
+
margin: 0 4px;
|
|
266
295
|
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
296
|
+
.el-input__inner {
|
|
297
|
+
height: 28px;
|
|
298
|
+
line-height: 28px;
|
|
299
|
+
}
|
|
300
|
+
}
|
|
270
301
|
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
302
|
+
&__content-right-selected {
|
|
303
|
+
display: flex;
|
|
304
|
+
justify-content: flex-start;
|
|
305
|
+
flex-direction: column;
|
|
306
|
+
align-items: flex-start;
|
|
307
|
+
width: 100%;
|
|
308
|
+
flex-grow: 1;
|
|
309
|
+
padding-left: 18px;
|
|
310
|
+
padding-top: 17px;
|
|
311
|
+
padding-right: 23px;
|
|
312
|
+
}
|
|
276
313
|
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
314
|
+
&__selected-item-left {
|
|
315
|
+
display: flex;
|
|
316
|
+
justify-content: flex-start;
|
|
317
|
+
align-items: center;
|
|
318
|
+
}
|
|
281
319
|
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
320
|
+
&__icon-wrapper {
|
|
321
|
+
width: 14px;
|
|
322
|
+
height: 14px;
|
|
323
|
+
line-height: 14px;
|
|
324
|
+
padding: 2px 4px;
|
|
325
|
+
margin-right: 10px;
|
|
326
|
+
cursor: grab;
|
|
327
|
+
display: flex;
|
|
328
|
+
flex-direction: column;
|
|
329
|
+
justify-content: center;
|
|
330
|
+
align-items: center;
|
|
331
|
+
}
|
|
289
332
|
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
padding-left: 20px;
|
|
299
|
-
}
|
|
333
|
+
&__selected-item {
|
|
334
|
+
display: flex;
|
|
335
|
+
justify-content: space-between;
|
|
336
|
+
align-items: center;
|
|
337
|
+
line-height: 30px;
|
|
338
|
+
height: 30px;
|
|
339
|
+
width: 100%;
|
|
340
|
+
}
|
|
300
341
|
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
}
|
|
342
|
+
&__selected-item-close {
|
|
343
|
+
cursor: pointer;
|
|
304
344
|
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
345
|
+
&--disabled {
|
|
346
|
+
cursor: not-allowed;
|
|
347
|
+
color: #989ea9;
|
|
348
|
+
}
|
|
349
|
+
}
|
|
308
350
|
}
|
|
309
351
|
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
352
|
+
&-color-popover {
|
|
353
|
+
min-width: 102px !important;
|
|
354
|
+
width: 102px !important;
|
|
355
|
+
padding: 0 !important;
|
|
313
356
|
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
justify-content: flex-start;
|
|
318
|
-
align-items: center;
|
|
319
|
-
height: 50px;
|
|
320
|
-
border-bottom: 1px solid #d9d9d9;
|
|
321
|
-
padding-left: 20px;
|
|
322
|
-
}
|
|
357
|
+
& .popper__arrow::after {
|
|
358
|
+
left: 0 !important;
|
|
359
|
+
}
|
|
323
360
|
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
361
|
+
.color-list {
|
|
362
|
+
color: #fff;
|
|
363
|
+
width: 102px;
|
|
364
|
+
border-radius: 5px;
|
|
365
|
+
overflow: hidden;
|
|
327
366
|
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
367
|
+
&__item {
|
|
368
|
+
display: inline-block;
|
|
369
|
+
width: 100%;
|
|
370
|
+
height: 27px;
|
|
371
|
+
line-height: 27px;
|
|
372
|
+
padding-left: 6px;
|
|
373
|
+
}
|
|
331
374
|
}
|
|
332
375
|
}
|
|
333
376
|
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
flex-direction: column;
|
|
338
|
-
align-items: flex-start;
|
|
339
|
-
width: 100%;
|
|
340
|
-
flex-grow: 1;
|
|
341
|
-
padding-left: 18px;
|
|
342
|
-
padding-top: 17px;
|
|
343
|
-
padding-right: 23px;
|
|
344
|
-
}
|
|
377
|
+
&-sort-filter {
|
|
378
|
+
padding: 0 !important;
|
|
379
|
+
width: 258px;
|
|
345
380
|
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
381
|
+
&__column-title {
|
|
382
|
+
font-size: 14px;
|
|
383
|
+
font-weight: 600;
|
|
384
|
+
height: 40px;
|
|
385
|
+
line-height: 40px;
|
|
386
|
+
text-align: center;
|
|
387
|
+
border-bottom: 1px solid #d6dbe3;
|
|
388
|
+
}
|
|
351
389
|
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
line-height: 14px;
|
|
356
|
-
padding: 2px 4px;
|
|
357
|
-
margin-right: 10px;
|
|
358
|
-
cursor: grab;
|
|
359
|
-
display: flex;
|
|
360
|
-
flex-direction: column;
|
|
361
|
-
justify-content: center;
|
|
362
|
-
align-items: center;
|
|
363
|
-
}
|
|
390
|
+
&__item {
|
|
391
|
+
margin-top: 14px;
|
|
392
|
+
}
|
|
364
393
|
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
line-height: 30px;
|
|
370
|
-
height: 30px;
|
|
371
|
-
width: 100%;
|
|
372
|
-
}
|
|
394
|
+
&__date-picker-content {
|
|
395
|
+
display: flex;
|
|
396
|
+
flex-direction: column;
|
|
397
|
+
gap: 12px;
|
|
373
398
|
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
color: #989ea9;
|
|
399
|
+
.el-date-editor.el-input,
|
|
400
|
+
.el-date-editor.el-input__inner {
|
|
401
|
+
width: 100%;
|
|
402
|
+
}
|
|
379
403
|
}
|
|
380
|
-
}
|
|
381
|
-
}
|
|
382
404
|
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
padding: 0;
|
|
405
|
+
&__filter,
|
|
406
|
+
&__search {
|
|
407
|
+
padding: 0 14px;
|
|
387
408
|
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
}
|
|
409
|
+
.el-select {
|
|
410
|
+
width: 100%;
|
|
411
|
+
}
|
|
392
412
|
|
|
393
|
-
.
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
border-radius: 5px;
|
|
397
|
-
overflow: hidden;
|
|
398
|
-
&__item {
|
|
399
|
-
display: inline-block;
|
|
400
|
-
width: 100%;
|
|
401
|
-
height: 27px;
|
|
402
|
-
line-height: 27px;
|
|
403
|
-
padding-left: 6px;
|
|
404
|
-
}
|
|
405
|
-
}
|
|
413
|
+
.el-radio {
|
|
414
|
+
width: 100%;
|
|
415
|
+
margin-top: 10px;
|
|
406
416
|
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
417
|
+
&:first-child {
|
|
418
|
+
margin-top: 0;
|
|
419
|
+
}
|
|
420
|
+
}
|
|
410
421
|
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
height: 40px;
|
|
415
|
-
line-height: 40px;
|
|
416
|
-
text-align: center;
|
|
417
|
-
border-bottom: 1px solid #d6dbe3;
|
|
418
|
-
}
|
|
422
|
+
.el-radio__input {
|
|
423
|
+
line-height: 10px;
|
|
424
|
+
}
|
|
419
425
|
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
}
|
|
426
|
+
.el-radio__inner {
|
|
427
|
+
width: 14px;
|
|
428
|
+
height: 14px;
|
|
429
|
+
}
|
|
425
430
|
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
431
|
+
.el-radio__label {
|
|
432
|
+
white-space: nowrap;
|
|
433
|
+
overflow-x: hidden;
|
|
434
|
+
text-overflow: ellipsis;
|
|
435
|
+
width: calc(100% - 20px);
|
|
436
|
+
display: inline-block;
|
|
437
|
+
vertical-align: middle;
|
|
438
|
+
font-size: 12px;
|
|
439
|
+
line-height: normal;
|
|
440
|
+
}
|
|
441
|
+
}
|
|
429
442
|
|
|
430
|
-
|
|
431
|
-
&__sort-title,
|
|
432
|
-
&__search-title {
|
|
433
|
-
font-weight: 600;
|
|
434
|
-
font-size: 14px;
|
|
435
|
-
color: #1f1f1f;
|
|
436
|
-
margin-bottom: 10px;
|
|
437
|
-
}
|
|
443
|
+
&__filter {
|
|
438
444
|
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
445
|
+
.el-radio-group,
|
|
446
|
+
.el-checkbox-group {
|
|
447
|
+
max-height: 166px;
|
|
448
|
+
overflow-y: auto;
|
|
449
|
+
overflow-x: hidden;
|
|
450
|
+
}
|
|
442
451
|
}
|
|
443
|
-
}
|
|
444
452
|
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
453
|
+
&__sort {
|
|
454
|
+
padding: 0 14px;
|
|
455
|
+
display: flex;
|
|
456
|
+
flex-direction: column;
|
|
457
|
+
}
|
|
449
458
|
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
459
|
+
&__filter-title,
|
|
460
|
+
&__sort-title,
|
|
461
|
+
&__search-title {
|
|
462
|
+
font-weight: 600;
|
|
463
|
+
font-size: 14px;
|
|
464
|
+
color: #1f1f1f;
|
|
465
|
+
margin-bottom: 10px;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
&__search {
|
|
469
|
+
&-input {
|
|
470
|
+
& .el-input__inner {
|
|
471
|
+
height: 32px;
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
&__date-range {
|
|
476
|
+
display: flex;
|
|
477
|
+
flex-direction: column;
|
|
478
|
+
gap: 12px;
|
|
454
479
|
|
|
455
|
-
|
|
456
|
-
|
|
480
|
+
.el-date-editor.el-input,
|
|
481
|
+
.el-date-editor.el-input__inner {
|
|
482
|
+
width: 100%;
|
|
483
|
+
}
|
|
484
|
+
}
|
|
457
485
|
}
|
|
458
|
-
}
|
|
459
486
|
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
display: inline-block;
|
|
465
|
-
background-color: #f4f4f4;
|
|
466
|
-
color: #4a4a4a;
|
|
487
|
+
&__sort-btns {
|
|
488
|
+
display: flex;
|
|
489
|
+
justify-content: space-between;
|
|
490
|
+
align-items: center;
|
|
467
491
|
|
|
468
|
-
|
|
469
|
-
|
|
492
|
+
& .el-button {
|
|
493
|
+
border: none;
|
|
494
|
+
}
|
|
470
495
|
}
|
|
471
496
|
|
|
472
|
-
|
|
497
|
+
&__sort-btn.el-button {
|
|
498
|
+
width: 112px;
|
|
499
|
+
height: 28px;
|
|
500
|
+
padding: 4px 42px;
|
|
501
|
+
display: inline-block;
|
|
502
|
+
background-color: #f4f4f4;
|
|
503
|
+
color: #4a4a4a;
|
|
504
|
+
|
|
505
|
+
&:hover {
|
|
506
|
+
background-color: #fafafa;
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
&__sort-btn--active.el-button {
|
|
473
511
|
color: @--theme-blue--;
|
|
474
512
|
border-color: #eef3ff;
|
|
475
513
|
background: #f4f7fe;
|
|
@@ -478,184 +516,277 @@
|
|
|
478
516
|
background-color: #f4f7fe;
|
|
479
517
|
}
|
|
480
518
|
}
|
|
481
|
-
}
|
|
482
519
|
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
520
|
+
&__filter-checkbox-group {
|
|
521
|
+
width: 100%;
|
|
522
|
+
display: flex;
|
|
523
|
+
flex-direction: column;
|
|
524
|
+
justify-content: flex-start;
|
|
525
|
+
align-items: flex-start;
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
&__filter-checkbox {
|
|
529
|
+
margin-top: 10px;
|
|
530
|
+
font-size: 14px;
|
|
531
|
+
width: 100%;
|
|
532
|
+
|
|
533
|
+
&:first-child {
|
|
534
|
+
margin-top: 0;
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
.el-checkbox__input {
|
|
538
|
+
line-height: 10px;
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
.el-checkbox__label {
|
|
542
|
+
white-space: nowrap;
|
|
543
|
+
overflow-x: hidden;
|
|
544
|
+
text-overflow: ellipsis;
|
|
545
|
+
width: calc(100% - 20px);
|
|
546
|
+
display: inline-block;
|
|
547
|
+
vertical-align: middle;
|
|
548
|
+
font-size: 12px;
|
|
549
|
+
line-height: normal;
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
&__footer {
|
|
554
|
+
display: flex;
|
|
555
|
+
height: 47px;
|
|
556
|
+
border-top: 1px solid #d6dbe3;
|
|
557
|
+
justify-content: flex-end;
|
|
558
|
+
align-items: center;
|
|
559
|
+
padding: 0 15px;
|
|
560
|
+
margin-top: 14px;
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
&__reset-btn,
|
|
564
|
+
&__confirm-btn {
|
|
565
|
+
&.el-button {
|
|
566
|
+
width: 50px;
|
|
567
|
+
height: 28px;
|
|
568
|
+
margin-left: 10px;
|
|
569
|
+
display: flex;
|
|
570
|
+
justify-content: center;
|
|
571
|
+
align-items: center;
|
|
572
|
+
border-radius: 2px;
|
|
573
|
+
font-size: 14px;
|
|
574
|
+
font-weight: 400;
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
&__confirm-btn.el-button {
|
|
579
|
+
background-color: @--theme-blue--;
|
|
580
|
+
border-color: @--theme-blue--;
|
|
581
|
+
}
|
|
489
582
|
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
583
|
+
.el-checkbox__input.is-checked .el-checkbox__inner,
|
|
584
|
+
.el-radio__input.is-checked .el-radio__inner {
|
|
585
|
+
background: @--theme-blue--;
|
|
586
|
+
border-color: @--theme-blue--;
|
|
587
|
+
}
|
|
493
588
|
|
|
494
|
-
|
|
495
|
-
|
|
589
|
+
.el-checkbox__input.is-checked+.el-checkbox__label,
|
|
590
|
+
.el-radio__input.is-checked+.el-radio__label {
|
|
591
|
+
color: @--theme-blue--;
|
|
496
592
|
}
|
|
497
593
|
}
|
|
498
594
|
|
|
499
|
-
&
|
|
500
|
-
|
|
501
|
-
height:
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
align-items: center;
|
|
505
|
-
padding: 0 15px;
|
|
595
|
+
&__pin-top {
|
|
596
|
+
width: 24px;
|
|
597
|
+
height: 24px;
|
|
598
|
+
color: white;
|
|
599
|
+
background-color: #969ca4;
|
|
506
600
|
}
|
|
507
601
|
|
|
508
|
-
&
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
height: 28px;
|
|
512
|
-
margin-left: 10px;
|
|
513
|
-
display: flex;
|
|
514
|
-
justify-content: center;
|
|
515
|
-
align-items: center;
|
|
516
|
-
border-radius: 2px;
|
|
517
|
-
font-size: 14px;
|
|
518
|
-
font-weight: 400;
|
|
602
|
+
& .el-table td,
|
|
603
|
+
.el-table th.is-leaf {
|
|
604
|
+
border-bottom: 1px solid #dfe3ec;
|
|
519
605
|
}
|
|
520
606
|
|
|
521
|
-
&
|
|
522
|
-
|
|
523
|
-
|
|
607
|
+
& .el-table {
|
|
608
|
+
&__expanded-cell {
|
|
609
|
+
background-color: #fafafa;
|
|
610
|
+
}
|
|
524
611
|
}
|
|
525
612
|
|
|
526
|
-
.el-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
border-
|
|
613
|
+
& .el-table tr td {
|
|
614
|
+
min-height: 45px;
|
|
615
|
+
border-top: none;
|
|
616
|
+
border-left: none;
|
|
617
|
+
border-right: none;
|
|
530
618
|
}
|
|
531
|
-
}
|
|
532
619
|
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
620
|
+
& thead tr th {
|
|
621
|
+
background-color: #f3f4f8 !important;
|
|
622
|
+
border-right: none !important;
|
|
536
623
|
|
|
537
|
-
.
|
|
538
|
-
|
|
539
|
-
|
|
624
|
+
& .cell {
|
|
625
|
+
color: #13161b;
|
|
626
|
+
}
|
|
540
627
|
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
justify-content: space-between;
|
|
545
|
-
align-items: center;
|
|
628
|
+
&:not(:last-child) .cell {
|
|
629
|
+
border-right: 2px #e4e8ef solid;
|
|
630
|
+
}
|
|
546
631
|
}
|
|
547
632
|
|
|
548
|
-
|
|
549
|
-
|
|
633
|
+
.el-table-filter,
|
|
634
|
+
th.el-table__cell .el-table__column-filter-trigger,
|
|
635
|
+
th.is-sortable .caret-wrapper {
|
|
636
|
+
display: none;
|
|
637
|
+
}
|
|
550
638
|
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
639
|
+
.el-table__body tr.current-row>td,
|
|
640
|
+
.el-table__body tr.hover-row>td {
|
|
641
|
+
background-color: #fafafa;
|
|
642
|
+
}
|
|
554
643
|
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
font-weight: 400;
|
|
560
|
-
color: #13161b;
|
|
561
|
-
font-size: 14px;
|
|
644
|
+
table tbody tr td {
|
|
645
|
+
& .el-date-editor.el-input {
|
|
646
|
+
width: 100%;
|
|
647
|
+
}
|
|
562
648
|
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
}
|
|
649
|
+
& .cell {
|
|
650
|
+
font-size: 12px;
|
|
566
651
|
}
|
|
567
652
|
}
|
|
568
653
|
|
|
569
|
-
&
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
text-align: center;
|
|
574
|
-
color: #1f1f1f;
|
|
575
|
-
cursor: pointer;
|
|
654
|
+
& table th {
|
|
655
|
+
font-size: 12px;
|
|
656
|
+
font-weight: bold;
|
|
657
|
+
}
|
|
576
658
|
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
659
|
+
& table td {
|
|
660
|
+
font-size: 12px;
|
|
661
|
+
color: #13161b;
|
|
580
662
|
}
|
|
581
663
|
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
justify-content: flex-start;
|
|
585
|
-
align-items: center;
|
|
586
|
-
color: @--theme-blue--;
|
|
664
|
+
.el-table th>.cell {
|
|
665
|
+
color: #5b6984
|
|
587
666
|
}
|
|
588
667
|
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
&:first-child {
|
|
592
|
-
margin-right: 15px;
|
|
593
|
-
}
|
|
668
|
+
.el-table__fixed-body-wrapper {
|
|
669
|
+
background: #fff;
|
|
594
670
|
}
|
|
595
671
|
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
672
|
+
.el-checkbox__input.is-checked .el-checkbox__inner,
|
|
673
|
+
.el-checkbox__input.is-indeterminate .el-checkbox__inner {
|
|
674
|
+
background: @--theme-blue--;
|
|
675
|
+
border-color: @--theme-blue--;
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
.no-inner-cell-border {
|
|
679
|
+
& .cell {
|
|
680
|
+
border: none !important;
|
|
599
681
|
}
|
|
600
682
|
}
|
|
601
|
-
}
|
|
602
683
|
|
|
603
|
-
.
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
684
|
+
.custom-row-classname-pinned {
|
|
685
|
+
& td:last-child {
|
|
686
|
+
background-image: url("./pin-top.png");
|
|
687
|
+
background-repeat: no-repeat;
|
|
688
|
+
background-size: 24px 24px;
|
|
689
|
+
background-position: right 0 top 0;
|
|
690
|
+
}
|
|
691
|
+
}
|
|
608
692
|
|
|
609
|
-
|
|
693
|
+
&-operation-popover {
|
|
694
|
+
min-width: 120px;
|
|
610
695
|
padding: 0;
|
|
611
696
|
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
697
|
+
&__operation {
|
|
698
|
+
display: flex;
|
|
699
|
+
flex-direction: column;
|
|
700
|
+
justify-content: space-between;
|
|
701
|
+
align-items: center;
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
&__operation-reference {
|
|
705
|
+
display: inline-block;
|
|
706
|
+
|
|
707
|
+
&--active {
|
|
708
|
+
color: @--theme-blue--;
|
|
709
|
+
}
|
|
617
710
|
|
|
618
|
-
|
|
619
|
-
background
|
|
620
|
-
|
|
711
|
+
.el-button {
|
|
712
|
+
background: transparent;
|
|
713
|
+
border: none;
|
|
714
|
+
padding: 0;
|
|
715
|
+
font-weight: 400;
|
|
716
|
+
color: #13161b;
|
|
717
|
+
font-size: 14px;
|
|
718
|
+
|
|
719
|
+
&:focus {
|
|
720
|
+
color: @--theme-blue--;
|
|
721
|
+
}
|
|
621
722
|
}
|
|
622
723
|
}
|
|
623
724
|
|
|
624
|
-
&
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
725
|
+
&__operation-item {
|
|
726
|
+
height: 40px;
|
|
727
|
+
line-height: 40px;
|
|
728
|
+
width: 100%;
|
|
729
|
+
text-align: center;
|
|
730
|
+
color: #1f1f1f;
|
|
731
|
+
cursor: pointer;
|
|
732
|
+
|
|
733
|
+
&:hover {
|
|
734
|
+
background: #f4f7fe;
|
|
735
|
+
}
|
|
628
736
|
}
|
|
629
|
-
}
|
|
630
|
-
}
|
|
631
737
|
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
}
|
|
639
|
-
}
|
|
738
|
+
&__save-cancel {
|
|
739
|
+
display: flex;
|
|
740
|
+
justify-content: flex-start;
|
|
741
|
+
align-items: center;
|
|
742
|
+
color: @--theme-blue--;
|
|
743
|
+
}
|
|
640
744
|
|
|
745
|
+
&__btn {
|
|
746
|
+
cursor: pointer;
|
|
641
747
|
|
|
748
|
+
&:first-child {
|
|
749
|
+
margin-right: 15px;
|
|
750
|
+
}
|
|
751
|
+
}
|
|
642
752
|
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
font-weight: bold;
|
|
753
|
+
&__operation-btn {
|
|
754
|
+
color: @--theme-blue-- !important;
|
|
755
|
+
}
|
|
647
756
|
}
|
|
648
757
|
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
758
|
+
.pagination-wrap {
|
|
759
|
+
display: flex;
|
|
760
|
+
justify-content: space-between;
|
|
761
|
+
align-items: center;
|
|
762
|
+
margin-top: 12px;
|
|
763
|
+
|
|
764
|
+
& .el-pagination.is-background {
|
|
765
|
+
padding: 0;
|
|
766
|
+
|
|
767
|
+
.el-pager li.number {
|
|
768
|
+
background-color: #fff;
|
|
769
|
+
border: 1px solid #d6dbe3;
|
|
770
|
+
font-weight: 400;
|
|
771
|
+
font-size: 14px;
|
|
772
|
+
|
|
773
|
+
&.active {
|
|
774
|
+
background-color: @--theme-blue--;
|
|
775
|
+
color: #fff;
|
|
776
|
+
}
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
& .btn-prev,
|
|
780
|
+
& .btn-next,
|
|
781
|
+
& .el-icon-more {
|
|
782
|
+
background-color: #fff !important;
|
|
783
|
+
}
|
|
784
|
+
}
|
|
652
785
|
}
|
|
653
786
|
}
|
|
654
787
|
|
|
655
|
-
.
|
|
656
|
-
|
|
657
|
-
border: none !important;
|
|
658
|
-
}
|
|
788
|
+
.btn-pointer {
|
|
789
|
+
cursor: pointer;
|
|
659
790
|
}
|
|
660
791
|
|
|
661
792
|
.editable-table-drag-icon {
|
|
@@ -686,39 +817,4 @@
|
|
|
686
817
|
&::before {
|
|
687
818
|
bottom: -4px;
|
|
688
819
|
}
|
|
689
|
-
}
|
|
690
|
-
|
|
691
|
-
.el-dialog__header {
|
|
692
|
-
display: flex;
|
|
693
|
-
justify-content: space-between;
|
|
694
|
-
align-items: center;
|
|
695
|
-
font-size: 14px;
|
|
696
|
-
background-color: #eeeeee;
|
|
697
|
-
height: 36px;
|
|
698
|
-
line-height: 36px;
|
|
699
|
-
padding: 0 20px;
|
|
700
|
-
}
|
|
701
|
-
|
|
702
|
-
.el-dialog__headerbtn {
|
|
703
|
-
position: inherit;
|
|
704
|
-
}
|
|
705
|
-
|
|
706
|
-
.el-dialog__title {
|
|
707
|
-
font-size: 14px;
|
|
708
|
-
line-height: 20px;
|
|
709
|
-
color: #333333;
|
|
710
|
-
}
|
|
711
|
-
|
|
712
|
-
.el-dialog__footer {
|
|
713
|
-
background-color: #eeeeee;
|
|
714
|
-
height: 42px;
|
|
715
|
-
line-height: 42px;
|
|
716
|
-
padding: 0 20px;
|
|
717
|
-
|
|
718
|
-
& .el-button {
|
|
719
|
-
height: 24px;
|
|
720
|
-
// line-height: 24px;
|
|
721
|
-
font-size: 12px;
|
|
722
|
-
padding: 5px 12px;
|
|
723
|
-
}
|
|
724
|
-
}
|
|
820
|
+
}
|