super-page-designer 2.2.22 → 2.2.25
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/page-explore-util.js +10 -10
- package/dist/es/components/design/utils/page-permission-util.js +35 -33
- package/dist/es/components/design/views/assemblys/chart/column-line/column-line-design.vue2.js +24 -22
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-clickset.vue.js +39 -36
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-data.vue.js +43 -40
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-groupby.vue.js +43 -40
- package/dist/es/components/design/views/assemblys/chart/common/common-home-chart.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/common/common-home-chart.vue2.js +14 -13
- package/dist/es/components/design/views/assemblys/chart/gauge/gauge-attr-data.vue.js +33 -30
- package/dist/es/components/design/views/assemblys/chart/gauge/gauge-design.vue2.js +25 -23
- package/dist/es/components/design/views/assemblys/chart/pie/pie-design.vue2.js +25 -23
- package/dist/es/components/design/views/assemblys/chart/radar/radar-attr-data.vue.js +33 -30
- package/dist/es/components/design/views/assemblys/chart/radar/radar-design.vue2.js +25 -23
- package/dist/es/components/design/views/assemblys/chart/scatter/scatter-attr-data.vue.js +38 -35
- package/dist/es/components/design/views/assemblys/chart/scatter/scatter-design.vue2.js +23 -21
- package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue.js +60 -57
- package/dist/es/components/design/views/assemblys/common/common-select-page.vue.js +36 -33
- package/dist/es/components/design/views/assemblys/common/common-select-table.vue.js +44 -41
- 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 → common-variable-bind.vue3.js} +8 -8
- package/dist/es/components/design/views/assemblys/common/page-permission-select.vue.js +25 -25
- package/dist/es/components/design/views/assemblys/common-attr-events.vue.js +14 -12
- package/dist/es/components/design/views/assemblys/data/component/column-config.vue.js +78 -74
- 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 +111 -107
- package/dist/es/components/design/views/assemblys/data/component/table-children-column.vue.js +41 -39
- package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-design.vue2.js +10 -8
- package/dist/es/components/design/views/assemblys/form/common/data-linkage.vue.js +26 -22
- package/dist/es/components/design/views/assemblys/form/common/data-origin-autoset.vue.js +41 -37
- package/dist/es/components/design/views/assemblys/form/common/data-origin-service-in.vue.js +30 -26
- package/dist/es/components/design/views/assemblys/form/common/linkpage-page-callback.vue.js +30 -26
- package/dist/es/components/design/views/assemblys/form/common/uploading.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-autoset.vue.js +30 -26
- package/dist/es/components/design/views/assemblys/form/radio/radio-design.vue2.js +12 -10
- package/dist/es/components/design/views/assemblys/form/rich-text/richtext-design.vue2.js +29 -26
- package/dist/es/components/design/views/assemblys/form/select/select-design.vue2.js +18 -15
- package/dist/es/components/design/views/assemblys/object-design.vue.js +28 -20
- package/dist/es/components/design/views/assemblys/page/page-attr-permissions.vue.js +38 -34
- package/dist/es/components/design/views/design/page-event/config.vue.js +1 -1
- package/dist/es/components/design/views/design/page-event/config.vue3.js +43 -40
- package/dist/es/components/design/views/design/page-event/page-event-container.vue.js +48 -45
- package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +21 -21
- package/dist/es/components/design/views/design/view/components/quick-add-fields.vue.js +67 -63
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +91 -88
- package/dist/es/stores/event-undo-redo-store.d.ts +4 -1
- package/dist/es/stores/event-undo-redo-store.js +5 -2
- package/dist/es/style.css +13 -13
- package/package.json +4 -4
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, computed as a,
|
|
2
|
-
import
|
|
3
|
-
import { usePageContextStore as
|
|
4
|
-
import { queryServiceReturnFields as
|
|
5
|
-
import
|
|
6
|
-
const
|
|
7
|
-
const
|
|
1
|
+
import { defineComponent as e, ref as l, computed as a, onUnmounted as t, resolveComponent as r, createBlock as i, openBlock as o, withCtx as u, createElementVNode as n, createVNode as s, unref as p, createElementBlock as d, Fragment as c, renderList as f, toDisplayString as m, createTextVNode as g } from "vue";
|
|
2
|
+
import v from "../../common/page-permission-select.vue.js";
|
|
3
|
+
import { usePageContextStore as b } from "../../../../../../stores/page-store.js";
|
|
4
|
+
import { queryServiceReturnFields as y } from "../../../../utils/page-service-util.js";
|
|
5
|
+
import x from "../../form/common/data-origin-service-in.vue.js";
|
|
6
|
+
const V = { style: { padding: "8px 0px 0px 0px" } }, F = { style: { float: "left" } }, _ = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, h = { style: { float: "left" } }, D = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, S = { style: { float: "left" } }, O = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, j = e({ __name: "radar-attr-data", props: { configure: { type: Object, required: true }, defaultType: { type: String, default: "" }, chartType: { type: String, default: "" } }, setup(e2) {
|
|
7
|
+
const j2 = e2, w = b().pageContext, z = l([]), L = a(() => z.value.filter((e3) => "array" == e3.type || "any" == e3.type || !e3.type)), U = a(() => z.value.filter((e3) => {
|
|
8
8
|
if ("string" == e3.type || "any" == e3.type || !e3.type) {
|
|
9
|
-
const l2 =
|
|
9
|
+
const l2 = j2.configure.serviceDataField;
|
|
10
10
|
if (!l2 || e3.value.startsWith(l2 + ".")) {
|
|
11
11
|
let a2 = e3.value, t2 = e3.label;
|
|
12
12
|
return l2 && (a2 = a2.substring(l2.length + 1), t2 && (t2 = t2.replace(l2 + ".", ""))), e3.nameValue = a2, e3.nameLabel = t2, true;
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
return false;
|
|
16
|
-
})),
|
|
16
|
+
})), k = a(() => z.value.filter((e3) => {
|
|
17
17
|
if ("number" == e3.type || "any" == e3.type || !e3.type) {
|
|
18
|
-
const l2 =
|
|
18
|
+
const l2 = j2.configure.serviceDataField;
|
|
19
19
|
if (!l2 || e3.value.startsWith(l2 + ".")) {
|
|
20
20
|
let a2 = e3.value, t2 = e3.label;
|
|
21
21
|
return l2 && (a2 = a2.substring(l2.length + 1), t2 && (t2 = t2.replace(l2 + ".", ""))), e3.numValue = a2, e3.numLabel = t2, true;
|
|
@@ -23,38 +23,41 @@ const x = { style: { padding: "8px 0px 0px 0px" } }, V = { style: { float: "left
|
|
|
23
23
|
}
|
|
24
24
|
return false;
|
|
25
25
|
}));
|
|
26
|
-
|
|
27
|
-
const
|
|
28
|
-
|
|
26
|
+
j2.configure.props.dataOrigin || (j2.configure.props.dataOrigin = {});
|
|
27
|
+
const T = j2.configure.props.dataOrigin;
|
|
28
|
+
T.service || (T.service = {});
|
|
29
29
|
let C = null;
|
|
30
|
-
function
|
|
31
|
-
const e3 =
|
|
30
|
+
function W() {
|
|
31
|
+
const e3 = T.service.id;
|
|
32
32
|
if (C != e3) {
|
|
33
|
-
if (C = e3, !e3) return
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
if (!
|
|
33
|
+
if (C = e3, !e3) return j2.configure.serviceFields = [], z.value = [], void (j2.configure.serviceDataField = null);
|
|
34
|
+
y(T.service.simpleCode).then((e4) => {
|
|
35
|
+
j2.configure.serviceFields = e4, z.value = e4, function() {
|
|
36
|
+
if (!j2.configure.serviceDataField) return;
|
|
37
37
|
let e5 = false;
|
|
38
|
-
if (
|
|
39
|
-
for (let l2 of
|
|
38
|
+
if (z.value) {
|
|
39
|
+
for (let l2 of z.value) if (l2.value == j2.configure.serviceDataField) {
|
|
40
40
|
e5 = true;
|
|
41
41
|
break;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
e5 || (
|
|
44
|
+
e5 || (j2.configure.serviceDataField = null);
|
|
45
45
|
}();
|
|
46
46
|
});
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
}, 10)
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
49
|
+
let q = setTimeout(() => {
|
|
50
|
+
W();
|
|
51
|
+
}, 10);
|
|
52
|
+
return t(() => {
|
|
53
|
+
q && clearTimeout(q);
|
|
54
|
+
}), (l2, a2) => {
|
|
55
|
+
const t2 = r("el-form-item"), b2 = r("el-option"), y2 = r("el-select"), j3 = r("el-text"), z2 = r("el-radio"), C2 = r("el-input-number"), q2 = r("el-radio-group"), I = r("el-collapse-item");
|
|
56
|
+
return o(), i(I, { title: "数据设置", name: "dataSet", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", V, [s(t2, { label: "选择服务", style: { "margin-top": "4px" } }, { default: u(() => [s(v, { pageDesign: p(w), rowObj: p(T).service, onlyService: "", "onUpdate:modelValue": a2[0] || (a2[0] = (e3, l3, a3, t3) => function(e4, l4, a4, t4) {
|
|
57
|
+
T.service.simpleCode = l4, T.service.id = t4, T.service.name = a4, W();
|
|
58
|
+
}(0, l3, a3, t3)) }, null, 8, ["pageDesign", "rowObj"])]), _: 1 }), s(t2, { label: "数据集", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: u(() => [s(y2, { modelValue: e2.configure.serviceDataField, "onUpdate:modelValue": a2[1] || (a2[1] = (l3) => e2.configure.serviceDataField = l3), filterable: "", clearable: "", placeholder: "请选择" }, { default: u(() => [(o(true), d(c, null, f(L.value, (e3, l3) => (o(), i(b2, { key: l3, label: e3.label, value: e3.value }, { default: u(() => [n("span", F, m(e3.label), 1), n("span", _, m(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), s(j3, { type: "success", size: "small" }, { default: u(() => a2[6] || (a2[6] = [g("默认为根目录.")])), _: 1 })]), _: 1 }), s(t2, { label: "配置项字段", style: { "margin-top": "15px", "margin-bottom": "-15px" } }, { default: u(() => [s(y2, { size: "small", modelValue: e2.configure.props.nameField, "onUpdate:modelValue": a2[2] || (a2[2] = (l3) => e2.configure.props.nameField = l3), title: e2.configure.props.nameField, style: { width: "160px" }, filterable: "", "allow-create": "", clearable: "", placeholder: "请选择" }, { default: u(() => [(o(true), d(c, null, f(U.value, (e3) => (o(), i(b2, { key: e3.nameValue, label: e3.nameLabel, value: e3.nameValue }, { default: u(() => [n("span", h, m(e3.nameLabel), 1), n("span", D, m(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 }), s(q2, { modelValue: e2.configure.props.maxSource, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.maxSource = l3) }, { default: u(() => [s(t2, { style: { "margin-top": "25px", "margin-bottom": "-15px" } }, { label: u(() => [s(z2, { value: "variable" }, { default: u(() => a2[7] || (a2[7] = [g("最大值")])), _: 1 })]), default: u(() => [s(y2, { size: "small", disabled: "fixed" == e2.configure.props.maxSource, modelValue: e2.configure.props.maxField, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.props.maxField = l3), title: e2.configure.props.maxField, style: { width: "160px" }, filterable: "", "allow-create": "", clearable: "", placeholder: "请选择" }, { default: u(() => [(o(true), d(c, null, f(k.value, (e3) => (o(), i(b2, { key: e3.numValue, label: e3.numLabel, value: e3.numValue }, { default: u(() => [n("span", S, m(e3.numLabel), 1), n("span", O, m(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["disabled", "modelValue", "title"])]), _: 1 }), s(t2, { style: { "margin-top": "25px", "margin-bottom": "-15px" } }, { label: u(() => [s(z2, { value: "fixed" }, { default: u(() => a2[8] || (a2[8] = [g("固定值")])), _: 1 })]), default: u(() => [s(C2, { disabled: !e2.configure.props.maxSource || "fixed" != e2.configure.props.maxSource, modelValue: e2.configure.props.maxFixed, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.maxFixed = l3), placeholder: "100", min: "0" }, null, 8, ["disabled", "modelValue"])]), _: 1 })]), _: 1 }, 8, ["modelValue"]), s(x, { ref: "dataOriginServiceInRef", dataOrigin: p(T) }, null, 8, ["dataOrigin"])])]), _: 1 });
|
|
56
59
|
};
|
|
57
60
|
} });
|
|
58
61
|
export {
|
|
59
|
-
|
|
62
|
+
j as default
|
|
60
63
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, watch as i, onUnmounted as r, createElementBlock as o, openBlock as n, withModifiers as s, normalizeClass as u, normalizeStyle as c, withDirectives as l, createVNode as
|
|
1
|
+
import { defineComponent as e, ref as t, watch as i, onUnmounted as r, createElementBlock as o, openBlock as n, withModifiers as s, normalizeClass as u, normalizeStyle as c, withDirectives as l, createVNode as a, vShow as f, unref as m, createElementVNode as g, Fragment as p, renderList as d, toDisplayString as v } from "vue";
|
|
2
2
|
import { caculateComponentStyle as h } from "../../../../utils/container-design-util.js";
|
|
3
3
|
import { removComponentDataConfig as W, generateChartHeader as b, generateChartOption as x, initComponentDataConfig as j } from "../../../../utils/chart-design-util.js";
|
|
4
4
|
import { getUuidv4 as y } from "../../../../utils/common-util.js";
|
|
@@ -7,11 +7,11 @@ import I from "./series/series-attr.vue.js";
|
|
|
7
7
|
import k from "../common/common-chart-header.vue.js";
|
|
8
8
|
import { use as D } from "echarts/core";
|
|
9
9
|
import { CanvasRenderer as F } from "echarts/renderers";
|
|
10
|
-
import { RadarChart as
|
|
11
|
-
import { GridComponent as
|
|
10
|
+
import { RadarChart as T } from "echarts/charts";
|
|
11
|
+
import { GridComponent as w, TitleComponent as A, TooltipComponent as O, ToolboxComponent as R, LegendComponent as _ } from "echarts/components";
|
|
12
12
|
import z from "vue-echarts";
|
|
13
13
|
const H = { style: { position: "absolute", top: "0px", right: "60px", "text-align": "center" } }, S = ["onClick"], q = e({ __name: "radar-design", props: { pageDesign: {}, configure: {}, indexObj: {}, selectWidget: {} }, emits: ["onSelectWidget", "onCustomAttrWidget"], setup(e2, { emit: q2 }) {
|
|
14
|
-
D([F, w, A, O, R,
|
|
14
|
+
D([F, T, w, A, O, R, _]);
|
|
15
15
|
const B = e2;
|
|
16
16
|
B.configure.props || (B.configure.props = {}), B.configure.items || (B.configure.items = []), 0 == B.configure.items.length && B.configure.items.push({ uuid: y(), name: "", index: 1, type: "radar", label: "数据1", props: { title: "数据1" }, style: {} }), B.configure.runtime || (B.configure.runtime = {});
|
|
17
17
|
const E = t({}), G = t(""), J = t(null), K = t({}), L = t({});
|
|
@@ -19,30 +19,32 @@ const H = { style: { position: "absolute", top: "0px", right: "60px", "text-alig
|
|
|
19
19
|
const e3 = j(B.configure, L.value);
|
|
20
20
|
B.configure.runtime.dataConfig = e3;
|
|
21
21
|
}
|
|
22
|
-
|
|
22
|
+
i(B.configure.style, () => {
|
|
23
|
+
h(B.configure, E, G, null), B.configure.runtime.style = E.value, B.configure.runtime.class = G.value, L.value = b(B.configure), B.configure.runtime.headerInfo = L.value, P();
|
|
24
|
+
}, { immediate: true }), i(B.configure.props, () => {
|
|
25
|
+
P(), M();
|
|
26
|
+
}), i(B.configure.items, () => {
|
|
27
|
+
P();
|
|
28
|
+
});
|
|
29
|
+
let N = setTimeout(() => {
|
|
30
|
+
M();
|
|
31
|
+
}, 100);
|
|
32
|
+
function P() {
|
|
23
33
|
x(B.configure, K), L.value = b(B.configure), J.value = C(B.configure.props.customTheme), B.configure.runtime.chartOption = K.value, B.configure.runtime.headerInfo = L.value;
|
|
24
34
|
}
|
|
25
|
-
function
|
|
35
|
+
function Q() {
|
|
26
36
|
if (B.configure.items) for (let e3 of B.configure.items) e3.selected = false;
|
|
27
37
|
}
|
|
28
|
-
function
|
|
29
|
-
|
|
38
|
+
function U(e3) {
|
|
39
|
+
Q();
|
|
30
40
|
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}, { immediate: true }), i(B.configure.props, () => {
|
|
34
|
-
N(), M();
|
|
35
|
-
}), i(B.configure.items, () => {
|
|
36
|
-
N();
|
|
37
|
-
}), setTimeout(() => {
|
|
38
|
-
M();
|
|
39
|
-
}, 100), r(() => {
|
|
40
|
-
W(B.configure);
|
|
41
|
+
r(() => {
|
|
42
|
+
W(B.configure), N && clearTimeout(N);
|
|
41
43
|
}), B.selectWidget && i(B.selectWidget, () => {
|
|
42
|
-
B.selectWidget && B.selectWidget.value != B.configure.componentIndex &&
|
|
44
|
+
B.selectWidget && B.selectWidget.value != B.configure.componentIndex && Q();
|
|
43
45
|
});
|
|
44
|
-
const
|
|
45
|
-
return (e3, t2) => (n(), o("div", { style: c(E.value), class: u([G.value, "amb-widget-chart"]), onClick: s(
|
|
46
|
+
const V = q2;
|
|
47
|
+
return (e3, t2) => (n(), o("div", { style: c(E.value), class: u([G.value, "amb-widget-chart"]), onClick: s(U, ["stop"]), ref: "thisRef" }, [l(a(k, { headerInfo: L.value }, null, 8, ["headerInfo"]), [[f, L.value.showHeader]]), a(m(z), { ref: "chartRef", theme: J.value, option: K.value, autoresize: "" }, null, 8, ["theme", "option"]), l(g("div", H, [(n(true), o(p, null, d(e3.configure.items, (e4, t3) => (n(), o("label", { class: u([[e4.selected ? "amb-design-chart-series-selected" : ""], "amb-design-chart-series"]), onClick: s((e5) => function(e6, t4) {
|
|
46
48
|
e6 && e6.preventDefault();
|
|
47
49
|
const i2 = B.configure.items[t4];
|
|
48
50
|
if (!i2.selected) {
|
|
@@ -50,9 +52,9 @@ const H = { style: { position: "absolute", top: "0px", right: "60px", "text-alig
|
|
|
50
52
|
e7.selected = false;
|
|
51
53
|
break;
|
|
52
54
|
}
|
|
53
|
-
i2.serviceFields = B.configure.serviceFields, i2.serviceDataField = B.configure.serviceDataField, i2.selected = true,
|
|
55
|
+
i2.serviceFields = B.configure.serviceFields, i2.serviceDataField = B.configure.serviceDataField, i2.selected = true, V("onCustomAttrWidget", i2, I);
|
|
54
56
|
}
|
|
55
|
-
}(e5, t3), ["stop"]) }, v(e4.props.title), 11, S))), 256))], 512), [[
|
|
57
|
+
}(e5, t3), ["stop"]) }, v(e4.props.title), 11, S))), 256))], 512), [[f, e3.configure.componentIndex == e3.selectWidget.value]])], 6));
|
|
56
58
|
} });
|
|
57
59
|
export {
|
|
58
60
|
q as default
|
|
@@ -1,60 +1,63 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, computed as a, resolveComponent as
|
|
2
|
-
import
|
|
3
|
-
import { usePageContextStore as
|
|
4
|
-
import { queryServiceReturnFields as
|
|
5
|
-
import
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
|
|
1
|
+
import { defineComponent as e, ref as t, computed as l, onUnmounted as a, resolveComponent as r, createBlock as i, openBlock as n, withCtx as o, createElementVNode as s, createVNode as u, unref as c, createElementBlock as p, Fragment as f, renderList as d, toDisplayString as v, createTextVNode as g } from "vue";
|
|
2
|
+
import m from "../../common/page-permission-select.vue.js";
|
|
3
|
+
import { usePageContextStore as y } from "../../../../../../stores/page-store.js";
|
|
4
|
+
import { queryServiceReturnFields as b } from "../../../../utils/page-service-util.js";
|
|
5
|
+
import x from "../../form/common/data-origin-service-in.vue.js";
|
|
6
|
+
const D = { style: { padding: "8px 0px 0px 0px" } }, F = { style: { float: "left" } }, h = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, O = e({ __name: "scatter-attr-data", props: { configure: { type: Object, required: true }, defaultType: { type: String, default: "" }, chartType: { type: String, default: "" } }, setup(e2) {
|
|
7
|
+
const O2 = e2, _ = y().pageContext, j = t([]), V = l(() => j.value.filter((e3) => "array" == e3.type || "any" == e3.type || !e3.type));
|
|
8
|
+
l(() => j.value.filter((e3) => {
|
|
9
9
|
if ("string" == e3.type || "any" == e3.type || !e3.type) {
|
|
10
|
-
const t2 =
|
|
10
|
+
const t2 = O2.configure.serviceDataField;
|
|
11
11
|
if (!t2 || e3.value.startsWith(t2 + ".")) {
|
|
12
|
-
let
|
|
13
|
-
return t2 && (
|
|
12
|
+
let l2 = e3.value, a2 = e3.label;
|
|
13
|
+
return t2 && (l2 = l2.substring(t2.length + 1), a2 && (a2 = a2.replace(t2 + ".", ""))), e3.nameValue = l2, e3.nameLabel = a2, true;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
return false;
|
|
17
|
-
})),
|
|
17
|
+
})), l(() => j.value.filter((e3) => {
|
|
18
18
|
if ("number" == e3.type || "any" == e3.type || !e3.type) {
|
|
19
|
-
const t2 =
|
|
19
|
+
const t2 = O2.configure.serviceDataField;
|
|
20
20
|
if (!t2 || e3.value.startsWith(t2 + ".")) {
|
|
21
|
-
let
|
|
22
|
-
return t2 && (
|
|
21
|
+
let l2 = e3.value, a2 = e3.label;
|
|
22
|
+
return t2 && (l2 = l2.substring(t2.length + 1), a2 && (a2 = a2.replace(t2 + ".", ""))), e3.numValue = l2, e3.numLabel = a2, true;
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
return false;
|
|
26
|
-
})),
|
|
27
|
-
const
|
|
28
|
-
|
|
29
|
-
let
|
|
26
|
+
})), O2.configure.props.dataOrigin || (O2.configure.props.dataOrigin = {});
|
|
27
|
+
const S = O2.configure.props.dataOrigin;
|
|
28
|
+
S.service || (S.service = {});
|
|
29
|
+
let T = null;
|
|
30
30
|
function C() {
|
|
31
|
-
const e3 =
|
|
32
|
-
if (
|
|
33
|
-
if (
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
if (!
|
|
31
|
+
const e3 = S.service.id;
|
|
32
|
+
if (T != e3) {
|
|
33
|
+
if (T = e3, !e3) return O2.configure.serviceFields = [], j.value = [], void (O2.configure.serviceDataField = null);
|
|
34
|
+
b(S.service.simpleCode).then((e4) => {
|
|
35
|
+
O2.configure.serviceFields = e4, j.value = e4, function() {
|
|
36
|
+
if (!O2.configure.serviceDataField) return;
|
|
37
37
|
let e5 = false;
|
|
38
|
-
if (
|
|
39
|
-
for (let t2 of
|
|
38
|
+
if (j.value) {
|
|
39
|
+
for (let t2 of j.value) if (t2.value == O2.configure.serviceDataField) {
|
|
40
40
|
e5 = true;
|
|
41
41
|
break;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
e5 || (
|
|
44
|
+
e5 || (O2.configure.serviceDataField = null);
|
|
45
45
|
}();
|
|
46
46
|
});
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
|
|
49
|
+
let k = setTimeout(() => {
|
|
50
50
|
C();
|
|
51
|
-
}, 10)
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
51
|
+
}, 10);
|
|
52
|
+
return a(() => {
|
|
53
|
+
k && clearTimeout(k);
|
|
54
|
+
}), (t2, l2) => {
|
|
55
|
+
const a2 = r("el-form-item"), y2 = r("el-option"), b2 = r("el-select"), O3 = r("el-text"), j2 = r("el-collapse-item");
|
|
56
|
+
return n(), i(j2, { title: "数据设置", name: "dataSet", class: "amb-design-attr-group-header" }, { default: o(() => [s("div", D, [u(a2, { label: "选择服务", style: { "margin-top": "4px" } }, { default: o(() => [u(m, { pageDesign: c(_), rowObj: c(S).service, onlyService: "", "onUpdate:modelValue": l2[0] || (l2[0] = (e3, t3, l3, a3) => function(e4, t4, l4, a4) {
|
|
57
|
+
S.service.simpleCode = t4, S.service.id = a4, S.service.name = l4, C();
|
|
58
|
+
}(0, t3, l3, a3)) }, null, 8, ["pageDesign", "rowObj"])]), _: 1 }), u(a2, { label: "数据集", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: o(() => [u(b2, { modelValue: e2.configure.serviceDataField, "onUpdate:modelValue": l2[1] || (l2[1] = (t3) => e2.configure.serviceDataField = t3), filterable: "", clearable: "", placeholder: "请选择" }, { default: o(() => [(n(true), p(f, null, d(V.value, (e3, t3) => (n(), i(y2, { key: t3, label: e3.label, value: e3.value }, { default: o(() => [s("span", F, v(e3.label), 1), s("span", h, v(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), u(O3, { type: "success", size: "small" }, { default: o(() => l2[2] || (l2[2] = [g("默认为根目录.")])), _: 1 })]), _: 1 }), u(x, { ref: "dataOriginServiceInRef", dataOrigin: c(S) }, null, 8, ["dataOrigin"])])]), _: 1 });
|
|
56
59
|
};
|
|
57
60
|
} });
|
|
58
61
|
export {
|
|
59
|
-
|
|
62
|
+
O as default
|
|
60
63
|
};
|
|
@@ -7,11 +7,11 @@ import I from "./series/scatter-series-attr.vue.js";
|
|
|
7
7
|
import k from "../common/common-chart-header.vue.js";
|
|
8
8
|
import { use as D } from "echarts/core";
|
|
9
9
|
import { CanvasRenderer as F } from "echarts/renderers";
|
|
10
|
-
import { ScatterChart as
|
|
11
|
-
import { GridComponent as
|
|
10
|
+
import { ScatterChart as T } from "echarts/charts";
|
|
11
|
+
import { GridComponent as w, LegendComponent as A, TitleComponent as O, TooltipComponent as R, ToolboxComponent as _, DataZoomComponent as z } from "echarts/components";
|
|
12
12
|
import H from "vue-echarts";
|
|
13
13
|
const S = { style: { position: "absolute", top: "0px", right: "60px", "text-align": "center" } }, q = ["onClick"], B = e({ __name: "scatter-design", props: { pageDesign: {}, configure: {}, indexObj: {}, selectWidget: {} }, emits: ["onSelectWidget", "onCustomAttrWidget"], setup(e2, { emit: B2 }) {
|
|
14
|
-
D([F, w, A, O, R,
|
|
14
|
+
D([F, T, w, A, O, R, _, z]);
|
|
15
15
|
const E = e2;
|
|
16
16
|
E.configure.props || (E.configure.props = {}), E.configure.items || (E.configure.items = []), 0 == E.configure.items.length && E.configure.items.push({ uuid: h(), index: 1, name: "", type: "scatter", label: "散点图", props: { title: "系列1" }, style: {} }), E.configure.runtime || (E.configure.runtime = {});
|
|
17
17
|
const G = t({}), J = t(""), K = t(null), L = t({}), M = t({});
|
|
@@ -19,30 +19,32 @@ const S = { style: { position: "absolute", top: "0px", right: "60px", "text-alig
|
|
|
19
19
|
const e3 = y(E.configure, M.value);
|
|
20
20
|
E.configure.runtime.dataConfig = e3;
|
|
21
21
|
}
|
|
22
|
-
|
|
22
|
+
i(E.configure.style, () => {
|
|
23
|
+
W(E.configure, G, J, null), E.configure.runtime.style = G.value, E.configure.runtime.class = J.value, M.value = x(E.configure), E.configure.runtime.headerInfo = M.value, Q();
|
|
24
|
+
}, { immediate: true }), i(E.configure.props, () => {
|
|
25
|
+
Q(), N();
|
|
26
|
+
}), i(E.configure.items, () => {
|
|
27
|
+
Q();
|
|
28
|
+
});
|
|
29
|
+
let P = setTimeout(() => {
|
|
30
|
+
N();
|
|
31
|
+
}, 100);
|
|
32
|
+
function Q() {
|
|
23
33
|
j(E.configure, L), M.value = x(E.configure), K.value = C(E.configure.props.customTheme), E.configure.runtime.chartOption = L.value, E.configure.runtime.headerInfo = M.value;
|
|
24
34
|
}
|
|
25
|
-
function
|
|
35
|
+
function U() {
|
|
26
36
|
if (E.configure.items) for (let e3 of E.configure.items) e3.selected = false;
|
|
27
37
|
}
|
|
28
|
-
function
|
|
29
|
-
|
|
38
|
+
function V(e3) {
|
|
39
|
+
U();
|
|
30
40
|
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}, { immediate: true }), i(E.configure.props, () => {
|
|
34
|
-
P(), N();
|
|
35
|
-
}), i(E.configure.items, () => {
|
|
36
|
-
P();
|
|
37
|
-
}), setTimeout(() => {
|
|
38
|
-
N();
|
|
39
|
-
}, 100), r(() => {
|
|
40
|
-
b(E.configure);
|
|
41
|
+
r(() => {
|
|
42
|
+
b(E.configure), P && clearTimeout(P);
|
|
41
43
|
}), E.selectWidget && i(E.selectWidget, () => {
|
|
42
|
-
E.selectWidget && E.selectWidget.value != E.configure.componentIndex &&
|
|
44
|
+
E.selectWidget && E.selectWidget.value != E.configure.componentIndex && U();
|
|
43
45
|
});
|
|
44
|
-
const
|
|
45
|
-
return (e3, t2) => (n(), o("div", { style: u(G.value), class: c([J.value, "amb-widget-chart"]), onClick: s(
|
|
46
|
+
const X = B2;
|
|
47
|
+
return (e3, t2) => (n(), o("div", { style: u(G.value), class: c([J.value, "amb-widget-chart"]), onClick: s(V, ["stop"]), ref: "thisRef" }, [l(f(k, { headerInfo: M.value }, null, 8, ["headerInfo"]), [[m, M.value.showHeader]]), f(a(H), { ref: "chartRef", theme: K.value, option: L.value, autoresize: "" }, null, 8, ["theme", "option"]), l(g("div", S, [(n(true), o(p, null, d(e3.configure.items, (e4, t3) => (n(), o("label", { class: c([[e4.selected ? "amb-design-chart-series-selected" : ""], "amb-design-chart-series"]), onClick: s((e5) => function(e6, t4) {
|
|
46
48
|
e6 && e6.preventDefault();
|
|
47
49
|
const i2 = E.configure.items[t4];
|
|
48
50
|
if (!i2.selected) {
|
|
@@ -50,7 +52,7 @@ const S = { style: { position: "absolute", top: "0px", right: "60px", "text-alig
|
|
|
50
52
|
e7.selected = false;
|
|
51
53
|
break;
|
|
52
54
|
}
|
|
53
|
-
i2.serviceFields = E.configure.serviceFields, i2.serviceDataField = E.configure.serviceDataField, i2.selected = true,
|
|
55
|
+
i2.serviceFields = E.configure.serviceFields, i2.serviceDataField = E.configure.serviceDataField, i2.selected = true, X("onCustomAttrWidget", i2, I);
|
|
54
56
|
}
|
|
55
57
|
}(e5, t3), ["stop"]) }, v(e4.props.title), 11, q))), 256))], 512), [[m, e3.configure.componentIndex == e3.selectWidget.value]])], 6));
|
|
56
58
|
} });
|
|
@@ -1,103 +1,106 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, watch as a,
|
|
2
|
-
import { Check as
|
|
3
|
-
import * as
|
|
4
|
-
import
|
|
5
|
-
const
|
|
6
|
-
const
|
|
1
|
+
import { defineComponent as e, ref as l, watch as a, onUnmounted as t, computed as u, resolveComponent as o, createElementBlock as n, createBlock as i, openBlock as s, toDisplayString as r, withCtx as c, createVNode as p, Fragment as v, renderList as m, normalizeClass as g, createElementVNode as d, withDirectives as f, unref as h, vShow as y, normalizeStyle as w, createTextVNode as _, createCommentVNode as b, resolveDynamicComponent as x, withModifiers as z, nextTick as k } from "vue";
|
|
2
|
+
import { Check as C, Search as S, Plus as P, InfoFilled as V, CircleClose as I } from "@element-plus/icons-vue";
|
|
3
|
+
import * as U from "@element-plus/icons";
|
|
4
|
+
import O from "agilebuilder-ui/src/utils/request";
|
|
5
|
+
const N = { key: 0 }, A = { style: { "margin-top": "4px", "margin-bottom": "8px", "font-size": "10px", display: "flex", "align-items": "center", "justify-self": "center" } }, L = ["title"], E = e({ __name: "common-icon-bind", props: { iconType: String, iconValue: String, size: { type: String, default: "medium" }, showLabel: { type: Boolean, default: false } }, emits: ["update:modelValue"], setup(e2, { emit: E2 }) {
|
|
6
|
+
const T = E2, j = e2, q = [{ value: "ElementUI", label: "ElementUI" }, { value: "custom", label: "自定义" }];
|
|
7
7
|
l(false);
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
const
|
|
11
|
-
|
|
12
|
-
const
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
const M = {}, R = l({}), $ = l(j.iconType);
|
|
9
|
+
$.value || ($.value = q[0].value);
|
|
10
|
+
const B = l("");
|
|
11
|
+
B.value = j.iconValue, l([]);
|
|
12
|
+
const D = l({}), F = l(""), G = l(), H = l([]);
|
|
13
|
+
let J;
|
|
14
|
+
function K() {
|
|
15
|
+
"custom" == $.value ? W() : Q();
|
|
15
16
|
}
|
|
16
|
-
function
|
|
17
|
-
const e3 =
|
|
18
|
-
|
|
19
|
-
let l2 =
|
|
20
|
-
const a2 =
|
|
17
|
+
function Q() {
|
|
18
|
+
const e3 = D.value.elementUIOptions.filter((e4) => !F.value || e4.label.toLowerCase().includes(F.value.toLowerCase()) || e4.value.toLowerCase().includes(F.value.toLowerCase()));
|
|
19
|
+
R.value.currentPage || (R.value.currentPage = 1), R.value.pageSize || (R.value.pageSize = 50);
|
|
20
|
+
let l2 = R.value.currentPage;
|
|
21
|
+
const a2 = R.value.pageSize;
|
|
21
22
|
let t2 = (l2 - 1) * a2;
|
|
22
23
|
t2 + 2 > e3.length && (t2 = 0, l2 = 1);
|
|
23
24
|
const u2 = [];
|
|
24
25
|
for (let l3 = t2; l3 < t2 + a2 && l3 < e3.length; l3++) u2.push(e3[l3]);
|
|
25
|
-
|
|
26
|
+
R.value.currentPage = l2, R.value.total = e3.length, H.value = u2;
|
|
26
27
|
}
|
|
27
|
-
function
|
|
28
|
-
const e3 = { query:
|
|
29
|
-
|
|
28
|
+
function W() {
|
|
29
|
+
const e3 = { query: F.value, pageSize: R.value && R.value.pageSize ? R.value.pageSize : 50, pageNo: R.value && R.value.pageNo ? R.value.pageNo : 1 };
|
|
30
|
+
F.value, O.post(window.$vueApp.config.globalProperties.baseAPI + "/component/general-icon/query", e3).then((e4) => {
|
|
30
31
|
const l2 = e4.data ? e4.data : [], a2 = [];
|
|
31
32
|
for (let e5 of l2) a2.push({ value: e5.iconName, label: e5.iconName });
|
|
32
|
-
|
|
33
|
+
D.value.customOptions = a2, "custom" == $.value && (R.value.pageSize = e4.size, R.value.currentPage = e4.page, R.value.total = e4.total, H.value = a2);
|
|
33
34
|
});
|
|
34
35
|
}
|
|
35
|
-
a(
|
|
36
|
-
|
|
37
|
-
"custom" ==
|
|
36
|
+
a(F, () => {
|
|
37
|
+
J && clearTimeout(J), J = setTimeout(function() {
|
|
38
|
+
"custom" == $.value ? (R.value.pageNo = 1, W()) : (R.value.pageNo = 1, Q());
|
|
38
39
|
}, 300);
|
|
40
|
+
}), t(() => {
|
|
41
|
+
J && clearTimeout(J);
|
|
39
42
|
});
|
|
40
|
-
const
|
|
43
|
+
const X = u(() => {
|
|
41
44
|
let e3 = 185;
|
|
42
|
-
return "custom" ==
|
|
43
|
-
}),
|
|
45
|
+
return "custom" == $.value && (e3 = 170), e3;
|
|
46
|
+
}), Y = u(() => {
|
|
44
47
|
const e3 = {};
|
|
45
|
-
return "custom" ==
|
|
48
|
+
return "custom" == $.value && (e3.width = "200px"), e3;
|
|
46
49
|
});
|
|
47
|
-
function
|
|
48
|
-
e3 && Array.isArray(e3) && e3.length > 0 && (e3 = e3[0]),
|
|
49
|
-
let l2 =
|
|
50
|
+
function Z(e3) {
|
|
51
|
+
e3 && Array.isArray(e3) && e3.length > 0 && (e3 = e3[0]), $.value = e3;
|
|
52
|
+
let l2 = M[$.value];
|
|
50
53
|
var a2;
|
|
51
|
-
l2 || (l2 = { currentPage: 1, pageSize: 50, total: 0 },
|
|
54
|
+
l2 || (l2 = { currentPage: 1, pageSize: 50, total: 0 }, M[$.value] = l2), R.value = l2, "ElementUI" === (a2 = $.value) ? Q() : "custom" === a2 && W();
|
|
52
55
|
}
|
|
53
|
-
function
|
|
54
|
-
|
|
56
|
+
function ee() {
|
|
57
|
+
B.value = "", T("update:modelValue", "", ""), G.value.hide();
|
|
55
58
|
}
|
|
56
|
-
function
|
|
57
|
-
if (
|
|
58
|
-
const e3 =
|
|
59
|
+
function le() {
|
|
60
|
+
if (F.value = F.value.trim(), !F.value) return void ElMessage.warning("请输入图标名!");
|
|
61
|
+
const e3 = D.value.customOptions || [];
|
|
59
62
|
let l2 = false;
|
|
60
|
-
for (let a3 of e3) if (a3.value ===
|
|
63
|
+
for (let a3 of e3) if (a3.value === F.value) {
|
|
61
64
|
l2 = true;
|
|
62
65
|
break;
|
|
63
66
|
}
|
|
64
|
-
|
|
65
|
-
const a2 =
|
|
66
|
-
if (
|
|
67
|
+
$.value = "custom", B.value = F.value;
|
|
68
|
+
const a2 = F.value;
|
|
69
|
+
if (F.value = "", T("update:modelValue", $.value, B.value), G.value.hide(), !l2) {
|
|
67
70
|
const e4 = { iconName: a2 };
|
|
68
|
-
|
|
69
|
-
"custom" ==
|
|
71
|
+
O.post(window.$vueApp.config.globalProperties.baseAPI + "/bs/general-icon/get-or-create", e4).then((e5) => {
|
|
72
|
+
"custom" == $.value && W();
|
|
70
73
|
}).catch((e5) => {
|
|
71
74
|
ElMessage.warning("保存图标失败!");
|
|
72
75
|
});
|
|
73
76
|
}
|
|
74
77
|
}
|
|
75
|
-
const
|
|
76
|
-
function
|
|
77
|
-
|
|
78
|
+
const ae = l();
|
|
79
|
+
function te() {
|
|
80
|
+
k(() => {
|
|
78
81
|
!function() {
|
|
79
|
-
if (!
|
|
82
|
+
if (!D.value.elementUIOptions) {
|
|
80
83
|
if (!window.temp_Icon_Options) {
|
|
81
84
|
const e3 = [];
|
|
82
|
-
for (const [l2, a2] of Object.entries(
|
|
85
|
+
for (const [l2, a2] of Object.entries(U)) e3.push({ value: l2, label: l2, component: a2 });
|
|
83
86
|
e3.sort(function(e4, l2) {
|
|
84
87
|
const a2 = e4.value, t2 = l2.value;
|
|
85
88
|
return a2.localeCompare(t2);
|
|
86
89
|
}), window.temp_Icon_Options = e3;
|
|
87
90
|
}
|
|
88
|
-
|
|
91
|
+
D.value.elementUIOptions = window.temp_Icon_Options;
|
|
89
92
|
}
|
|
90
|
-
}(),
|
|
93
|
+
}(), Z($.value);
|
|
91
94
|
});
|
|
92
95
|
}
|
|
93
96
|
return (l2, a2) => {
|
|
94
|
-
const t2 =
|
|
95
|
-
return e2.showLabel ? (
|
|
96
|
-
return a3 = e3.row,
|
|
97
|
+
const t2 = o("el-icon"), u2 = o("el-input"), k2 = o("el-menu-item"), U2 = o("el-menu"), O2 = o("el-col"), E3 = o("el-empty"), j2 = o("el-button"), M2 = o("el-tag"), D2 = o("el-tooltip"), J2 = o("el-table-column"), Q2 = o("el-table"), W2 = o("el-pagination"), ue = o("el-row"), oe = o("el-popover");
|
|
98
|
+
return e2.showLabel ? (s(), n("span", N, r(B.value), 1)) : (s(), i(oe, { key: 1, ref_key: "popoverRef", ref: G, trigger: "click", width: 400 }, { reference: c(() => [p(u2, { readonly: "", size: "small", onClick: te, modelValue: B.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e3) => B.value = e3), placeholder: "请选择" }, { suffix: c(() => [f(p(t2, { style: { cursor: "pointer" }, onClick: z(ee, ["stop"]) }, { default: c(() => [p(h(I))]), _: 1 }, 512), [[y, B.value]])]), _: 1 }, 8, ["modelValue"])]), default: c(() => [p(ue, null, { default: c(() => [p(O2, { span: 8 }, { default: c(() => [p(U2, null, { default: c(() => [(s(), n(v, null, m(q, (e3) => p(k2, { style: { height: "40px", "padding-left": "0px" }, class: g(e3.value == $.value ? "is-active" : ""), onClick: (l3) => Z(e3.value) }, { default: c(() => [p(t2, null, { default: c(() => [f(p(h(C), null, null, 512), [[y, e3.value == $.value]])]), _: 2 }, 1024), d("span", null, r(e3.label), 1)]), _: 2 }, 1032, ["class", "onClick"])), 64))]), _: 1 })]), _: 1 }), $.value ? (s(), i(O2, { key: 1, span: 16, style: { "padding-left": "10px" } }, { default: c(() => [p(u2, { size: "small", modelValue: F.value, "onUpdate:modelValue": a2[1] || (a2[1] = (e3) => F.value = e3), placeholder: "搜索", "suffix-icon": h(S), style: w([{ "margin-bottom": "5px", height: "25px" }, Y.value]) }, null, 8, ["modelValue", "suffix-icon", "style"]), f(p(j2, { style: { float: "right" }, onClick: le, size: "small", type: "primary", icon: h(P), circle: "" }, null, 8, ["icon"]), [[y, "custom" == $.value]]), f(d("div", A, [p(t2, null, { default: c(() => [p(h(V))]), _: 1 }), a2[6] || (a2[6] = d("span", { style: { "margin-left": "5px" } }, "输入图标名后点击加号按钮添加", -1)), a2[7] || (a2[7] = _(" ")), p(D2, null, { content: c(() => a2[4] || (a2[4] = [_(" 1.支持fa图标,图标名称详见官网:https://fontawesome.com.cn/v4/icons-ui/; "), d("br", null, null, -1), _(" 2.支持svg图标,需以svg-开头,接svg内容,如:svg-xxxxxx. ")])), default: c(() => [p(M2, { type: "primary" }, { default: c(() => a2[5] || (a2[5] = [_("更多")])), _: 1 })]), _: 1 })], 512), [[y, "custom" == $.value]]), p(Q2, { ref_key: "tableRef", ref: ae, height: X.value, "show-header": false, size: "small", "current-row-key": "code", "row-key": "code", "tree-props": { children: "items" }, "highlight-current-row": true, data: H.value }, { default: c(() => [p(J2, { width: "65" }, { default: c((e3) => [p(j2, { size: "small", onClick: (l3) => {
|
|
99
|
+
return a3 = e3.row, B.value = a3.value, T("update:modelValue", $.value, B.value), void G.value.hide();
|
|
97
100
|
var a3;
|
|
98
|
-
} }, { default:
|
|
101
|
+
} }, { default: c(() => a2[8] || (a2[8] = [_(" 选择 ")])), _: 2 }, 1032, ["onClick"])]), _: 1 }), p(J2, { label: "名称", prop: "value", width: "120" }, { default: c((e3) => [d("span", { style: { "text-align": "left" }, title: e3.row.value }, r(e3.row.value), 9, L)]), _: 1 }), p(J2, { label: "图标" }, { default: c((e3) => [e3.row.component ? (s(), i(x(e3.row.component), { key: 0, style: { width: "20px" } })) : b("", true)]), _: 1 })]), _: 1 }, 8, ["height", "data"]), p(W2, { style: { "margin-top": "10px", "justify-content": "center" }, "current-page": R.value.currentPage, "onUpdate:currentPage": a2[2] || (a2[2] = (e3) => R.value.currentPage = e3), "page-size": R.value.pageSize, "onUpdate:pageSize": a2[3] || (a2[3] = (e3) => R.value.pageSize = e3), size: l2.small, "pager-count": 3, layout: "pager,total", total: R.value.total, onCurrentChange: K }, null, 8, ["current-page", "page-size", "size", "total"])]), _: 1 })) : (s(), i(O2, { key: 0, span: 16 }, { default: c(() => [p(E3, { description: "请选择类型", "image-size": 40 })]), _: 1 }))]), _: 1 })]), _: 1 }, 512));
|
|
99
102
|
};
|
|
100
103
|
} });
|
|
101
104
|
export {
|
|
102
|
-
|
|
105
|
+
E as default
|
|
103
106
|
};
|