@fecp/designer 5.5.16 → 5.5.18
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/index.vue2.mjs +15 -15
- package/es/designer/src/packages/dialogGlobal/index.vue2.mjs +16 -16
- package/es/designer.css +33 -33
- package/es/packages/vue/src/components/table/Table.vue.mjs +27 -26
- package/lib/designer/package.json.js +1 -1
- package/lib/designer/src/packages/dialog/index.vue2.js +15 -15
- package/lib/designer/src/packages/dialogGlobal/index.vue2.js +16 -16
- package/lib/designer.css +33 -33
- package/lib/packages/vue/src/components/table/Table.vue.js +27 -26
- package/package.json +1 -1
|
@@ -1,4 +1,18 @@
|
|
|
1
|
-
import "../../../../node_modules/element-plus/es/index.mjs";
|
|
1
|
+
import { ElIcon } from "../../../../node_modules/element-plus/es/components/icon/index.mjs";
|
|
2
|
+
import { ElForm, ElFormItem } from "../../../../node_modules/element-plus/es/components/form/index.mjs";
|
|
3
|
+
import { ElInput } from "../../../../node_modules/element-plus/es/components/input/index.mjs";
|
|
4
|
+
import { ElScrollbar } from "../../../../node_modules/element-plus/es/components/scrollbar/index.mjs";
|
|
5
|
+
import { ElButton } from "../../../../node_modules/element-plus/es/components/button/index.mjs";
|
|
6
|
+
import { ElSelect, ElOption } from "../../../../node_modules/element-plus/es/components/select/index.mjs";
|
|
7
|
+
import { ElCheckbox } from "../../../../node_modules/element-plus/es/components/checkbox/index.mjs";
|
|
8
|
+
import { ElRadioGroup, ElRadioButton } from "../../../../node_modules/element-plus/es/components/radio/index.mjs";
|
|
9
|
+
import { ElContainer, ElAside, ElHeader, ElMain } from "../../../../node_modules/element-plus/es/components/container/index.mjs";
|
|
10
|
+
import { ElDialog } from "../../../../node_modules/element-plus/es/components/dialog/index.mjs";
|
|
11
|
+
import { ElLink } from "../../../../node_modules/element-plus/es/components/link/index.mjs";
|
|
12
|
+
import { ElSwitch } from "../../../../node_modules/element-plus/es/components/switch/index.mjs";
|
|
13
|
+
import { ElMessage } from "../../../../node_modules/element-plus/es/components/message/index.mjs";
|
|
14
|
+
import { ElPopover } from "../../../../node_modules/element-plus/es/components/popover/index.mjs";
|
|
15
|
+
import "../../../../_virtual/dayjs.min.mjs";
|
|
2
16
|
/* empty css */
|
|
3
17
|
/* empty css */
|
|
4
18
|
/* empty css */
|
|
@@ -42,20 +56,6 @@ import widgets from "../table/property/widgets.vue.mjs";
|
|
|
42
56
|
/* empty css */
|
|
43
57
|
/* empty css */
|
|
44
58
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
45
|
-
import { ElDialog } from "../../../../node_modules/element-plus/es/components/dialog/index.mjs";
|
|
46
|
-
import { ElContainer, ElAside, ElHeader, ElMain } from "../../../../node_modules/element-plus/es/components/container/index.mjs";
|
|
47
|
-
import { ElButton } from "../../../../node_modules/element-plus/es/components/button/index.mjs";
|
|
48
|
-
import { ElInput } from "../../../../node_modules/element-plus/es/components/input/index.mjs";
|
|
49
|
-
import { ElLink } from "../../../../node_modules/element-plus/es/components/link/index.mjs";
|
|
50
|
-
import { ElIcon } from "../../../../node_modules/element-plus/es/components/icon/index.mjs";
|
|
51
|
-
import { ElScrollbar } from "../../../../node_modules/element-plus/es/components/scrollbar/index.mjs";
|
|
52
|
-
import { ElForm, ElFormItem } from "../../../../node_modules/element-plus/es/components/form/index.mjs";
|
|
53
|
-
import { ElRadioGroup, ElRadioButton } from "../../../../node_modules/element-plus/es/components/radio/index.mjs";
|
|
54
|
-
import { ElSelect, ElOption } from "../../../../node_modules/element-plus/es/components/select/index.mjs";
|
|
55
|
-
import { ElPopover } from "../../../../node_modules/element-plus/es/components/popover/index.mjs";
|
|
56
|
-
import { ElSwitch } from "../../../../node_modules/element-plus/es/components/switch/index.mjs";
|
|
57
|
-
import { ElCheckbox } from "../../../../node_modules/element-plus/es/components/checkbox/index.mjs";
|
|
58
|
-
import { ElMessage } from "../../../../node_modules/element-plus/es/components/message/index.mjs";
|
|
59
59
|
const _hoisted_1 = { key: 0 };
|
|
60
60
|
const _hoisted_2 = { class: "dialog-menu-item is-editing" };
|
|
61
61
|
const _hoisted_3 = { class: "new-item-content" };
|
|
@@ -1,4 +1,18 @@
|
|
|
1
|
-
import "../../../../node_modules/element-plus/es/index.mjs";
|
|
1
|
+
import { ElIcon } from "../../../../node_modules/element-plus/es/components/icon/index.mjs";
|
|
2
|
+
import { ElForm, ElFormItem } from "../../../../node_modules/element-plus/es/components/form/index.mjs";
|
|
3
|
+
import { ElInput } from "../../../../node_modules/element-plus/es/components/input/index.mjs";
|
|
4
|
+
import { ElScrollbar } from "../../../../node_modules/element-plus/es/components/scrollbar/index.mjs";
|
|
5
|
+
import { ElButton } from "../../../../node_modules/element-plus/es/components/button/index.mjs";
|
|
6
|
+
import { ElSelect, ElOption } from "../../../../node_modules/element-plus/es/components/select/index.mjs";
|
|
7
|
+
import { ElCheckbox } from "../../../../node_modules/element-plus/es/components/checkbox/index.mjs";
|
|
8
|
+
import { ElRadioGroup, ElRadioButton } from "../../../../node_modules/element-plus/es/components/radio/index.mjs";
|
|
9
|
+
import { ElContainer, ElAside, ElHeader, ElMain } from "../../../../node_modules/element-plus/es/components/container/index.mjs";
|
|
10
|
+
import { ElDialog } from "../../../../node_modules/element-plus/es/components/dialog/index.mjs";
|
|
11
|
+
import { ElLink } from "../../../../node_modules/element-plus/es/components/link/index.mjs";
|
|
12
|
+
import { ElSwitch } from "../../../../node_modules/element-plus/es/components/switch/index.mjs";
|
|
13
|
+
import { ElMessage } from "../../../../node_modules/element-plus/es/components/message/index.mjs";
|
|
14
|
+
import { ElPopover } from "../../../../node_modules/element-plus/es/components/popover/index.mjs";
|
|
15
|
+
import "../../../../_virtual/dayjs.min.mjs";
|
|
2
16
|
/* empty css */
|
|
3
17
|
/* empty css */
|
|
4
18
|
/* empty css */
|
|
@@ -41,6 +55,7 @@ import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
|
41
55
|
import "../../../../node_modules/element-plus/theme-chalk/el-tooltip.css.mjs";
|
|
42
56
|
/* empty css */
|
|
43
57
|
/* empty css */
|
|
58
|
+
import "element-plus";
|
|
44
59
|
/* empty css */
|
|
45
60
|
/* empty css */
|
|
46
61
|
/* empty css */
|
|
@@ -92,7 +107,6 @@ import "../../../../node_modules/element-plus/theme-chalk/el-tab-pane.css.mjs";
|
|
|
92
107
|
/* empty css */
|
|
93
108
|
/* empty css */
|
|
94
109
|
import "../../../../node_modules/element-plus/theme-chalk/el-date-picker.css.mjs";
|
|
95
|
-
import "../../axios/config.mjs";
|
|
96
110
|
/* empty css */
|
|
97
111
|
/* empty css */
|
|
98
112
|
/* empty css */
|
|
@@ -102,20 +116,6 @@ import "../../axios/config.mjs";
|
|
|
102
116
|
/* empty css */
|
|
103
117
|
/* empty css */
|
|
104
118
|
/* empty css */
|
|
105
|
-
import { ElMessage } from "../../../../node_modules/element-plus/es/components/message/index.mjs";
|
|
106
|
-
import { ElDialog } from "../../../../node_modules/element-plus/es/components/dialog/index.mjs";
|
|
107
|
-
import { ElContainer, ElAside, ElHeader, ElMain } from "../../../../node_modules/element-plus/es/components/container/index.mjs";
|
|
108
|
-
import { ElIcon } from "../../../../node_modules/element-plus/es/components/icon/index.mjs";
|
|
109
|
-
import { ElButton } from "../../../../node_modules/element-plus/es/components/button/index.mjs";
|
|
110
|
-
import { ElInput } from "../../../../node_modules/element-plus/es/components/input/index.mjs";
|
|
111
|
-
import { ElLink } from "../../../../node_modules/element-plus/es/components/link/index.mjs";
|
|
112
|
-
import { ElScrollbar } from "../../../../node_modules/element-plus/es/components/scrollbar/index.mjs";
|
|
113
|
-
import { ElForm, ElFormItem } from "../../../../node_modules/element-plus/es/components/form/index.mjs";
|
|
114
|
-
import { ElRadioGroup, ElRadioButton } from "../../../../node_modules/element-plus/es/components/radio/index.mjs";
|
|
115
|
-
import { ElSelect, ElOption } from "../../../../node_modules/element-plus/es/components/select/index.mjs";
|
|
116
|
-
import { ElPopover } from "../../../../node_modules/element-plus/es/components/popover/index.mjs";
|
|
117
|
-
import { ElSwitch } from "../../../../node_modules/element-plus/es/components/switch/index.mjs";
|
|
118
|
-
import { ElCheckbox } from "../../../../node_modules/element-plus/es/components/checkbox/index.mjs";
|
|
119
119
|
const _hoisted_1 = {
|
|
120
120
|
key: 0,
|
|
121
121
|
class: "loading-overlay"
|
package/es/designer.css
CHANGED
|
@@ -6312,12 +6312,12 @@ body,
|
|
|
6312
6312
|
}
|
|
6313
6313
|
[data-v-e95c842d] .el-checkbox-group .el-checkbox-button__inner {
|
|
6314
6314
|
border-radius: 4px;
|
|
6315
|
-
}.fec-table[data-v-
|
|
6315
|
+
}.fec-table[data-v-a17ea886] {
|
|
6316
6316
|
height: 100%;
|
|
6317
6317
|
flex-grow: 1;
|
|
6318
6318
|
padding: 0 16px;
|
|
6319
6319
|
}
|
|
6320
|
-
.fec-table-container[data-v-
|
|
6320
|
+
.fec-table-container[data-v-a17ea886] {
|
|
6321
6321
|
width: 100%;
|
|
6322
6322
|
background: #fff;
|
|
6323
6323
|
box-sizing: border-box;
|
|
@@ -6327,87 +6327,87 @@ body,
|
|
|
6327
6327
|
overflow: hidden;
|
|
6328
6328
|
flex-grow: 1;
|
|
6329
6329
|
}
|
|
6330
|
-
.fec-table-container .fec-vxe-table[data-v-
|
|
6330
|
+
.fec-table-container .fec-vxe-table[data-v-a17ea886] {
|
|
6331
6331
|
flex: 1;
|
|
6332
6332
|
min-height: 0;
|
|
6333
6333
|
overflow: hidden;
|
|
6334
6334
|
margin-bottom: 16px;
|
|
6335
6335
|
}
|
|
6336
|
-
.fec-table-container[data-v-
|
|
6336
|
+
.fec-table-container[data-v-a17ea886] .vxe-table {
|
|
6337
6337
|
font-size: 14px;
|
|
6338
6338
|
font-family: inherit;
|
|
6339
6339
|
}
|
|
6340
|
-
.fec-table-container[data-v-
|
|
6341
|
-
.fec-table-container[data-v-
|
|
6340
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-sort--asc-btn,
|
|
6341
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-sort--desc-btn {
|
|
6342
6342
|
color: #dcdcdc;
|
|
6343
6343
|
}
|
|
6344
|
-
.fec-table-container[data-v-
|
|
6345
|
-
.fec-table-container[data-v-
|
|
6344
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .serverSort .vxe-sort--asc-btn,
|
|
6345
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .serverSort .vxe-sort--desc-btn {
|
|
6346
6346
|
color: #d3edf9;
|
|
6347
6347
|
}
|
|
6348
|
-
.fec-table-container[data-v-
|
|
6348
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .serverSort .sort--active {
|
|
6349
6349
|
color: var(--el-color-primary);
|
|
6350
6350
|
}
|
|
6351
|
-
.fec-table-container[data-v-
|
|
6351
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .sort--active {
|
|
6352
6352
|
color: var(--el-color-primary);
|
|
6353
6353
|
}
|
|
6354
|
-
.fec-table-container[data-v-
|
|
6354
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-table--body-wrapper {
|
|
6355
6355
|
overflow: auto;
|
|
6356
6356
|
}
|
|
6357
|
-
.fec-table-container[data-v-
|
|
6358
|
-
.fec-table-container[data-v-
|
|
6359
|
-
.fec-table-container[data-v-
|
|
6357
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-table--body,
|
|
6358
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-table--header,
|
|
6359
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-table--footer {
|
|
6360
6360
|
width: 100% !important;
|
|
6361
6361
|
}
|
|
6362
|
-
.fec-table-container[data-v-
|
|
6362
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-header--column {
|
|
6363
6363
|
background-color: #fff;
|
|
6364
6364
|
}
|
|
6365
|
-
.fec-table-container[data-v-
|
|
6365
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-header--column .vxe-cell {
|
|
6366
6366
|
height: 40px !important;
|
|
6367
6367
|
min-height: 40px !important;
|
|
6368
6368
|
color: #333;
|
|
6369
6369
|
}
|
|
6370
|
-
.fec-table-container[data-v-
|
|
6370
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-table--header-inner-wrapper {
|
|
6371
6371
|
height: 40px !important;
|
|
6372
6372
|
}
|
|
6373
|
-
.fec-table-container[data-v-
|
|
6373
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-body--column .vxe-cell {
|
|
6374
6374
|
padding: 6px !important;
|
|
6375
6375
|
min-height: 32px !important;
|
|
6376
6376
|
color: #666;
|
|
6377
6377
|
font-size: 13px;
|
|
6378
6378
|
}
|
|
6379
|
-
.fec-table-container[data-v-
|
|
6380
|
-
.fec-table-container[data-v-
|
|
6379
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-body--column .c--tooltip,
|
|
6380
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-body--column .c--title {
|
|
6381
6381
|
height: 32px !important;
|
|
6382
6382
|
min-height: 32px !important;
|
|
6383
6383
|
}
|
|
6384
|
-
.fec-table-container[data-v-
|
|
6384
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-table--border-line {
|
|
6385
6385
|
border: none;
|
|
6386
6386
|
border-bottom: 1px solid #ebeef5;
|
|
6387
6387
|
border-top: 1px solid #ebeef5;
|
|
6388
6388
|
}
|
|
6389
|
-
.fec-table-container[data-v-
|
|
6390
|
-
.fec-table-container[data-v-
|
|
6389
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-table--scroll-y-handle-appearance,
|
|
6390
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-table--scroll-y-wrapper:after {
|
|
6391
6391
|
border: none !important;
|
|
6392
6392
|
}
|
|
6393
|
-
.fec-table-container[data-v-
|
|
6393
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-table--scroll-y-top-corner {
|
|
6394
6394
|
display: none !important;
|
|
6395
6395
|
}
|
|
6396
|
-
.fec-table-container[data-v-
|
|
6396
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-cell--sort {
|
|
6397
6397
|
font-size: 14px;
|
|
6398
6398
|
}
|
|
6399
|
-
.fec-table-container[data-v-
|
|
6400
|
-
.fec-table-container[data-v-
|
|
6401
|
-
.fec-table-container[data-v-
|
|
6402
|
-
.fec-table-container[data-v-
|
|
6403
|
-
.fec-table-container[data-v-
|
|
6404
|
-
.fec-table-container[data-v-
|
|
6399
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-body--column,
|
|
6400
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-footer--column,
|
|
6401
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-header--column,
|
|
6402
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-body--column,
|
|
6403
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-footer--column,
|
|
6404
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-header--column {
|
|
6405
6405
|
background-image: linear-gradient(#ebeef5, #ebeef5) !important;
|
|
6406
6406
|
}
|
|
6407
|
-
.fec-table-container[data-v-
|
|
6407
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .el-button.is-disabled {
|
|
6408
6408
|
color: #ccc !important;
|
|
6409
6409
|
}
|
|
6410
|
-
.fec-table-sub[data-v-
|
|
6410
|
+
.fec-table-sub[data-v-a17ea886] .vxe-table .vxe-table--border-line {
|
|
6411
6411
|
border-top: none;
|
|
6412
6412
|
}
|
|
6413
6413
|
.fec-layout-card[data-v-c90689d4] {
|
|
@@ -215,42 +215,43 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
215
215
|
}
|
|
216
216
|
const firstSummaryField = firstItem.fieldName;
|
|
217
217
|
const footerRow = { _isFooter: true };
|
|
218
|
-
if (firstSummaryField) {
|
|
219
|
-
footerRow[firstSummaryField] = "合计";
|
|
220
|
-
}
|
|
221
218
|
if (mode === "current") {
|
|
222
|
-
|
|
223
|
-
const
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
219
|
+
fieldsData.value.forEach((item) => {
|
|
220
|
+
const fieldName = item.fieldName;
|
|
221
|
+
if (summaryFields.includes(fieldName)) {
|
|
222
|
+
const sum = displayData.value.reduce((total, item2) => {
|
|
223
|
+
const value = parseFloat(item2[fieldName]);
|
|
224
|
+
return total + (isNaN(value) ? 0 : value);
|
|
225
|
+
}, 0);
|
|
226
|
+
if (isNaN(sum)) {
|
|
227
|
+
footerRow[fieldName] = " ";
|
|
228
|
+
} else {
|
|
229
|
+
const field = fieldsData.value.find((f) => f.fieldName == fieldName);
|
|
230
|
+
footerRow[fieldName] = formatSummaryValue(sum, field) || " ";
|
|
234
231
|
}
|
|
235
|
-
|
|
232
|
+
} else {
|
|
233
|
+
footerRow[fieldName] = " ";
|
|
236
234
|
}
|
|
237
235
|
});
|
|
238
236
|
} else if (mode === "all") {
|
|
239
|
-
|
|
240
|
-
const
|
|
241
|
-
if (
|
|
242
|
-
const
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
237
|
+
fieldsData.value.forEach((item) => {
|
|
238
|
+
const fieldName = item.fieldName;
|
|
239
|
+
if (summaryFields.includes(fieldName)) {
|
|
240
|
+
const sum = allSummaryData.value[fieldName];
|
|
241
|
+
if (sum != void 0 && sum != null) {
|
|
242
|
+
const field = fieldsData.value.find((f) => f.fieldName == fieldName);
|
|
243
|
+
footerRow[fieldName] = formatSummaryValue(sum, field) || " ";
|
|
244
|
+
} else {
|
|
245
|
+
footerRow[fieldName] = " ";
|
|
246
246
|
}
|
|
247
|
-
footerRow[fieldName] = val;
|
|
248
247
|
} else {
|
|
249
248
|
footerRow[fieldName] = " ";
|
|
250
249
|
}
|
|
251
|
-
console.log("🚀 ~ footerRow:", footerRow);
|
|
252
250
|
});
|
|
253
251
|
}
|
|
252
|
+
if (firstSummaryField) {
|
|
253
|
+
footerRow[firstSummaryField] = "合计";
|
|
254
|
+
}
|
|
254
255
|
return [footerRow];
|
|
255
256
|
});
|
|
256
257
|
function formatSummaryValue(value, field) {
|
|
@@ -914,7 +915,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
914
915
|
};
|
|
915
916
|
}
|
|
916
917
|
});
|
|
917
|
-
const _Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
918
|
+
const _Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a17ea886"]]);
|
|
918
919
|
export {
|
|
919
920
|
_Table as default
|
|
920
921
|
};
|
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
require("../../../../node_modules/element-plus/es/index.js");
|
|
3
|
+
const index$7 = require("../../../../node_modules/element-plus/es/components/icon/index.js");
|
|
4
|
+
const index$9 = require("../../../../node_modules/element-plus/es/components/form/index.js");
|
|
5
|
+
const index$5 = require("../../../../node_modules/element-plus/es/components/input/index.js");
|
|
6
|
+
const index$8 = require("../../../../node_modules/element-plus/es/components/scrollbar/index.js");
|
|
7
|
+
const index$3 = require("../../../../node_modules/element-plus/es/components/button/index.js");
|
|
8
|
+
const index$b = require("../../../../node_modules/element-plus/es/components/select/index.js");
|
|
9
|
+
const index$e = require("../../../../node_modules/element-plus/es/components/checkbox/index.js");
|
|
10
|
+
const index$a = require("../../../../node_modules/element-plus/es/components/radio/index.js");
|
|
11
|
+
const index$2 = require("../../../../node_modules/element-plus/es/components/container/index.js");
|
|
12
|
+
const index$1 = require("../../../../node_modules/element-plus/es/components/dialog/index.js");
|
|
13
|
+
const index$6 = require("../../../../node_modules/element-plus/es/components/link/index.js");
|
|
14
|
+
const index$d = require("../../../../node_modules/element-plus/es/components/switch/index.js");
|
|
15
|
+
const index$f = require("../../../../node_modules/element-plus/es/components/message/index.js");
|
|
16
|
+
const index$c = require("../../../../node_modules/element-plus/es/components/popover/index.js");
|
|
17
|
+
require("../../../../_virtual/dayjs.min.js");
|
|
4
18
|
;/* empty css */
|
|
5
19
|
;/* empty css */
|
|
6
20
|
;/* empty css */
|
|
@@ -44,20 +58,6 @@ const widgets = require("../table/property/widgets.vue.js");
|
|
|
44
58
|
;/* empty css */
|
|
45
59
|
;/* empty css */
|
|
46
60
|
const _pluginVue_exportHelper = require("../../../../_virtual/_plugin-vue_export-helper.js");
|
|
47
|
-
const index$1 = require("../../../../node_modules/element-plus/es/components/dialog/index.js");
|
|
48
|
-
const index$2 = require("../../../../node_modules/element-plus/es/components/container/index.js");
|
|
49
|
-
const index$3 = require("../../../../node_modules/element-plus/es/components/button/index.js");
|
|
50
|
-
const index$5 = require("../../../../node_modules/element-plus/es/components/input/index.js");
|
|
51
|
-
const index$6 = require("../../../../node_modules/element-plus/es/components/link/index.js");
|
|
52
|
-
const index$7 = require("../../../../node_modules/element-plus/es/components/icon/index.js");
|
|
53
|
-
const index$8 = require("../../../../node_modules/element-plus/es/components/scrollbar/index.js");
|
|
54
|
-
const index$9 = require("../../../../node_modules/element-plus/es/components/form/index.js");
|
|
55
|
-
const index$a = require("../../../../node_modules/element-plus/es/components/radio/index.js");
|
|
56
|
-
const index$b = require("../../../../node_modules/element-plus/es/components/select/index.js");
|
|
57
|
-
const index$c = require("../../../../node_modules/element-plus/es/components/popover/index.js");
|
|
58
|
-
const index$d = require("../../../../node_modules/element-plus/es/components/switch/index.js");
|
|
59
|
-
const index$e = require("../../../../node_modules/element-plus/es/components/checkbox/index.js");
|
|
60
|
-
const index$f = require("../../../../node_modules/element-plus/es/components/message/index.js");
|
|
61
61
|
const _hoisted_1 = { key: 0 };
|
|
62
62
|
const _hoisted_2 = { class: "dialog-menu-item is-editing" };
|
|
63
63
|
const _hoisted_3 = { class: "new-item-content" };
|
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
require("../../../../node_modules/element-plus/es/index.js");
|
|
3
|
+
const index$4 = require("../../../../node_modules/element-plus/es/components/icon/index.js");
|
|
4
|
+
const index$a = require("../../../../node_modules/element-plus/es/components/form/index.js");
|
|
5
|
+
const index$7 = require("../../../../node_modules/element-plus/es/components/input/index.js");
|
|
6
|
+
const index$9 = require("../../../../node_modules/element-plus/es/components/scrollbar/index.js");
|
|
7
|
+
const index$6 = require("../../../../node_modules/element-plus/es/components/button/index.js");
|
|
8
|
+
const index$c = require("../../../../node_modules/element-plus/es/components/select/index.js");
|
|
9
|
+
const index$f = require("../../../../node_modules/element-plus/es/components/checkbox/index.js");
|
|
10
|
+
const index$b = require("../../../../node_modules/element-plus/es/components/radio/index.js");
|
|
11
|
+
const index$3 = require("../../../../node_modules/element-plus/es/components/container/index.js");
|
|
12
|
+
const index$2 = require("../../../../node_modules/element-plus/es/components/dialog/index.js");
|
|
13
|
+
const index$8 = require("../../../../node_modules/element-plus/es/components/link/index.js");
|
|
14
|
+
const index$e = require("../../../../node_modules/element-plus/es/components/switch/index.js");
|
|
15
|
+
const index$1 = require("../../../../node_modules/element-plus/es/components/message/index.js");
|
|
16
|
+
const index$d = require("../../../../node_modules/element-plus/es/components/popover/index.js");
|
|
17
|
+
require("../../../../_virtual/dayjs.min.js");
|
|
4
18
|
;/* empty css */
|
|
5
19
|
;/* empty css */
|
|
6
20
|
;/* empty css */
|
|
@@ -43,6 +57,7 @@ const _pluginVue_exportHelper = require("../../../../_virtual/_plugin-vue_export
|
|
|
43
57
|
require("../../../../node_modules/element-plus/theme-chalk/el-tooltip.css.js");
|
|
44
58
|
;/* empty css */
|
|
45
59
|
;/* empty css */
|
|
60
|
+
require("element-plus");
|
|
46
61
|
;/* empty css */
|
|
47
62
|
;/* empty css */
|
|
48
63
|
;/* empty css */
|
|
@@ -94,7 +109,6 @@ require("../../../../node_modules/element-plus/theme-chalk/el-tab-pane.css.js");
|
|
|
94
109
|
;/* empty css */
|
|
95
110
|
;/* empty css */
|
|
96
111
|
require("../../../../node_modules/element-plus/theme-chalk/el-date-picker.css.js");
|
|
97
|
-
require("../../axios/config.js");
|
|
98
112
|
;/* empty css */
|
|
99
113
|
;/* empty css */
|
|
100
114
|
;/* empty css */
|
|
@@ -104,20 +118,6 @@ require("../../axios/config.js");
|
|
|
104
118
|
;/* empty css */
|
|
105
119
|
;/* empty css */
|
|
106
120
|
;/* empty css */
|
|
107
|
-
const index$1 = require("../../../../node_modules/element-plus/es/components/message/index.js");
|
|
108
|
-
const index$2 = require("../../../../node_modules/element-plus/es/components/dialog/index.js");
|
|
109
|
-
const index$3 = require("../../../../node_modules/element-plus/es/components/container/index.js");
|
|
110
|
-
const index$4 = require("../../../../node_modules/element-plus/es/components/icon/index.js");
|
|
111
|
-
const index$6 = require("../../../../node_modules/element-plus/es/components/button/index.js");
|
|
112
|
-
const index$7 = require("../../../../node_modules/element-plus/es/components/input/index.js");
|
|
113
|
-
const index$8 = require("../../../../node_modules/element-plus/es/components/link/index.js");
|
|
114
|
-
const index$9 = require("../../../../node_modules/element-plus/es/components/scrollbar/index.js");
|
|
115
|
-
const index$a = require("../../../../node_modules/element-plus/es/components/form/index.js");
|
|
116
|
-
const index$b = require("../../../../node_modules/element-plus/es/components/radio/index.js");
|
|
117
|
-
const index$c = require("../../../../node_modules/element-plus/es/components/select/index.js");
|
|
118
|
-
const index$d = require("../../../../node_modules/element-plus/es/components/popover/index.js");
|
|
119
|
-
const index$e = require("../../../../node_modules/element-plus/es/components/switch/index.js");
|
|
120
|
-
const index$f = require("../../../../node_modules/element-plus/es/components/checkbox/index.js");
|
|
121
121
|
const _hoisted_1 = {
|
|
122
122
|
key: 0,
|
|
123
123
|
class: "loading-overlay"
|
package/lib/designer.css
CHANGED
|
@@ -6312,12 +6312,12 @@ body,
|
|
|
6312
6312
|
}
|
|
6313
6313
|
[data-v-e95c842d] .el-checkbox-group .el-checkbox-button__inner {
|
|
6314
6314
|
border-radius: 4px;
|
|
6315
|
-
}.fec-table[data-v-
|
|
6315
|
+
}.fec-table[data-v-a17ea886] {
|
|
6316
6316
|
height: 100%;
|
|
6317
6317
|
flex-grow: 1;
|
|
6318
6318
|
padding: 0 16px;
|
|
6319
6319
|
}
|
|
6320
|
-
.fec-table-container[data-v-
|
|
6320
|
+
.fec-table-container[data-v-a17ea886] {
|
|
6321
6321
|
width: 100%;
|
|
6322
6322
|
background: #fff;
|
|
6323
6323
|
box-sizing: border-box;
|
|
@@ -6327,87 +6327,87 @@ body,
|
|
|
6327
6327
|
overflow: hidden;
|
|
6328
6328
|
flex-grow: 1;
|
|
6329
6329
|
}
|
|
6330
|
-
.fec-table-container .fec-vxe-table[data-v-
|
|
6330
|
+
.fec-table-container .fec-vxe-table[data-v-a17ea886] {
|
|
6331
6331
|
flex: 1;
|
|
6332
6332
|
min-height: 0;
|
|
6333
6333
|
overflow: hidden;
|
|
6334
6334
|
margin-bottom: 16px;
|
|
6335
6335
|
}
|
|
6336
|
-
.fec-table-container[data-v-
|
|
6336
|
+
.fec-table-container[data-v-a17ea886] .vxe-table {
|
|
6337
6337
|
font-size: 14px;
|
|
6338
6338
|
font-family: inherit;
|
|
6339
6339
|
}
|
|
6340
|
-
.fec-table-container[data-v-
|
|
6341
|
-
.fec-table-container[data-v-
|
|
6340
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-sort--asc-btn,
|
|
6341
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-sort--desc-btn {
|
|
6342
6342
|
color: #dcdcdc;
|
|
6343
6343
|
}
|
|
6344
|
-
.fec-table-container[data-v-
|
|
6345
|
-
.fec-table-container[data-v-
|
|
6344
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .serverSort .vxe-sort--asc-btn,
|
|
6345
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .serverSort .vxe-sort--desc-btn {
|
|
6346
6346
|
color: #d3edf9;
|
|
6347
6347
|
}
|
|
6348
|
-
.fec-table-container[data-v-
|
|
6348
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .serverSort .sort--active {
|
|
6349
6349
|
color: var(--el-color-primary);
|
|
6350
6350
|
}
|
|
6351
|
-
.fec-table-container[data-v-
|
|
6351
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .sort--active {
|
|
6352
6352
|
color: var(--el-color-primary);
|
|
6353
6353
|
}
|
|
6354
|
-
.fec-table-container[data-v-
|
|
6354
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-table--body-wrapper {
|
|
6355
6355
|
overflow: auto;
|
|
6356
6356
|
}
|
|
6357
|
-
.fec-table-container[data-v-
|
|
6358
|
-
.fec-table-container[data-v-
|
|
6359
|
-
.fec-table-container[data-v-
|
|
6357
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-table--body,
|
|
6358
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-table--header,
|
|
6359
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-table--footer {
|
|
6360
6360
|
width: 100% !important;
|
|
6361
6361
|
}
|
|
6362
|
-
.fec-table-container[data-v-
|
|
6362
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-header--column {
|
|
6363
6363
|
background-color: #fff;
|
|
6364
6364
|
}
|
|
6365
|
-
.fec-table-container[data-v-
|
|
6365
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-header--column .vxe-cell {
|
|
6366
6366
|
height: 40px !important;
|
|
6367
6367
|
min-height: 40px !important;
|
|
6368
6368
|
color: #333;
|
|
6369
6369
|
}
|
|
6370
|
-
.fec-table-container[data-v-
|
|
6370
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-table--header-inner-wrapper {
|
|
6371
6371
|
height: 40px !important;
|
|
6372
6372
|
}
|
|
6373
|
-
.fec-table-container[data-v-
|
|
6373
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-body--column .vxe-cell {
|
|
6374
6374
|
padding: 6px !important;
|
|
6375
6375
|
min-height: 32px !important;
|
|
6376
6376
|
color: #666;
|
|
6377
6377
|
font-size: 13px;
|
|
6378
6378
|
}
|
|
6379
|
-
.fec-table-container[data-v-
|
|
6380
|
-
.fec-table-container[data-v-
|
|
6379
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-body--column .c--tooltip,
|
|
6380
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-body--column .c--title {
|
|
6381
6381
|
height: 32px !important;
|
|
6382
6382
|
min-height: 32px !important;
|
|
6383
6383
|
}
|
|
6384
|
-
.fec-table-container[data-v-
|
|
6384
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-table--border-line {
|
|
6385
6385
|
border: none;
|
|
6386
6386
|
border-bottom: 1px solid #ebeef5;
|
|
6387
6387
|
border-top: 1px solid #ebeef5;
|
|
6388
6388
|
}
|
|
6389
|
-
.fec-table-container[data-v-
|
|
6390
|
-
.fec-table-container[data-v-
|
|
6389
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-table--scroll-y-handle-appearance,
|
|
6390
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-table--scroll-y-wrapper:after {
|
|
6391
6391
|
border: none !important;
|
|
6392
6392
|
}
|
|
6393
|
-
.fec-table-container[data-v-
|
|
6393
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-table--scroll-y-top-corner {
|
|
6394
6394
|
display: none !important;
|
|
6395
6395
|
}
|
|
6396
|
-
.fec-table-container[data-v-
|
|
6396
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-cell--sort {
|
|
6397
6397
|
font-size: 14px;
|
|
6398
6398
|
}
|
|
6399
|
-
.fec-table-container[data-v-
|
|
6400
|
-
.fec-table-container[data-v-
|
|
6401
|
-
.fec-table-container[data-v-
|
|
6402
|
-
.fec-table-container[data-v-
|
|
6403
|
-
.fec-table-container[data-v-
|
|
6404
|
-
.fec-table-container[data-v-
|
|
6399
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-body--column,
|
|
6400
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-footer--column,
|
|
6401
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-header--column,
|
|
6402
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-body--column,
|
|
6403
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-footer--column,
|
|
6404
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .vxe-header--column {
|
|
6405
6405
|
background-image: linear-gradient(#ebeef5, #ebeef5) !important;
|
|
6406
6406
|
}
|
|
6407
|
-
.fec-table-container[data-v-
|
|
6407
|
+
.fec-table-container[data-v-a17ea886] .vxe-table .el-button.is-disabled {
|
|
6408
6408
|
color: #ccc !important;
|
|
6409
6409
|
}
|
|
6410
|
-
.fec-table-sub[data-v-
|
|
6410
|
+
.fec-table-sub[data-v-a17ea886] .vxe-table .vxe-table--border-line {
|
|
6411
6411
|
border-top: none;
|
|
6412
6412
|
}
|
|
6413
6413
|
.fec-layout-card[data-v-c90689d4] {
|
|
@@ -217,42 +217,43 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
217
217
|
}
|
|
218
218
|
const firstSummaryField = firstItem.fieldName;
|
|
219
219
|
const footerRow = { _isFooter: true };
|
|
220
|
-
if (firstSummaryField) {
|
|
221
|
-
footerRow[firstSummaryField] = "合计";
|
|
222
|
-
}
|
|
223
220
|
if (mode === "current") {
|
|
224
|
-
|
|
225
|
-
const
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
221
|
+
fieldsData.value.forEach((item) => {
|
|
222
|
+
const fieldName = item.fieldName;
|
|
223
|
+
if (summaryFields.includes(fieldName)) {
|
|
224
|
+
const sum = displayData.value.reduce((total, item2) => {
|
|
225
|
+
const value = parseFloat(item2[fieldName]);
|
|
226
|
+
return total + (isNaN(value) ? 0 : value);
|
|
227
|
+
}, 0);
|
|
228
|
+
if (isNaN(sum)) {
|
|
229
|
+
footerRow[fieldName] = " ";
|
|
230
|
+
} else {
|
|
231
|
+
const field = fieldsData.value.find((f) => f.fieldName == fieldName);
|
|
232
|
+
footerRow[fieldName] = formatSummaryValue(sum, field) || " ";
|
|
236
233
|
}
|
|
237
|
-
|
|
234
|
+
} else {
|
|
235
|
+
footerRow[fieldName] = " ";
|
|
238
236
|
}
|
|
239
237
|
});
|
|
240
238
|
} else if (mode === "all") {
|
|
241
|
-
|
|
242
|
-
const
|
|
243
|
-
if (
|
|
244
|
-
const
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
239
|
+
fieldsData.value.forEach((item) => {
|
|
240
|
+
const fieldName = item.fieldName;
|
|
241
|
+
if (summaryFields.includes(fieldName)) {
|
|
242
|
+
const sum = allSummaryData.value[fieldName];
|
|
243
|
+
if (sum != void 0 && sum != null) {
|
|
244
|
+
const field = fieldsData.value.find((f) => f.fieldName == fieldName);
|
|
245
|
+
footerRow[fieldName] = formatSummaryValue(sum, field) || " ";
|
|
246
|
+
} else {
|
|
247
|
+
footerRow[fieldName] = " ";
|
|
248
248
|
}
|
|
249
|
-
footerRow[fieldName] = val;
|
|
250
249
|
} else {
|
|
251
250
|
footerRow[fieldName] = " ";
|
|
252
251
|
}
|
|
253
|
-
console.log("🚀 ~ footerRow:", footerRow);
|
|
254
252
|
});
|
|
255
253
|
}
|
|
254
|
+
if (firstSummaryField) {
|
|
255
|
+
footerRow[firstSummaryField] = "合计";
|
|
256
|
+
}
|
|
256
257
|
return [footerRow];
|
|
257
258
|
});
|
|
258
259
|
function formatSummaryValue(value, field) {
|
|
@@ -916,5 +917,5 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
916
917
|
};
|
|
917
918
|
}
|
|
918
919
|
});
|
|
919
|
-
const _Table = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
920
|
+
const _Table = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-a17ea886"]]);
|
|
920
921
|
exports.default = _Table;
|