@fecp/designer 5.5.49 → 5.5.51
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/form/aside/index.mjs +2 -0
- package/es/designer/src/packages/form/property/subTable.vue.mjs +78 -16
- package/es/designer.css +106 -91
- package/es/packages/vue/src/components/forms/form/Form.vue.mjs +1 -1
- package/es/packages/vue/src/components/forms/number/Number.vue.mjs +2 -2
- package/es/packages/vue/src/components/forms/roleSelect/RoleSelect.vue.mjs +2 -2
- package/es/packages/vue/src/components/forms/subTable/SubTable.vue.mjs +7 -9
- package/es/packages/vue/src/components/forms/userSelect/UserSelect.vue.mjs +2 -2
- package/es/packages/vue/src/components/table/Table.vue.mjs +72 -15
- package/lib/designer/package.json.js +1 -1
- package/lib/designer/src/packages/form/aside/index.js +2 -0
- package/lib/designer/src/packages/form/property/subTable.vue.js +78 -16
- package/lib/designer.css +106 -91
- package/lib/packages/vue/src/components/forms/form/Form.vue.js +1 -1
- package/lib/packages/vue/src/components/forms/number/Number.vue.js +2 -2
- package/lib/packages/vue/src/components/forms/roleSelect/RoleSelect.vue.js +2 -2
- package/lib/packages/vue/src/components/forms/subTable/SubTable.vue.js +7 -9
- package/lib/packages/vue/src/components/forms/userSelect/UserSelect.vue.js +2 -2
- package/lib/packages/vue/src/components/table/Table.vue.js +71 -14
- package/package.json +1 -1
|
@@ -1114,7 +1114,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
1114
1114
|
};
|
|
1115
1115
|
}
|
|
1116
1116
|
});
|
|
1117
|
-
const _Form = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
1117
|
+
const _Form = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-0a538ee8"]]);
|
|
1118
1118
|
export {
|
|
1119
1119
|
_Form as default
|
|
1120
1120
|
};
|
|
@@ -253,7 +253,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
253
253
|
true
|
|
254
254
|
);
|
|
255
255
|
} else {
|
|
256
|
-
textValue.value = Number(displayValue.toFixed(precision.value));
|
|
256
|
+
textValue.value = Number(Number(displayValue).toFixed(precision.value));
|
|
257
257
|
}
|
|
258
258
|
if (!showThousandsSeparator.value) {
|
|
259
259
|
textValue.value = delcommafy(textValue.value);
|
|
@@ -507,7 +507,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
507
507
|
};
|
|
508
508
|
}
|
|
509
509
|
});
|
|
510
|
-
const _Number = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
510
|
+
const _Number = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a8b5b9df"]]);
|
|
511
511
|
export {
|
|
512
512
|
_Number as default
|
|
513
513
|
};
|
|
@@ -72,7 +72,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
72
72
|
url: "/sysRole/findByPageV5",
|
|
73
73
|
method: "post",
|
|
74
74
|
contentType: "json",
|
|
75
|
-
params: []
|
|
75
|
+
params: dialog.dialogParams || []
|
|
76
76
|
});
|
|
77
77
|
function openSuffixDialog() {
|
|
78
78
|
openDialog(
|
|
@@ -124,7 +124,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
124
124
|
};
|
|
125
125
|
}
|
|
126
126
|
});
|
|
127
|
-
const _RoleSelect = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
127
|
+
const _RoleSelect = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3f845d75"]]);
|
|
128
128
|
export {
|
|
129
129
|
_RoleSelect as default
|
|
130
130
|
};
|
|
@@ -104,7 +104,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
104
104
|
);
|
|
105
105
|
});
|
|
106
106
|
});
|
|
107
|
-
function subTableLoaded(subOption) {
|
|
107
|
+
function subTableLoaded(subOption, tableHeight) {
|
|
108
108
|
subTableOption.value = subOption;
|
|
109
109
|
const foundItem = props.localConfig.fieldsData.find(
|
|
110
110
|
(item) => item.id == props.config.id
|
|
@@ -112,12 +112,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
112
112
|
const titleHeight = props.config.titleMode != "none" ? 60 : 0;
|
|
113
113
|
if (foundItem) {
|
|
114
114
|
foundItem.fixedH = true;
|
|
115
|
-
foundItem.h =
|
|
116
|
-
setFormItemHeight(
|
|
117
|
-
props.config.id,
|
|
118
|
-
true,
|
|
119
|
-
props.config.subTableHeight + titleHeight
|
|
120
|
-
);
|
|
115
|
+
foundItem.h = tableHeight + titleHeight;
|
|
116
|
+
setFormItemHeight(props.config.id, true, foundItem.h);
|
|
121
117
|
}
|
|
122
118
|
}
|
|
123
119
|
const tableRef = ref();
|
|
@@ -191,17 +187,19 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
191
187
|
ref: tableRef,
|
|
192
188
|
templateKey: __props.config.subTableKey,
|
|
193
189
|
isSubTable: "",
|
|
194
|
-
|
|
190
|
+
onHeightLoaded: subTableLoaded,
|
|
195
191
|
mode: __props.config.subTableMode,
|
|
196
192
|
titleMode: __props.config.titleMode,
|
|
197
193
|
hasPagination: __props.config.isSubTablePagination,
|
|
194
|
+
heightMode: __props.config.subTableHeightType,
|
|
198
195
|
height: __props.config.subTableHeight,
|
|
196
|
+
maxHeight: __props.config.subTableMaxHeight,
|
|
199
197
|
tableData: unref(subTableData),
|
|
200
198
|
initSearchData: unref(initSearchData),
|
|
201
199
|
canLoadBySearchData: __props.config.reloadOnParamsChange,
|
|
202
200
|
readonly: __props.config.isSubTableReadOnly || __props.formMode == "query",
|
|
203
201
|
btnRollbackEvent: unref(btnRollbackEvent)
|
|
204
|
-
}, null, 8, ["templateKey", "mode", "titleMode", "hasPagination", "height", "tableData", "initSearchData", "canLoadBySearchData", "readonly", "btnRollbackEvent"])
|
|
202
|
+
}, null, 8, ["templateKey", "mode", "titleMode", "hasPagination", "heightMode", "height", "maxHeight", "tableData", "initSearchData", "canLoadBySearchData", "readonly", "btnRollbackEvent"])
|
|
205
203
|
], 64);
|
|
206
204
|
};
|
|
207
205
|
}
|
|
@@ -72,7 +72,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
72
72
|
url: "/user/sysUser/findByPageV5",
|
|
73
73
|
method: "post",
|
|
74
74
|
contentType: "json",
|
|
75
|
-
params: []
|
|
75
|
+
params: dialog.dialogParams || []
|
|
76
76
|
});
|
|
77
77
|
function openSuffixDialog() {
|
|
78
78
|
openDialog(
|
|
@@ -124,7 +124,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
124
124
|
};
|
|
125
125
|
}
|
|
126
126
|
});
|
|
127
|
-
const _UserSelect = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
127
|
+
const _UserSelect = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-0cc70898"]]);
|
|
128
128
|
export {
|
|
129
129
|
_UserSelect as default
|
|
130
130
|
};
|
|
@@ -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,
|
|
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";
|
|
9
9
|
import { VxeTable } from "vxe-table";
|
|
10
10
|
import XEUtils from "xe-utils";
|
|
11
11
|
/* empty css */
|
|
@@ -92,10 +92,18 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
92
92
|
type: Boolean,
|
|
93
93
|
default: false
|
|
94
94
|
},
|
|
95
|
+
heightMode: {
|
|
96
|
+
type: String,
|
|
97
|
+
default: ""
|
|
98
|
+
},
|
|
95
99
|
height: {
|
|
96
100
|
type: Number,
|
|
97
101
|
default: null
|
|
98
102
|
},
|
|
103
|
+
maxHeight: {
|
|
104
|
+
type: Number,
|
|
105
|
+
default: null
|
|
106
|
+
},
|
|
99
107
|
readonly: {
|
|
100
108
|
type: Boolean,
|
|
101
109
|
default: false
|
|
@@ -126,6 +134,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
126
134
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
127
135
|
const props = __props;
|
|
128
136
|
const emit = __emit;
|
|
137
|
+
const fecTableContainerRef = ref(null);
|
|
129
138
|
const tableRef = ref(null);
|
|
130
139
|
const tableContainer = ref(null);
|
|
131
140
|
const currentMode = ref("");
|
|
@@ -187,13 +196,43 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
187
196
|
};
|
|
188
197
|
});
|
|
189
198
|
const autoResize = computed(() => {
|
|
190
|
-
|
|
199
|
+
if (props.isSubTable) {
|
|
200
|
+
if (props.heightMode) {
|
|
201
|
+
return props.heightMode == "auto";
|
|
202
|
+
} else {
|
|
203
|
+
return false;
|
|
204
|
+
}
|
|
205
|
+
} else {
|
|
206
|
+
return localConfig.value.heightMode == "auto";
|
|
207
|
+
}
|
|
191
208
|
});
|
|
192
209
|
const tableHeight = computed(() => {
|
|
193
|
-
if (
|
|
194
|
-
|
|
210
|
+
if (props.isSubTable) {
|
|
211
|
+
if (props.heightMode == "fixed" && props.height) {
|
|
212
|
+
return props.height;
|
|
213
|
+
} else {
|
|
214
|
+
return "";
|
|
215
|
+
}
|
|
216
|
+
} else {
|
|
217
|
+
if (localConfig.value.heightMode === "auto") {
|
|
218
|
+
return "100%";
|
|
219
|
+
}
|
|
220
|
+
return localConfig.value.height || 500;
|
|
221
|
+
}
|
|
222
|
+
});
|
|
223
|
+
const tableMaxHeight = computed(() => {
|
|
224
|
+
if (props.isSubTable) {
|
|
225
|
+
if (props.heightMode == "max" && props.maxHeight) {
|
|
226
|
+
return props.maxHeight;
|
|
227
|
+
} else {
|
|
228
|
+
return "";
|
|
229
|
+
}
|
|
230
|
+
} else {
|
|
231
|
+
if (localConfig.value.heightMode === "max") {
|
|
232
|
+
return localConfig.value.maxHeight || 500;
|
|
233
|
+
}
|
|
234
|
+
return "";
|
|
195
235
|
}
|
|
196
|
-
return localConfig.value.height || 500;
|
|
197
236
|
});
|
|
198
237
|
const summaryConfig = computed(() => {
|
|
199
238
|
return localConfig.value.summaryConfig || {
|
|
@@ -506,6 +545,23 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
506
545
|
const handleRadioChange = (checked) => {
|
|
507
546
|
emit("selection-change", [checked.row]);
|
|
508
547
|
};
|
|
548
|
+
const handleInitRendered = ({ visibleColumn, visibleData, $event }) => {
|
|
549
|
+
if ((visibleData == null ? void 0 : visibleData.length) > 0) {
|
|
550
|
+
const offsetHeight = fecTableContainerRef.value.$el.offsetHeight;
|
|
551
|
+
emit("height-loaded", localConfig.value, offsetHeight);
|
|
552
|
+
}
|
|
553
|
+
};
|
|
554
|
+
const handleDataRendered = ({
|
|
555
|
+
isReload,
|
|
556
|
+
visibleColumn,
|
|
557
|
+
visibleData,
|
|
558
|
+
$event
|
|
559
|
+
}) => {
|
|
560
|
+
if ((visibleData == null ? void 0 : visibleData.length) > 0) {
|
|
561
|
+
const offsetHeight = fecTableContainerRef.value.$el.offsetHeight;
|
|
562
|
+
emit("height-loaded", localConfig.value, offsetHeight);
|
|
563
|
+
}
|
|
564
|
+
};
|
|
509
565
|
const handleFilterSearch = (filters) => {
|
|
510
566
|
var _a, _b;
|
|
511
567
|
if (dataSourceManager.value) {
|
|
@@ -706,7 +762,6 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
706
762
|
}
|
|
707
763
|
});
|
|
708
764
|
initHandleEvent();
|
|
709
|
-
emit("loaded", localConfig.value);
|
|
710
765
|
configLoading.value = false;
|
|
711
766
|
return;
|
|
712
767
|
}
|
|
@@ -800,7 +855,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
800
855
|
"data-id": localConfig.value.templateKey,
|
|
801
856
|
"data-name": localConfig.value.templateName,
|
|
802
857
|
"data-pkId": localConfig.value.pkId,
|
|
803
|
-
"data-version": "v5"
|
|
858
|
+
"data-version": "v5",
|
|
859
|
+
ref_key: "fecTableContainerRef",
|
|
860
|
+
ref: fecTableContainerRef
|
|
804
861
|
}, {
|
|
805
862
|
default: withCtx(() => {
|
|
806
863
|
var _a, _b, _c, _d;
|
|
@@ -809,10 +866,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
809
866
|
key: 0,
|
|
810
867
|
ref_key: "tableContainer",
|
|
811
868
|
ref: tableContainer,
|
|
812
|
-
class: "fec-table-container"
|
|
813
|
-
style: normalizeStyle(
|
|
814
|
-
props.height && props.height > 0 ? { height: `${props.height}px` } : {}
|
|
815
|
-
)
|
|
869
|
+
class: "fec-table-container"
|
|
816
870
|
}, [
|
|
817
871
|
((_b = (_a = localConfig.value) == null ? void 0 : _a.queryConfig) == null ? void 0 : _b.mode) == "fixed" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
818
872
|
createVNode(TableFilter, {
|
|
@@ -850,6 +904,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
850
904
|
data: displayData.value,
|
|
851
905
|
"auto-resize": autoResize.value,
|
|
852
906
|
height: tableHeight.value,
|
|
907
|
+
maxHeight: tableMaxHeight.value,
|
|
853
908
|
"empty-text": "暂无数据",
|
|
854
909
|
"export-config": unref(exportConfig),
|
|
855
910
|
"row-config": rowConfig.value,
|
|
@@ -861,7 +916,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
861
916
|
onSortChange: handleSortChange,
|
|
862
917
|
onCheckboxChange: handleCheckboxChange,
|
|
863
918
|
onCheckboxAll: handleCheckboxAll,
|
|
864
|
-
onRadioChange: handleRadioChange
|
|
919
|
+
onRadioChange: handleRadioChange,
|
|
920
|
+
onInitRendered: handleInitRendered,
|
|
921
|
+
onDataRendered: handleDataRendered
|
|
865
922
|
}, {
|
|
866
923
|
default: withCtx(() => {
|
|
867
924
|
var _a2;
|
|
@@ -896,7 +953,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
896
953
|
];
|
|
897
954
|
}),
|
|
898
955
|
_: 3
|
|
899
|
-
}, 8, ["data", "auto-resize", "height", "export-config", "row-config", "radio-config", "checkbox-config", "sort-config", "show-footer", "footer-data"])
|
|
956
|
+
}, 8, ["data", "auto-resize", "height", "maxHeight", "export-config", "row-config", "radio-config", "checkbox-config", "sort-config", "show-footer", "footer-data"])
|
|
900
957
|
]),
|
|
901
958
|
isPagination.value && displayData.value.length > 0 ? (openBlock(), createBlock(Pagination, {
|
|
902
959
|
key: 2,
|
|
@@ -904,7 +961,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
904
961
|
pagination: displayPagination.value,
|
|
905
962
|
onChange: handlePageChange
|
|
906
963
|
}, null, 8, ["config", "pagination"])) : createCommentVNode("", true)
|
|
907
|
-
],
|
|
964
|
+
], 512)) : createCommentVNode("", true)
|
|
908
965
|
];
|
|
909
966
|
}),
|
|
910
967
|
_: 3
|
|
@@ -912,7 +969,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
912
969
|
};
|
|
913
970
|
}
|
|
914
971
|
});
|
|
915
|
-
const _Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
972
|
+
const _Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b4cfc848"]]);
|
|
916
973
|
export {
|
|
917
974
|
_Table as default
|
|
918
975
|
};
|
|
@@ -63,6 +63,12 @@ const _sfc_main = {
|
|
|
63
63
|
if (!item.btnRollback) {
|
|
64
64
|
item.btnRollback = [];
|
|
65
65
|
}
|
|
66
|
+
if (!item.subTableHeightType) {
|
|
67
|
+
item.subTableHeightType = "auto";
|
|
68
|
+
}
|
|
69
|
+
if (!item.subTableMaxHeight) {
|
|
70
|
+
item.subTableMaxHeight = 300;
|
|
71
|
+
}
|
|
66
72
|
return item;
|
|
67
73
|
});
|
|
68
74
|
const activeName = Vue.ref(["common"]);
|
|
@@ -150,7 +156,7 @@ const _sfc_main = {
|
|
|
150
156
|
return Vue.openBlock(), Vue.createBlock(_component_el_collapse, {
|
|
151
157
|
class: "setting",
|
|
152
158
|
modelValue: activeName.value,
|
|
153
|
-
"onUpdate:modelValue": _cache[
|
|
159
|
+
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => activeName.value = $event)
|
|
154
160
|
}, {
|
|
155
161
|
default: Vue.withCtx(() => [
|
|
156
162
|
Vue.createVNode(_component_el_collapse_item, {
|
|
@@ -187,19 +193,19 @@ const _sfc_main = {
|
|
|
187
193
|
}, {
|
|
188
194
|
default: Vue.withCtx(() => [
|
|
189
195
|
Vue.createVNode(_component_el_radio_button, { value: "none" }, {
|
|
190
|
-
default: Vue.withCtx(() => _cache[
|
|
196
|
+
default: Vue.withCtx(() => _cache[17] || (_cache[17] = [
|
|
191
197
|
Vue.createTextVNode("无")
|
|
192
198
|
])),
|
|
193
199
|
_: 1
|
|
194
200
|
}),
|
|
195
201
|
Vue.createVNode(_component_el_radio_button, { value: "label" }, {
|
|
196
|
-
default: Vue.withCtx(() => _cache[
|
|
202
|
+
default: Vue.withCtx(() => _cache[18] || (_cache[18] = [
|
|
197
203
|
Vue.createTextVNode("标题")
|
|
198
204
|
])),
|
|
199
205
|
_: 1
|
|
200
206
|
}),
|
|
201
207
|
Vue.createVNode(_component_el_radio_button, { value: "subLabel" }, {
|
|
202
|
-
default: Vue.withCtx(() => _cache[
|
|
208
|
+
default: Vue.withCtx(() => _cache[19] || (_cache[19] = [
|
|
203
209
|
Vue.createTextVNode("子标题")
|
|
204
210
|
])),
|
|
205
211
|
_: 1
|
|
@@ -236,13 +242,13 @@ const _sfc_main = {
|
|
|
236
242
|
}, {
|
|
237
243
|
default: Vue.withCtx(() => [
|
|
238
244
|
Vue.createVNode(_component_el_radio_button, { value: "main" }, {
|
|
239
|
-
default: Vue.withCtx(() => _cache[
|
|
245
|
+
default: Vue.withCtx(() => _cache[20] || (_cache[20] = [
|
|
240
246
|
Vue.createTextVNode("主页面获取")
|
|
241
247
|
])),
|
|
242
248
|
_: 1
|
|
243
249
|
}),
|
|
244
250
|
Vue.createVNode(_component_el_radio_button, { value: "self" }, {
|
|
245
|
-
default: Vue.withCtx(() => _cache[
|
|
251
|
+
default: Vue.withCtx(() => _cache[21] || (_cache[21] = [
|
|
246
252
|
Vue.createTextVNode("子列表自加载")
|
|
247
253
|
])),
|
|
248
254
|
_: 1
|
|
@@ -323,29 +329,85 @@ const _sfc_main = {
|
|
|
323
329
|
]),
|
|
324
330
|
_: 1
|
|
325
331
|
}),
|
|
326
|
-
Vue.createVNode(_component_el_form_item, { label: "
|
|
332
|
+
Vue.createVNode(_component_el_form_item, { label: "列表高度" }, {
|
|
333
|
+
default: Vue.withCtx(() => [
|
|
334
|
+
Vue.createVNode(_component_el_radio_group, {
|
|
335
|
+
modelValue: currentItem.value.subTableHeightType,
|
|
336
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => currentItem.value.subTableHeightType = $event),
|
|
337
|
+
size: "small"
|
|
338
|
+
}, {
|
|
339
|
+
default: Vue.withCtx(() => [
|
|
340
|
+
Vue.createVNode(_component_el_radio_button, { value: "auto" }, {
|
|
341
|
+
default: Vue.withCtx(() => _cache[22] || (_cache[22] = [
|
|
342
|
+
Vue.createTextVNode("自适应")
|
|
343
|
+
])),
|
|
344
|
+
_: 1
|
|
345
|
+
}),
|
|
346
|
+
Vue.createVNode(_component_el_radio_button, { value: "max" }, {
|
|
347
|
+
default: Vue.withCtx(() => _cache[23] || (_cache[23] = [
|
|
348
|
+
Vue.createTextVNode("最大高度")
|
|
349
|
+
])),
|
|
350
|
+
_: 1
|
|
351
|
+
}),
|
|
352
|
+
Vue.createVNode(_component_el_radio_button, { value: "fixed" }, {
|
|
353
|
+
default: Vue.withCtx(() => _cache[24] || (_cache[24] = [
|
|
354
|
+
Vue.createTextVNode("固定高度")
|
|
355
|
+
])),
|
|
356
|
+
_: 1
|
|
357
|
+
})
|
|
358
|
+
]),
|
|
359
|
+
_: 1
|
|
360
|
+
}, 8, ["modelValue"])
|
|
361
|
+
]),
|
|
362
|
+
_: 1
|
|
363
|
+
}),
|
|
364
|
+
currentItem.value.subTableHeightType == "max" ? (Vue.openBlock(), Vue.createBlock(_component_el_form_item, {
|
|
365
|
+
key: 0,
|
|
366
|
+
label: "最大高度"
|
|
367
|
+
}, {
|
|
368
|
+
default: Vue.withCtx(() => [
|
|
369
|
+
Vue.createVNode(_component_el_input_number, {
|
|
370
|
+
modelValue: currentItem.value.subTableMaxHeight,
|
|
371
|
+
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => currentItem.value.subTableMaxHeight = $event),
|
|
372
|
+
min: 100,
|
|
373
|
+
"controls-position": "right",
|
|
374
|
+
controls: false,
|
|
375
|
+
style: { "width": "100%" }
|
|
376
|
+
}, {
|
|
377
|
+
suffix: Vue.withCtx(() => _cache[25] || (_cache[25] = [
|
|
378
|
+
Vue.createTextVNode("px")
|
|
379
|
+
])),
|
|
380
|
+
_: 1
|
|
381
|
+
}, 8, ["modelValue"])
|
|
382
|
+
]),
|
|
383
|
+
_: 1
|
|
384
|
+
})) : Vue.createCommentVNode("", true),
|
|
385
|
+
currentItem.value.subTableHeightType == "fixed" ? (Vue.openBlock(), Vue.createBlock(_component_el_form_item, {
|
|
386
|
+
key: 1,
|
|
387
|
+
label: "固定高度"
|
|
388
|
+
}, {
|
|
327
389
|
default: Vue.withCtx(() => [
|
|
328
390
|
Vue.createVNode(_component_el_input_number, {
|
|
329
391
|
modelValue: currentItem.value.subTableHeight,
|
|
330
|
-
"onUpdate:modelValue": _cache[
|
|
331
|
-
min:
|
|
392
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => currentItem.value.subTableHeight = $event),
|
|
393
|
+
min: 100,
|
|
332
394
|
"controls-position": "right",
|
|
333
395
|
controls: false,
|
|
334
396
|
style: { "width": "100%" }
|
|
335
397
|
}, {
|
|
336
|
-
suffix: Vue.withCtx(() => _cache[
|
|
398
|
+
suffix: Vue.withCtx(() => _cache[26] || (_cache[26] = [
|
|
337
399
|
Vue.createTextVNode("px")
|
|
338
400
|
])),
|
|
339
401
|
_: 1
|
|
340
402
|
}, 8, ["modelValue"])
|
|
341
403
|
]),
|
|
342
404
|
_: 1
|
|
343
|
-
}),
|
|
405
|
+
})) : Vue.createCommentVNode("", true),
|
|
344
406
|
Vue.createVNode(_component_el_form_item, { label: "是否翻页" }, {
|
|
345
407
|
default: Vue.withCtx(() => [
|
|
346
408
|
Vue.createVNode(_component_el_switch, {
|
|
347
409
|
modelValue: currentItem.value.isSubTablePagination,
|
|
348
|
-
"onUpdate:modelValue": _cache[
|
|
410
|
+
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => currentItem.value.isSubTablePagination = $event)
|
|
349
411
|
}, null, 8, ["modelValue"])
|
|
350
412
|
]),
|
|
351
413
|
_: 1
|
|
@@ -354,7 +416,7 @@ const _sfc_main = {
|
|
|
354
416
|
default: Vue.withCtx(() => [
|
|
355
417
|
Vue.createVNode(_component_el_switch, {
|
|
356
418
|
modelValue: currentItem.value.isSubTableReadOnly,
|
|
357
|
-
"onUpdate:modelValue": _cache[
|
|
419
|
+
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => currentItem.value.isSubTableReadOnly = $event)
|
|
358
420
|
}, null, 8, ["modelValue"])
|
|
359
421
|
]),
|
|
360
422
|
_: 1
|
|
@@ -363,7 +425,7 @@ const _sfc_main = {
|
|
|
363
425
|
default: Vue.withCtx(() => [
|
|
364
426
|
Vue.createElementVNode("div", _hoisted_1, [
|
|
365
427
|
currentItem.value.btnRollback && currentItem.value.btnRollback.length > 0 ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_2, [
|
|
366
|
-
_cache[
|
|
428
|
+
_cache[27] || (_cache[27] = Vue.createElementVNode("div", { class: "buttons-header" }, [
|
|
367
429
|
Vue.createElementVNode("div", { class: "buttons-cell name-header" }, "按钮"),
|
|
368
430
|
Vue.createElementVNode("div", { class: "buttons-cell action-header" }, "回调事件")
|
|
369
431
|
], -1)),
|
|
@@ -432,7 +494,7 @@ const _sfc_main = {
|
|
|
432
494
|
icon: "Plus",
|
|
433
495
|
link: ""
|
|
434
496
|
}, {
|
|
435
|
-
default: Vue.withCtx(() => _cache[
|
|
497
|
+
default: Vue.withCtx(() => _cache[28] || (_cache[28] = [
|
|
436
498
|
Vue.createTextVNode(" 新增按钮 ")
|
|
437
499
|
])),
|
|
438
500
|
_: 1
|
|
@@ -458,5 +520,5 @@ const _sfc_main = {
|
|
|
458
520
|
};
|
|
459
521
|
}
|
|
460
522
|
};
|
|
461
|
-
const subTable = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
523
|
+
const subTable = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-f81c0a82"]]);
|
|
462
524
|
exports.default = subTable;
|