@fecp/designer 5.5.50 → 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/dialogGlobal/index.vue.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 +48 -48
- package/es/packages/vue/src/components/forms/subTable/SubTable.vue.mjs +10 -9
- package/es/packages/vue/src/components/table/Table.vue.mjs +75 -16
- package/lib/designer/package.json.js +1 -1
- package/lib/designer/src/packages/dialogGlobal/index.vue.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 +48 -48
- package/lib/packages/vue/src/components/forms/subTable/SubTable.vue.js +10 -9
- package/lib/packages/vue/src/components/table/Table.vue.js +74 -15
- 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 */
|
|
@@ -61,6 +61,12 @@ const _sfc_main = {
|
|
|
61
61
|
if (!item.btnRollback) {
|
|
62
62
|
item.btnRollback = [];
|
|
63
63
|
}
|
|
64
|
+
if (!item.subTableHeightType) {
|
|
65
|
+
item.subTableHeightType = "auto";
|
|
66
|
+
}
|
|
67
|
+
if (!item.subTableMaxHeight) {
|
|
68
|
+
item.subTableMaxHeight = 300;
|
|
69
|
+
}
|
|
64
70
|
return item;
|
|
65
71
|
});
|
|
66
72
|
const activeName = ref(["common"]);
|
|
@@ -148,7 +154,7 @@ const _sfc_main = {
|
|
|
148
154
|
return openBlock(), createBlock(_component_el_collapse, {
|
|
149
155
|
class: "setting",
|
|
150
156
|
modelValue: activeName.value,
|
|
151
|
-
"onUpdate:modelValue": _cache[
|
|
157
|
+
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => activeName.value = $event)
|
|
152
158
|
}, {
|
|
153
159
|
default: withCtx(() => [
|
|
154
160
|
createVNode(_component_el_collapse_item, {
|
|
@@ -185,19 +191,19 @@ const _sfc_main = {
|
|
|
185
191
|
}, {
|
|
186
192
|
default: withCtx(() => [
|
|
187
193
|
createVNode(_component_el_radio_button, { value: "none" }, {
|
|
188
|
-
default: withCtx(() => _cache[
|
|
194
|
+
default: withCtx(() => _cache[17] || (_cache[17] = [
|
|
189
195
|
createTextVNode("无")
|
|
190
196
|
])),
|
|
191
197
|
_: 1
|
|
192
198
|
}),
|
|
193
199
|
createVNode(_component_el_radio_button, { value: "label" }, {
|
|
194
|
-
default: withCtx(() => _cache[
|
|
200
|
+
default: withCtx(() => _cache[18] || (_cache[18] = [
|
|
195
201
|
createTextVNode("标题")
|
|
196
202
|
])),
|
|
197
203
|
_: 1
|
|
198
204
|
}),
|
|
199
205
|
createVNode(_component_el_radio_button, { value: "subLabel" }, {
|
|
200
|
-
default: withCtx(() => _cache[
|
|
206
|
+
default: withCtx(() => _cache[19] || (_cache[19] = [
|
|
201
207
|
createTextVNode("子标题")
|
|
202
208
|
])),
|
|
203
209
|
_: 1
|
|
@@ -234,13 +240,13 @@ const _sfc_main = {
|
|
|
234
240
|
}, {
|
|
235
241
|
default: withCtx(() => [
|
|
236
242
|
createVNode(_component_el_radio_button, { value: "main" }, {
|
|
237
|
-
default: withCtx(() => _cache[
|
|
243
|
+
default: withCtx(() => _cache[20] || (_cache[20] = [
|
|
238
244
|
createTextVNode("主页面获取")
|
|
239
245
|
])),
|
|
240
246
|
_: 1
|
|
241
247
|
}),
|
|
242
248
|
createVNode(_component_el_radio_button, { value: "self" }, {
|
|
243
|
-
default: withCtx(() => _cache[
|
|
249
|
+
default: withCtx(() => _cache[21] || (_cache[21] = [
|
|
244
250
|
createTextVNode("子列表自加载")
|
|
245
251
|
])),
|
|
246
252
|
_: 1
|
|
@@ -321,29 +327,85 @@ const _sfc_main = {
|
|
|
321
327
|
]),
|
|
322
328
|
_: 1
|
|
323
329
|
}),
|
|
324
|
-
createVNode(_component_el_form_item, { label: "
|
|
330
|
+
createVNode(_component_el_form_item, { label: "列表高度" }, {
|
|
331
|
+
default: withCtx(() => [
|
|
332
|
+
createVNode(_component_el_radio_group, {
|
|
333
|
+
modelValue: currentItem.value.subTableHeightType,
|
|
334
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => currentItem.value.subTableHeightType = $event),
|
|
335
|
+
size: "small"
|
|
336
|
+
}, {
|
|
337
|
+
default: withCtx(() => [
|
|
338
|
+
createVNode(_component_el_radio_button, { value: "auto" }, {
|
|
339
|
+
default: withCtx(() => _cache[22] || (_cache[22] = [
|
|
340
|
+
createTextVNode("自适应")
|
|
341
|
+
])),
|
|
342
|
+
_: 1
|
|
343
|
+
}),
|
|
344
|
+
createVNode(_component_el_radio_button, { value: "max" }, {
|
|
345
|
+
default: withCtx(() => _cache[23] || (_cache[23] = [
|
|
346
|
+
createTextVNode("最大高度")
|
|
347
|
+
])),
|
|
348
|
+
_: 1
|
|
349
|
+
}),
|
|
350
|
+
createVNode(_component_el_radio_button, { value: "fixed" }, {
|
|
351
|
+
default: withCtx(() => _cache[24] || (_cache[24] = [
|
|
352
|
+
createTextVNode("固定高度")
|
|
353
|
+
])),
|
|
354
|
+
_: 1
|
|
355
|
+
})
|
|
356
|
+
]),
|
|
357
|
+
_: 1
|
|
358
|
+
}, 8, ["modelValue"])
|
|
359
|
+
]),
|
|
360
|
+
_: 1
|
|
361
|
+
}),
|
|
362
|
+
currentItem.value.subTableHeightType == "max" ? (openBlock(), createBlock(_component_el_form_item, {
|
|
363
|
+
key: 0,
|
|
364
|
+
label: "最大高度"
|
|
365
|
+
}, {
|
|
366
|
+
default: withCtx(() => [
|
|
367
|
+
createVNode(_component_el_input_number, {
|
|
368
|
+
modelValue: currentItem.value.subTableMaxHeight,
|
|
369
|
+
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => currentItem.value.subTableMaxHeight = $event),
|
|
370
|
+
min: 100,
|
|
371
|
+
"controls-position": "right",
|
|
372
|
+
controls: false,
|
|
373
|
+
style: { "width": "100%" }
|
|
374
|
+
}, {
|
|
375
|
+
suffix: withCtx(() => _cache[25] || (_cache[25] = [
|
|
376
|
+
createTextVNode("px")
|
|
377
|
+
])),
|
|
378
|
+
_: 1
|
|
379
|
+
}, 8, ["modelValue"])
|
|
380
|
+
]),
|
|
381
|
+
_: 1
|
|
382
|
+
})) : createCommentVNode("", true),
|
|
383
|
+
currentItem.value.subTableHeightType == "fixed" ? (openBlock(), createBlock(_component_el_form_item, {
|
|
384
|
+
key: 1,
|
|
385
|
+
label: "固定高度"
|
|
386
|
+
}, {
|
|
325
387
|
default: withCtx(() => [
|
|
326
388
|
createVNode(_component_el_input_number, {
|
|
327
389
|
modelValue: currentItem.value.subTableHeight,
|
|
328
|
-
"onUpdate:modelValue": _cache[
|
|
329
|
-
min:
|
|
390
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => currentItem.value.subTableHeight = $event),
|
|
391
|
+
min: 100,
|
|
330
392
|
"controls-position": "right",
|
|
331
393
|
controls: false,
|
|
332
394
|
style: { "width": "100%" }
|
|
333
395
|
}, {
|
|
334
|
-
suffix: withCtx(() => _cache[
|
|
396
|
+
suffix: withCtx(() => _cache[26] || (_cache[26] = [
|
|
335
397
|
createTextVNode("px")
|
|
336
398
|
])),
|
|
337
399
|
_: 1
|
|
338
400
|
}, 8, ["modelValue"])
|
|
339
401
|
]),
|
|
340
402
|
_: 1
|
|
341
|
-
}),
|
|
403
|
+
})) : createCommentVNode("", true),
|
|
342
404
|
createVNode(_component_el_form_item, { label: "是否翻页" }, {
|
|
343
405
|
default: withCtx(() => [
|
|
344
406
|
createVNode(_component_el_switch, {
|
|
345
407
|
modelValue: currentItem.value.isSubTablePagination,
|
|
346
|
-
"onUpdate:modelValue": _cache[
|
|
408
|
+
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => currentItem.value.isSubTablePagination = $event)
|
|
347
409
|
}, null, 8, ["modelValue"])
|
|
348
410
|
]),
|
|
349
411
|
_: 1
|
|
@@ -352,7 +414,7 @@ const _sfc_main = {
|
|
|
352
414
|
default: withCtx(() => [
|
|
353
415
|
createVNode(_component_el_switch, {
|
|
354
416
|
modelValue: currentItem.value.isSubTableReadOnly,
|
|
355
|
-
"onUpdate:modelValue": _cache[
|
|
417
|
+
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => currentItem.value.isSubTableReadOnly = $event)
|
|
356
418
|
}, null, 8, ["modelValue"])
|
|
357
419
|
]),
|
|
358
420
|
_: 1
|
|
@@ -361,7 +423,7 @@ const _sfc_main = {
|
|
|
361
423
|
default: withCtx(() => [
|
|
362
424
|
createElementVNode("div", _hoisted_1, [
|
|
363
425
|
currentItem.value.btnRollback && currentItem.value.btnRollback.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
364
|
-
_cache[
|
|
426
|
+
_cache[27] || (_cache[27] = createElementVNode("div", { class: "buttons-header" }, [
|
|
365
427
|
createElementVNode("div", { class: "buttons-cell name-header" }, "按钮"),
|
|
366
428
|
createElementVNode("div", { class: "buttons-cell action-header" }, "回调事件")
|
|
367
429
|
], -1)),
|
|
@@ -430,7 +492,7 @@ const _sfc_main = {
|
|
|
430
492
|
icon: "Plus",
|
|
431
493
|
link: ""
|
|
432
494
|
}, {
|
|
433
|
-
default: withCtx(() => _cache[
|
|
495
|
+
default: withCtx(() => _cache[28] || (_cache[28] = [
|
|
434
496
|
createTextVNode(" 新增按钮 ")
|
|
435
497
|
])),
|
|
436
498
|
_: 1
|
|
@@ -456,7 +518,7 @@ const _sfc_main = {
|
|
|
456
518
|
};
|
|
457
519
|
}
|
|
458
520
|
};
|
|
459
|
-
const subTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
521
|
+
const subTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f81c0a82"]]);
|
|
460
522
|
export {
|
|
461
523
|
subTable as default
|
|
462
524
|
};
|
package/es/designer.css
CHANGED
|
@@ -3307,19 +3307,19 @@ to {
|
|
|
3307
3307
|
[data-v-d42788bd] .el-form-item__content {
|
|
3308
3308
|
flex-wrap: wrap !important;
|
|
3309
3309
|
}
|
|
3310
|
-
.buttons-table[data-v-
|
|
3310
|
+
.buttons-table[data-v-f81c0a82] {
|
|
3311
3311
|
width: 100%;
|
|
3312
3312
|
border: 1px solid #dcdfe6;
|
|
3313
3313
|
border-radius: 4px;
|
|
3314
3314
|
overflow: hidden;
|
|
3315
3315
|
}
|
|
3316
|
-
.buttons-header[data-v-
|
|
3316
|
+
.buttons-header[data-v-f81c0a82] {
|
|
3317
3317
|
display: flex;
|
|
3318
3318
|
background-color: #f5f7fa;
|
|
3319
3319
|
height: 26px;
|
|
3320
3320
|
line-height: 26px;
|
|
3321
3321
|
}
|
|
3322
|
-
.buttons-cell[data-v-
|
|
3322
|
+
.buttons-cell[data-v-f81c0a82] {
|
|
3323
3323
|
padding: 0px 12px;
|
|
3324
3324
|
font-weight: 500;
|
|
3325
3325
|
font-size: 13px;
|
|
@@ -3328,27 +3328,27 @@ to {
|
|
|
3328
3328
|
display: flex;
|
|
3329
3329
|
align-items: center;
|
|
3330
3330
|
}
|
|
3331
|
-
.buttons-cell[data-v-
|
|
3331
|
+
.buttons-cell[data-v-f81c0a82]:last-child {
|
|
3332
3332
|
border-right: none;
|
|
3333
3333
|
}
|
|
3334
|
-
.name-header[data-v-
|
|
3334
|
+
.name-header[data-v-f81c0a82] {
|
|
3335
3335
|
flex: 1;
|
|
3336
3336
|
min-width: 100px;
|
|
3337
3337
|
font-size: 12px;
|
|
3338
3338
|
}
|
|
3339
|
-
.action-header[data-v-
|
|
3339
|
+
.action-header[data-v-f81c0a82] {
|
|
3340
3340
|
width: 180px;
|
|
3341
3341
|
text-align: center;
|
|
3342
3342
|
}
|
|
3343
|
-
.buttons-row[data-v-
|
|
3343
|
+
.buttons-row[data-v-f81c0a82] {
|
|
3344
3344
|
display: flex;
|
|
3345
3345
|
border-top: 1px solid #ebeef5;
|
|
3346
3346
|
}
|
|
3347
|
-
.name-cell[data-v-
|
|
3347
|
+
.name-cell[data-v-f81c0a82] {
|
|
3348
3348
|
flex: 1;
|
|
3349
3349
|
min-width: 100px;
|
|
3350
3350
|
}
|
|
3351
|
-
.action-cell[data-v-
|
|
3351
|
+
.action-cell[data-v-f81c0a82] {
|
|
3352
3352
|
width: 180px;
|
|
3353
3353
|
display: flex;
|
|
3354
3354
|
align-items: center;
|
|
@@ -3356,29 +3356,29 @@ to {
|
|
|
3356
3356
|
gap: 4px;
|
|
3357
3357
|
padding: 5px;
|
|
3358
3358
|
}
|
|
3359
|
-
.buttons-footer[data-v-
|
|
3359
|
+
.buttons-footer[data-v-f81c0a82] {
|
|
3360
3360
|
padding: 8px 0;
|
|
3361
3361
|
display: flex;
|
|
3362
3362
|
gap: 8px;
|
|
3363
3363
|
}
|
|
3364
|
-
.buttons-config-container[data-v-
|
|
3364
|
+
.buttons-config-container[data-v-f81c0a82] {
|
|
3365
3365
|
width: 100%;
|
|
3366
3366
|
}
|
|
3367
|
-
.button-dropdown-item[data-v-
|
|
3367
|
+
.button-dropdown-item[data-v-f81c0a82] {
|
|
3368
3368
|
padding: 8px 12px;
|
|
3369
3369
|
}
|
|
3370
|
-
.button-dropdown-content[data-v-
|
|
3370
|
+
.button-dropdown-content[data-v-f81c0a82] {
|
|
3371
3371
|
display: flex;
|
|
3372
3372
|
justify-content: space-between;
|
|
3373
3373
|
align-items: center;
|
|
3374
3374
|
width: 100%;
|
|
3375
3375
|
min-width: 200px;
|
|
3376
3376
|
}
|
|
3377
|
-
.button-name[data-v-
|
|
3377
|
+
.button-name[data-v-f81c0a82] {
|
|
3378
3378
|
font-size: 13px;
|
|
3379
3379
|
color: #606266;
|
|
3380
3380
|
}
|
|
3381
|
-
.button-type[data-v-
|
|
3381
|
+
.button-type[data-v-f81c0a82] {
|
|
3382
3382
|
font-size: 11px;
|
|
3383
3383
|
color: #909399;
|
|
3384
3384
|
padding: 2px 4px;
|
|
@@ -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 = {};
|
|
@@ -104,7 +107,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
104
107
|
);
|
|
105
108
|
});
|
|
106
109
|
});
|
|
107
|
-
function subTableLoaded(subOption) {
|
|
110
|
+
function subTableLoaded(subOption, tableHeight) {
|
|
108
111
|
subTableOption.value = subOption;
|
|
109
112
|
const foundItem = props.localConfig.fieldsData.find(
|
|
110
113
|
(item) => item.id == props.config.id
|
|
@@ -112,12 +115,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
112
115
|
const titleHeight = props.config.titleMode != "none" ? 60 : 0;
|
|
113
116
|
if (foundItem) {
|
|
114
117
|
foundItem.fixedH = true;
|
|
115
|
-
foundItem.h =
|
|
116
|
-
setFormItemHeight(
|
|
117
|
-
props.config.id,
|
|
118
|
-
true,
|
|
119
|
-
props.config.subTableHeight + titleHeight
|
|
120
|
-
);
|
|
118
|
+
foundItem.h = tableHeight + titleHeight;
|
|
119
|
+
setFormItemHeight(props.config.id, true, foundItem.h);
|
|
121
120
|
}
|
|
122
121
|
}
|
|
123
122
|
const tableRef = ref();
|
|
@@ -191,17 +190,19 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
191
190
|
ref: tableRef,
|
|
192
191
|
templateKey: __props.config.subTableKey,
|
|
193
192
|
isSubTable: "",
|
|
194
|
-
|
|
193
|
+
onHeightLoaded: subTableLoaded,
|
|
195
194
|
mode: __props.config.subTableMode,
|
|
196
195
|
titleMode: __props.config.titleMode,
|
|
197
196
|
hasPagination: __props.config.isSubTablePagination,
|
|
197
|
+
heightMode: unref(heightMode),
|
|
198
198
|
height: __props.config.subTableHeight,
|
|
199
|
+
maxHeight: __props.config.subTableMaxHeight,
|
|
199
200
|
tableData: unref(subTableData),
|
|
200
201
|
initSearchData: unref(initSearchData),
|
|
201
202
|
canLoadBySearchData: __props.config.reloadOnParamsChange,
|
|
202
203
|
readonly: __props.config.isSubTableReadOnly || __props.formMode == "query",
|
|
203
204
|
btnRollbackEvent: unref(btnRollbackEvent)
|
|
204
|
-
}, null, 8, ["templateKey", "mode", "titleMode", "hasPagination", "height", "tableData", "initSearchData", "canLoadBySearchData", "readonly", "btnRollbackEvent"])
|
|
205
|
+
}, null, 8, ["templateKey", "mode", "titleMode", "hasPagination", "heightMode", "height", "maxHeight", "tableData", "initSearchData", "canLoadBySearchData", "readonly", "btnRollbackEvent"])
|
|
205
206
|
], 64);
|
|
206
207
|
};
|
|
207
208
|
}
|