super-page-designer 2.1.49 → 2.1.55
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/dist/es/components/design/utils/assemblys-config.js +19 -32
- package/dist/es/components/design/utils/chart-design-util.js +17 -0
- package/dist/es/components/design/utils/data-table-util.js +26 -28
- package/dist/es/components/design/utils/form-design-util.js +0 -1
- package/dist/es/components/design/utils/page-service-util.d.ts +2 -2
- package/dist/es/components/design/utils/page-service-util.js +7 -5
- package/dist/es/components/design/utils/page-table-util.js +33 -10
- package/dist/es/components/design/views/assemblys/chart/column-line/column-line-attr.vue2.js +5 -5
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-data.vue.js +61 -2
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-events.vue.js +22 -0
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-events.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-groupby.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/common/common-style-yaxis.vue.js +89 -23
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue.js +7 -1
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue2.js +706 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/font-style-dialog.vue.js +40 -15
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/row-colmun.vue.js +106 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/row-colmun.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/style-table.vue.js +26 -12
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-pageination.vue.js +347 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-pageination.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue.js +69 -31
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-advanced.vue.js +15 -7
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-base.vue.js +466 -304
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-style.vue.js +9 -6
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-design.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-design.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-attr-size.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-select-page.vue.js +2 -1
- package/dist/es/components/design/views/assemblys/common/common-variable-bind-option.js +4 -4
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.d.ts +9 -0
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue2.js +1 -738
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue3.js +738 -1
- package/dist/es/components/design/views/assemblys/common/page-permission-select.vue.js +8 -0
- package/dist/es/components/design/views/assemblys/common-attr-events.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue2.js +1 -11
- package/dist/es/components/design/views/assemblys/container/tools/tools-design.vue2.js +31 -5
- package/dist/es/components/design/views/assemblys/data/component/attr-style.vue.js +46 -52
- package/dist/es/components/design/views/assemblys/data/component/composite-header.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/composite-header.vue2.js +16 -28
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +9 -2
- package/dist/es/components/design/views/assemblys/data/component/formatting-icon-label.vue.js +67 -9
- package/dist/es/components/design/views/assemblys/data/component/row-backgroud-color.vue.js +1 -7
- package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +23 -9
- package/dist/es/components/design/views/assemblys/data/table/table-attr-style.vue.js +7 -2
- package/dist/es/components/design/views/assemblys/data/table/table-attr.vue2.js +9 -2
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +31 -28
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-style.vue.js +35 -470
- package/dist/es/components/design/views/assemblys/form/common/condition.vue.js +7 -3
- package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/data-linkage.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/form/common/hyperlink-mult-config.vue.js +275 -0
- package/dist/es/components/design/views/assemblys/form/common/hyperlink-mult-config.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +16 -9
- package/dist/es/components/design/views/assemblys/page/page-attr-advanced.vue.js +49 -2
- package/dist/es/components/design/views/assemblys/page/variable-dialog.vue.js +30 -1
- package/dist/es/components/design/views/design/page-design.vue.js +1 -1
- package/dist/es/components/design/views/design/page-event/config.vue.js +1 -7
- package/dist/es/components/design/views/design/page-event/config.vue2.js +7 -1
- package/dist/es/components/design/views/design/page-event/config.vue3.js +102 -16
- package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +1 -1
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +15 -11
- package/dist/es/stores/statistics-table-store.js +2 -1
- package/dist/es/style.css +115 -115
- package/package.json +6 -5
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/link-table.vue.js +0 -205
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/link-table.vue2.js +0 -4
- package/dist/es/components/design/views/assemblys/data/component/row-backgroud-color.vue2.js +0 -78
- /package/dist/es/components/design/views/assemblys/{data/component/row-backgroud-color.vue3.js → chart/statistical-table/component/data-origin.vue3.js} +0 -0
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
import { defineComponent, ref, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, createBlock, createTextVNode, toDisplayString, createCommentVNode, createElementVNode, renderList, unref } from "vue";
|
|
2
|
+
import _sfc_main$2 from "./suffixmodule.vue.js";
|
|
3
|
+
import _sfc_main$1 from "./condition.vue.js";
|
|
4
|
+
import { getCustomFuncs } from "../../../../utils/page-event-util.js";
|
|
5
|
+
const _hoisted_1 = { class: "dialog-footer" };
|
|
6
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
|
+
__name: "hyperlink-mult-config",
|
|
8
|
+
props: {
|
|
9
|
+
linkPage: {},
|
|
10
|
+
pageDesign: {},
|
|
11
|
+
tableConfigure: {},
|
|
12
|
+
isDialog: { type: Boolean },
|
|
13
|
+
isButton: { type: Boolean, default: true }
|
|
14
|
+
},
|
|
15
|
+
emits: ["update:linkPage"],
|
|
16
|
+
setup(__props, { emit: __emit }) {
|
|
17
|
+
const dialogVisible = ref(false);
|
|
18
|
+
const currentEditIndex = ref({});
|
|
19
|
+
const conditionRef = ref(null);
|
|
20
|
+
const emits = __emit;
|
|
21
|
+
const props = __props;
|
|
22
|
+
function addPage() {
|
|
23
|
+
if (!props.linkPage) {
|
|
24
|
+
emits("update:linkPage", []);
|
|
25
|
+
}
|
|
26
|
+
props.linkPage.push({
|
|
27
|
+
jumpConditionType: "none",
|
|
28
|
+
conditions: [],
|
|
29
|
+
customFunc: "",
|
|
30
|
+
jumpPageSetting: {}
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
function deletePage(row, index) {
|
|
34
|
+
props.linkPage.splice(index, 1);
|
|
35
|
+
}
|
|
36
|
+
function openLinkPageDialog(index) {
|
|
37
|
+
currentEditIndex.value = index;
|
|
38
|
+
dialogVisible.value = true;
|
|
39
|
+
}
|
|
40
|
+
function jumpConditionTypeChange(value) {
|
|
41
|
+
conditionRef.value.changeTableFields(props.tableConfigure.modelFields);
|
|
42
|
+
}
|
|
43
|
+
function handleClose(done) {
|
|
44
|
+
done();
|
|
45
|
+
}
|
|
46
|
+
return (_ctx, _cache) => {
|
|
47
|
+
const _component_el_button = resolveComponent("el-button");
|
|
48
|
+
const _component_el_link = resolveComponent("el-link");
|
|
49
|
+
const _component_el_tooltip = resolveComponent("el-tooltip");
|
|
50
|
+
const _component_el_table_column = resolveComponent("el-table-column");
|
|
51
|
+
const _component_Plus = resolveComponent("Plus");
|
|
52
|
+
const _component_el_icon = resolveComponent("el-icon");
|
|
53
|
+
const _component_Delete = resolveComponent("Delete");
|
|
54
|
+
const _component_el_table = resolveComponent("el-table");
|
|
55
|
+
const _component_el_radio = resolveComponent("el-radio");
|
|
56
|
+
const _component_el_radio_group = resolveComponent("el-radio-group");
|
|
57
|
+
const _component_el_form_item = resolveComponent("el-form-item");
|
|
58
|
+
const _component_el_option = resolveComponent("el-option");
|
|
59
|
+
const _component_el_select = resolveComponent("el-select");
|
|
60
|
+
const _component_el_dialog = resolveComponent("el-dialog");
|
|
61
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
62
|
+
createVNode(_component_el_table, {
|
|
63
|
+
data: _ctx.linkPage,
|
|
64
|
+
style: { "width": "100%" }
|
|
65
|
+
}, {
|
|
66
|
+
default: withCtx(() => [
|
|
67
|
+
createVNode(_component_el_table_column, {
|
|
68
|
+
prop: "value",
|
|
69
|
+
label: "链接页面",
|
|
70
|
+
align: "center"
|
|
71
|
+
}, {
|
|
72
|
+
default: withCtx((scope) => {
|
|
73
|
+
var _a, _b, _c, _d;
|
|
74
|
+
return [
|
|
75
|
+
!((_a = _ctx.linkPage[scope.$index].jumpPageSetting) == null ? void 0 : _a.jumpPageUrl) ? (openBlock(), createBlock(_component_el_button, {
|
|
76
|
+
key: 0,
|
|
77
|
+
type: "primary",
|
|
78
|
+
onClick: ($event) => openLinkPageDialog(scope.$index)
|
|
79
|
+
}, {
|
|
80
|
+
default: withCtx(() => [
|
|
81
|
+
createTextVNode(" 设置 ")
|
|
82
|
+
]),
|
|
83
|
+
_: 2
|
|
84
|
+
}, 1032, ["onClick"])) : ((_b = _ctx.linkPage[scope.$index].jumpPageSetting) == null ? void 0 : _b.linkType) === "page" ? (openBlock(), createBlock(_component_el_link, {
|
|
85
|
+
key: 1,
|
|
86
|
+
type: "primary",
|
|
87
|
+
onClick: ($event) => openLinkPageDialog(scope.$index)
|
|
88
|
+
}, {
|
|
89
|
+
default: withCtx(() => {
|
|
90
|
+
var _a2;
|
|
91
|
+
return [
|
|
92
|
+
createTextVNode(toDisplayString((_a2 = _ctx.linkPage[scope.$index].jumpPageSetting) == null ? void 0 : _a2.jumpPageName), 1)
|
|
93
|
+
];
|
|
94
|
+
}),
|
|
95
|
+
_: 2
|
|
96
|
+
}, 1032, ["onClick"])) : ((_c = _ctx.linkPage[scope.$index].jumpPageSetting) == null ? void 0 : _c.linkType) === "url" ? (openBlock(), createBlock(_component_el_tooltip, {
|
|
97
|
+
key: 2,
|
|
98
|
+
class: "box-item",
|
|
99
|
+
content: (_d = _ctx.linkPage[scope.$index].jumpPageSetting) == null ? void 0 : _d.jumpPageUrl
|
|
100
|
+
}, {
|
|
101
|
+
default: withCtx(() => [
|
|
102
|
+
createVNode(_component_el_link, {
|
|
103
|
+
type: "primary",
|
|
104
|
+
onClick: ($event) => openLinkPageDialog(scope.$index)
|
|
105
|
+
}, {
|
|
106
|
+
default: withCtx(() => {
|
|
107
|
+
var _a2;
|
|
108
|
+
return [
|
|
109
|
+
createTextVNode(toDisplayString((_a2 = _ctx.linkPage[scope.$index].jumpPageSetting) == null ? void 0 : _a2.jumpPageUrl), 1)
|
|
110
|
+
];
|
|
111
|
+
}),
|
|
112
|
+
_: 2
|
|
113
|
+
}, 1032, ["onClick"])
|
|
114
|
+
]),
|
|
115
|
+
_: 2
|
|
116
|
+
}, 1032, ["content"])) : createCommentVNode("", true)
|
|
117
|
+
];
|
|
118
|
+
}),
|
|
119
|
+
_: 1
|
|
120
|
+
}),
|
|
121
|
+
createVNode(_component_el_table_column, {
|
|
122
|
+
label: "操作",
|
|
123
|
+
align: "center"
|
|
124
|
+
}, {
|
|
125
|
+
header: withCtx(() => [
|
|
126
|
+
createVNode(_component_el_icon, {
|
|
127
|
+
size: "14",
|
|
128
|
+
style: { "color": "#5893ef", "cursor": "pointer", "font-weight": "bold" },
|
|
129
|
+
onClick: addPage
|
|
130
|
+
}, {
|
|
131
|
+
default: withCtx(() => [
|
|
132
|
+
createVNode(_component_Plus)
|
|
133
|
+
]),
|
|
134
|
+
_: 1
|
|
135
|
+
})
|
|
136
|
+
]),
|
|
137
|
+
default: withCtx((scope) => [
|
|
138
|
+
createVNode(_component_el_icon, {
|
|
139
|
+
size: "14",
|
|
140
|
+
style: { "color": "#5893ef", "cursor": "pointer" },
|
|
141
|
+
onClick: ($event) => deletePage(scope.row, scope.$index)
|
|
142
|
+
}, {
|
|
143
|
+
default: withCtx(() => [
|
|
144
|
+
createVNode(_component_Delete)
|
|
145
|
+
]),
|
|
146
|
+
_: 2
|
|
147
|
+
}, 1032, ["onClick"])
|
|
148
|
+
]),
|
|
149
|
+
_: 1
|
|
150
|
+
})
|
|
151
|
+
]),
|
|
152
|
+
_: 1
|
|
153
|
+
}, 8, ["data"]),
|
|
154
|
+
createVNode(_component_el_dialog, {
|
|
155
|
+
modelValue: dialogVisible.value,
|
|
156
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => dialogVisible.value = $event),
|
|
157
|
+
title: "链接配置",
|
|
158
|
+
width: "500",
|
|
159
|
+
"before-close": handleClose,
|
|
160
|
+
"destroy-on-close": ""
|
|
161
|
+
}, {
|
|
162
|
+
footer: withCtx(() => [
|
|
163
|
+
createElementVNode("div", _hoisted_1, [
|
|
164
|
+
createVNode(_component_el_button, {
|
|
165
|
+
onClick: _cache[2] || (_cache[2] = ($event) => dialogVisible.value = false)
|
|
166
|
+
}, {
|
|
167
|
+
default: withCtx(() => [
|
|
168
|
+
createTextVNode("取消")
|
|
169
|
+
]),
|
|
170
|
+
_: 1
|
|
171
|
+
}),
|
|
172
|
+
createVNode(_component_el_button, {
|
|
173
|
+
type: "primary",
|
|
174
|
+
onClick: _cache[3] || (_cache[3] = ($event) => dialogVisible.value = false)
|
|
175
|
+
}, {
|
|
176
|
+
default: withCtx(() => [
|
|
177
|
+
createTextVNode(" 确定 ")
|
|
178
|
+
]),
|
|
179
|
+
_: 1
|
|
180
|
+
})
|
|
181
|
+
])
|
|
182
|
+
]),
|
|
183
|
+
default: withCtx(() => [
|
|
184
|
+
createVNode(_component_el_form_item, {
|
|
185
|
+
label: "跳转条件",
|
|
186
|
+
class: "amb-design-attr-item"
|
|
187
|
+
}, {
|
|
188
|
+
default: withCtx(() => [
|
|
189
|
+
createVNode(_component_el_radio_group, {
|
|
190
|
+
modelValue: _ctx.linkPage[currentEditIndex.value].jumpConditionType,
|
|
191
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.linkPage[currentEditIndex.value].jumpConditionType = $event),
|
|
192
|
+
onChange: jumpConditionTypeChange
|
|
193
|
+
}, {
|
|
194
|
+
default: withCtx(() => [
|
|
195
|
+
createVNode(_component_el_radio, {
|
|
196
|
+
value: "none",
|
|
197
|
+
size: "small"
|
|
198
|
+
}, {
|
|
199
|
+
default: withCtx(() => [
|
|
200
|
+
createTextVNode("无")
|
|
201
|
+
]),
|
|
202
|
+
_: 1
|
|
203
|
+
}),
|
|
204
|
+
createVNode(_component_el_radio, {
|
|
205
|
+
value: "config",
|
|
206
|
+
size: "small"
|
|
207
|
+
}, {
|
|
208
|
+
default: withCtx(() => [
|
|
209
|
+
createTextVNode("配置条件")
|
|
210
|
+
]),
|
|
211
|
+
_: 1
|
|
212
|
+
}),
|
|
213
|
+
createVNode(_component_el_radio, {
|
|
214
|
+
value: "customFunc",
|
|
215
|
+
size: "small"
|
|
216
|
+
}, {
|
|
217
|
+
default: withCtx(() => [
|
|
218
|
+
createTextVNode("自定义条件")
|
|
219
|
+
]),
|
|
220
|
+
_: 1
|
|
221
|
+
})
|
|
222
|
+
]),
|
|
223
|
+
_: 1
|
|
224
|
+
}, 8, ["modelValue"])
|
|
225
|
+
]),
|
|
226
|
+
_: 1
|
|
227
|
+
}),
|
|
228
|
+
createVNode(_component_el_form_item, { class: "amb-design-attr-item" }, {
|
|
229
|
+
default: withCtx(() => [
|
|
230
|
+
_ctx.linkPage[currentEditIndex.value].jumpConditionType === "config" ? (openBlock(), createBlock(_sfc_main$1, {
|
|
231
|
+
key: 0,
|
|
232
|
+
title: "跳转条件",
|
|
233
|
+
buttonText: "设置条件",
|
|
234
|
+
list: _ctx.linkPage[currentEditIndex.value].conditions,
|
|
235
|
+
ref_key: "conditionRef",
|
|
236
|
+
ref: conditionRef
|
|
237
|
+
}, null, 8, ["list"])) : _ctx.linkPage[currentEditIndex.value].jumpConditionType === "customFunc" ? (openBlock(), createBlock(_component_el_select, {
|
|
238
|
+
key: 1,
|
|
239
|
+
modelValue: _ctx.linkPage[currentEditIndex.value].customFunc,
|
|
240
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.linkPage[currentEditIndex.value].customFunc = $event),
|
|
241
|
+
clearable: "",
|
|
242
|
+
size: "small",
|
|
243
|
+
placeholder: "请选择"
|
|
244
|
+
}, {
|
|
245
|
+
default: withCtx(() => [
|
|
246
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(getCustomFuncs)(), (item) => {
|
|
247
|
+
return openBlock(), createBlock(_component_el_option, {
|
|
248
|
+
key: item.value,
|
|
249
|
+
label: item.label,
|
|
250
|
+
value: item.value
|
|
251
|
+
}, null, 8, ["label", "value"]);
|
|
252
|
+
}), 128))
|
|
253
|
+
]),
|
|
254
|
+
_: 1
|
|
255
|
+
}, 8, ["modelValue"])) : createCommentVNode("", true)
|
|
256
|
+
]),
|
|
257
|
+
_: 1
|
|
258
|
+
}),
|
|
259
|
+
createVNode(_sfc_main$2, {
|
|
260
|
+
pageDesign: _ctx.pageDesign,
|
|
261
|
+
configure: _ctx.linkPage[currentEditIndex.value].jumpPageSetting,
|
|
262
|
+
tableConfigure: _ctx.tableConfigure,
|
|
263
|
+
showDisplayConditions: false,
|
|
264
|
+
isDialog: true
|
|
265
|
+
}, null, 8, ["pageDesign", "configure", "tableConfigure"])
|
|
266
|
+
]),
|
|
267
|
+
_: 1
|
|
268
|
+
}, 8, ["modelValue"])
|
|
269
|
+
], 64);
|
|
270
|
+
};
|
|
271
|
+
}
|
|
272
|
+
});
|
|
273
|
+
export {
|
|
274
|
+
_sfc_main as default
|
|
275
|
+
};
|
|
@@ -14,16 +14,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
14
14
|
pageDesign: {},
|
|
15
15
|
tableConfigure: {},
|
|
16
16
|
isDialog: { type: Boolean },
|
|
17
|
-
isButton: { type: Boolean, default: true }
|
|
17
|
+
isButton: { type: Boolean, default: true },
|
|
18
|
+
showDisplayConditions: { type: Boolean, default: true }
|
|
18
19
|
},
|
|
19
20
|
setup(__props) {
|
|
20
21
|
const props = __props;
|
|
21
22
|
const selectPageDialog = ref(null);
|
|
22
23
|
const linkPage = ref({});
|
|
23
24
|
if (props.isDialog) {
|
|
24
|
-
if (!props.configure) {
|
|
25
|
-
props.configure = {};
|
|
26
|
-
}
|
|
27
25
|
linkPage.value = props.configure;
|
|
28
26
|
} else {
|
|
29
27
|
if (!props.configure.props.linkPage) {
|
|
@@ -83,7 +81,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
83
81
|
{ immediate: true }
|
|
84
82
|
);
|
|
85
83
|
onMounted(() => {
|
|
86
|
-
if (props.tableConfigure) {
|
|
84
|
+
if (props.tableConfigure && conditionRef.value) {
|
|
87
85
|
conditionRef.value.changeTableFields(props.tableConfigure.modelFields);
|
|
88
86
|
}
|
|
89
87
|
});
|
|
@@ -131,7 +129,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
131
129
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => linkPage.value.linkType = $event)
|
|
132
130
|
}, {
|
|
133
131
|
default: withCtx(() => [
|
|
134
|
-
createVNode(_component_el_form_item, {
|
|
132
|
+
createVNode(_component_el_form_item, {
|
|
133
|
+
class: "amb-design-attr-item",
|
|
134
|
+
style: { "width": "100%" }
|
|
135
|
+
}, {
|
|
135
136
|
label: withCtx(() => [
|
|
136
137
|
createVNode(_component_el_radio, { value: "" }, {
|
|
137
138
|
default: withCtx(() => [
|
|
@@ -142,7 +143,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
142
143
|
]),
|
|
143
144
|
_: 1
|
|
144
145
|
}),
|
|
145
|
-
createVNode(_component_el_form_item, {
|
|
146
|
+
createVNode(_component_el_form_item, {
|
|
147
|
+
class: "amb-design-attr-item",
|
|
148
|
+
style: { "width": "100%" }
|
|
149
|
+
}, {
|
|
146
150
|
label: withCtx(() => [
|
|
147
151
|
createVNode(_component_el_radio, { value: "page" }, {
|
|
148
152
|
default: withCtx(() => [
|
|
@@ -180,7 +184,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
180
184
|
]),
|
|
181
185
|
_: 1
|
|
182
186
|
}),
|
|
183
|
-
createVNode(_component_el_form_item, {
|
|
187
|
+
createVNode(_component_el_form_item, {
|
|
188
|
+
class: "amb-design-attr-item",
|
|
189
|
+
style: { "width": "100%" }
|
|
190
|
+
}, {
|
|
184
191
|
label: withCtx(() => [
|
|
185
192
|
createVNode(_component_el_radio, { value: "url" }, {
|
|
186
193
|
default: withCtx(() => [
|
|
@@ -418,7 +425,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
418
425
|
}, 512), [
|
|
419
426
|
[vShow, linkPage.value.jumpPageOpenMode == "popup" || linkPage.value.jumpPageMobileOpenMode == "popup"]
|
|
420
427
|
]),
|
|
421
|
-
_ctx.isButton ? (openBlock(), createBlock(_component_el_form_item, {
|
|
428
|
+
_ctx.isButton && _ctx.showDisplayConditions ? (openBlock(), createBlock(_component_el_form_item, {
|
|
422
429
|
key: 0,
|
|
423
430
|
label: "显示判断",
|
|
424
431
|
class: "amb-design-attr-item"
|
|
@@ -67,6 +67,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
67
67
|
function saveCondition(table) {
|
|
68
68
|
props.configure.props["notIdInitializationList"] = JSON.stringify(table);
|
|
69
69
|
}
|
|
70
|
+
function getNotIdInitializationList() {
|
|
71
|
+
return props.configure.props["notIdInitializationList"] ? JSON.parse(props.configure.props["notIdInitializationList"]) : null;
|
|
72
|
+
}
|
|
70
73
|
function WeightFieldInputClose() {
|
|
71
74
|
WeightFieldInputVisile.value = false;
|
|
72
75
|
}
|
|
@@ -125,6 +128,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
125
128
|
const _component_el_input = resolveComponent("el-input");
|
|
126
129
|
const _component_el_text = resolveComponent("el-text");
|
|
127
130
|
const _component_el_collapse_item = resolveComponent("el-collapse-item");
|
|
131
|
+
const _component_el_table_column = resolveComponent("el-table-column");
|
|
132
|
+
const _component_Delete = resolveComponent("Delete");
|
|
133
|
+
const _component_el_icon = resolveComponent("el-icon");
|
|
134
|
+
const _component_el_table = resolveComponent("el-table");
|
|
128
135
|
const _component_el_collapse = resolveComponent("el-collapse");
|
|
129
136
|
const _component_el_form = resolveComponent("el-form");
|
|
130
137
|
return openBlock(), createBlock(_component_el_form, {
|
|
@@ -256,7 +263,47 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
256
263
|
]),
|
|
257
264
|
_: 1
|
|
258
265
|
}),
|
|
259
|
-
createVNode(_sfc_main$1, { configure: _ctx.configure }, null, 8, ["configure"])
|
|
266
|
+
createVNode(_sfc_main$1, { configure: _ctx.configure }, null, 8, ["configure"]),
|
|
267
|
+
createVNode(_component_el_collapse_item, {
|
|
268
|
+
title: "图表初始化查询服务",
|
|
269
|
+
name: "pagePermissions",
|
|
270
|
+
class: "amb-design-attr-group-header"
|
|
271
|
+
}, {
|
|
272
|
+
default: withCtx(() => [
|
|
273
|
+
createVNode(_component_el_table, {
|
|
274
|
+
data: _ctx.configure.initChartServiceConfigs,
|
|
275
|
+
style: { "width": "100%", "margin-bottom": "8px" }
|
|
276
|
+
}, {
|
|
277
|
+
default: withCtx(() => [
|
|
278
|
+
createVNode(_component_el_table_column, {
|
|
279
|
+
label: "组件uuid",
|
|
280
|
+
align: "center",
|
|
281
|
+
prop: "uuid"
|
|
282
|
+
}),
|
|
283
|
+
createVNode(_component_el_table_column, {
|
|
284
|
+
label: "操作",
|
|
285
|
+
align: "center"
|
|
286
|
+
}, {
|
|
287
|
+
default: withCtx((scope) => [
|
|
288
|
+
createVNode(_component_el_icon, {
|
|
289
|
+
size: "14",
|
|
290
|
+
style: { "color": "#5893ef", "cursor": "pointer" },
|
|
291
|
+
onClick: ($event) => _ctx.configure.initChartServiceConfigs.splice(scope.$index, 1)
|
|
292
|
+
}, {
|
|
293
|
+
default: withCtx(() => [
|
|
294
|
+
createVNode(_component_Delete)
|
|
295
|
+
]),
|
|
296
|
+
_: 2
|
|
297
|
+
}, 1032, ["onClick"])
|
|
298
|
+
]),
|
|
299
|
+
_: 1
|
|
300
|
+
})
|
|
301
|
+
]),
|
|
302
|
+
_: 1
|
|
303
|
+
}, 8, ["data"])
|
|
304
|
+
]),
|
|
305
|
+
_: 1
|
|
306
|
+
})
|
|
260
307
|
]),
|
|
261
308
|
_: 1
|
|
262
309
|
}, 8, ["modelValue"]),
|
|
@@ -278,7 +325,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
278
325
|
}, null, 8, ["judgeHeavyList", "fieldList", "systemCode", "systemVersion"])) : createCommentVNode("", true),
|
|
279
326
|
combinationVisible.value ? (openBlock(), createBlock(_sfc_main$4, {
|
|
280
327
|
key: 2,
|
|
281
|
-
list:
|
|
328
|
+
list: getNotIdInitializationList(),
|
|
282
329
|
fieldNameList: _ctx.configure.modelFields,
|
|
283
330
|
fieldMap: _ctx.configure.modelFieldsMap,
|
|
284
331
|
onClose: closeCombination,
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementBlock, toDisplayString, Fragment, renderList, unref, createElementVNode, createTextVNode
|
|
1
|
+
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementBlock, toDisplayString, Fragment, renderList, createCommentVNode, unref, createElementVNode, createTextVNode } from "vue";
|
|
2
2
|
import { Plus, Minus } from "@element-plus/icons";
|
|
3
3
|
import "agilebuilder-ui/src/utils/request";
|
|
4
4
|
import { v4 } from "uuid";
|
|
5
5
|
const _hoisted_1 = { key: 0 };
|
|
6
6
|
const _hoisted_2 = { key: 0 };
|
|
7
7
|
const _hoisted_3 = { key: 0 };
|
|
8
|
+
const _hoisted_4 = { key: 0 };
|
|
8
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
10
|
__name: "variable-dialog",
|
|
10
11
|
props: {
|
|
@@ -115,6 +116,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
115
116
|
const _component_el_input = resolveComponent("el-input");
|
|
116
117
|
const _component_el_option = resolveComponent("el-option");
|
|
117
118
|
const _component_el_select = resolveComponent("el-select");
|
|
119
|
+
const _component_el_input_number = resolveComponent("el-input-number");
|
|
118
120
|
const _component_el_button = resolveComponent("el-button");
|
|
119
121
|
const _component_el_tooltip = resolveComponent("el-tooltip");
|
|
120
122
|
const _component_el_dropdown_item = resolveComponent("el-dropdown-item");
|
|
@@ -205,6 +207,33 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
205
207
|
]),
|
|
206
208
|
_: 1
|
|
207
209
|
}),
|
|
210
|
+
createVNode(_component_el_table_column, {
|
|
211
|
+
prop: "defaultValue",
|
|
212
|
+
width: "130",
|
|
213
|
+
label: "类型"
|
|
214
|
+
}, {
|
|
215
|
+
default: withCtx((scope) => [
|
|
216
|
+
!scope.row.$editing ? (openBlock(), createElementBlock("span", _hoisted_4, toDisplayString(scope.row.defaultValue), 1)) : scope.row.type === "string" ? (openBlock(), createBlock(_component_el_input, {
|
|
217
|
+
key: 1,
|
|
218
|
+
modelValue: scope.row.defaultValue,
|
|
219
|
+
"onUpdate:modelValue": ($event) => scope.row.defaultValue = $event,
|
|
220
|
+
placeholder: ""
|
|
221
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : scope.row.type === "int" ? (openBlock(), createBlock(_component_el_input_number, {
|
|
222
|
+
key: 2,
|
|
223
|
+
modelValue: scope.row.defaultValue,
|
|
224
|
+
"onUpdate:modelValue": ($event) => scope.row.defaultValue = $event,
|
|
225
|
+
"controls-position": "right",
|
|
226
|
+
placeholder: ""
|
|
227
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : scope.row.type === "number" ? (openBlock(), createBlock(_component_el_input, {
|
|
228
|
+
key: 3,
|
|
229
|
+
modelValue: scope.row.defaultValue,
|
|
230
|
+
"onUpdate:modelValue": ($event) => scope.row.defaultValue = $event,
|
|
231
|
+
type: "number",
|
|
232
|
+
placeholder: ""
|
|
233
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : createCommentVNode("", true)
|
|
234
|
+
]),
|
|
235
|
+
_: 1
|
|
236
|
+
}),
|
|
208
237
|
createVNode(_component_el_table_column, {
|
|
209
238
|
align: "right",
|
|
210
239
|
width: 90
|
|
@@ -34,7 +34,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
34
34
|
const props = __props;
|
|
35
35
|
const pageDesign = ref(null);
|
|
36
36
|
const ViewDesignRef = ref(null);
|
|
37
|
-
const pageEventContainerRef = ref(
|
|
37
|
+
const pageEventContainerRef = ref();
|
|
38
38
|
const pageDesignUtil = usePageContextStore();
|
|
39
39
|
const clickType = ref("page");
|
|
40
40
|
const definitionId = ref(null);
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import "./config.vue2.js";
|
|
3
|
-
import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const config = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-26f79956"]]);
|
|
5
|
-
export {
|
|
6
|
-
config as default
|
|
7
|
-
};
|
|
1
|
+
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import _sfc_main from "./config.vue3.js";
|
|
2
|
+
import "./config.vue.js";
|
|
3
|
+
import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const config = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-39d5d5cf"]]);
|
|
5
|
+
export {
|
|
6
|
+
config as default
|
|
7
|
+
};
|