@lx-frontend/wrap-element-ui 1.0.15-beta.3 → 1.0.15-beta.5
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
CHANGED
|
@@ -27,22 +27,21 @@
|
|
|
27
27
|
{{ column.label }}
|
|
28
28
|
</div>
|
|
29
29
|
|
|
30
|
-
<
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
30
|
+
<div class="editable-table-sort-filter__item">
|
|
31
|
+
<BizSortFilter
|
|
32
|
+
v-if="column.isColumnSortable"
|
|
33
|
+
:column="column"
|
|
34
|
+
:temp-sort-prop="tempSortProp"
|
|
35
|
+
:temp-sort-type="tempSortType"
|
|
36
|
+
@update:sort="(type, prop) => emit('update:sort', type, prop)"
|
|
37
|
+
/>
|
|
38
|
+
</div>
|
|
37
39
|
|
|
38
|
-
<
|
|
39
|
-
v-if="column.filters"
|
|
40
|
-
class="editable-table__filter-group"
|
|
41
|
-
>
|
|
40
|
+
<template v-if="column.filters">
|
|
42
41
|
<div
|
|
43
42
|
v-for="(filterItem, index) in column.filters"
|
|
44
43
|
:key="index"
|
|
45
|
-
class="editable-table__filter-group__filter"
|
|
44
|
+
class="editable-table-sort-filter__item editable-table__filter-group__filter"
|
|
46
45
|
>
|
|
47
46
|
<component
|
|
48
47
|
:is="componentMap[filterItem.type]"
|
|
@@ -51,11 +50,11 @@
|
|
|
51
50
|
@update:tempFilteredValue="onUpdate"
|
|
52
51
|
/>
|
|
53
52
|
</div>
|
|
54
|
-
</
|
|
53
|
+
</template>
|
|
55
54
|
|
|
56
55
|
<div
|
|
57
56
|
v-if="column.summary"
|
|
58
|
-
class="editable-table-sort-filter__filter"
|
|
57
|
+
class="editable-table-sort-filter__item editable-table-sort-filter__filter"
|
|
59
58
|
>
|
|
60
59
|
<div class="editable-table-sort-filter__filter-title">
|
|
61
60
|
统计
|
|
@@ -387,9 +387,13 @@
|
|
|
387
387
|
border-bottom: 1px solid #d6dbe3;
|
|
388
388
|
}
|
|
389
389
|
|
|
390
|
+
&__item {
|
|
391
|
+
margin-top: 14px;
|
|
392
|
+
}
|
|
393
|
+
|
|
390
394
|
&__filter,
|
|
391
395
|
&__search {
|
|
392
|
-
padding: 14px;
|
|
396
|
+
padding: 0 14px;
|
|
393
397
|
|
|
394
398
|
.el-radio {
|
|
395
399
|
width: 100%;
|
|
@@ -422,7 +426,6 @@
|
|
|
422
426
|
}
|
|
423
427
|
|
|
424
428
|
&__filter {
|
|
425
|
-
padding-top: 0;
|
|
426
429
|
|
|
427
430
|
.el-radio-group,
|
|
428
431
|
.el-checkbox-group {
|
|
@@ -433,7 +436,7 @@
|
|
|
433
436
|
}
|
|
434
437
|
|
|
435
438
|
&__sort {
|
|
436
|
-
padding: 14px;
|
|
439
|
+
padding: 0 14px;
|
|
437
440
|
display: flex;
|
|
438
441
|
flex-direction: column;
|
|
439
442
|
gap: 8px;
|
|
@@ -454,22 +457,19 @@
|
|
|
454
457
|
height: 32px;
|
|
455
458
|
}
|
|
456
459
|
}
|
|
460
|
+
|
|
457
461
|
&__date-range {
|
|
458
462
|
display: flex;
|
|
459
463
|
flex-direction: column;
|
|
460
464
|
gap: 12px;
|
|
461
465
|
|
|
462
|
-
.el-date-editor.el-input,
|
|
466
|
+
.el-date-editor.el-input,
|
|
467
|
+
.el-date-editor.el-input__inner {
|
|
463
468
|
width: 100%;
|
|
464
469
|
}
|
|
465
470
|
}
|
|
466
471
|
}
|
|
467
472
|
|
|
468
|
-
&__filter-title {
|
|
469
|
-
border-top: 1px solid #f3f3f3;
|
|
470
|
-
padding-top: 14px;
|
|
471
|
-
}
|
|
472
|
-
|
|
473
473
|
&__sort-btns {
|
|
474
474
|
display: flex;
|
|
475
475
|
justify-content: space-between;
|
|
@@ -543,6 +543,7 @@
|
|
|
543
543
|
justify-content: flex-end;
|
|
544
544
|
align-items: center;
|
|
545
545
|
padding: 0 15px;
|
|
546
|
+
margin-top: 14px;
|
|
546
547
|
}
|
|
547
548
|
|
|
548
549
|
&__reset-btn,
|
|
@@ -802,4 +803,4 @@
|
|
|
802
803
|
&::before {
|
|
803
804
|
bottom: -4px;
|
|
804
805
|
}
|
|
805
|
-
}
|
|
806
|
+
}
|