super-page-designer 2.0.41 → 2.0.45
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 +203 -116
- package/dist/es/components/design/utils/chart-design-util.js +9 -9
- package/dist/es/components/design/utils/form-design-util.d.ts +1 -1
- package/dist/es/components/design/utils/interfaces/page-design-types.d.ts +13 -13
- package/dist/es/components/design/utils/page-table-util.js +7 -2
- package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +32 -14
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +43 -7
- package/dist/es/components/design/views/assemblys/button/button/button-attr.vue2.js +7 -7
- package/dist/es/components/design/views/assemblys/button/component/condition-dialog.vue.js +16 -11
- package/dist/es/components/design/views/assemblys/button/dropdown/dropdown-attr-advanced.vue.js +5 -1
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-advanced.vue.js +20 -6
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr.vue2.js +7 -7
- package/dist/es/components/design/views/assemblys/chart/column-line/column-line-attr-base.vue.js +36 -8
- package/dist/es/components/design/views/assemblys/chart/column-line/series/column-line-series-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-clickset.vue.js +244 -0
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-clickset.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-data.vue.js +115 -30
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-groupby.vue.js +2 -27
- package/dist/es/components/design/views/assemblys/chart/common-series/common-attr-dataset-columnline.vue.js +69 -3
- package/dist/es/components/design/views/assemblys/chart/pie/pie-attr-base.vue.js +36 -8
- package/dist/es/components/design/views/assemblys/chart/pie/pie-attr.vue2.js +11 -5
- package/dist/es/components/design/views/assemblys/chart/radar/series/series-attr-dataset.vue.js +69 -4
- package/dist/es/components/design/views/assemblys/chart/scatter/series/scatter-series-data.vue.js +115 -34
- package/dist/es/components/design/views/assemblys/common/common-advanced-basic-showcondition.vue.js +35 -10
- package/dist/es/components/design/views/assemblys/common/common-advanced-basic.vue.js +29 -3
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue2.js +1 -692
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue3.js +692 -1
- package/dist/es/components/design/views/assemblys/data/component/column-config.vue.js +371 -168
- 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 +18 -33
- package/dist/es/components/design/views/assemblys/data/component/configuration-value.vue.js +403 -0
- package/dist/es/components/design/views/assemblys/data/component/configuration-value.vue2.js +4 -0
- 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 +59 -89
- package/dist/es/components/design/views/assemblys/data/component/dynamic-column.vue.js +781 -0
- package/dist/es/components/design/views/assemblys/data/component/dynamic-column.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/data/component/formatting.vue.js +534 -0
- package/dist/es/components/design/views/assemblys/data/component/formatting.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/data/component/table-children-column.vue.js +26 -10
- package/dist/es/components/design/views/assemblys/data/component/variate-select.vue.js +24 -2
- package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +6 -117
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +77 -82
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue.js +296 -73
- package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-attr-advanced.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/common/condition.vue.js +4 -1
- 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-origin-autoset.vue.js +7 -1
- package/dist/es/components/design/views/assemblys/form/common/data-origin.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/data-origin.vue2.js +95 -36
- package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +190 -61
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-advanced.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-base.vue.js +55 -25
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-design.vue2.js +11 -2
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-advanced.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +6 -2
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-design.vue2.js +30 -14
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-advanced.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-advanced.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +6 -2
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-design.vue2.js +30 -14
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-advanced.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/link/link-attr-advanced.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/radio/radio-attr-advanced.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/rich-text/richtext-attr-advanced.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/select/select-attr-advanced.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/select/select-attr-base.vue.js +6 -2
- package/dist/es/components/design/views/assemblys/form/select/select-design.vue2.js +12 -8
- package/dist/es/components/design/views/assemblys/form/switch/switch-attr-advanced.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/textarea/textarea-attr-advanced.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/textarea/textarea-attr-base.vue.js +19 -44
- package/dist/es/components/design/views/assemblys/form/textarea/textarea-design.vue2.js +29 -14
- package/dist/es/components/design/views/assemblys/object-design.vue.js +8 -3
- package/dist/es/components/design/views/assemblys/page/component/weight-field-input.vue.d.ts +9 -0
- package/dist/es/components/design/views/assemblys/page/component/weight-field-input.vue.js +51 -33
- package/dist/es/components/design/views/assemblys/page/page-attr-advanced.vue.js +6 -5
- package/dist/es/components/design/views/assemblys/workflow/component/combination.vue.js +1 -1
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +7 -2
- package/dist/es/style.css +93 -93
- package/package.json +4 -4
- package/dist/es/components/design/views/assemblys/data/component/select-data-table.vue.js +0 -180
- package/dist/es/components/design/views/assemblys/data/component/select-data-table.vue2.js +0 -4
|
@@ -7,6 +7,15 @@ const _hoisted_2 = { style: { "float": "left" } };
|
|
|
7
7
|
const _hoisted_3 = { style: { "float": "right", "color": "var(--el-text-color-secondary)", "font-size": "13px" } };
|
|
8
8
|
const _hoisted_4 = { style: { "float": "left" } };
|
|
9
9
|
const _hoisted_5 = { style: { "float": "right", "color": "var(--el-text-color-secondary)", "font-size": "13px" } };
|
|
10
|
+
const _hoisted_6 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
|
|
11
|
+
const _hoisted_7 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
|
|
12
|
+
const _hoisted_8 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
|
|
13
|
+
const _hoisted_9 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
|
|
14
|
+
const _hoisted_10 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
|
|
15
|
+
const _hoisted_11 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
|
|
16
|
+
const _hoisted_12 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
|
|
17
|
+
const _hoisted_13 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
|
|
18
|
+
const _hoisted_14 = { style: { "width": "100%", "padding-left": "20px", "margin-bottom": "-15px" } };
|
|
10
19
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
11
20
|
__name: "common-attr-data",
|
|
12
21
|
props: {
|
|
@@ -112,6 +121,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
112
121
|
const _component_el_option = resolveComponent("el-option");
|
|
113
122
|
const _component_el_select = resolveComponent("el-select");
|
|
114
123
|
const _component_el_text = resolveComponent("el-text");
|
|
124
|
+
const _component_el_radio = resolveComponent("el-radio");
|
|
125
|
+
const _component_QuestionFilled = resolveComponent("QuestionFilled");
|
|
126
|
+
const _component_el_icon = resolveComponent("el-icon");
|
|
127
|
+
const _component_el_tooltip = resolveComponent("el-tooltip");
|
|
128
|
+
const _component_el_input = resolveComponent("el-input");
|
|
129
|
+
const _component_el_radio_group = resolveComponent("el-radio-group");
|
|
115
130
|
const _component_el_collapse_item = resolveComponent("el-collapse-item");
|
|
116
131
|
return openBlock(), createBlock(_component_el_collapse_item, {
|
|
117
132
|
title: "数据设置",
|
|
@@ -175,44 +190,114 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
175
190
|
]),
|
|
176
191
|
_: 1
|
|
177
192
|
}),
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
193
|
+
createVNode(_component_el_radio_group, {
|
|
194
|
+
modelValue: __props.configure.props.yaxisSource,
|
|
195
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => __props.configure.props.yaxisSource = $event)
|
|
181
196
|
}, {
|
|
182
197
|
default: withCtx(() => [
|
|
183
|
-
createVNode(
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
198
|
+
withDirectives(createVNode(_component_el_form_item, { style: { "margin-top": "15px", "margin-bottom": "-15px" } }, {
|
|
199
|
+
label: withCtx(() => [
|
|
200
|
+
createVNode(_component_el_radio, { value: "variable" }, {
|
|
201
|
+
default: withCtx(() => [
|
|
202
|
+
createTextVNode("数据字段")
|
|
203
|
+
]),
|
|
204
|
+
_: 1
|
|
205
|
+
})
|
|
206
|
+
]),
|
|
207
|
+
default: withCtx(() => [
|
|
208
|
+
createVNode(_component_el_select, {
|
|
209
|
+
size: "small",
|
|
210
|
+
modelValue: __props.configure.props.yaxisField,
|
|
211
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => __props.configure.props.yaxisField = $event),
|
|
212
|
+
disabled: __props.configure.props.yaxisSource != "variable",
|
|
213
|
+
title: __props.configure.props.yaxisField,
|
|
214
|
+
style: { "width": "160px" },
|
|
215
|
+
filterable: "",
|
|
216
|
+
"allow-create": "",
|
|
217
|
+
clearable: "",
|
|
218
|
+
placeholder: "请选择"
|
|
219
|
+
}, {
|
|
220
|
+
default: withCtx(() => [
|
|
221
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(yaxisFields.value, (item) => {
|
|
222
|
+
return openBlock(), createBlock(_component_el_option, {
|
|
223
|
+
key: item.numValue,
|
|
224
|
+
label: item.numLabel,
|
|
225
|
+
value: item.numValue
|
|
226
|
+
}, {
|
|
227
|
+
default: withCtx(() => [
|
|
228
|
+
createElementVNode("span", _hoisted_4, toDisplayString(item.numLabel), 1),
|
|
229
|
+
createElementVNode("span", _hoisted_5, toDisplayString(item.type), 1)
|
|
230
|
+
]),
|
|
231
|
+
_: 2
|
|
232
|
+
}, 1032, ["label", "value"]);
|
|
233
|
+
}), 128))
|
|
234
|
+
]),
|
|
235
|
+
_: 1
|
|
236
|
+
}, 8, ["modelValue", "disabled", "title"])
|
|
237
|
+
]),
|
|
238
|
+
_: 1
|
|
239
|
+
}, 512), [
|
|
240
|
+
[vShow, __props.chartType == "pie"]
|
|
241
|
+
]),
|
|
242
|
+
withDirectives(createVNode(_component_el_radio, {
|
|
243
|
+
value: "formula",
|
|
244
|
+
style: { "margin-top": "25px" }
|
|
193
245
|
}, {
|
|
194
246
|
default: withCtx(() => [
|
|
195
|
-
(
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
247
|
+
createTextVNode("计算公式 "),
|
|
248
|
+
createVNode(_component_el_tooltip, {
|
|
249
|
+
class: "box-item",
|
|
250
|
+
effect: "dark",
|
|
251
|
+
placement: "top-start"
|
|
252
|
+
}, {
|
|
253
|
+
content: withCtx(() => [
|
|
254
|
+
createTextVNode("字段值: ${row.字段名}"),
|
|
255
|
+
_hoisted_6,
|
|
256
|
+
createTextVNode(" 最大值: ${max.字段名}"),
|
|
257
|
+
_hoisted_7,
|
|
258
|
+
createTextVNode(" 求和: ${sum.字段名}"),
|
|
259
|
+
_hoisted_8,
|
|
260
|
+
createTextVNode(" 均值: ${avg.字段名}"),
|
|
261
|
+
_hoisted_9,
|
|
262
|
+
createTextVNode(" 最小值: ${min.字段名}"),
|
|
263
|
+
_hoisted_10,
|
|
264
|
+
createTextVNode(" 最大值: ${max.字段名}"),
|
|
265
|
+
_hoisted_11,
|
|
266
|
+
createTextVNode(" 累计值: ${add.字段名}"),
|
|
267
|
+
_hoisted_12,
|
|
268
|
+
createTextVNode(" 其他可用变量如${page},${data},${task},${request},${context},${system}"),
|
|
269
|
+
_hoisted_13
|
|
270
|
+
]),
|
|
271
|
+
default: withCtx(() => [
|
|
272
|
+
createVNode(_component_el_icon, { size: "16" }, {
|
|
273
|
+
default: withCtx(() => [
|
|
274
|
+
createVNode(_component_QuestionFilled)
|
|
275
|
+
]),
|
|
276
|
+
_: 1
|
|
277
|
+
})
|
|
278
|
+
]),
|
|
279
|
+
_: 1
|
|
280
|
+
})
|
|
208
281
|
]),
|
|
209
282
|
_: 1
|
|
210
|
-
},
|
|
283
|
+
}, 512), [
|
|
284
|
+
[vShow, __props.chartType == "pie"]
|
|
285
|
+
]),
|
|
286
|
+
withDirectives(createElementVNode("div", _hoisted_14, [
|
|
287
|
+
createVNode(_component_el_input, {
|
|
288
|
+
modelValue: __props.configure.props.formula,
|
|
289
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => __props.configure.props.formula = $event),
|
|
290
|
+
disabled: __props.configure.props.yaxisSource != "formula",
|
|
291
|
+
rows: 4,
|
|
292
|
+
type: "textarea",
|
|
293
|
+
placeholder: "支持三元表达式,支持JS函数,如 return ${row.字段名}/${sum.字段名}*100"
|
|
294
|
+
}, null, 8, ["modelValue", "disabled"])
|
|
295
|
+
], 512), [
|
|
296
|
+
[vShow, __props.chartType == "pie"]
|
|
297
|
+
])
|
|
211
298
|
]),
|
|
212
299
|
_: 1
|
|
213
|
-
},
|
|
214
|
-
[vShow, __props.chartType == "pie"]
|
|
215
|
-
])
|
|
300
|
+
}, 8, ["modelValue"])
|
|
216
301
|
])
|
|
217
302
|
]),
|
|
218
303
|
_: 1
|
|
@@ -134,7 +134,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
134
134
|
const _component_el_form_item = resolveComponent("el-form-item");
|
|
135
135
|
const _component_el_radio_button = resolveComponent("el-radio-button");
|
|
136
136
|
const _component_el_radio_group = resolveComponent("el-radio-group");
|
|
137
|
-
const _component_el_text = resolveComponent("el-text");
|
|
138
137
|
const _component_el_collapse_item = resolveComponent("el-collapse-item");
|
|
139
138
|
return openBlock(), createBlock(_component_el_collapse_item, {
|
|
140
139
|
title: "统计纬度",
|
|
@@ -414,30 +413,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
414
413
|
}, 512), [
|
|
415
414
|
[vShow, !__props.configure.props.enableDrill]
|
|
416
415
|
]),
|
|
417
|
-
withDirectives(createVNode(_component_el_form_item, {
|
|
418
|
-
label: "选中维度至",
|
|
419
|
-
style: { "margin-top": "20px", "margin-bottom": "-15px" }
|
|
420
|
-
}, {
|
|
421
|
-
default: withCtx(() => [
|
|
422
|
-
createVNode(BindVariable, {
|
|
423
|
-
modelValue: __props.configure.props.selGroupVariable,
|
|
424
|
-
paramTypes: ["data", "page"],
|
|
425
|
-
"onUpdate:modelValue": _cache[6] || (_cache[6] = (value) => afterBindVariable(value, "selGroupVariable"))
|
|
426
|
-
}, null, 8, ["modelValue"]),
|
|
427
|
-
createVNode(_component_el_text, {
|
|
428
|
-
type: "success",
|
|
429
|
-
size: "small"
|
|
430
|
-
}, {
|
|
431
|
-
default: withCtx(() => [
|
|
432
|
-
createTextVNode("将选中的维度值设置到变量")
|
|
433
|
-
]),
|
|
434
|
-
_: 1
|
|
435
|
-
})
|
|
436
|
-
]),
|
|
437
|
-
_: 1
|
|
438
|
-
}, 512), [
|
|
439
|
-
[vShow, !__props.configure.props.enableDrill]
|
|
440
|
-
]),
|
|
441
416
|
withDirectives(createVNode(_component_el_form_item, {
|
|
442
417
|
label: "最后层级时",
|
|
443
418
|
style: { "margin-top": "20px", "margin-bottom": "-15px" }
|
|
@@ -445,7 +420,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
445
420
|
default: withCtx(() => [
|
|
446
421
|
createVNode(_component_el_select, {
|
|
447
422
|
modelValue: __props.configure.props.drillEndTrigger,
|
|
448
|
-
"onUpdate:modelValue": _cache[
|
|
423
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => __props.configure.props.drillEndTrigger = $event),
|
|
449
424
|
clearable: "",
|
|
450
425
|
placeholder: "无动作"
|
|
451
426
|
}, {
|
|
@@ -456,7 +431,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
456
431
|
}),
|
|
457
432
|
createVNode(_component_el_option, {
|
|
458
433
|
value: "clickEvent",
|
|
459
|
-
label: "触发Click
|
|
434
|
+
label: "触发Click跳转"
|
|
460
435
|
})
|
|
461
436
|
]),
|
|
462
437
|
_: 1
|
|
@@ -2,6 +2,15 @@ import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx
|
|
|
2
2
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
3
3
|
const _hoisted_2 = { style: { "float": "left" } };
|
|
4
4
|
const _hoisted_3 = { style: { "float": "right", "color": "var(--el-text-color-secondary)", "font-size": "13px" } };
|
|
5
|
+
const _hoisted_4 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
|
|
6
|
+
const _hoisted_5 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
|
|
7
|
+
const _hoisted_6 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
|
|
8
|
+
const _hoisted_7 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
|
|
9
|
+
const _hoisted_8 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
|
|
10
|
+
const _hoisted_9 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
|
|
11
|
+
const _hoisted_10 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
|
|
12
|
+
const _hoisted_11 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
|
|
13
|
+
const _hoisted_12 = { style: { "width": "100%", "padding-left": "20px", "margin-bottom": "-15px" } };
|
|
5
14
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
15
|
__name: "common-attr-dataset-columnline",
|
|
7
16
|
props: {
|
|
@@ -45,6 +54,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
45
54
|
sourceFields.value = newFields;
|
|
46
55
|
}
|
|
47
56
|
updateBindFields();
|
|
57
|
+
ref("");
|
|
48
58
|
return (_ctx, _cache) => {
|
|
49
59
|
const _component_el_radio = resolveComponent("el-radio");
|
|
50
60
|
const _component_el_option = resolveComponent("el-option");
|
|
@@ -52,6 +62,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
52
62
|
const _component_el_form_item = resolveComponent("el-form-item");
|
|
53
63
|
const _component_el_switch = resolveComponent("el-switch");
|
|
54
64
|
const _component_el_input_number = resolveComponent("el-input-number");
|
|
65
|
+
const _component_QuestionFilled = resolveComponent("QuestionFilled");
|
|
66
|
+
const _component_el_icon = resolveComponent("el-icon");
|
|
67
|
+
const _component_el_tooltip = resolveComponent("el-tooltip");
|
|
68
|
+
const _component_el_input = resolveComponent("el-input");
|
|
55
69
|
const _component_el_radio_group = resolveComponent("el-radio-group");
|
|
56
70
|
const _component_el_collapse_item = resolveComponent("el-collapse-item");
|
|
57
71
|
return openBlock(), createBlock(_component_el_collapse_item, {
|
|
@@ -63,7 +77,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
63
77
|
createElementVNode("div", _hoisted_1, [
|
|
64
78
|
createVNode(_component_el_radio_group, {
|
|
65
79
|
modelValue: __props.configure.props.yaxisSource,
|
|
66
|
-
"onUpdate:modelValue": _cache[
|
|
80
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => __props.configure.props.yaxisSource = $event)
|
|
67
81
|
}, {
|
|
68
82
|
default: withCtx(() => [
|
|
69
83
|
createVNode(_component_el_form_item, { style: { "margin-top": "4px" } }, {
|
|
@@ -122,7 +136,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
122
136
|
}, 512), [
|
|
123
137
|
[vShow, !__props.configure.props.yaxisSource || __props.configure.props.yaxisSource == "variable"]
|
|
124
138
|
]),
|
|
125
|
-
createVNode(_component_el_form_item, { style: { "margin-top": "-10px"
|
|
139
|
+
createVNode(_component_el_form_item, { style: { "margin-top": "-10px" } }, {
|
|
126
140
|
label: withCtx(() => [
|
|
127
141
|
createVNode(_component_el_radio, { value: "fix" }, {
|
|
128
142
|
default: withCtx(() => [
|
|
@@ -142,7 +156,59 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
142
156
|
}, null, 8, ["disabled", "modelValue"])
|
|
143
157
|
]),
|
|
144
158
|
_: 1
|
|
145
|
-
})
|
|
159
|
+
}),
|
|
160
|
+
createVNode(_component_el_radio, {
|
|
161
|
+
value: "formula",
|
|
162
|
+
style: { "margin-top": "-10px" }
|
|
163
|
+
}, {
|
|
164
|
+
default: withCtx(() => [
|
|
165
|
+
createTextVNode("计算公式 "),
|
|
166
|
+
createVNode(_component_el_tooltip, {
|
|
167
|
+
class: "box-item",
|
|
168
|
+
effect: "dark",
|
|
169
|
+
placement: "top-start"
|
|
170
|
+
}, {
|
|
171
|
+
content: withCtx(() => [
|
|
172
|
+
createTextVNode("字段值: ${row.字段名}"),
|
|
173
|
+
_hoisted_4,
|
|
174
|
+
createTextVNode(" 最大值: ${max.字段名}"),
|
|
175
|
+
_hoisted_5,
|
|
176
|
+
createTextVNode(" 求和: ${sum.字段名}"),
|
|
177
|
+
_hoisted_6,
|
|
178
|
+
createTextVNode(" 均值: ${avg.字段名}"),
|
|
179
|
+
_hoisted_7,
|
|
180
|
+
createTextVNode(" 最小值: ${min.字段名}"),
|
|
181
|
+
_hoisted_8,
|
|
182
|
+
createTextVNode(" 最大值: ${max.字段名}"),
|
|
183
|
+
_hoisted_9,
|
|
184
|
+
createTextVNode(" 累计值: ${add.字段名}"),
|
|
185
|
+
_hoisted_10,
|
|
186
|
+
createTextVNode(" 其他可用变量如${page},${data},${task},${request},${context},${system}"),
|
|
187
|
+
_hoisted_11
|
|
188
|
+
]),
|
|
189
|
+
default: withCtx(() => [
|
|
190
|
+
createVNode(_component_el_icon, { size: "16" }, {
|
|
191
|
+
default: withCtx(() => [
|
|
192
|
+
createVNode(_component_QuestionFilled)
|
|
193
|
+
]),
|
|
194
|
+
_: 1
|
|
195
|
+
})
|
|
196
|
+
]),
|
|
197
|
+
_: 1
|
|
198
|
+
})
|
|
199
|
+
]),
|
|
200
|
+
_: 1
|
|
201
|
+
}),
|
|
202
|
+
createElementVNode("div", _hoisted_12, [
|
|
203
|
+
createVNode(_component_el_input, {
|
|
204
|
+
modelValue: __props.configure.props.formula,
|
|
205
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => __props.configure.props.formula = $event),
|
|
206
|
+
disabled: __props.configure.props.yaxisSource != "formula",
|
|
207
|
+
rows: 4,
|
|
208
|
+
type: "textarea",
|
|
209
|
+
placeholder: "支持三元表达式,支持JS函数,如 return ${row.字段名}/${sum.字段名}*100"
|
|
210
|
+
}, null, 8, ["modelValue", "disabled"])
|
|
211
|
+
])
|
|
146
212
|
]),
|
|
147
213
|
_: 1
|
|
148
214
|
}, 8, ["modelValue"])
|
|
@@ -1,19 +1,26 @@
|
|
|
1
|
-
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode } from "vue";
|
|
1
|
+
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode } from "vue";
|
|
2
2
|
import _sfc_main$1 from "../common/common-attr-base.vue.js";
|
|
3
3
|
import "uuid";
|
|
4
4
|
import "@element-plus/icons-vue";
|
|
5
5
|
import _sfc_main$3 from "../common/common-attr-groupby.vue.js";
|
|
6
6
|
import _sfc_main$4 from "../common/common-attr-sortby.vue.js";
|
|
7
|
-
import _sfc_main$
|
|
8
|
-
import _sfc_main$
|
|
7
|
+
import _sfc_main$8 from "../common/common-attr-assistant.vue.js";
|
|
8
|
+
import _sfc_main$9 from "../../common/common-attr-size.vue.js";
|
|
9
9
|
import _sfc_main$2 from "../common/common-attr-data.vue.js";
|
|
10
|
-
import _sfc_main$
|
|
10
|
+
import _sfc_main$7 from "../../form/common/data-linkage.vue.js";
|
|
11
|
+
import _sfc_main$5 from "../common/common-attr-clickset.vue.js";
|
|
12
|
+
import _sfc_main$6 from "../../form/common/suffixmodule.vue.js";
|
|
13
|
+
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
11
14
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
12
15
|
__name: "pie-attr-base",
|
|
13
16
|
props: {
|
|
14
17
|
configure: {
|
|
15
18
|
type: Object,
|
|
16
19
|
required: true
|
|
20
|
+
},
|
|
21
|
+
pageDesign: {
|
|
22
|
+
type: Object,
|
|
23
|
+
default: () => ({ props: {} })
|
|
17
24
|
}
|
|
18
25
|
},
|
|
19
26
|
setup(__props) {
|
|
@@ -25,9 +32,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
25
32
|
"propsSort",
|
|
26
33
|
"propsDrill",
|
|
27
34
|
"propsAssistant",
|
|
28
|
-
"linkage"
|
|
35
|
+
"linkage",
|
|
36
|
+
"clicklinkage",
|
|
37
|
+
"clickTrigger"
|
|
29
38
|
]);
|
|
30
39
|
return (_ctx, _cache) => {
|
|
40
|
+
const _component_el_collapse_item = resolveComponent("el-collapse-item");
|
|
31
41
|
const _component_el_collapse = resolveComponent("el-collapse");
|
|
32
42
|
const _component_el_form = resolveComponent("el-form");
|
|
33
43
|
return openBlock(), createBlock(_component_el_form, {
|
|
@@ -48,11 +58,29 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
48
58
|
}, null, 8, ["configure"]),
|
|
49
59
|
createVNode(_sfc_main$3, { configure: __props.configure }, null, 8, ["configure"]),
|
|
50
60
|
createVNode(_sfc_main$4, { configure: __props.configure }, null, 8, ["configure"]),
|
|
51
|
-
createVNode(_sfc_main$5, {
|
|
61
|
+
createVNode(_sfc_main$5, { configure: __props.configure }, null, 8, ["configure"]),
|
|
62
|
+
createVNode(_component_el_collapse_item, {
|
|
63
|
+
title: "Click跳转配置",
|
|
64
|
+
name: "clicklinkage",
|
|
65
|
+
class: "amb-design-attr-group-header"
|
|
66
|
+
}, {
|
|
67
|
+
default: withCtx(() => [
|
|
68
|
+
createElementVNode("div", _hoisted_1, [
|
|
69
|
+
(openBlock(), createBlock(_sfc_main$6, {
|
|
70
|
+
key: __props.configure.uuid,
|
|
71
|
+
configure: __props.configure,
|
|
72
|
+
pageDesign: __props.pageDesign,
|
|
73
|
+
isButton: false
|
|
74
|
+
}, null, 8, ["configure", "pageDesign"]))
|
|
75
|
+
])
|
|
76
|
+
]),
|
|
77
|
+
_: 1
|
|
78
|
+
}),
|
|
79
|
+
createVNode(_sfc_main$7, {
|
|
52
80
|
configureProps: __props.configure.props
|
|
53
81
|
}, null, 8, ["configureProps"]),
|
|
54
|
-
createVNode(_sfc_main$
|
|
55
|
-
createVNode(_sfc_main$
|
|
82
|
+
createVNode(_sfc_main$8, { configure: __props.configure }, null, 8, ["configure"]),
|
|
83
|
+
createVNode(_sfc_main$9, {
|
|
56
84
|
size: __props.configure.props.size
|
|
57
85
|
}, null, 8, ["size"])
|
|
58
86
|
]),
|
|
@@ -13,6 +13,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
13
13
|
configure: {
|
|
14
14
|
type: Object,
|
|
15
15
|
required: true
|
|
16
|
+
},
|
|
17
|
+
pageDesign: {
|
|
18
|
+
type: Object
|
|
16
19
|
}
|
|
17
20
|
},
|
|
18
21
|
emits: [],
|
|
@@ -41,15 +44,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
41
44
|
createElementVNode("div", _hoisted_2, [
|
|
42
45
|
createElementVNode("div", _hoisted_3, [
|
|
43
46
|
createElementVNode("label", {
|
|
44
|
-
class: normalizeClass({
|
|
47
|
+
class: normalizeClass({ selected: selAsselbyType.value == "base" }),
|
|
45
48
|
onClick: _cache[0] || (_cache[0] = ($event) => selAsselbyType.value = "base")
|
|
46
49
|
}, "属性", 2),
|
|
47
50
|
createElementVNode("label", {
|
|
48
|
-
class: normalizeClass({
|
|
51
|
+
class: normalizeClass({ selected: selAsselbyType.value == "style" }),
|
|
49
52
|
onClick: _cache[1] || (_cache[1] = ($event) => selAsselbyType.value = "style")
|
|
50
53
|
}, "样式", 2),
|
|
51
54
|
createElementVNode("label", {
|
|
52
|
-
class: normalizeClass({
|
|
55
|
+
class: normalizeClass({ selected: selAsselbyType.value == "event" }),
|
|
53
56
|
onClick: _cache[2] || (_cache[2] = ($event) => selAsselbyType.value = "event")
|
|
54
57
|
}, [
|
|
55
58
|
createTextVNode(" 事件 "),
|
|
@@ -59,13 +62,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
59
62
|
}, null, 8, ["value"])) : createCommentVNode("", true)
|
|
60
63
|
], 2),
|
|
61
64
|
createElementVNode("label", {
|
|
62
|
-
class: normalizeClass({
|
|
65
|
+
class: normalizeClass({ selected: selAsselbyType.value == "advanced" }),
|
|
63
66
|
onClick: _cache[3] || (_cache[3] = ($event) => selAsselbyType.value = "advanced")
|
|
64
67
|
}, "高级", 2)
|
|
65
68
|
])
|
|
66
69
|
]),
|
|
67
70
|
createElementVNode("div", _hoisted_4, [
|
|
68
|
-
withDirectives(createVNode(_sfc_main$1, {
|
|
71
|
+
withDirectives(createVNode(_sfc_main$1, {
|
|
72
|
+
configure: __props.configure,
|
|
73
|
+
pageDesign: __props.pageDesign
|
|
74
|
+
}, null, 8, ["configure", "pageDesign"]), [
|
|
69
75
|
[vShow, selAsselbyType.value == "base"]
|
|
70
76
|
]),
|
|
71
77
|
withDirectives(createVNode(_sfc_main$2, { configure: __props.configure }, null, 8, ["configure"]), [
|
package/dist/es/components/design/views/assemblys/chart/radar/series/series-attr-dataset.vue.js
CHANGED
|
@@ -2,6 +2,15 @@ import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx
|
|
|
2
2
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
3
3
|
const _hoisted_2 = { style: { "float": "left" } };
|
|
4
4
|
const _hoisted_3 = { style: { "float": "right", "color": "var(--el-text-color-secondary)", "font-size": "13px" } };
|
|
5
|
+
const _hoisted_4 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
|
|
6
|
+
const _hoisted_5 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
|
|
7
|
+
const _hoisted_6 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
|
|
8
|
+
const _hoisted_7 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
|
|
9
|
+
const _hoisted_8 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
|
|
10
|
+
const _hoisted_9 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
|
|
11
|
+
const _hoisted_10 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
|
|
12
|
+
const _hoisted_11 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
|
|
13
|
+
const _hoisted_12 = { style: { "width": "100%", "padding-left": "20px", "margin-bottom": "-15px" } };
|
|
5
14
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
15
|
__name: "series-attr-dataset",
|
|
7
16
|
props: {
|
|
@@ -51,6 +60,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
51
60
|
const _component_el_select = resolveComponent("el-select");
|
|
52
61
|
const _component_el_form_item = resolveComponent("el-form-item");
|
|
53
62
|
const _component_el_input_number = resolveComponent("el-input-number");
|
|
63
|
+
const _component_QuestionFilled = resolveComponent("QuestionFilled");
|
|
64
|
+
const _component_el_icon = resolveComponent("el-icon");
|
|
65
|
+
const _component_el_tooltip = resolveComponent("el-tooltip");
|
|
66
|
+
const _component_el_input = resolveComponent("el-input");
|
|
54
67
|
const _component_el_radio_group = resolveComponent("el-radio-group");
|
|
55
68
|
const _component_el_collapse_item = resolveComponent("el-collapse-item");
|
|
56
69
|
return openBlock(), createBlock(_component_el_collapse_item, {
|
|
@@ -62,7 +75,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
62
75
|
createElementVNode("div", _hoisted_1, [
|
|
63
76
|
createVNode(_component_el_radio_group, {
|
|
64
77
|
modelValue: __props.configure.props.yaxisSource,
|
|
65
|
-
"onUpdate:modelValue": _cache[
|
|
78
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => __props.configure.props.yaxisSource = $event)
|
|
66
79
|
}, {
|
|
67
80
|
default: withCtx(() => [
|
|
68
81
|
createVNode(_component_el_form_item, { style: { "margin-top": "4px" } }, {
|
|
@@ -77,7 +90,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
77
90
|
default: withCtx(() => [
|
|
78
91
|
createVNode(_component_el_select, {
|
|
79
92
|
size: "small",
|
|
80
|
-
disabled: __props.configure.props.yaxisSource
|
|
93
|
+
disabled: !__props.configure.props.yaxisSource && __props.configure.props.yaxisSource !== "variable",
|
|
81
94
|
modelValue: __props.configure.props.yaxisField,
|
|
82
95
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => __props.configure.props.yaxisField = $event),
|
|
83
96
|
title: __props.configure.props.yaxisField,
|
|
@@ -107,7 +120,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
107
120
|
]),
|
|
108
121
|
_: 1
|
|
109
122
|
}),
|
|
110
|
-
createVNode(_component_el_form_item, { style: { "margin-top": "-10px"
|
|
123
|
+
createVNode(_component_el_form_item, { style: { "margin-top": "-10px" } }, {
|
|
111
124
|
label: withCtx(() => [
|
|
112
125
|
createVNode(_component_el_radio, { value: "fixed" }, {
|
|
113
126
|
default: withCtx(() => [
|
|
@@ -127,7 +140,59 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
127
140
|
}, null, 8, ["disabled", "modelValue"])
|
|
128
141
|
]),
|
|
129
142
|
_: 1
|
|
130
|
-
})
|
|
143
|
+
}),
|
|
144
|
+
createVNode(_component_el_radio, {
|
|
145
|
+
value: "formula",
|
|
146
|
+
style: { "margin-top": "-10px" }
|
|
147
|
+
}, {
|
|
148
|
+
default: withCtx(() => [
|
|
149
|
+
createTextVNode("计算公式 "),
|
|
150
|
+
createVNode(_component_el_tooltip, {
|
|
151
|
+
class: "box-item",
|
|
152
|
+
effect: "dark",
|
|
153
|
+
placement: "top-start"
|
|
154
|
+
}, {
|
|
155
|
+
content: withCtx(() => [
|
|
156
|
+
createTextVNode("字段值: ${row.字段名}"),
|
|
157
|
+
_hoisted_4,
|
|
158
|
+
createTextVNode(" 最大值: ${max.字段名}"),
|
|
159
|
+
_hoisted_5,
|
|
160
|
+
createTextVNode(" 求和: ${sum.字段名}"),
|
|
161
|
+
_hoisted_6,
|
|
162
|
+
createTextVNode(" 均值: ${avg.字段名}"),
|
|
163
|
+
_hoisted_7,
|
|
164
|
+
createTextVNode(" 最小值: ${min.字段名}"),
|
|
165
|
+
_hoisted_8,
|
|
166
|
+
createTextVNode(" 最大值: ${max.字段名}"),
|
|
167
|
+
_hoisted_9,
|
|
168
|
+
createTextVNode(" 累计值: ${add.字段名}"),
|
|
169
|
+
_hoisted_10,
|
|
170
|
+
createTextVNode(" 其他可用变量如${page},${data},${task},${request},${context},${system}"),
|
|
171
|
+
_hoisted_11
|
|
172
|
+
]),
|
|
173
|
+
default: withCtx(() => [
|
|
174
|
+
createVNode(_component_el_icon, { size: "16" }, {
|
|
175
|
+
default: withCtx(() => [
|
|
176
|
+
createVNode(_component_QuestionFilled)
|
|
177
|
+
]),
|
|
178
|
+
_: 1
|
|
179
|
+
})
|
|
180
|
+
]),
|
|
181
|
+
_: 1
|
|
182
|
+
})
|
|
183
|
+
]),
|
|
184
|
+
_: 1
|
|
185
|
+
}),
|
|
186
|
+
createElementVNode("div", _hoisted_12, [
|
|
187
|
+
createVNode(_component_el_input, {
|
|
188
|
+
modelValue: __props.configure.props.formula,
|
|
189
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => __props.configure.props.formula = $event),
|
|
190
|
+
disabled: __props.configure.props.yaxisSource != "formula",
|
|
191
|
+
rows: 4,
|
|
192
|
+
type: "textarea",
|
|
193
|
+
placeholder: "支持三元表达式,支持JS函数,如 return ${row.字段名}/${sum.字段名}*100"
|
|
194
|
+
}, null, 8, ["modelValue", "disabled"])
|
|
195
|
+
])
|
|
131
196
|
]),
|
|
132
197
|
_: 1
|
|
133
198
|
}, 8, ["modelValue"])
|