@fecp/designer 5.5.102 → 5.5.104
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.css +35 -35
- package/es/packages/vue/src/components/forms/subTable/SubTable.vue.mjs +13 -3
- package/es/packages/vue/src/components/table/Table.vue.mjs +1 -11
- package/lib/designer/package.json.js +1 -1
- package/lib/designer.css +35 -35
- package/lib/packages/vue/src/components/forms/subTable/SubTable.vue.js +12 -2
- package/lib/packages/vue/src/components/table/Table.vue.js +1 -11
- package/package.json +1 -1
package/es/designer.css
CHANGED
|
@@ -6784,12 +6784,12 @@ body,
|
|
|
6784
6784
|
white-space: nowrap;
|
|
6785
6785
|
overflow: hidden;
|
|
6786
6786
|
text-overflow: ellipsis;
|
|
6787
|
-
}.fec-table[data-v-
|
|
6787
|
+
}.fec-table[data-v-2a67aa02] {
|
|
6788
6788
|
height: 100%;
|
|
6789
6789
|
flex-grow: 1;
|
|
6790
6790
|
padding: 0 16px;
|
|
6791
6791
|
}
|
|
6792
|
-
.fec-table-container[data-v-
|
|
6792
|
+
.fec-table-container[data-v-2a67aa02] {
|
|
6793
6793
|
width: 100%;
|
|
6794
6794
|
background: #fff;
|
|
6795
6795
|
box-sizing: border-box;
|
|
@@ -6799,91 +6799,91 @@ body,
|
|
|
6799
6799
|
overflow: hidden;
|
|
6800
6800
|
flex-grow: 1;
|
|
6801
6801
|
}
|
|
6802
|
-
.fec-table-container .fec-vxe-table[data-v-
|
|
6802
|
+
.fec-table-container .fec-vxe-table[data-v-2a67aa02] {
|
|
6803
6803
|
flex: 1;
|
|
6804
6804
|
min-height: 0;
|
|
6805
6805
|
overflow: hidden;
|
|
6806
6806
|
margin-bottom: 16px;
|
|
6807
6807
|
}
|
|
6808
|
-
.fec-table-container[data-v-
|
|
6808
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table {
|
|
6809
6809
|
font-size: 14px;
|
|
6810
6810
|
font-family: inherit;
|
|
6811
6811
|
}
|
|
6812
|
-
.fec-table-container[data-v-
|
|
6813
|
-
.fec-table-container[data-v-
|
|
6812
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-sort--asc-btn,
|
|
6813
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-sort--desc-btn {
|
|
6814
6814
|
color: #dcdcdc;
|
|
6815
6815
|
}
|
|
6816
|
-
.fec-table-container[data-v-
|
|
6817
|
-
.fec-table-container[data-v-
|
|
6816
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .serverSort .vxe-sort--asc-btn,
|
|
6817
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .serverSort .vxe-sort--desc-btn {
|
|
6818
6818
|
color: #d3edf9;
|
|
6819
6819
|
}
|
|
6820
|
-
.fec-table-container[data-v-
|
|
6820
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .serverSort .sort--active {
|
|
6821
6821
|
color: var(--el-color-primary);
|
|
6822
6822
|
}
|
|
6823
|
-
.fec-table-container[data-v-
|
|
6823
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .sort--active {
|
|
6824
6824
|
color: var(--el-color-primary);
|
|
6825
6825
|
}
|
|
6826
|
-
.fec-table-container[data-v-
|
|
6826
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-table--body-wrapper {
|
|
6827
6827
|
overflow: auto;
|
|
6828
6828
|
}
|
|
6829
|
-
.fec-table-container[data-v-
|
|
6830
|
-
.fec-table-container[data-v-
|
|
6831
|
-
.fec-table-container[data-v-
|
|
6829
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-table--body,
|
|
6830
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-table--header,
|
|
6831
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-table--footer {
|
|
6832
6832
|
width: 100% !important;
|
|
6833
6833
|
}
|
|
6834
|
-
.fec-table-container[data-v-
|
|
6834
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-header--column {
|
|
6835
6835
|
background-color: #fff;
|
|
6836
6836
|
}
|
|
6837
|
-
.fec-table-container[data-v-
|
|
6837
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-header--column .vxe-cell {
|
|
6838
6838
|
height: 40px !important;
|
|
6839
6839
|
min-height: 40px !important;
|
|
6840
6840
|
color: #333;
|
|
6841
6841
|
}
|
|
6842
|
-
.fec-table-container[data-v-
|
|
6842
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-table--header-inner-wrapper {
|
|
6843
6843
|
height: 40px !important;
|
|
6844
6844
|
}
|
|
6845
|
-
.fec-table-container[data-v-
|
|
6845
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-body--column .vxe-cell {
|
|
6846
6846
|
padding: 6px !important;
|
|
6847
6847
|
min-height: 32px !important;
|
|
6848
6848
|
color: #666;
|
|
6849
6849
|
font-size: 13px;
|
|
6850
6850
|
}
|
|
6851
|
-
.fec-table-container[data-v-
|
|
6852
|
-
.fec-table-container[data-v-
|
|
6851
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-body--column .c--tooltip,
|
|
6852
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-body--column .c--title {
|
|
6853
6853
|
height: 32px !important;
|
|
6854
6854
|
min-height: 32px !important;
|
|
6855
6855
|
}
|
|
6856
|
-
.fec-table-container[data-v-
|
|
6856
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-table--border-line {
|
|
6857
6857
|
border: none;
|
|
6858
6858
|
border-bottom: 1px solid #ebeef5;
|
|
6859
6859
|
border-top: 1px solid #ebeef5;
|
|
6860
6860
|
}
|
|
6861
|
-
.fec-table-container[data-v-
|
|
6862
|
-
.fec-table-container[data-v-
|
|
6861
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-table--scroll-y-handle-appearance,
|
|
6862
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-table--scroll-y-wrapper:after {
|
|
6863
6863
|
border: none !important;
|
|
6864
6864
|
}
|
|
6865
|
-
.fec-table-container[data-v-
|
|
6865
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-table--scroll-y-top-corner {
|
|
6866
6866
|
display: none !important;
|
|
6867
6867
|
}
|
|
6868
|
-
.fec-table-container[data-v-
|
|
6868
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-cell--sort {
|
|
6869
6869
|
font-size: 14px;
|
|
6870
6870
|
}
|
|
6871
|
-
.fec-table-container[data-v-
|
|
6872
|
-
.fec-table-container[data-v-
|
|
6873
|
-
.fec-table-container[data-v-
|
|
6874
|
-
.fec-table-container[data-v-
|
|
6875
|
-
.fec-table-container[data-v-
|
|
6876
|
-
.fec-table-container[data-v-
|
|
6871
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-body--column,
|
|
6872
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-footer--column,
|
|
6873
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-header--column,
|
|
6874
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-body--column,
|
|
6875
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-footer--column,
|
|
6876
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-header--column {
|
|
6877
6877
|
background-image: linear-gradient(#ebeef5, #ebeef5) !important;
|
|
6878
6878
|
}
|
|
6879
|
-
.fec-table-container[data-v-
|
|
6879
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .el-button.is-disabled {
|
|
6880
6880
|
color: #ccc !important;
|
|
6881
6881
|
}
|
|
6882
|
-
.fec-table-container[data-v-
|
|
6883
|
-
.fec-table-container[data-v-
|
|
6882
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-table--scroll-x-handle-appearance,
|
|
6883
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-table--scroll-x-right-corner {
|
|
6884
6884
|
display: none !important;
|
|
6885
6885
|
}
|
|
6886
|
-
.fec-table-sub[data-v-
|
|
6886
|
+
.fec-table-sub[data-v-2a67aa02] .vxe-table .vxe-table--border-line {
|
|
6887
6887
|
border-top: none;
|
|
6888
6888
|
}
|
|
6889
6889
|
.fec-layout-card[data-v-a6236024] {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../../../../node_modules/element-plus/es/index.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
|
-
import { inject, ref, computed, resolveComponent, createElementBlock, openBlock, Fragment, createCommentVNode, createVNode, createBlock, unref, createSlots, withCtx, renderList, createTextVNode, toDisplayString } from "vue";
|
|
4
|
+
import { inject, ref, watch, computed, resolveComponent, createElementBlock, openBlock, Fragment, createCommentVNode, createVNode, createBlock, unref, createSlots, withCtx, renderList, createTextVNode, toDisplayString } from "vue";
|
|
5
5
|
import { SubTitle } from "../subTitle/index.mjs";
|
|
6
6
|
import { H2 } from "../h2/index.mjs";
|
|
7
7
|
import { parseRouteParams } from "../../../utils/parseRouteParams.mjs";
|
|
@@ -32,11 +32,21 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
32
32
|
setup(__props, { expose: __expose }) {
|
|
33
33
|
const props = __props;
|
|
34
34
|
const getFormData = inject("getFormData");
|
|
35
|
+
const formDataOri = inject("formData");
|
|
35
36
|
const formData = ref(getFormData());
|
|
36
37
|
inject("rowHeight");
|
|
37
38
|
inject("gridLayout");
|
|
38
39
|
const setFormItemHeight = inject("setFormItemHeight");
|
|
39
40
|
const handleEvent = inject("handleEvent");
|
|
41
|
+
watch(
|
|
42
|
+
formDataOri,
|
|
43
|
+
(val) => {
|
|
44
|
+
formData.value = getFormData();
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
deep: true
|
|
48
|
+
}
|
|
49
|
+
);
|
|
40
50
|
const heightMode = computed(() => {
|
|
41
51
|
return props.config.subTableHeightType || "auto";
|
|
42
52
|
});
|
|
@@ -199,12 +209,12 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
199
209
|
height: __props.config.subTableHeight,
|
|
200
210
|
maxHeight: __props.config.subTableMaxHeight,
|
|
201
211
|
tableData: unref(subTableData),
|
|
202
|
-
|
|
212
|
+
initSearchData: unref(initHiddenData),
|
|
203
213
|
canLoadBySearchData: __props.config.reloadOnParamsChange,
|
|
204
214
|
readonly: __props.config.isSubTableReadOnly || __props.formMode == "query",
|
|
205
215
|
btnRollbackEvent: unref(btnRollbackEvent),
|
|
206
216
|
subTableConfig: __props.config
|
|
207
|
-
}, null, 8, ["templateKey", "mode", "titleMode", "hasPagination", "heightMode", "height", "maxHeight", "tableData", "
|
|
217
|
+
}, null, 8, ["templateKey", "mode", "titleMode", "hasPagination", "heightMode", "height", "maxHeight", "tableData", "initSearchData", "canLoadBySearchData", "readonly", "btnRollbackEvent", "subTableConfig"])
|
|
208
218
|
], 64);
|
|
209
219
|
};
|
|
210
220
|
}
|
|
@@ -846,16 +846,6 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
846
846
|
},
|
|
847
847
|
{ deep: true }
|
|
848
848
|
);
|
|
849
|
-
watch(
|
|
850
|
-
() => props.initHiddenData,
|
|
851
|
-
(newVal, oldVal) => {
|
|
852
|
-
if (props.canLoadBySearchData && dataSourceManager.value && !isEqual(newVal, oldVal)) {
|
|
853
|
-
dataSourceManager.value.updateInitSearchData(newVal);
|
|
854
|
-
refresh();
|
|
855
|
-
}
|
|
856
|
-
},
|
|
857
|
-
{ deep: true }
|
|
858
|
-
);
|
|
859
849
|
onUnmounted(() => {
|
|
860
850
|
if (dataSourceManager.value) {
|
|
861
851
|
dataSourceManager.value.destroy();
|
|
@@ -998,7 +988,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
998
988
|
};
|
|
999
989
|
}
|
|
1000
990
|
});
|
|
1001
|
-
const _Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
991
|
+
const _Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2a67aa02"]]);
|
|
1002
992
|
export {
|
|
1003
993
|
_Table as default
|
|
1004
994
|
};
|
package/lib/designer.css
CHANGED
|
@@ -6784,12 +6784,12 @@ body,
|
|
|
6784
6784
|
white-space: nowrap;
|
|
6785
6785
|
overflow: hidden;
|
|
6786
6786
|
text-overflow: ellipsis;
|
|
6787
|
-
}.fec-table[data-v-
|
|
6787
|
+
}.fec-table[data-v-2a67aa02] {
|
|
6788
6788
|
height: 100%;
|
|
6789
6789
|
flex-grow: 1;
|
|
6790
6790
|
padding: 0 16px;
|
|
6791
6791
|
}
|
|
6792
|
-
.fec-table-container[data-v-
|
|
6792
|
+
.fec-table-container[data-v-2a67aa02] {
|
|
6793
6793
|
width: 100%;
|
|
6794
6794
|
background: #fff;
|
|
6795
6795
|
box-sizing: border-box;
|
|
@@ -6799,91 +6799,91 @@ body,
|
|
|
6799
6799
|
overflow: hidden;
|
|
6800
6800
|
flex-grow: 1;
|
|
6801
6801
|
}
|
|
6802
|
-
.fec-table-container .fec-vxe-table[data-v-
|
|
6802
|
+
.fec-table-container .fec-vxe-table[data-v-2a67aa02] {
|
|
6803
6803
|
flex: 1;
|
|
6804
6804
|
min-height: 0;
|
|
6805
6805
|
overflow: hidden;
|
|
6806
6806
|
margin-bottom: 16px;
|
|
6807
6807
|
}
|
|
6808
|
-
.fec-table-container[data-v-
|
|
6808
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table {
|
|
6809
6809
|
font-size: 14px;
|
|
6810
6810
|
font-family: inherit;
|
|
6811
6811
|
}
|
|
6812
|
-
.fec-table-container[data-v-
|
|
6813
|
-
.fec-table-container[data-v-
|
|
6812
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-sort--asc-btn,
|
|
6813
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-sort--desc-btn {
|
|
6814
6814
|
color: #dcdcdc;
|
|
6815
6815
|
}
|
|
6816
|
-
.fec-table-container[data-v-
|
|
6817
|
-
.fec-table-container[data-v-
|
|
6816
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .serverSort .vxe-sort--asc-btn,
|
|
6817
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .serverSort .vxe-sort--desc-btn {
|
|
6818
6818
|
color: #d3edf9;
|
|
6819
6819
|
}
|
|
6820
|
-
.fec-table-container[data-v-
|
|
6820
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .serverSort .sort--active {
|
|
6821
6821
|
color: var(--el-color-primary);
|
|
6822
6822
|
}
|
|
6823
|
-
.fec-table-container[data-v-
|
|
6823
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .sort--active {
|
|
6824
6824
|
color: var(--el-color-primary);
|
|
6825
6825
|
}
|
|
6826
|
-
.fec-table-container[data-v-
|
|
6826
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-table--body-wrapper {
|
|
6827
6827
|
overflow: auto;
|
|
6828
6828
|
}
|
|
6829
|
-
.fec-table-container[data-v-
|
|
6830
|
-
.fec-table-container[data-v-
|
|
6831
|
-
.fec-table-container[data-v-
|
|
6829
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-table--body,
|
|
6830
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-table--header,
|
|
6831
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-table--footer {
|
|
6832
6832
|
width: 100% !important;
|
|
6833
6833
|
}
|
|
6834
|
-
.fec-table-container[data-v-
|
|
6834
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-header--column {
|
|
6835
6835
|
background-color: #fff;
|
|
6836
6836
|
}
|
|
6837
|
-
.fec-table-container[data-v-
|
|
6837
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-header--column .vxe-cell {
|
|
6838
6838
|
height: 40px !important;
|
|
6839
6839
|
min-height: 40px !important;
|
|
6840
6840
|
color: #333;
|
|
6841
6841
|
}
|
|
6842
|
-
.fec-table-container[data-v-
|
|
6842
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-table--header-inner-wrapper {
|
|
6843
6843
|
height: 40px !important;
|
|
6844
6844
|
}
|
|
6845
|
-
.fec-table-container[data-v-
|
|
6845
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-body--column .vxe-cell {
|
|
6846
6846
|
padding: 6px !important;
|
|
6847
6847
|
min-height: 32px !important;
|
|
6848
6848
|
color: #666;
|
|
6849
6849
|
font-size: 13px;
|
|
6850
6850
|
}
|
|
6851
|
-
.fec-table-container[data-v-
|
|
6852
|
-
.fec-table-container[data-v-
|
|
6851
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-body--column .c--tooltip,
|
|
6852
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-body--column .c--title {
|
|
6853
6853
|
height: 32px !important;
|
|
6854
6854
|
min-height: 32px !important;
|
|
6855
6855
|
}
|
|
6856
|
-
.fec-table-container[data-v-
|
|
6856
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-table--border-line {
|
|
6857
6857
|
border: none;
|
|
6858
6858
|
border-bottom: 1px solid #ebeef5;
|
|
6859
6859
|
border-top: 1px solid #ebeef5;
|
|
6860
6860
|
}
|
|
6861
|
-
.fec-table-container[data-v-
|
|
6862
|
-
.fec-table-container[data-v-
|
|
6861
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-table--scroll-y-handle-appearance,
|
|
6862
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-table--scroll-y-wrapper:after {
|
|
6863
6863
|
border: none !important;
|
|
6864
6864
|
}
|
|
6865
|
-
.fec-table-container[data-v-
|
|
6865
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-table--scroll-y-top-corner {
|
|
6866
6866
|
display: none !important;
|
|
6867
6867
|
}
|
|
6868
|
-
.fec-table-container[data-v-
|
|
6868
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-cell--sort {
|
|
6869
6869
|
font-size: 14px;
|
|
6870
6870
|
}
|
|
6871
|
-
.fec-table-container[data-v-
|
|
6872
|
-
.fec-table-container[data-v-
|
|
6873
|
-
.fec-table-container[data-v-
|
|
6874
|
-
.fec-table-container[data-v-
|
|
6875
|
-
.fec-table-container[data-v-
|
|
6876
|
-
.fec-table-container[data-v-
|
|
6871
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-body--column,
|
|
6872
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-footer--column,
|
|
6873
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-header--column,
|
|
6874
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-body--column,
|
|
6875
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-footer--column,
|
|
6876
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-header--column {
|
|
6877
6877
|
background-image: linear-gradient(#ebeef5, #ebeef5) !important;
|
|
6878
6878
|
}
|
|
6879
|
-
.fec-table-container[data-v-
|
|
6879
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .el-button.is-disabled {
|
|
6880
6880
|
color: #ccc !important;
|
|
6881
6881
|
}
|
|
6882
|
-
.fec-table-container[data-v-
|
|
6883
|
-
.fec-table-container[data-v-
|
|
6882
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-table--scroll-x-handle-appearance,
|
|
6883
|
+
.fec-table-container[data-v-2a67aa02] .vxe-table .vxe-table--scroll-x-right-corner {
|
|
6884
6884
|
display: none !important;
|
|
6885
6885
|
}
|
|
6886
|
-
.fec-table-sub[data-v-
|
|
6886
|
+
.fec-table-sub[data-v-2a67aa02] .vxe-table .vxe-table--border-line {
|
|
6887
6887
|
border-top: none;
|
|
6888
6888
|
}
|
|
6889
6889
|
.fec-layout-card[data-v-a6236024] {
|
|
@@ -34,11 +34,21 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
34
34
|
setup(__props, { expose: __expose }) {
|
|
35
35
|
const props = __props;
|
|
36
36
|
const getFormData = Vue.inject("getFormData");
|
|
37
|
+
const formDataOri = Vue.inject("formData");
|
|
37
38
|
const formData = Vue.ref(getFormData());
|
|
38
39
|
Vue.inject("rowHeight");
|
|
39
40
|
Vue.inject("gridLayout");
|
|
40
41
|
const setFormItemHeight = Vue.inject("setFormItemHeight");
|
|
41
42
|
const handleEvent = Vue.inject("handleEvent");
|
|
43
|
+
Vue.watch(
|
|
44
|
+
formDataOri,
|
|
45
|
+
(val) => {
|
|
46
|
+
formData.value = getFormData();
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
deep: true
|
|
50
|
+
}
|
|
51
|
+
);
|
|
42
52
|
const heightMode = Vue.computed(() => {
|
|
43
53
|
return props.config.subTableHeightType || "auto";
|
|
44
54
|
});
|
|
@@ -201,12 +211,12 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
201
211
|
height: __props.config.subTableHeight,
|
|
202
212
|
maxHeight: __props.config.subTableMaxHeight,
|
|
203
213
|
tableData: Vue.unref(subTableData),
|
|
204
|
-
|
|
214
|
+
initSearchData: Vue.unref(initHiddenData),
|
|
205
215
|
canLoadBySearchData: __props.config.reloadOnParamsChange,
|
|
206
216
|
readonly: __props.config.isSubTableReadOnly || __props.formMode == "query",
|
|
207
217
|
btnRollbackEvent: Vue.unref(btnRollbackEvent),
|
|
208
218
|
subTableConfig: __props.config
|
|
209
|
-
}, null, 8, ["templateKey", "mode", "titleMode", "hasPagination", "heightMode", "height", "maxHeight", "tableData", "
|
|
219
|
+
}, null, 8, ["templateKey", "mode", "titleMode", "hasPagination", "heightMode", "height", "maxHeight", "tableData", "initSearchData", "canLoadBySearchData", "readonly", "btnRollbackEvent", "subTableConfig"])
|
|
210
220
|
], 64);
|
|
211
221
|
};
|
|
212
222
|
}
|
|
@@ -848,16 +848,6 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
848
848
|
},
|
|
849
849
|
{ deep: true }
|
|
850
850
|
);
|
|
851
|
-
Vue.watch(
|
|
852
|
-
() => props.initHiddenData,
|
|
853
|
-
(newVal, oldVal) => {
|
|
854
|
-
if (props.canLoadBySearchData && dataSourceManager.value && !common.isEqual(newVal, oldVal)) {
|
|
855
|
-
dataSourceManager.value.updateInitSearchData(newVal);
|
|
856
|
-
refresh();
|
|
857
|
-
}
|
|
858
|
-
},
|
|
859
|
-
{ deep: true }
|
|
860
|
-
);
|
|
861
851
|
Vue.onUnmounted(() => {
|
|
862
852
|
if (dataSourceManager.value) {
|
|
863
853
|
dataSourceManager.value.destroy();
|
|
@@ -1000,5 +990,5 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
1000
990
|
};
|
|
1001
991
|
}
|
|
1002
992
|
});
|
|
1003
|
-
const _Table = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
993
|
+
const _Table = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-2a67aa02"]]);
|
|
1004
994
|
exports.default = _Table;
|