@fecp/designer 5.5.1 → 5.5.3
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/dialog/index.vue2.mjs +988 -0
- package/es/designer/src/packages/dialog/useDialogDialog.mjs +1 -1
- package/es/designer/src/packages/dialogGlobal/index.vue.mjs +1 -1
- package/es/designer/src/packages/dialogGlobal/index.vue2.mjs +1035 -0
- package/es/designer/src/packages/dialogGlobal/useDialogGlobalDialog.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/form/property/widgets.vue.mjs +2 -2
- 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/dialog/DialogRenderer.vue2.mjs +1 -1
- package/es/packages/vue/src/components/forms/form/Form.vue.mjs +2 -1
- package/es/packages/vue/src/components/forms/text/Text.vue.mjs +1 -1
- package/es/packages/vue/src/components/table/Pagination.vue.mjs +6 -6
- package/es/packages/vue/src/components/table/Table.vue.mjs +5 -4
- package/es/packages/vue/src/components/table/TableColumn.vue.mjs +1 -1
- package/es/packages/vue/src/composables/usePageEvents.mjs +1 -1
- package/es/packages/vue/src/utils/datasource.mjs +1 -1
- 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/dialog/index.vue2.js +988 -0
- package/lib/designer/src/packages/dialog/useDialogDialog.js +1 -1
- package/lib/designer/src/packages/dialogGlobal/index.vue.js +1 -1
- package/lib/designer/src/packages/dialogGlobal/index.vue2.js +1035 -0
- package/lib/designer/src/packages/dialogGlobal/useDialogGlobalDialog.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/form/property/widgets.vue.js +2 -2
- 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/dialog/DialogRenderer.vue2.js +1 -1
- package/lib/packages/vue/src/components/forms/form/Form.vue.js +2 -1
- package/lib/packages/vue/src/components/forms/text/Text.vue.js +1 -1
- package/lib/packages/vue/src/components/table/Pagination.vue.js +6 -6
- package/lib/packages/vue/src/components/table/Table.vue.js +5 -4
- package/lib/packages/vue/src/components/table/TableColumn.vue.js +1 -1
- package/lib/packages/vue/src/composables/usePageEvents.js +1 -1
- package/lib/packages/vue/src/utils/datasource.js +1 -1
- package/lib/packages/vue/src/utils/parseFilterConfig.js +7 -7
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ import "../../../../../../node_modules/element-plus/es/index.mjs";
|
|
|
4
4
|
/* empty css */
|
|
5
5
|
import { createElementBlock, openBlock, Fragment, createVNode, withCtx } from "vue";
|
|
6
6
|
import RiskSchemeSelector from "../../../../components/RiskSchemeSelector.vue2.mjs";
|
|
7
|
-
import ValueSelector from "../../../../components/ValueSelector.
|
|
7
|
+
import ValueSelector from "../../../../components/ValueSelector.vue.mjs";
|
|
8
8
|
import ParamsConfig from "../../../../components/ParamsConfig.vue2.mjs";
|
|
9
9
|
import { ElFormItem } from "../../../../../../node_modules/element-plus/es/components/form/index.mjs";
|
|
10
10
|
import { ElSwitch } from "../../../../../../node_modules/element-plus/es/components/switch/index.mjs";
|
|
@@ -11,7 +11,7 @@ import "../../../../../node_modules/element-plus/es/index.mjs";
|
|
|
11
11
|
import { computed, ref, watch, createBlock, openBlock, unref, isRef, withCtx, createVNode, createElementBlock, createCommentVNode, createTextVNode, Fragment } from "vue";
|
|
12
12
|
import { getCurrentItem, getEditConfigData } from "../../utils/common.mjs";
|
|
13
13
|
import emitter from "../../utils/eventBus.mjs";
|
|
14
|
-
import ValueSelector from "../../../components/ValueSelector.
|
|
14
|
+
import ValueSelector from "../../../components/ValueSelector.vue.mjs";
|
|
15
15
|
import { ElCollapse, ElCollapseItem } from "../../../../../node_modules/element-plus/es/components/collapse/index.mjs";
|
|
16
16
|
import { ElForm, ElFormItem } from "../../../../../node_modules/element-plus/es/components/form/index.mjs";
|
|
17
17
|
import { ElInput } from "../../../../../node_modules/element-plus/es/components/input/index.mjs";
|
|
@@ -17,7 +17,7 @@ import "../../../../../node_modules/element-plus/es/index.mjs";
|
|
|
17
17
|
import { computed, ref, createBlock, openBlock, withCtx, createVNode, createTextVNode, createElementBlock, Fragment, renderList } from "vue";
|
|
18
18
|
import { getCurrentItem } from "../../utils/common.mjs";
|
|
19
19
|
import "../../utils/eventBus.mjs";
|
|
20
|
-
import ValueSelector from "../../../components/ValueSelector.
|
|
20
|
+
import ValueSelector from "../../../components/ValueSelector.vue.mjs";
|
|
21
21
|
import api from "../../../api/index.mjs";
|
|
22
22
|
import ParamsConfig from "../../../components/ParamsConfig.vue2.mjs";
|
|
23
23
|
/* empty css */
|
|
@@ -12,7 +12,7 @@ import { computed, ref, createBlock, openBlock, unref, isRef, withCtx, createVNo
|
|
|
12
12
|
import { getCurrentItem, getEditConfigData } from "../../utils/common.mjs";
|
|
13
13
|
import TemplateSelector from "../../../components/TemplateSelector.vue2.mjs";
|
|
14
14
|
import emitter from "../../utils/eventBus.mjs";
|
|
15
|
-
import ValueSelector from "../../../components/ValueSelector.
|
|
15
|
+
import ValueSelector from "../../../components/ValueSelector.vue.mjs";
|
|
16
16
|
import ParamsConfig from "../../../components/ParamsConfig.vue2.mjs";
|
|
17
17
|
import { ElCollapse, ElCollapseItem } from "../../../../../node_modules/element-plus/es/components/collapse/index.mjs";
|
|
18
18
|
import { ElForm, ElFormItem } from "../../../../../node_modules/element-plus/es/components/form/index.mjs";
|
|
@@ -52,8 +52,8 @@ import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
|
52
52
|
import "../../../components/TemplateSelector.vue.mjs";
|
|
53
53
|
import "../../table/default.mjs";
|
|
54
54
|
/* empty css */
|
|
55
|
-
/* empty css
|
|
56
|
-
/* empty css
|
|
55
|
+
/* empty css */
|
|
56
|
+
/* empty css */
|
|
57
57
|
import "../../../store/index.mjs";
|
|
58
58
|
/* empty css */
|
|
59
59
|
import { ElCollapse, ElCollapseItem } from "../../../../../node_modules/element-plus/es/components/collapse/index.mjs";
|
|
@@ -14,7 +14,7 @@ import "../../../../node_modules/element-plus/es/index.mjs";
|
|
|
14
14
|
import { useModel, ref, watch, computed, createBlock, openBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, createTextVNode, unref } from "vue";
|
|
15
15
|
import { Plus as plus_default } from "../../../../node_modules/@element-plus/icons-vue/dist/index.mjs";
|
|
16
16
|
import { getEditConfigData, getEditConfigDataFields, setEditConfigData } from "../utils/common.mjs";
|
|
17
|
-
import ValueSelector from "../../components/ValueSelector.
|
|
17
|
+
import ValueSelector from "../../components/ValueSelector.vue.mjs";
|
|
18
18
|
import api from "../../api/index.mjs";
|
|
19
19
|
/* empty css */
|
|
20
20
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
@@ -56,8 +56,8 @@ const defaultTableConfig = {
|
|
|
56
56
|
sortRules: [],
|
|
57
57
|
paginationConfig: {
|
|
58
58
|
enabled: true,
|
|
59
|
-
pageSize:
|
|
60
|
-
pageSizes: [
|
|
59
|
+
pageSize: 15,
|
|
60
|
+
pageSizes: [15, 20, 50, 100, 200, 500],
|
|
61
61
|
layout: "full",
|
|
62
62
|
background: true,
|
|
63
63
|
size: "small"
|
|
@@ -8,21 +8,15 @@ import "../../../../node_modules/element-plus/es/index.mjs";
|
|
|
8
8
|
/* empty css */
|
|
9
9
|
/* empty css */
|
|
10
10
|
/* empty css */
|
|
11
|
-
/* empty css */
|
|
12
|
-
/* empty css */
|
|
13
|
-
/* empty css */
|
|
14
|
-
/* empty css */
|
|
15
11
|
/* empty css */
|
|
16
12
|
/* empty css */
|
|
17
|
-
import { computed, reactive, watch, createElementBlock, openBlock, createElementVNode, createVNode, withCtx, normalizeClass, createCommentVNode, toDisplayString } from "vue";
|
|
13
|
+
import { computed, reactive, watch, ref, createElementBlock, openBlock, createElementVNode, createVNode, withCtx, normalizeClass, createBlock, createCommentVNode, unref, toDisplayString, nextTick } from "vue";
|
|
18
14
|
import { getEditConfigData } from "../utils/common.mjs";
|
|
19
15
|
/* empty css */
|
|
20
16
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
21
17
|
import { ElSwitch } from "../../../../node_modules/element-plus/es/components/switch/index.mjs";
|
|
22
18
|
import { ElDivider } from "../../../../node_modules/element-plus/es/components/divider/index.mjs";
|
|
23
|
-
import { ElInputNumber } from "../../../../node_modules/element-plus/es/components/input-number/index.mjs";
|
|
24
19
|
import { ElSelect, ElOption } from "../../../../node_modules/element-plus/es/components/select/index.mjs";
|
|
25
|
-
import { ElRadioGroup, ElRadioButton } from "../../../../node_modules/element-plus/es/components/radio/index.mjs";
|
|
26
20
|
import { ElPagination } from "../../../../node_modules/element-plus/es/components/pagination/index.mjs";
|
|
27
21
|
const _hoisted_1 = { class: "table-pagination-config" };
|
|
28
22
|
const _hoisted_2 = { class: "config-row" };
|
|
@@ -37,8 +31,8 @@ const _sfc_main = {
|
|
|
37
31
|
const editConfigData = computed(() => getEditConfigData());
|
|
38
32
|
const paginationConfig = reactive({
|
|
39
33
|
enabled: true,
|
|
40
|
-
pageSize:
|
|
41
|
-
pageSizes: [
|
|
34
|
+
pageSize: 15,
|
|
35
|
+
pageSizes: [15, 20, 50, 100, 200, 500],
|
|
42
36
|
layout: "full",
|
|
43
37
|
background: true,
|
|
44
38
|
size: "small",
|
|
@@ -59,49 +53,40 @@ const _sfc_main = {
|
|
|
59
53
|
function getLayout(layout) {
|
|
60
54
|
return layoutMap[layout] || layoutMap.full;
|
|
61
55
|
}
|
|
56
|
+
const showPagination = ref(true);
|
|
57
|
+
function pageSizeChange() {
|
|
58
|
+
showPagination.value = false;
|
|
59
|
+
nextTick(() => {
|
|
60
|
+
showPagination.value = true;
|
|
61
|
+
});
|
|
62
|
+
}
|
|
62
63
|
return (_ctx, _cache) => {
|
|
63
64
|
const _component_el_switch = ElSwitch;
|
|
64
65
|
const _component_el_divider = ElDivider;
|
|
65
|
-
const _component_el_input_number = ElInputNumber;
|
|
66
66
|
const _component_el_option = ElOption;
|
|
67
67
|
const _component_el_select = ElSelect;
|
|
68
|
-
const _component_el_radio_button = ElRadioButton;
|
|
69
|
-
const _component_el_radio_group = ElRadioGroup;
|
|
70
68
|
const _component_el_pagination = ElPagination;
|
|
71
69
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
72
70
|
createElementVNode("div", _hoisted_2, [
|
|
73
|
-
_cache[
|
|
71
|
+
_cache[2] || (_cache[2] = createElementVNode("span", { class: "config-label" }, "开启分页:", -1)),
|
|
74
72
|
createVNode(_component_el_switch, {
|
|
75
73
|
modelValue: paginationConfig.enabled,
|
|
76
74
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => paginationConfig.enabled = $event),
|
|
77
75
|
size: "small"
|
|
78
76
|
}, null, 8, ["modelValue"]),
|
|
79
77
|
createVNode(_component_el_divider, { direction: "vertical" }),
|
|
80
|
-
_cache[
|
|
81
|
-
createVNode(
|
|
78
|
+
_cache[3] || (_cache[3] = createElementVNode("span", { class: "config-label" }, "每页条数:", -1)),
|
|
79
|
+
createVNode(_component_el_select, {
|
|
82
80
|
modelValue: paginationConfig.pageSize,
|
|
83
81
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => paginationConfig.pageSize = $event),
|
|
84
|
-
min: 1,
|
|
85
|
-
max: 500,
|
|
86
|
-
size: "small",
|
|
87
|
-
"controls-position": "right",
|
|
88
|
-
style: { "width": "100px" }
|
|
89
|
-
}, null, 8, ["modelValue"]),
|
|
90
|
-
createVNode(_component_el_divider, { direction: "vertical" }),
|
|
91
|
-
_cache[7] || (_cache[7] = createElementVNode("span", { class: "config-label" }, "可选条数:", -1)),
|
|
92
|
-
createVNode(_component_el_select, {
|
|
93
|
-
modelValue: paginationConfig.pageSizes,
|
|
94
|
-
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => paginationConfig.pageSizes = $event),
|
|
95
|
-
multiple: "",
|
|
96
82
|
size: "small",
|
|
97
|
-
style: { "width": "
|
|
98
|
-
|
|
99
|
-
"collapse-tags-tooltip": ""
|
|
83
|
+
style: { "width": "100px" },
|
|
84
|
+
onChange: pageSizeChange
|
|
100
85
|
}, {
|
|
101
86
|
default: withCtx(() => [
|
|
102
87
|
createVNode(_component_el_option, {
|
|
103
|
-
label: "
|
|
104
|
-
value:
|
|
88
|
+
label: "15",
|
|
89
|
+
value: 15
|
|
105
90
|
}),
|
|
106
91
|
createVNode(_component_el_option, {
|
|
107
92
|
label: "20",
|
|
@@ -125,60 +110,16 @@ const _sfc_main = {
|
|
|
125
110
|
})
|
|
126
111
|
]),
|
|
127
112
|
_: 1
|
|
128
|
-
}, 8, ["modelValue"]),
|
|
129
|
-
createVNode(_component_el_divider, { direction: "vertical" }),
|
|
130
|
-
_cache[8] || (_cache[8] = createElementVNode("span", { class: "config-label" }, "分页样式:", -1)),
|
|
131
|
-
createVNode(_component_el_select, {
|
|
132
|
-
modelValue: paginationConfig.layout,
|
|
133
|
-
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => paginationConfig.layout = $event),
|
|
134
|
-
size: "small",
|
|
135
|
-
style: { "width": "140px" }
|
|
136
|
-
}, {
|
|
137
|
-
default: withCtx(() => [
|
|
138
|
-
createVNode(_component_el_option, {
|
|
139
|
-
label: "简单",
|
|
140
|
-
value: "simple"
|
|
141
|
-
}),
|
|
142
|
-
createVNode(_component_el_option, {
|
|
143
|
-
label: "标准",
|
|
144
|
-
value: "standard"
|
|
145
|
-
}),
|
|
146
|
-
createVNode(_component_el_option, {
|
|
147
|
-
label: "完整",
|
|
148
|
-
value: "full"
|
|
149
|
-
})
|
|
150
|
-
]),
|
|
151
|
-
_: 1
|
|
152
|
-
}, 8, ["modelValue"]),
|
|
153
|
-
createVNode(_component_el_divider, { direction: "vertical" }),
|
|
154
|
-
createVNode(_component_el_radio_group, {
|
|
155
|
-
modelValue: paginationConfig.size,
|
|
156
|
-
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => paginationConfig.size = $event),
|
|
157
|
-
size: "small"
|
|
158
|
-
}, {
|
|
159
|
-
default: withCtx(() => [
|
|
160
|
-
createVNode(_component_el_radio_button, {
|
|
161
|
-
label: "紧凑",
|
|
162
|
-
value: "small"
|
|
163
|
-
}),
|
|
164
|
-
createVNode(_component_el_radio_button, {
|
|
165
|
-
label: "标准",
|
|
166
|
-
value: "default"
|
|
167
|
-
}),
|
|
168
|
-
createVNode(_component_el_radio_button, {
|
|
169
|
-
label: "大号",
|
|
170
|
-
value: "large"
|
|
171
|
-
})
|
|
172
|
-
]),
|
|
173
|
-
_: 1
|
|
174
113
|
}, 8, ["modelValue"])
|
|
175
114
|
]),
|
|
176
115
|
createElementVNode("div", {
|
|
177
116
|
class: normalizeClass(["preview-section", { disabled: !paginationConfig.enabled }])
|
|
178
117
|
}, [
|
|
179
|
-
|
|
118
|
+
unref(showPagination) ? (openBlock(), createBlock(_component_el_pagination, {
|
|
119
|
+
key: 0,
|
|
180
120
|
style: { "width": "100%" },
|
|
181
|
-
"page-sizes":
|
|
121
|
+
"page-sizes": [15, 20, 50, 100, 200, 500],
|
|
122
|
+
"default-page-size": paginationConfig.pageSize,
|
|
182
123
|
layout: getLayout(paginationConfig.layout),
|
|
183
124
|
total: 100,
|
|
184
125
|
background: paginationConfig.background,
|
|
@@ -189,13 +130,13 @@ const _sfc_main = {
|
|
|
189
130
|
getLayout(paginationConfig.layout).includes("slot") ? (openBlock(), createElementBlock("span", _hoisted_3, toDisplayString(1) + "/" + toDisplayString(Math.ceil(100 / paginationConfig.pageSize)) + "页 ", 1)) : createCommentVNode("", true)
|
|
190
131
|
]),
|
|
191
132
|
_: 1
|
|
192
|
-
}, 8, ["page-
|
|
133
|
+
}, 8, ["default-page-size", "layout", "background", "size", "disabled"])) : createCommentVNode("", true)
|
|
193
134
|
], 2)
|
|
194
135
|
]);
|
|
195
136
|
};
|
|
196
137
|
}
|
|
197
138
|
};
|
|
198
|
-
const TablePagination = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
139
|
+
const TablePagination = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-12c51ab8"]]);
|
|
199
140
|
export {
|
|
200
141
|
TablePagination as default
|
|
201
142
|
};
|
package/es/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-501e930d] {
|
|
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-501e930d] {
|
|
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-501e930d] {
|
|
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-501e930d] .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-501e930d] .vxe-table .vxe-sort--asc-btn,
|
|
6339
|
+
.fec-table-container[data-v-501e930d] .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-501e930d] .vxe-table .serverSort .vxe-sort--asc-btn,
|
|
6343
|
+
.fec-table-container[data-v-501e930d] .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-501e930d] .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-501e930d] .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-501e930d] .vxe-table .vxe-table--body-wrapper {
|
|
6353
6353
|
overflow: auto;
|
|
6354
6354
|
}
|
|
6355
|
-
.fec-table-container[data-v-
|
|
6355
|
+
.fec-table-container[data-v-501e930d] .vxe-table .vxe-table--body {
|
|
6356
6356
|
width: 100% !important;
|
|
6357
6357
|
}
|
|
6358
|
-
.fec-table-container[data-v-
|
|
6358
|
+
.fec-table-container[data-v-501e930d] .vxe-table .vxe-header--column {
|
|
6359
6359
|
background-color: #fff;
|
|
6360
6360
|
}
|
|
6361
|
-
.fec-table-container[data-v-
|
|
6361
|
+
.fec-table-container[data-v-501e930d] .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-501e930d] .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-501e930d] .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-501e930d] .vxe-table .vxe-body--column .c--tooltip,
|
|
6376
|
+
.fec-table-container[data-v-501e930d] .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-501e930d] .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-501e930d] .vxe-table .vxe-table--scroll-y-handle-appearance,
|
|
6386
|
+
.fec-table-container[data-v-501e930d] .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-501e930d] .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-501e930d] .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-501e930d] .vxe-table .vxe-body--column,
|
|
6396
|
+
.fec-table-container[data-v-501e930d] .vxe-table .vxe-footer--column,
|
|
6397
|
+
.fec-table-container[data-v-501e930d] .vxe-table .vxe-header--column,
|
|
6398
|
+
.fec-table-container[data-v-501e930d] .vxe-table .vxe-body--column,
|
|
6399
|
+
.fec-table-container[data-v-501e930d] .vxe-table .vxe-footer--column,
|
|
6400
|
+
.fec-table-container[data-v-501e930d] .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-501e930d] .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-501e930d] .vxe-table .vxe-table--border-line {
|
|
6407
6407
|
border-top: none;
|
|
6408
6408
|
}
|
|
6409
6409
|
.fec-layout-card[data-v-c90689d4] {
|
|
@@ -7,9 +7,9 @@ import { ref, computed, watch, resolveComponent, createBlock, openBlock, resolve
|
|
|
7
7
|
import { parseRouteParams } from "../../utils/parseRouteParams.mjs";
|
|
8
8
|
import { calculate } from "../../utils/formulajs/calculate.mjs";
|
|
9
9
|
import { useEventFlow, executeEventFlow } from "../../utils/eventFlow/eventFlowHandler.mjs";
|
|
10
|
-
/* empty css */
|
|
11
10
|
/* empty css */
|
|
12
11
|
/* empty css */
|
|
12
|
+
/* empty css */
|
|
13
13
|
import { loadComponentByPath } from "../../utils/common.mjs";
|
|
14
14
|
/* empty css */
|
|
15
15
|
import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
@@ -865,6 +865,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
865
865
|
layoutFieldItem.hidden = true;
|
|
866
866
|
}
|
|
867
867
|
});
|
|
868
|
+
debugger;
|
|
868
869
|
if (checkFilterMatch(item.filterConfig, formData.value, fields)) {
|
|
869
870
|
dataLinkFieldList.forEach((fieldId) => {
|
|
870
871
|
const layoutFieldItem = updatedLayoutData.find((g) => g.id == fieldId);
|
|
@@ -1094,7 +1095,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
1094
1095
|
};
|
|
1095
1096
|
}
|
|
1096
1097
|
});
|
|
1097
|
-
const _Form = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
1098
|
+
const _Form = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-bdcc2922"]]);
|
|
1098
1099
|
export {
|
|
1099
1100
|
_Form as default
|
|
1100
1101
|
};
|
|
@@ -3,9 +3,9 @@ import "../../../../../../node_modules/element-plus/es/index.mjs";
|
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
|
5
5
|
import { computed, getCurrentInstance, inject, createElementBlock, openBlock, createVNode, createCommentVNode, mergeProps, toHandlers, createSlots, withCtx, createElementVNode, toDisplayString, createBlock, createTextVNode, unref } from "vue";
|
|
6
|
-
/* empty css */
|
|
7
6
|
/* empty css */
|
|
8
7
|
/* empty css */
|
|
8
|
+
/* empty css */
|
|
9
9
|
import { openDialog } from "../../dialog/index.mjs";
|
|
10
10
|
/* empty css */
|
|
11
11
|
/* empty css */
|
|
@@ -27,8 +27,8 @@ const _sfc_main = {
|
|
|
27
27
|
type: Object,
|
|
28
28
|
default: () => ({
|
|
29
29
|
enabled: true,
|
|
30
|
-
pageSize:
|
|
31
|
-
pageSizes: [
|
|
30
|
+
pageSize: 15,
|
|
31
|
+
pageSizes: [15, 20, 50, 100, 200, 500],
|
|
32
32
|
layout: "full",
|
|
33
33
|
background: true,
|
|
34
34
|
size: "small"
|
|
@@ -39,7 +39,7 @@ const _sfc_main = {
|
|
|
39
39
|
default: () => ({
|
|
40
40
|
show: true,
|
|
41
41
|
pageNo: 1,
|
|
42
|
-
pageSize:
|
|
42
|
+
pageSize: 15,
|
|
43
43
|
pageTotal: 0
|
|
44
44
|
})
|
|
45
45
|
}
|
|
@@ -88,7 +88,7 @@ const _sfc_main = {
|
|
|
88
88
|
background: __props.config.background,
|
|
89
89
|
onSizeChange: handleSizeChange,
|
|
90
90
|
onCurrentChange: handleCurrentChange,
|
|
91
|
-
"page-sizes":
|
|
91
|
+
"page-sizes": [15, 20, 50, 100, 200, 500],
|
|
92
92
|
"page-size": __props.pagination.pageSize,
|
|
93
93
|
"current-page": __props.pagination.pageNo,
|
|
94
94
|
layout: getLayout(__props.config.layout),
|
|
@@ -100,12 +100,12 @@ const _sfc_main = {
|
|
|
100
100
|
getLayout(__props.config.layout).includes("slot") ? (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(__props.pagination.pageNo) + "/" + toDisplayString(Math.ceil(__props.pagination.pageTotal / __props.pagination.pageSize)) + " 页 ", 1)) : createCommentVNode("", true)
|
|
101
101
|
]),
|
|
102
102
|
_: 1
|
|
103
|
-
}, 8, ["background", "page-
|
|
103
|
+
}, 8, ["background", "page-size", "current-page", "layout", "total", "size"])) : createCommentVNode("", true)
|
|
104
104
|
])) : createCommentVNode("", true);
|
|
105
105
|
};
|
|
106
106
|
}
|
|
107
107
|
};
|
|
108
|
-
const Pagination = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
108
|
+
const Pagination = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-142fdd35"]]);
|
|
109
109
|
export {
|
|
110
110
|
Pagination as default
|
|
111
111
|
};
|
|
@@ -183,7 +183,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
183
183
|
return {
|
|
184
184
|
show: true,
|
|
185
185
|
pageNo: (pagination == null ? void 0 : pagination.pageNo) || 1,
|
|
186
|
-
pageSize: (pagination == null ? void 0 : pagination.pageSize) || ((_c = localConfig.value.paginationConfig) == null ? void 0 : _c.pageSize) ||
|
|
186
|
+
pageSize: (pagination == null ? void 0 : pagination.pageSize) || ((_c = localConfig.value.paginationConfig) == null ? void 0 : _c.pageSize) || 15,
|
|
187
187
|
pageTotal: (data == null ? void 0 : data.total) || 0
|
|
188
188
|
};
|
|
189
189
|
});
|
|
@@ -293,7 +293,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
293
293
|
if (route) {
|
|
294
294
|
routeParams.value = JSON.parse(sessionStorage.getItem(route));
|
|
295
295
|
pageNo = ((_d = routeParams.value) == null ? void 0 : _d.pageNo) || 1;
|
|
296
|
-
pageSize = ((_e = routeParams.value) == null ? void 0 : _e.pageSize) || ((_f = localConfig.value.paginationConfig) == null ? void 0 : _f.pageSize) ||
|
|
296
|
+
pageSize = ((_e = routeParams.value) == null ? void 0 : _e.pageSize) || ((_f = localConfig.value.paginationConfig) == null ? void 0 : _f.pageSize) || 15;
|
|
297
297
|
}
|
|
298
298
|
}
|
|
299
299
|
dataSourceManager.value = createDataSource({
|
|
@@ -831,6 +831,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
831
831
|
createVNode(unref(VxeTable), {
|
|
832
832
|
ref_key: "tableRef",
|
|
833
833
|
ref: tableRef,
|
|
834
|
+
"show-header": "",
|
|
834
835
|
data: displayData.value,
|
|
835
836
|
"auto-resize": autoResize.value,
|
|
836
837
|
height: tableHeight.value,
|
|
@@ -882,7 +883,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
882
883
|
_: 3
|
|
883
884
|
}, 8, ["data", "auto-resize", "height", "export-config", "row-config", "radio-config", "checkbox-config", "sort-config", "show-footer", "footer-data"])
|
|
884
885
|
]),
|
|
885
|
-
isPagination.value ? (openBlock(), createBlock(Pagination, {
|
|
886
|
+
isPagination.value && displayData.value.length > 0 ? (openBlock(), createBlock(Pagination, {
|
|
886
887
|
key: 2,
|
|
887
888
|
config: localConfig.value.paginationConfig,
|
|
888
889
|
pagination: displayPagination.value,
|
|
@@ -896,7 +897,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
896
897
|
};
|
|
897
898
|
}
|
|
898
899
|
});
|
|
899
|
-
const _Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
900
|
+
const _Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-501e930d"]]);
|
|
900
901
|
export {
|
|
901
902
|
_Table as default
|
|
902
903
|
};
|
|
@@ -7,10 +7,10 @@ import "../../../../../node_modules/vxe-table/es/components.mjs";
|
|
|
7
7
|
import { CopyDocument as copy_document_default } from "../../../../../node_modules/@element-plus/icons-vue/dist/index.mjs";
|
|
8
8
|
import { checkFilterMatch } from "../../utils/parseFilterConfig.mjs";
|
|
9
9
|
import { removeEmptyValues } from "../../utils/common.mjs";
|
|
10
|
-
/* empty css */
|
|
11
10
|
/* empty css */
|
|
12
11
|
/* empty css */
|
|
13
12
|
/* empty css */
|
|
13
|
+
/* empty css */
|
|
14
14
|
/* empty css */
|
|
15
15
|
import "../../utils/formulajs/functionCore.mjs";
|
|
16
16
|
import { useEventFlow } from "../../utils/eventFlow/eventFlowHandler.mjs";
|