@fecp/designer 5.5.51 → 5.5.53
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/es/designer/package.json.mjs +1 -1
- package/es/designer/src/packages/dialog/useDialogDialog.mjs +1 -1
- package/es/designer/src/packages/dialogGlobal/index.vue.mjs +1 -1
- package/es/designer/src/packages/dialogGlobal/useDialogGlobalDialog.mjs +1 -1
- package/es/designer/src/packages/form/property/widgets.vue.mjs +2 -2
- package/es/designer.css +33 -33
- package/es/packages/vue/src/components/forms/subTable/SubTable.vue.mjs +4 -1
- package/es/packages/vue/src/components/table/Table.vue.mjs +13 -11
- package/lib/designer/package.json.js +1 -1
- package/lib/designer/src/packages/dialog/useDialogDialog.js +1 -1
- package/lib/designer/src/packages/dialogGlobal/index.vue.js +1 -1
- package/lib/designer/src/packages/dialogGlobal/useDialogGlobalDialog.js +1 -1
- package/lib/designer/src/packages/form/property/widgets.vue.js +2 -2
- package/lib/designer.css +33 -33
- package/lib/packages/vue/src/components/forms/subTable/SubTable.vue.js +4 -1
- package/lib/packages/vue/src/components/table/Table.vue.js +12 -10
- package/package.json +1 -1
|
@@ -84,7 +84,7 @@ import widgets from "../table/property/widgets.vue.mjs";
|
|
|
84
84
|
import "../../../../node_modules/element-plus/theme-chalk/el-tab-pane.css.mjs";
|
|
85
85
|
/* empty css */
|
|
86
86
|
/* empty css */
|
|
87
|
-
/* empty css
|
|
87
|
+
/* empty css */
|
|
88
88
|
/* empty css */
|
|
89
89
|
/* empty css */
|
|
90
90
|
/* empty css */
|
|
@@ -52,8 +52,8 @@ import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
|
52
52
|
import "../../../components/TemplateSelector.vue.mjs";
|
|
53
53
|
import "../../table/default.mjs";
|
|
54
54
|
/* empty css */
|
|
55
|
-
/* empty css
|
|
56
|
-
/* empty css
|
|
55
|
+
/* empty css */
|
|
56
|
+
/* empty css */
|
|
57
57
|
import "../../../store/index.mjs";
|
|
58
58
|
/* empty css */
|
|
59
59
|
import { ElCollapse, ElCollapseItem } from "../../../../../node_modules/element-plus/es/components/collapse/index.mjs";
|
package/es/designer.css
CHANGED
|
@@ -6620,12 +6620,12 @@ body,
|
|
|
6620
6620
|
}
|
|
6621
6621
|
[data-v-e95c842d] .el-checkbox-group .el-checkbox-button__inner {
|
|
6622
6622
|
border-radius: 4px;
|
|
6623
|
-
}.fec-table[data-v-
|
|
6623
|
+
}.fec-table[data-v-b224babf] {
|
|
6624
6624
|
height: 100%;
|
|
6625
6625
|
flex-grow: 1;
|
|
6626
6626
|
padding: 0 16px;
|
|
6627
6627
|
}
|
|
6628
|
-
.fec-table-container[data-v-
|
|
6628
|
+
.fec-table-container[data-v-b224babf] {
|
|
6629
6629
|
width: 100%;
|
|
6630
6630
|
background: #fff;
|
|
6631
6631
|
box-sizing: border-box;
|
|
@@ -6635,87 +6635,87 @@ body,
|
|
|
6635
6635
|
overflow: hidden;
|
|
6636
6636
|
flex-grow: 1;
|
|
6637
6637
|
}
|
|
6638
|
-
.fec-table-container .fec-vxe-table[data-v-
|
|
6638
|
+
.fec-table-container .fec-vxe-table[data-v-b224babf] {
|
|
6639
6639
|
flex: 1;
|
|
6640
6640
|
min-height: 0;
|
|
6641
6641
|
overflow: hidden;
|
|
6642
6642
|
margin-bottom: 16px;
|
|
6643
6643
|
}
|
|
6644
|
-
.fec-table-container[data-v-
|
|
6644
|
+
.fec-table-container[data-v-b224babf] .vxe-table {
|
|
6645
6645
|
font-size: 14px;
|
|
6646
6646
|
font-family: inherit;
|
|
6647
6647
|
}
|
|
6648
|
-
.fec-table-container[data-v-
|
|
6649
|
-
.fec-table-container[data-v-
|
|
6648
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-sort--asc-btn,
|
|
6649
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-sort--desc-btn {
|
|
6650
6650
|
color: #dcdcdc;
|
|
6651
6651
|
}
|
|
6652
|
-
.fec-table-container[data-v-
|
|
6653
|
-
.fec-table-container[data-v-
|
|
6652
|
+
.fec-table-container[data-v-b224babf] .vxe-table .serverSort .vxe-sort--asc-btn,
|
|
6653
|
+
.fec-table-container[data-v-b224babf] .vxe-table .serverSort .vxe-sort--desc-btn {
|
|
6654
6654
|
color: #d3edf9;
|
|
6655
6655
|
}
|
|
6656
|
-
.fec-table-container[data-v-
|
|
6656
|
+
.fec-table-container[data-v-b224babf] .vxe-table .serverSort .sort--active {
|
|
6657
6657
|
color: var(--el-color-primary);
|
|
6658
6658
|
}
|
|
6659
|
-
.fec-table-container[data-v-
|
|
6659
|
+
.fec-table-container[data-v-b224babf] .vxe-table .sort--active {
|
|
6660
6660
|
color: var(--el-color-primary);
|
|
6661
6661
|
}
|
|
6662
|
-
.fec-table-container[data-v-
|
|
6662
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-table--body-wrapper {
|
|
6663
6663
|
overflow: auto;
|
|
6664
6664
|
}
|
|
6665
|
-
.fec-table-container[data-v-
|
|
6666
|
-
.fec-table-container[data-v-
|
|
6667
|
-
.fec-table-container[data-v-
|
|
6665
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-table--body,
|
|
6666
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-table--header,
|
|
6667
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-table--footer {
|
|
6668
6668
|
width: 100% !important;
|
|
6669
6669
|
}
|
|
6670
|
-
.fec-table-container[data-v-
|
|
6670
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-header--column {
|
|
6671
6671
|
background-color: #fff;
|
|
6672
6672
|
}
|
|
6673
|
-
.fec-table-container[data-v-
|
|
6673
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-header--column .vxe-cell {
|
|
6674
6674
|
height: 40px !important;
|
|
6675
6675
|
min-height: 40px !important;
|
|
6676
6676
|
color: #333;
|
|
6677
6677
|
}
|
|
6678
|
-
.fec-table-container[data-v-
|
|
6678
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-table--header-inner-wrapper {
|
|
6679
6679
|
height: 40px !important;
|
|
6680
6680
|
}
|
|
6681
|
-
.fec-table-container[data-v-
|
|
6681
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-body--column .vxe-cell {
|
|
6682
6682
|
padding: 6px !important;
|
|
6683
6683
|
min-height: 32px !important;
|
|
6684
6684
|
color: #666;
|
|
6685
6685
|
font-size: 13px;
|
|
6686
6686
|
}
|
|
6687
|
-
.fec-table-container[data-v-
|
|
6688
|
-
.fec-table-container[data-v-
|
|
6687
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-body--column .c--tooltip,
|
|
6688
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-body--column .c--title {
|
|
6689
6689
|
height: 32px !important;
|
|
6690
6690
|
min-height: 32px !important;
|
|
6691
6691
|
}
|
|
6692
|
-
.fec-table-container[data-v-
|
|
6692
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-table--border-line {
|
|
6693
6693
|
border: none;
|
|
6694
6694
|
border-bottom: 1px solid #ebeef5;
|
|
6695
6695
|
border-top: 1px solid #ebeef5;
|
|
6696
6696
|
}
|
|
6697
|
-
.fec-table-container[data-v-
|
|
6698
|
-
.fec-table-container[data-v-
|
|
6697
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-table--scroll-y-handle-appearance,
|
|
6698
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-table--scroll-y-wrapper:after {
|
|
6699
6699
|
border: none !important;
|
|
6700
6700
|
}
|
|
6701
|
-
.fec-table-container[data-v-
|
|
6701
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-table--scroll-y-top-corner {
|
|
6702
6702
|
display: none !important;
|
|
6703
6703
|
}
|
|
6704
|
-
.fec-table-container[data-v-
|
|
6704
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-cell--sort {
|
|
6705
6705
|
font-size: 14px;
|
|
6706
6706
|
}
|
|
6707
|
-
.fec-table-container[data-v-
|
|
6708
|
-
.fec-table-container[data-v-
|
|
6709
|
-
.fec-table-container[data-v-
|
|
6710
|
-
.fec-table-container[data-v-
|
|
6711
|
-
.fec-table-container[data-v-
|
|
6712
|
-
.fec-table-container[data-v-
|
|
6707
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-body--column,
|
|
6708
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-footer--column,
|
|
6709
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-header--column,
|
|
6710
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-body--column,
|
|
6711
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-footer--column,
|
|
6712
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-header--column {
|
|
6713
6713
|
background-image: linear-gradient(#ebeef5, #ebeef5) !important;
|
|
6714
6714
|
}
|
|
6715
|
-
.fec-table-container[data-v-
|
|
6715
|
+
.fec-table-container[data-v-b224babf] .vxe-table .el-button.is-disabled {
|
|
6716
6716
|
color: #ccc !important;
|
|
6717
6717
|
}
|
|
6718
|
-
.fec-table-sub[data-v-
|
|
6718
|
+
.fec-table-sub[data-v-b224babf] .vxe-table .vxe-table--border-line {
|
|
6719
6719
|
border-top: none;
|
|
6720
6720
|
}
|
|
6721
6721
|
.fec-layout-card[data-v-a6236024] {
|
|
@@ -36,6 +36,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
36
36
|
inject("gridLayout");
|
|
37
37
|
const setFormItemHeight = inject("setFormItemHeight");
|
|
38
38
|
const handleEvent = inject("handleEvent");
|
|
39
|
+
const heightMode = computed(() => {
|
|
40
|
+
return props.config.subTableHeightType || "auto";
|
|
41
|
+
});
|
|
39
42
|
const btnRollbackEvent = computed(() => {
|
|
40
43
|
const btnRollback = props.config.btnRollback || [];
|
|
41
44
|
const data = {};
|
|
@@ -191,7 +194,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
191
194
|
mode: __props.config.subTableMode,
|
|
192
195
|
titleMode: __props.config.titleMode,
|
|
193
196
|
hasPagination: __props.config.isSubTablePagination,
|
|
194
|
-
heightMode:
|
|
197
|
+
heightMode: unref(heightMode),
|
|
195
198
|
height: __props.config.subTableHeight,
|
|
196
199
|
maxHeight: __props.config.subTableMaxHeight,
|
|
197
200
|
tableData: unref(subTableData),
|
|
@@ -5,7 +5,7 @@ import "../../../../../node_modules/element-plus/es/index.mjs";
|
|
|
5
5
|
/* empty css */
|
|
6
6
|
/* empty css */
|
|
7
7
|
/* empty css */
|
|
8
|
-
import { ref, getCurrentInstance, computed, reactive, watch, onMounted, onUnmounted, createBlock, openBlock, normalizeClass, withCtx, createElementBlock, createCommentVNode, createElementVNode, Fragment, createVNode, unref, createSlots, renderList, renderSlot, normalizeProps, guardReactiveProps } from "vue";
|
|
8
|
+
import { ref, getCurrentInstance, computed, reactive, watch, onMounted, onUnmounted, createBlock, openBlock, normalizeClass, withCtx, createElementBlock, createCommentVNode, createElementVNode, Fragment, createVNode, unref, createSlots, renderList, renderSlot, normalizeProps, guardReactiveProps, nextTick } from "vue";
|
|
9
9
|
import { VxeTable } from "vxe-table";
|
|
10
10
|
import XEUtils from "xe-utils";
|
|
11
11
|
/* empty css */
|
|
@@ -129,7 +129,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
129
129
|
"selection-change",
|
|
130
130
|
"sort-change",
|
|
131
131
|
"page-change",
|
|
132
|
-
"loaded"
|
|
132
|
+
"loaded",
|
|
133
|
+
"height-loaded"
|
|
133
134
|
],
|
|
134
135
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
135
136
|
const props = __props;
|
|
@@ -546,10 +547,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
546
547
|
emit("selection-change", [checked.row]);
|
|
547
548
|
};
|
|
548
549
|
const handleInitRendered = ({ visibleColumn, visibleData, $event }) => {
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
emit("height-loaded", localConfig.value, offsetHeight);
|
|
552
|
-
}
|
|
550
|
+
const offsetHeight = fecTableContainerRef.value.$el.offsetHeight;
|
|
551
|
+
emit("height-loaded", localConfig.value, offsetHeight);
|
|
553
552
|
};
|
|
554
553
|
const handleDataRendered = ({
|
|
555
554
|
isReload,
|
|
@@ -557,10 +556,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
557
556
|
visibleData,
|
|
558
557
|
$event
|
|
559
558
|
}) => {
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
emit("height-loaded", localConfig.value, offsetHeight);
|
|
563
|
-
}
|
|
559
|
+
const offsetHeight = fecTableContainerRef.value.$el.offsetHeight;
|
|
560
|
+
emit("height-loaded", localConfig.value, offsetHeight);
|
|
564
561
|
};
|
|
565
562
|
const handleFilterSearch = (filters) => {
|
|
566
563
|
var _a, _b;
|
|
@@ -763,6 +760,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
763
760
|
});
|
|
764
761
|
initHandleEvent();
|
|
765
762
|
configLoading.value = false;
|
|
763
|
+
nextTick(() => {
|
|
764
|
+
var _a2;
|
|
765
|
+
const offsetHeight = ((_a2 = fecTableContainerRef.value) == null ? void 0 : _a2.$el.offsetHeight) || 300;
|
|
766
|
+
emit("height-loaded", localConfig.value, offsetHeight);
|
|
767
|
+
});
|
|
766
768
|
return;
|
|
767
769
|
}
|
|
768
770
|
configLoading.value = true;
|
|
@@ -969,7 +971,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
969
971
|
};
|
|
970
972
|
}
|
|
971
973
|
});
|
|
972
|
-
const _Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
974
|
+
const _Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b224babf"]]);
|
|
973
975
|
export {
|
|
974
976
|
_Table as default
|
|
975
977
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("./index.
|
|
3
|
+
const index = require("./index.vue2.js");
|
|
4
4
|
const Vue = require("vue");
|
|
5
5
|
function useDialogDialog() {
|
|
6
6
|
const dialogDialogVisible = Vue.ref(false);
|
|
@@ -86,7 +86,7 @@ const widgets = require("../table/property/widgets.vue.js");
|
|
|
86
86
|
require("../../../../node_modules/element-plus/theme-chalk/el-tab-pane.css.js");
|
|
87
87
|
;/* empty css */
|
|
88
88
|
;/* empty css */
|
|
89
|
-
;/* empty css
|
|
89
|
+
;/* empty css */
|
|
90
90
|
;/* empty css */
|
|
91
91
|
;/* empty css */
|
|
92
92
|
;/* empty css */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("./index.
|
|
3
|
+
const index = require("./index.vue2.js");
|
|
4
4
|
const Vue = require("vue");
|
|
5
5
|
function useDialogGlobalDialog() {
|
|
6
6
|
const dialogGlobalDialogVisible = Vue.ref(false);
|
|
@@ -54,8 +54,8 @@ const _pluginVue_exportHelper = require("../../../../../_virtual/_plugin-vue_exp
|
|
|
54
54
|
require("../../../components/TemplateSelector.vue.js");
|
|
55
55
|
require("../../table/default.js");
|
|
56
56
|
;/* empty css */
|
|
57
|
-
;/* empty css
|
|
58
|
-
;/* empty css
|
|
57
|
+
;/* empty css */
|
|
58
|
+
;/* empty css */
|
|
59
59
|
require("../../../store/index.js");
|
|
60
60
|
;/* empty css */
|
|
61
61
|
const index$2 = require("../../../../../node_modules/element-plus/es/components/collapse/index.js");
|
package/lib/designer.css
CHANGED
|
@@ -6620,12 +6620,12 @@ body,
|
|
|
6620
6620
|
}
|
|
6621
6621
|
[data-v-e95c842d] .el-checkbox-group .el-checkbox-button__inner {
|
|
6622
6622
|
border-radius: 4px;
|
|
6623
|
-
}.fec-table[data-v-
|
|
6623
|
+
}.fec-table[data-v-b224babf] {
|
|
6624
6624
|
height: 100%;
|
|
6625
6625
|
flex-grow: 1;
|
|
6626
6626
|
padding: 0 16px;
|
|
6627
6627
|
}
|
|
6628
|
-
.fec-table-container[data-v-
|
|
6628
|
+
.fec-table-container[data-v-b224babf] {
|
|
6629
6629
|
width: 100%;
|
|
6630
6630
|
background: #fff;
|
|
6631
6631
|
box-sizing: border-box;
|
|
@@ -6635,87 +6635,87 @@ body,
|
|
|
6635
6635
|
overflow: hidden;
|
|
6636
6636
|
flex-grow: 1;
|
|
6637
6637
|
}
|
|
6638
|
-
.fec-table-container .fec-vxe-table[data-v-
|
|
6638
|
+
.fec-table-container .fec-vxe-table[data-v-b224babf] {
|
|
6639
6639
|
flex: 1;
|
|
6640
6640
|
min-height: 0;
|
|
6641
6641
|
overflow: hidden;
|
|
6642
6642
|
margin-bottom: 16px;
|
|
6643
6643
|
}
|
|
6644
|
-
.fec-table-container[data-v-
|
|
6644
|
+
.fec-table-container[data-v-b224babf] .vxe-table {
|
|
6645
6645
|
font-size: 14px;
|
|
6646
6646
|
font-family: inherit;
|
|
6647
6647
|
}
|
|
6648
|
-
.fec-table-container[data-v-
|
|
6649
|
-
.fec-table-container[data-v-
|
|
6648
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-sort--asc-btn,
|
|
6649
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-sort--desc-btn {
|
|
6650
6650
|
color: #dcdcdc;
|
|
6651
6651
|
}
|
|
6652
|
-
.fec-table-container[data-v-
|
|
6653
|
-
.fec-table-container[data-v-
|
|
6652
|
+
.fec-table-container[data-v-b224babf] .vxe-table .serverSort .vxe-sort--asc-btn,
|
|
6653
|
+
.fec-table-container[data-v-b224babf] .vxe-table .serverSort .vxe-sort--desc-btn {
|
|
6654
6654
|
color: #d3edf9;
|
|
6655
6655
|
}
|
|
6656
|
-
.fec-table-container[data-v-
|
|
6656
|
+
.fec-table-container[data-v-b224babf] .vxe-table .serverSort .sort--active {
|
|
6657
6657
|
color: var(--el-color-primary);
|
|
6658
6658
|
}
|
|
6659
|
-
.fec-table-container[data-v-
|
|
6659
|
+
.fec-table-container[data-v-b224babf] .vxe-table .sort--active {
|
|
6660
6660
|
color: var(--el-color-primary);
|
|
6661
6661
|
}
|
|
6662
|
-
.fec-table-container[data-v-
|
|
6662
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-table--body-wrapper {
|
|
6663
6663
|
overflow: auto;
|
|
6664
6664
|
}
|
|
6665
|
-
.fec-table-container[data-v-
|
|
6666
|
-
.fec-table-container[data-v-
|
|
6667
|
-
.fec-table-container[data-v-
|
|
6665
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-table--body,
|
|
6666
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-table--header,
|
|
6667
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-table--footer {
|
|
6668
6668
|
width: 100% !important;
|
|
6669
6669
|
}
|
|
6670
|
-
.fec-table-container[data-v-
|
|
6670
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-header--column {
|
|
6671
6671
|
background-color: #fff;
|
|
6672
6672
|
}
|
|
6673
|
-
.fec-table-container[data-v-
|
|
6673
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-header--column .vxe-cell {
|
|
6674
6674
|
height: 40px !important;
|
|
6675
6675
|
min-height: 40px !important;
|
|
6676
6676
|
color: #333;
|
|
6677
6677
|
}
|
|
6678
|
-
.fec-table-container[data-v-
|
|
6678
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-table--header-inner-wrapper {
|
|
6679
6679
|
height: 40px !important;
|
|
6680
6680
|
}
|
|
6681
|
-
.fec-table-container[data-v-
|
|
6681
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-body--column .vxe-cell {
|
|
6682
6682
|
padding: 6px !important;
|
|
6683
6683
|
min-height: 32px !important;
|
|
6684
6684
|
color: #666;
|
|
6685
6685
|
font-size: 13px;
|
|
6686
6686
|
}
|
|
6687
|
-
.fec-table-container[data-v-
|
|
6688
|
-
.fec-table-container[data-v-
|
|
6687
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-body--column .c--tooltip,
|
|
6688
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-body--column .c--title {
|
|
6689
6689
|
height: 32px !important;
|
|
6690
6690
|
min-height: 32px !important;
|
|
6691
6691
|
}
|
|
6692
|
-
.fec-table-container[data-v-
|
|
6692
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-table--border-line {
|
|
6693
6693
|
border: none;
|
|
6694
6694
|
border-bottom: 1px solid #ebeef5;
|
|
6695
6695
|
border-top: 1px solid #ebeef5;
|
|
6696
6696
|
}
|
|
6697
|
-
.fec-table-container[data-v-
|
|
6698
|
-
.fec-table-container[data-v-
|
|
6697
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-table--scroll-y-handle-appearance,
|
|
6698
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-table--scroll-y-wrapper:after {
|
|
6699
6699
|
border: none !important;
|
|
6700
6700
|
}
|
|
6701
|
-
.fec-table-container[data-v-
|
|
6701
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-table--scroll-y-top-corner {
|
|
6702
6702
|
display: none !important;
|
|
6703
6703
|
}
|
|
6704
|
-
.fec-table-container[data-v-
|
|
6704
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-cell--sort {
|
|
6705
6705
|
font-size: 14px;
|
|
6706
6706
|
}
|
|
6707
|
-
.fec-table-container[data-v-
|
|
6708
|
-
.fec-table-container[data-v-
|
|
6709
|
-
.fec-table-container[data-v-
|
|
6710
|
-
.fec-table-container[data-v-
|
|
6711
|
-
.fec-table-container[data-v-
|
|
6712
|
-
.fec-table-container[data-v-
|
|
6707
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-body--column,
|
|
6708
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-footer--column,
|
|
6709
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-header--column,
|
|
6710
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-body--column,
|
|
6711
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-footer--column,
|
|
6712
|
+
.fec-table-container[data-v-b224babf] .vxe-table .vxe-header--column {
|
|
6713
6713
|
background-image: linear-gradient(#ebeef5, #ebeef5) !important;
|
|
6714
6714
|
}
|
|
6715
|
-
.fec-table-container[data-v-
|
|
6715
|
+
.fec-table-container[data-v-b224babf] .vxe-table .el-button.is-disabled {
|
|
6716
6716
|
color: #ccc !important;
|
|
6717
6717
|
}
|
|
6718
|
-
.fec-table-sub[data-v-
|
|
6718
|
+
.fec-table-sub[data-v-b224babf] .vxe-table .vxe-table--border-line {
|
|
6719
6719
|
border-top: none;
|
|
6720
6720
|
}
|
|
6721
6721
|
.fec-layout-card[data-v-a6236024] {
|
|
@@ -38,6 +38,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
38
38
|
Vue.inject("gridLayout");
|
|
39
39
|
const setFormItemHeight = Vue.inject("setFormItemHeight");
|
|
40
40
|
const handleEvent = Vue.inject("handleEvent");
|
|
41
|
+
const heightMode = Vue.computed(() => {
|
|
42
|
+
return props.config.subTableHeightType || "auto";
|
|
43
|
+
});
|
|
41
44
|
const btnRollbackEvent = Vue.computed(() => {
|
|
42
45
|
const btnRollback = props.config.btnRollback || [];
|
|
43
46
|
const data = {};
|
|
@@ -193,7 +196,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
193
196
|
mode: __props.config.subTableMode,
|
|
194
197
|
titleMode: __props.config.titleMode,
|
|
195
198
|
hasPagination: __props.config.isSubTablePagination,
|
|
196
|
-
heightMode:
|
|
199
|
+
heightMode: Vue.unref(heightMode),
|
|
197
200
|
height: __props.config.subTableHeight,
|
|
198
201
|
maxHeight: __props.config.subTableMaxHeight,
|
|
199
202
|
tableData: Vue.unref(subTableData),
|
|
@@ -131,7 +131,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
131
131
|
"selection-change",
|
|
132
132
|
"sort-change",
|
|
133
133
|
"page-change",
|
|
134
|
-
"loaded"
|
|
134
|
+
"loaded",
|
|
135
|
+
"height-loaded"
|
|
135
136
|
],
|
|
136
137
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
137
138
|
const props = __props;
|
|
@@ -548,10 +549,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
548
549
|
emit("selection-change", [checked.row]);
|
|
549
550
|
};
|
|
550
551
|
const handleInitRendered = ({ visibleColumn, visibleData, $event }) => {
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
emit("height-loaded", localConfig.value, offsetHeight);
|
|
554
|
-
}
|
|
552
|
+
const offsetHeight = fecTableContainerRef.value.$el.offsetHeight;
|
|
553
|
+
emit("height-loaded", localConfig.value, offsetHeight);
|
|
555
554
|
};
|
|
556
555
|
const handleDataRendered = ({
|
|
557
556
|
isReload,
|
|
@@ -559,10 +558,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
559
558
|
visibleData,
|
|
560
559
|
$event
|
|
561
560
|
}) => {
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
emit("height-loaded", localConfig.value, offsetHeight);
|
|
565
|
-
}
|
|
561
|
+
const offsetHeight = fecTableContainerRef.value.$el.offsetHeight;
|
|
562
|
+
emit("height-loaded", localConfig.value, offsetHeight);
|
|
566
563
|
};
|
|
567
564
|
const handleFilterSearch = (filters) => {
|
|
568
565
|
var _a, _b;
|
|
@@ -765,6 +762,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
765
762
|
});
|
|
766
763
|
initHandleEvent();
|
|
767
764
|
configLoading.value = false;
|
|
765
|
+
Vue.nextTick(() => {
|
|
766
|
+
var _a2;
|
|
767
|
+
const offsetHeight = ((_a2 = fecTableContainerRef.value) == null ? void 0 : _a2.$el.offsetHeight) || 300;
|
|
768
|
+
emit("height-loaded", localConfig.value, offsetHeight);
|
|
769
|
+
});
|
|
768
770
|
return;
|
|
769
771
|
}
|
|
770
772
|
configLoading.value = true;
|
|
@@ -971,5 +973,5 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
971
973
|
};
|
|
972
974
|
}
|
|
973
975
|
});
|
|
974
|
-
const _Table = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
976
|
+
const _Table = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-b224babf"]]);
|
|
975
977
|
exports.default = _Table;
|