@fecp/designer 5.5.1 → 5.5.2
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/components/DocumentParam.vue.mjs +1 -1
- package/es/designer/src/components/ParamsConfig.vue2.mjs +1 -1
- package/es/designer/src/components/ValueSelector.vue.mjs +191 -0
- package/es/designer/src/layout/aside/HiddenFieldDialog.vue.mjs +1 -1
- package/es/designer/src/packages/advancedFilter/ValueInput.vue2.mjs +1 -1
- package/es/designer/src/packages/dataLinkage/index.vue.mjs +1 -1
- package/es/designer/src/packages/dialogGlobal/index.vue.mjs +1 -1
- package/es/designer/src/packages/eventFlow/dialog/action/RiskSch.vue.mjs +1 -1
- package/es/designer/src/packages/form/property/approvalHistory.vue.mjs +1 -1
- package/es/designer/src/packages/form/property/contract.vue.mjs +1 -1
- package/es/designer/src/packages/form/property/subForm.vue.mjs +1 -1
- package/es/designer/src/packages/prod/index.vue.mjs +1 -1
- package/es/designer/src/packages/table/default.mjs +2 -2
- package/es/designer/src/packages/table/headerBtn.vue.mjs +1 -1
- package/es/designer/src/packages/table/tablePagination.vue.mjs +23 -82
- package/es/designer.css +47 -47
- package/es/packages/vue/src/components/forms/form/Form.vue.mjs +2 -1
- package/es/packages/vue/src/components/table/Pagination.vue.mjs +6 -6
- package/es/packages/vue/src/components/table/Table.vue.mjs +4 -4
- package/es/packages/vue/src/utils/parseFilterConfig.mjs +7 -7
- package/lib/designer/package.json.js +1 -1
- package/lib/designer/src/components/DocumentParam.vue.js +1 -1
- package/lib/designer/src/components/ParamsConfig.vue2.js +1 -1
- package/lib/designer/src/components/ValueSelector.vue.js +191 -0
- package/lib/designer/src/layout/aside/HiddenFieldDialog.vue.js +1 -1
- package/lib/designer/src/packages/advancedFilter/ValueInput.vue2.js +1 -1
- package/lib/designer/src/packages/dataLinkage/index.vue.js +1 -1
- package/lib/designer/src/packages/dialogGlobal/index.vue.js +1 -1
- package/lib/designer/src/packages/eventFlow/dialog/action/RiskSch.vue.js +1 -1
- package/lib/designer/src/packages/form/property/approvalHistory.vue.js +1 -1
- package/lib/designer/src/packages/form/property/contract.vue.js +1 -1
- package/lib/designer/src/packages/form/property/subForm.vue.js +1 -1
- package/lib/designer/src/packages/prod/index.vue.js +1 -1
- package/lib/designer/src/packages/table/default.js +2 -2
- package/lib/designer/src/packages/table/headerBtn.vue.js +1 -1
- package/lib/designer/src/packages/table/tablePagination.vue.js +27 -86
- package/lib/designer.css +47 -47
- package/lib/packages/vue/src/components/forms/form/Form.vue.js +2 -1
- package/lib/packages/vue/src/components/table/Pagination.vue.js +6 -6
- package/lib/packages/vue/src/components/table/Table.vue.js +4 -4
- package/lib/packages/vue/src/utils/parseFilterConfig.js +7 -7
- package/package.json +1 -1
|
@@ -19,7 +19,7 @@ require("../../../../../node_modules/element-plus/es/index.js");
|
|
|
19
19
|
const vue = require("vue");
|
|
20
20
|
const common = require("../../utils/common.js");
|
|
21
21
|
require("../../utils/eventBus.js");
|
|
22
|
-
const ValueSelector = require("../../../components/ValueSelector.
|
|
22
|
+
const ValueSelector = require("../../../components/ValueSelector.vue.js");
|
|
23
23
|
const index = require("../../../api/index.js");
|
|
24
24
|
const ParamsConfig = require("../../../components/ParamsConfig.vue2.js");
|
|
25
25
|
;/* empty css */
|
|
@@ -14,7 +14,7 @@ const vue = require("vue");
|
|
|
14
14
|
const common = require("../../utils/common.js");
|
|
15
15
|
const TemplateSelector = require("../../../components/TemplateSelector.vue2.js");
|
|
16
16
|
const eventBus = require("../../utils/eventBus.js");
|
|
17
|
-
const ValueSelector = require("../../../components/ValueSelector.
|
|
17
|
+
const ValueSelector = require("../../../components/ValueSelector.vue.js");
|
|
18
18
|
const ParamsConfig = require("../../../components/ParamsConfig.vue2.js");
|
|
19
19
|
const index = require("../../../../../node_modules/element-plus/es/components/collapse/index.js");
|
|
20
20
|
const index$1 = require("../../../../../node_modules/element-plus/es/components/form/index.js");
|
|
@@ -16,7 +16,7 @@ require("../../../../node_modules/element-plus/es/index.js");
|
|
|
16
16
|
const vue = require("vue");
|
|
17
17
|
const index$6 = require("../../../../node_modules/@element-plus/icons-vue/dist/index.js");
|
|
18
18
|
const common = require("../utils/common.js");
|
|
19
|
-
const ValueSelector = require("../../components/ValueSelector.
|
|
19
|
+
const ValueSelector = require("../../components/ValueSelector.vue.js");
|
|
20
20
|
const index = require("../../api/index.js");
|
|
21
21
|
;/* empty css */
|
|
22
22
|
const _pluginVue_exportHelper = require("../../../../_virtual/_plugin-vue_export-helper.js");
|
|
@@ -58,8 +58,8 @@ const defaultTableConfig = {
|
|
|
58
58
|
sortRules: [],
|
|
59
59
|
paginationConfig: {
|
|
60
60
|
enabled: true,
|
|
61
|
-
pageSize:
|
|
62
|
-
pageSizes: [
|
|
61
|
+
pageSize: 15,
|
|
62
|
+
pageSizes: [15, 20, 50, 100, 200, 500],
|
|
63
63
|
layout: "full",
|
|
64
64
|
background: true,
|
|
65
65
|
size: "small"
|
|
@@ -10,10 +10,6 @@ require("../../../../node_modules/element-plus/es/index.js");
|
|
|
10
10
|
;/* empty css */
|
|
11
11
|
;/* empty css */
|
|
12
12
|
;/* empty css */
|
|
13
|
-
;/* empty css */
|
|
14
|
-
;/* empty css */
|
|
15
|
-
;/* empty css */
|
|
16
|
-
;/* empty css */
|
|
17
13
|
;/* empty css */
|
|
18
14
|
;/* empty css */
|
|
19
15
|
const vue = require("vue");
|
|
@@ -22,10 +18,8 @@ const common = require("../utils/common.js");
|
|
|
22
18
|
const _pluginVue_exportHelper = require("../../../../_virtual/_plugin-vue_export-helper.js");
|
|
23
19
|
const index = require("../../../../node_modules/element-plus/es/components/switch/index.js");
|
|
24
20
|
const index$1 = require("../../../../node_modules/element-plus/es/components/divider/index.js");
|
|
25
|
-
const index$2 = require("../../../../node_modules/element-plus/es/components/
|
|
26
|
-
const index$3 = require("../../../../node_modules/element-plus/es/components/
|
|
27
|
-
const index$4 = require("../../../../node_modules/element-plus/es/components/radio/index.js");
|
|
28
|
-
const index$5 = require("../../../../node_modules/element-plus/es/components/pagination/index.js");
|
|
21
|
+
const index$2 = require("../../../../node_modules/element-plus/es/components/select/index.js");
|
|
22
|
+
const index$3 = require("../../../../node_modules/element-plus/es/components/pagination/index.js");
|
|
29
23
|
const _hoisted_1 = { class: "table-pagination-config" };
|
|
30
24
|
const _hoisted_2 = { class: "config-row" };
|
|
31
25
|
const _hoisted_3 = {
|
|
@@ -39,8 +33,8 @@ const _sfc_main = {
|
|
|
39
33
|
const editConfigData = vue.computed(() => common.getEditConfigData());
|
|
40
34
|
const paginationConfig = vue.reactive({
|
|
41
35
|
enabled: true,
|
|
42
|
-
pageSize:
|
|
43
|
-
pageSizes: [
|
|
36
|
+
pageSize: 15,
|
|
37
|
+
pageSizes: [15, 20, 50, 100, 200, 500],
|
|
44
38
|
layout: "full",
|
|
45
39
|
background: true,
|
|
46
40
|
size: "small",
|
|
@@ -61,49 +55,40 @@ const _sfc_main = {
|
|
|
61
55
|
function getLayout(layout) {
|
|
62
56
|
return layoutMap[layout] || layoutMap.full;
|
|
63
57
|
}
|
|
58
|
+
const showPagination = vue.ref(true);
|
|
59
|
+
function pageSizeChange() {
|
|
60
|
+
showPagination.value = false;
|
|
61
|
+
vue.nextTick(() => {
|
|
62
|
+
showPagination.value = true;
|
|
63
|
+
});
|
|
64
|
+
}
|
|
64
65
|
return (_ctx, _cache) => {
|
|
65
66
|
const _component_el_switch = index.ElSwitch;
|
|
66
67
|
const _component_el_divider = index$1.ElDivider;
|
|
67
|
-
const
|
|
68
|
-
const
|
|
69
|
-
const
|
|
70
|
-
const _component_el_radio_button = index$4.ElRadioButton;
|
|
71
|
-
const _component_el_radio_group = index$4.ElRadioGroup;
|
|
72
|
-
const _component_el_pagination = index$5.ElPagination;
|
|
68
|
+
const _component_el_option = index$2.ElOption;
|
|
69
|
+
const _component_el_select = index$2.ElSelect;
|
|
70
|
+
const _component_el_pagination = index$3.ElPagination;
|
|
73
71
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
74
72
|
vue.createElementVNode("div", _hoisted_2, [
|
|
75
|
-
_cache[
|
|
73
|
+
_cache[2] || (_cache[2] = vue.createElementVNode("span", { class: "config-label" }, "开启分页:", -1)),
|
|
76
74
|
vue.createVNode(_component_el_switch, {
|
|
77
75
|
modelValue: paginationConfig.enabled,
|
|
78
76
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => paginationConfig.enabled = $event),
|
|
79
77
|
size: "small"
|
|
80
78
|
}, null, 8, ["modelValue"]),
|
|
81
79
|
vue.createVNode(_component_el_divider, { direction: "vertical" }),
|
|
82
|
-
_cache[
|
|
83
|
-
vue.createVNode(
|
|
80
|
+
_cache[3] || (_cache[3] = vue.createElementVNode("span", { class: "config-label" }, "每页条数:", -1)),
|
|
81
|
+
vue.createVNode(_component_el_select, {
|
|
84
82
|
modelValue: paginationConfig.pageSize,
|
|
85
83
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => paginationConfig.pageSize = $event),
|
|
86
|
-
min: 1,
|
|
87
|
-
max: 500,
|
|
88
|
-
size: "small",
|
|
89
|
-
"controls-position": "right",
|
|
90
|
-
style: { "width": "100px" }
|
|
91
|
-
}, null, 8, ["modelValue"]),
|
|
92
|
-
vue.createVNode(_component_el_divider, { direction: "vertical" }),
|
|
93
|
-
_cache[7] || (_cache[7] = vue.createElementVNode("span", { class: "config-label" }, "可选条数:", -1)),
|
|
94
|
-
vue.createVNode(_component_el_select, {
|
|
95
|
-
modelValue: paginationConfig.pageSizes,
|
|
96
|
-
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => paginationConfig.pageSizes = $event),
|
|
97
|
-
multiple: "",
|
|
98
84
|
size: "small",
|
|
99
|
-
style: { "width": "
|
|
100
|
-
|
|
101
|
-
"collapse-tags-tooltip": ""
|
|
85
|
+
style: { "width": "100px" },
|
|
86
|
+
onChange: pageSizeChange
|
|
102
87
|
}, {
|
|
103
88
|
default: vue.withCtx(() => [
|
|
104
89
|
vue.createVNode(_component_el_option, {
|
|
105
|
-
label: "
|
|
106
|
-
value:
|
|
90
|
+
label: "15",
|
|
91
|
+
value: 15
|
|
107
92
|
}),
|
|
108
93
|
vue.createVNode(_component_el_option, {
|
|
109
94
|
label: "20",
|
|
@@ -127,60 +112,16 @@ const _sfc_main = {
|
|
|
127
112
|
})
|
|
128
113
|
]),
|
|
129
114
|
_: 1
|
|
130
|
-
}, 8, ["modelValue"]),
|
|
131
|
-
vue.createVNode(_component_el_divider, { direction: "vertical" }),
|
|
132
|
-
_cache[8] || (_cache[8] = vue.createElementVNode("span", { class: "config-label" }, "分页样式:", -1)),
|
|
133
|
-
vue.createVNode(_component_el_select, {
|
|
134
|
-
modelValue: paginationConfig.layout,
|
|
135
|
-
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => paginationConfig.layout = $event),
|
|
136
|
-
size: "small",
|
|
137
|
-
style: { "width": "140px" }
|
|
138
|
-
}, {
|
|
139
|
-
default: vue.withCtx(() => [
|
|
140
|
-
vue.createVNode(_component_el_option, {
|
|
141
|
-
label: "简单",
|
|
142
|
-
value: "simple"
|
|
143
|
-
}),
|
|
144
|
-
vue.createVNode(_component_el_option, {
|
|
145
|
-
label: "标准",
|
|
146
|
-
value: "standard"
|
|
147
|
-
}),
|
|
148
|
-
vue.createVNode(_component_el_option, {
|
|
149
|
-
label: "完整",
|
|
150
|
-
value: "full"
|
|
151
|
-
})
|
|
152
|
-
]),
|
|
153
|
-
_: 1
|
|
154
|
-
}, 8, ["modelValue"]),
|
|
155
|
-
vue.createVNode(_component_el_divider, { direction: "vertical" }),
|
|
156
|
-
vue.createVNode(_component_el_radio_group, {
|
|
157
|
-
modelValue: paginationConfig.size,
|
|
158
|
-
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => paginationConfig.size = $event),
|
|
159
|
-
size: "small"
|
|
160
|
-
}, {
|
|
161
|
-
default: vue.withCtx(() => [
|
|
162
|
-
vue.createVNode(_component_el_radio_button, {
|
|
163
|
-
label: "紧凑",
|
|
164
|
-
value: "small"
|
|
165
|
-
}),
|
|
166
|
-
vue.createVNode(_component_el_radio_button, {
|
|
167
|
-
label: "标准",
|
|
168
|
-
value: "default"
|
|
169
|
-
}),
|
|
170
|
-
vue.createVNode(_component_el_radio_button, {
|
|
171
|
-
label: "大号",
|
|
172
|
-
value: "large"
|
|
173
|
-
})
|
|
174
|
-
]),
|
|
175
|
-
_: 1
|
|
176
115
|
}, 8, ["modelValue"])
|
|
177
116
|
]),
|
|
178
117
|
vue.createElementVNode("div", {
|
|
179
118
|
class: vue.normalizeClass(["preview-section", { disabled: !paginationConfig.enabled }])
|
|
180
119
|
}, [
|
|
181
|
-
vue.
|
|
120
|
+
vue.unref(showPagination) ? (vue.openBlock(), vue.createBlock(_component_el_pagination, {
|
|
121
|
+
key: 0,
|
|
182
122
|
style: { "width": "100%" },
|
|
183
|
-
"page-sizes":
|
|
123
|
+
"page-sizes": [15, 20, 50, 100, 200, 500],
|
|
124
|
+
"default-page-size": paginationConfig.pageSize,
|
|
184
125
|
layout: getLayout(paginationConfig.layout),
|
|
185
126
|
total: 100,
|
|
186
127
|
background: paginationConfig.background,
|
|
@@ -191,11 +132,11 @@ const _sfc_main = {
|
|
|
191
132
|
getLayout(paginationConfig.layout).includes("slot") ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3, vue.toDisplayString(1) + "/" + vue.toDisplayString(Math.ceil(100 / paginationConfig.pageSize)) + "页 ", 1)) : vue.createCommentVNode("", true)
|
|
192
133
|
]),
|
|
193
134
|
_: 1
|
|
194
|
-
}, 8, ["page-
|
|
135
|
+
}, 8, ["default-page-size", "layout", "background", "size", "disabled"])) : vue.createCommentVNode("", true)
|
|
195
136
|
], 2)
|
|
196
137
|
]);
|
|
197
138
|
};
|
|
198
139
|
}
|
|
199
140
|
};
|
|
200
|
-
const TablePagination = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
141
|
+
const TablePagination = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-12c51ab8"]]);
|
|
201
142
|
exports.default = TablePagination;
|
package/lib/designer.css
CHANGED
|
@@ -4018,10 +4018,10 @@ to {
|
|
|
4018
4018
|
.tab-panel .tab-config-list .tab-config-item .delete-btn[data-v-e569e134]:hover {
|
|
4019
4019
|
opacity: 1;
|
|
4020
4020
|
}
|
|
4021
|
-
.table-pagination-config[data-v-
|
|
4021
|
+
.table-pagination-config[data-v-12c51ab8] {
|
|
4022
4022
|
margin: 8px 16px;
|
|
4023
4023
|
}
|
|
4024
|
-
.config-row[data-v-
|
|
4024
|
+
.config-row[data-v-12c51ab8] {
|
|
4025
4025
|
display: flex;
|
|
4026
4026
|
align-items: center;
|
|
4027
4027
|
flex-wrap: wrap;
|
|
@@ -4031,20 +4031,20 @@ to {
|
|
|
4031
4031
|
border-radius: 4px;
|
|
4032
4032
|
margin: 8px 0;
|
|
4033
4033
|
}
|
|
4034
|
-
.config-label[data-v-
|
|
4034
|
+
.config-label[data-v-12c51ab8] {
|
|
4035
4035
|
font-size: 13px;
|
|
4036
4036
|
color: #606266;
|
|
4037
4037
|
margin-right: 4px;
|
|
4038
4038
|
}
|
|
4039
|
-
.preview-section[data-v-
|
|
4039
|
+
.preview-section[data-v-12c51ab8] {
|
|
4040
4040
|
border-top: 1px dashed #dcdfe6;
|
|
4041
4041
|
padding: 8px 12px;
|
|
4042
4042
|
}
|
|
4043
|
-
.preview-section.disabled[data-v-
|
|
4043
|
+
.preview-section.disabled[data-v-12c51ab8] {
|
|
4044
4044
|
opacity: 0.6;
|
|
4045
4045
|
filter: grayscale(0.5);
|
|
4046
4046
|
}
|
|
4047
|
-
.page-slot[data-v-
|
|
4047
|
+
.page-slot[data-v-12c51ab8] {
|
|
4048
4048
|
font-size: 13px;
|
|
4049
4049
|
color: #606266;
|
|
4050
4050
|
margin-left: 8px;
|
|
@@ -5924,25 +5924,25 @@ body,
|
|
|
5924
5924
|
width: 80px;
|
|
5925
5925
|
font-size: var(--el-font-size-extra-small);
|
|
5926
5926
|
}
|
|
5927
|
-
.fec-form[data-v-
|
|
5927
|
+
.fec-form[data-v-bdcc2922] {
|
|
5928
5928
|
height: 100%;
|
|
5929
5929
|
}
|
|
5930
|
-
[data-v-
|
|
5930
|
+
[data-v-bdcc2922] .vgl-layout {
|
|
5931
5931
|
position: relative;
|
|
5932
5932
|
}
|
|
5933
|
-
[data-v-
|
|
5933
|
+
[data-v-bdcc2922] .vgl-item {
|
|
5934
5934
|
transition: none;
|
|
5935
5935
|
}
|
|
5936
|
-
[data-v-
|
|
5936
|
+
[data-v-bdcc2922] .vgl-item > .el-form-item {
|
|
5937
5937
|
width: 100%;
|
|
5938
5938
|
padding: 6px 8px 0 8px;
|
|
5939
5939
|
height: calc(100% - 15px);
|
|
5940
5940
|
display: flex;
|
|
5941
5941
|
}
|
|
5942
|
-
[data-v-
|
|
5942
|
+
[data-v-bdcc2922] .vgl-item > .el-form-item.el-form-item--label-top {
|
|
5943
5943
|
flex-direction: column;
|
|
5944
5944
|
}
|
|
5945
|
-
[data-v-
|
|
5945
|
+
[data-v-bdcc2922] .vgl-item > .el-form-item .el-form-item__label {
|
|
5946
5946
|
line-height: 20px;
|
|
5947
5947
|
display: flex;
|
|
5948
5948
|
align-items: center;
|
|
@@ -5951,19 +5951,19 @@ body,
|
|
|
5951
5951
|
flex-wrap: wrap;
|
|
5952
5952
|
white-space: normal;
|
|
5953
5953
|
}
|
|
5954
|
-
[data-v-
|
|
5954
|
+
[data-v-bdcc2922] .vgl-item > .el-form-item {
|
|
5955
5955
|
/* .el-form-item__error {
|
|
5956
5956
|
padding-top: 10px;
|
|
5957
5957
|
} */
|
|
5958
5958
|
}
|
|
5959
|
-
[data-v-
|
|
5959
|
+
[data-v-bdcc2922] .vgl-item > .el-container {
|
|
5960
5960
|
height: auto !important;
|
|
5961
|
-
}.table-pagination[data-v-
|
|
5961
|
+
}.table-pagination[data-v-142fdd35] {
|
|
5962
5962
|
display: flex;
|
|
5963
5963
|
justify-content: flex-end;
|
|
5964
5964
|
padding: 0 0 16px 0;
|
|
5965
5965
|
}
|
|
5966
|
-
.table-pagination .el-pagination_slot[data-v-
|
|
5966
|
+
.table-pagination .el-pagination_slot[data-v-142fdd35] {
|
|
5967
5967
|
font-size: 13px;
|
|
5968
5968
|
color: #606266;
|
|
5969
5969
|
margin-left: 8px;
|
|
@@ -6310,12 +6310,12 @@ body,
|
|
|
6310
6310
|
}
|
|
6311
6311
|
[data-v-9e44c27e] .el-checkbox-group .el-checkbox-button__inner {
|
|
6312
6312
|
border-radius: 4px;
|
|
6313
|
-
}.fec-table[data-v-
|
|
6313
|
+
}.fec-table[data-v-c3ee9686] {
|
|
6314
6314
|
height: 100%;
|
|
6315
6315
|
flex-grow: 1;
|
|
6316
6316
|
padding: 0 16px;
|
|
6317
6317
|
}
|
|
6318
|
-
.fec-table-container[data-v-
|
|
6318
|
+
.fec-table-container[data-v-c3ee9686] {
|
|
6319
6319
|
width: 100%;
|
|
6320
6320
|
background: #fff;
|
|
6321
6321
|
box-sizing: border-box;
|
|
@@ -6325,85 +6325,85 @@ body,
|
|
|
6325
6325
|
overflow: hidden;
|
|
6326
6326
|
flex-grow: 1;
|
|
6327
6327
|
}
|
|
6328
|
-
.fec-table-container .fec-vxe-table[data-v-
|
|
6328
|
+
.fec-table-container .fec-vxe-table[data-v-c3ee9686] {
|
|
6329
6329
|
flex: 1;
|
|
6330
6330
|
min-height: 0;
|
|
6331
6331
|
overflow: hidden;
|
|
6332
6332
|
margin-bottom: 16px;
|
|
6333
6333
|
}
|
|
6334
|
-
.fec-table-container[data-v-
|
|
6334
|
+
.fec-table-container[data-v-c3ee9686] .vxe-table {
|
|
6335
6335
|
font-size: 14px;
|
|
6336
6336
|
font-family: inherit;
|
|
6337
6337
|
}
|
|
6338
|
-
.fec-table-container[data-v-
|
|
6339
|
-
.fec-table-container[data-v-
|
|
6338
|
+
.fec-table-container[data-v-c3ee9686] .vxe-table .vxe-sort--asc-btn,
|
|
6339
|
+
.fec-table-container[data-v-c3ee9686] .vxe-table .vxe-sort--desc-btn {
|
|
6340
6340
|
color: #dcdcdc;
|
|
6341
6341
|
}
|
|
6342
|
-
.fec-table-container[data-v-
|
|
6343
|
-
.fec-table-container[data-v-
|
|
6342
|
+
.fec-table-container[data-v-c3ee9686] .vxe-table .serverSort .vxe-sort--asc-btn,
|
|
6343
|
+
.fec-table-container[data-v-c3ee9686] .vxe-table .serverSort .vxe-sort--desc-btn {
|
|
6344
6344
|
color: #d3edf9;
|
|
6345
6345
|
}
|
|
6346
|
-
.fec-table-container[data-v-
|
|
6346
|
+
.fec-table-container[data-v-c3ee9686] .vxe-table .serverSort .sort--active {
|
|
6347
6347
|
color: var(--el-color-primary);
|
|
6348
6348
|
}
|
|
6349
|
-
.fec-table-container[data-v-
|
|
6349
|
+
.fec-table-container[data-v-c3ee9686] .vxe-table .sort--active {
|
|
6350
6350
|
color: var(--el-color-primary);
|
|
6351
6351
|
}
|
|
6352
|
-
.fec-table-container[data-v-
|
|
6352
|
+
.fec-table-container[data-v-c3ee9686] .vxe-table .vxe-table--body-wrapper {
|
|
6353
6353
|
overflow: auto;
|
|
6354
6354
|
}
|
|
6355
|
-
.fec-table-container[data-v-
|
|
6355
|
+
.fec-table-container[data-v-c3ee9686] .vxe-table .vxe-table--body {
|
|
6356
6356
|
width: 100% !important;
|
|
6357
6357
|
}
|
|
6358
|
-
.fec-table-container[data-v-
|
|
6358
|
+
.fec-table-container[data-v-c3ee9686] .vxe-table .vxe-header--column {
|
|
6359
6359
|
background-color: #fff;
|
|
6360
6360
|
}
|
|
6361
|
-
.fec-table-container[data-v-
|
|
6361
|
+
.fec-table-container[data-v-c3ee9686] .vxe-table .vxe-header--column .vxe-cell {
|
|
6362
6362
|
height: 40px !important;
|
|
6363
6363
|
min-height: 40px !important;
|
|
6364
6364
|
color: #333;
|
|
6365
6365
|
}
|
|
6366
|
-
.fec-table-container[data-v-
|
|
6366
|
+
.fec-table-container[data-v-c3ee9686] .vxe-table .vxe-table--header-inner-wrapper {
|
|
6367
6367
|
height: 40px !important;
|
|
6368
6368
|
}
|
|
6369
|
-
.fec-table-container[data-v-
|
|
6369
|
+
.fec-table-container[data-v-c3ee9686] .vxe-table .vxe-body--column .vxe-cell {
|
|
6370
6370
|
padding: 6px !important;
|
|
6371
6371
|
min-height: 32px !important;
|
|
6372
6372
|
color: #666;
|
|
6373
6373
|
font-size: 13px;
|
|
6374
6374
|
}
|
|
6375
|
-
.fec-table-container[data-v-
|
|
6376
|
-
.fec-table-container[data-v-
|
|
6375
|
+
.fec-table-container[data-v-c3ee9686] .vxe-table .vxe-body--column .c--tooltip,
|
|
6376
|
+
.fec-table-container[data-v-c3ee9686] .vxe-table .vxe-body--column .c--title {
|
|
6377
6377
|
height: 32px !important;
|
|
6378
6378
|
min-height: 32px !important;
|
|
6379
6379
|
}
|
|
6380
|
-
.fec-table-container[data-v-
|
|
6380
|
+
.fec-table-container[data-v-c3ee9686] .vxe-table .vxe-table--border-line {
|
|
6381
6381
|
border: none;
|
|
6382
6382
|
border-bottom: 1px solid #ebeef5;
|
|
6383
6383
|
border-top: 1px solid #ebeef5;
|
|
6384
6384
|
}
|
|
6385
|
-
.fec-table-container[data-v-
|
|
6386
|
-
.fec-table-container[data-v-
|
|
6385
|
+
.fec-table-container[data-v-c3ee9686] .vxe-table .vxe-table--scroll-y-handle-appearance,
|
|
6386
|
+
.fec-table-container[data-v-c3ee9686] .vxe-table .vxe-table--scroll-y-wrapper:after {
|
|
6387
6387
|
border: none !important;
|
|
6388
6388
|
}
|
|
6389
|
-
.fec-table-container[data-v-
|
|
6389
|
+
.fec-table-container[data-v-c3ee9686] .vxe-table .vxe-table--scroll-y-top-corner {
|
|
6390
6390
|
display: none !important;
|
|
6391
6391
|
}
|
|
6392
|
-
.fec-table-container[data-v-
|
|
6392
|
+
.fec-table-container[data-v-c3ee9686] .vxe-table .vxe-cell--sort {
|
|
6393
6393
|
font-size: 14px;
|
|
6394
6394
|
}
|
|
6395
|
-
.fec-table-container[data-v-
|
|
6396
|
-
.fec-table-container[data-v-
|
|
6397
|
-
.fec-table-container[data-v-
|
|
6398
|
-
.fec-table-container[data-v-
|
|
6399
|
-
.fec-table-container[data-v-
|
|
6400
|
-
.fec-table-container[data-v-
|
|
6395
|
+
.fec-table-container[data-v-c3ee9686] .vxe-table .vxe-body--column,
|
|
6396
|
+
.fec-table-container[data-v-c3ee9686] .vxe-table .vxe-footer--column,
|
|
6397
|
+
.fec-table-container[data-v-c3ee9686] .vxe-table .vxe-header--column,
|
|
6398
|
+
.fec-table-container[data-v-c3ee9686] .vxe-table .vxe-body--column,
|
|
6399
|
+
.fec-table-container[data-v-c3ee9686] .vxe-table .vxe-footer--column,
|
|
6400
|
+
.fec-table-container[data-v-c3ee9686] .vxe-table .vxe-header--column {
|
|
6401
6401
|
background-image: linear-gradient(#ebeef5, #ebeef5) !important;
|
|
6402
6402
|
}
|
|
6403
|
-
.fec-table-container[data-v-
|
|
6403
|
+
.fec-table-container[data-v-c3ee9686] .vxe-table .el-button.is-disabled {
|
|
6404
6404
|
color: #ccc !important;
|
|
6405
6405
|
}
|
|
6406
|
-
.fec-table-sub[data-v-
|
|
6406
|
+
.fec-table-sub[data-v-c3ee9686] .vxe-table .vxe-table--border-line {
|
|
6407
6407
|
border-top: none;
|
|
6408
6408
|
}
|
|
6409
6409
|
.fec-layout-card[data-v-c90689d4] {
|
|
@@ -867,6 +867,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
867
867
|
layoutFieldItem.hidden = true;
|
|
868
868
|
}
|
|
869
869
|
});
|
|
870
|
+
debugger;
|
|
870
871
|
if (parseFilterConfig.checkFilterMatch(item.filterConfig, formData.value, fields)) {
|
|
871
872
|
dataLinkFieldList.forEach((fieldId) => {
|
|
872
873
|
const layoutFieldItem = updatedLayoutData.find((g) => g.id == fieldId);
|
|
@@ -1096,5 +1097,5 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
1096
1097
|
};
|
|
1097
1098
|
}
|
|
1098
1099
|
});
|
|
1099
|
-
const _Form = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
1100
|
+
const _Form = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-bdcc2922"]]);
|
|
1100
1101
|
exports.default = _Form;
|
|
@@ -29,8 +29,8 @@ const _sfc_main = {
|
|
|
29
29
|
type: Object,
|
|
30
30
|
default: () => ({
|
|
31
31
|
enabled: true,
|
|
32
|
-
pageSize:
|
|
33
|
-
pageSizes: [
|
|
32
|
+
pageSize: 15,
|
|
33
|
+
pageSizes: [15, 20, 50, 100, 200, 500],
|
|
34
34
|
layout: "full",
|
|
35
35
|
background: true,
|
|
36
36
|
size: "small"
|
|
@@ -41,7 +41,7 @@ const _sfc_main = {
|
|
|
41
41
|
default: () => ({
|
|
42
42
|
show: true,
|
|
43
43
|
pageNo: 1,
|
|
44
|
-
pageSize:
|
|
44
|
+
pageSize: 15,
|
|
45
45
|
pageTotal: 0
|
|
46
46
|
})
|
|
47
47
|
}
|
|
@@ -90,7 +90,7 @@ const _sfc_main = {
|
|
|
90
90
|
background: __props.config.background,
|
|
91
91
|
onSizeChange: handleSizeChange,
|
|
92
92
|
onCurrentChange: handleCurrentChange,
|
|
93
|
-
"page-sizes":
|
|
93
|
+
"page-sizes": [15, 20, 50, 100, 200, 500],
|
|
94
94
|
"page-size": __props.pagination.pageSize,
|
|
95
95
|
"current-page": __props.pagination.pageNo,
|
|
96
96
|
layout: getLayout(__props.config.layout),
|
|
@@ -102,10 +102,10 @@ const _sfc_main = {
|
|
|
102
102
|
getLayout(__props.config.layout).includes("slot") ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, vue.toDisplayString(__props.pagination.pageNo) + "/" + vue.toDisplayString(Math.ceil(__props.pagination.pageTotal / __props.pagination.pageSize)) + " 页 ", 1)) : vue.createCommentVNode("", true)
|
|
103
103
|
]),
|
|
104
104
|
_: 1
|
|
105
|
-
}, 8, ["background", "page-
|
|
105
|
+
}, 8, ["background", "page-size", "current-page", "layout", "total", "size"])) : vue.createCommentVNode("", true)
|
|
106
106
|
])) : vue.createCommentVNode("", true);
|
|
107
107
|
};
|
|
108
108
|
}
|
|
109
109
|
};
|
|
110
|
-
const Pagination = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
110
|
+
const Pagination = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-142fdd35"]]);
|
|
111
111
|
exports.default = Pagination;
|
|
@@ -185,7 +185,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
185
185
|
return {
|
|
186
186
|
show: true,
|
|
187
187
|
pageNo: (pagination == null ? void 0 : pagination.pageNo) || 1,
|
|
188
|
-
pageSize: (pagination == null ? void 0 : pagination.pageSize) || ((_c = localConfig.value.paginationConfig) == null ? void 0 : _c.pageSize) ||
|
|
188
|
+
pageSize: (pagination == null ? void 0 : pagination.pageSize) || ((_c = localConfig.value.paginationConfig) == null ? void 0 : _c.pageSize) || 15,
|
|
189
189
|
pageTotal: (data == null ? void 0 : data.total) || 0
|
|
190
190
|
};
|
|
191
191
|
});
|
|
@@ -295,7 +295,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
295
295
|
if (route) {
|
|
296
296
|
routeParams.value = JSON.parse(sessionStorage.getItem(route));
|
|
297
297
|
pageNo = ((_d = routeParams.value) == null ? void 0 : _d.pageNo) || 1;
|
|
298
|
-
pageSize = ((_e = routeParams.value) == null ? void 0 : _e.pageSize) || ((_f = localConfig.value.paginationConfig) == null ? void 0 : _f.pageSize) ||
|
|
298
|
+
pageSize = ((_e = routeParams.value) == null ? void 0 : _e.pageSize) || ((_f = localConfig.value.paginationConfig) == null ? void 0 : _f.pageSize) || 15;
|
|
299
299
|
}
|
|
300
300
|
}
|
|
301
301
|
dataSourceManager.value = datasource.createDataSource({
|
|
@@ -884,7 +884,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
884
884
|
_: 3
|
|
885
885
|
}, 8, ["data", "auto-resize", "height", "export-config", "row-config", "radio-config", "checkbox-config", "sort-config", "show-footer", "footer-data"])
|
|
886
886
|
]),
|
|
887
|
-
isPagination.value ? (vue.openBlock(), vue.createBlock(Pagination.default, {
|
|
887
|
+
isPagination.value && displayData.value.length > 0 ? (vue.openBlock(), vue.createBlock(Pagination.default, {
|
|
888
888
|
key: 2,
|
|
889
889
|
config: localConfig.value.paginationConfig,
|
|
890
890
|
pagination: displayPagination.value,
|
|
@@ -898,5 +898,5 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
898
898
|
};
|
|
899
899
|
}
|
|
900
900
|
});
|
|
901
|
-
const _Table = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
901
|
+
const _Table = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-c3ee9686"]]);
|
|
902
902
|
exports.default = _Table;
|
|
@@ -20,15 +20,15 @@ function checkGroupMatch(group, data, fields) {
|
|
|
20
20
|
results.push(checkGroupMatch(g, data, fields));
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
|
-
if (operator
|
|
24
|
-
return results.every((r) => r
|
|
23
|
+
if (operator == "and") {
|
|
24
|
+
return results.every((r) => r == true);
|
|
25
25
|
} else {
|
|
26
|
-
return results.some((r) => r
|
|
26
|
+
return results.some((r) => r == true);
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
function checkConditionMatch(condition, data, fields) {
|
|
30
30
|
const { field, operator, value } = condition;
|
|
31
|
-
const fieldInfo = fields.find((f) => f.id
|
|
31
|
+
const fieldInfo = fields.find((f) => f.id == field);
|
|
32
32
|
const fieldName = (fieldInfo == null ? void 0 : fieldInfo.fieldName) || field;
|
|
33
33
|
const dataValue = data[fieldName];
|
|
34
34
|
const parsedValue = parseRouteParams.parseSingleParamValue(value, data, fields);
|
|
@@ -46,7 +46,7 @@ function checkConditionMatch(condition, data, fields) {
|
|
|
46
46
|
case "lte":
|
|
47
47
|
return Number(dataValue) <= Number(parsedValue);
|
|
48
48
|
case "range":
|
|
49
|
-
if (!parsedValue || parsedValue.min
|
|
49
|
+
if (!parsedValue || parsedValue.min == null || parsedValue.max == null) return false;
|
|
50
50
|
const numValue = Number(dataValue);
|
|
51
51
|
return numValue >= Number(parsedValue.min) && numValue <= Number(parsedValue.max);
|
|
52
52
|
case "contains":
|
|
@@ -66,7 +66,7 @@ function checkConditionMatch(condition, data, fields) {
|
|
|
66
66
|
}
|
|
67
67
|
return !parsedValue.some((v) => dataValue == v);
|
|
68
68
|
case "is_null":
|
|
69
|
-
return dataValue
|
|
69
|
+
return dataValue == null || dataValue == void 0 || dataValue == "";
|
|
70
70
|
case "is_not_null":
|
|
71
71
|
return dataValue !== null && dataValue !== void 0 && dataValue !== "";
|
|
72
72
|
default:
|
|
@@ -82,7 +82,7 @@ function checkFieldInFilterConfig(filterConfig, fieldId) {
|
|
|
82
82
|
function checkFieldInGroup(group, targetFieldId) {
|
|
83
83
|
const { conditions, groups } = group;
|
|
84
84
|
if (conditions && conditions.length > 0) {
|
|
85
|
-
const foundInConditions = conditions.some((cond) => cond.field
|
|
85
|
+
const foundInConditions = conditions.some((cond) => cond.field == targetFieldId);
|
|
86
86
|
if (foundInConditions) {
|
|
87
87
|
return true;
|
|
88
88
|
}
|