service-flow-designer 2.3.0-sit2 → 2.3.0-tmp1
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/designer/common/components/datatable-select.vue2.js +15 -15
- package/dist/es/designer/common/components/file-upload.vue2.js +6 -6
- package/dist/es/designer/common/components/value-set-input/value-set-input.vue2.js +9 -9
- package/dist/es/designer/service-components/computation/sort/config.vue2.js +1 -1
- package/dist/es/designer/service-components/database/aggregate-query/config.vue2.js +11 -11
- package/dist/es/designer/service-components/database/dynamic-sql/config.vue2.js +2 -2
- package/dist/es/designer/service-components/database/regular-query/config.vue2.js +2 -2
- package/dist/es/designer/service-components/service/common/cookie-data.vue.js +4 -4
- package/dist/es/designer/service-components/service/common/form-data.vue.js +8 -8
- package/dist/es/designer/service-components/service/common/header-data.vue.js +4 -4
- package/dist/es/designer/service-components/service/common/json-data.vue2.js +4 -4
- package/dist/es/designer/service-components/service/common/param-config.vue2.js +5 -5
- package/dist/es/designer/service-components/service/common/query-params.vue.js +4 -4
- package/dist/es/designer/service-components/service/custom-bean/config.vue2.js +2 -2
- package/dist/es/designer/service-components/service/http-service/response-json-setting.vue.js +11 -11
- package/dist/es/designer/service-components/service/http-service/response-xml-setting.vue.js +11 -11
- package/dist/es/designer/service-flow-view/service-params.vue.js +6 -6
- package/dist/es/designer/service-flow-view/service-result.vue.js +11 -11
- package/dist/es/designer/service-flow-view/service-test/request-params.vue.js +14 -14
- package/dist/es/designer/service-flow-view/service-test/service-test.vue.js +7 -7
- package/dist/es/designer/service-flow-view/service-update-log.vue2.js +9 -9
- package/dist/es/designer/service-panel/service-list.vue2.js +2 -2
- package/package.json +2 -2
|
@@ -10,12 +10,12 @@ import "element-plus/es/components/button/style/css";
|
|
|
10
10
|
import "element-plus/es/components/input/style/css";
|
|
11
11
|
import "element-plus/es/components/select/style/css";
|
|
12
12
|
import "element-plus/es/components/option/style/css";
|
|
13
|
-
import { defineComponent as p, ref as m, watch as c, createBlock as d, openBlock as v, withCtx as g, createVNode as f, createElementBlock as h, Fragment as y, renderList as b, unref as z, createTextVNode as C, createElementVNode as
|
|
14
|
-
import { Search as
|
|
15
|
-
import
|
|
16
|
-
import { ElMessage as
|
|
17
|
-
const
|
|
18
|
-
const
|
|
13
|
+
import { defineComponent as p, ref as m, watch as c, createBlock as d, openBlock as v, withCtx as g, createVNode as f, createElementBlock as h, Fragment as y, renderList as b, unref as z, createTextVNode as C, createElementVNode as _ } from "vue";
|
|
14
|
+
import { Search as w } from "@element-plus/icons-vue";
|
|
15
|
+
import V from "agilebuilder-ui/src/utils/request";
|
|
16
|
+
import { ElMessage as S } from "element-plus";
|
|
17
|
+
const k = { class: "dialog-footer" }, N = p({ name: "DatatableSelect", inheritAttrs: false, __name: "datatable-select", props: { visible: { type: Boolean, default: false }, systemCode: { type: String, default: "" }, systemVersion: { type: Number, default: -1 } }, emits: ["update:visible", "select"], setup(p2, { emit: N2 }) {
|
|
18
|
+
const T = N2, P = p2, x = m(false), A = m([]), $ = m(""), U = m([]), I = m({ searchCode: "", searchName: "" }), B = m({ name: "" }), E = m({ currentPage: 1, pageSize: 20, showTotal: true, total: 0 }), M = m();
|
|
19
19
|
function D(e2) {
|
|
20
20
|
U.value = [], E.value.currentPage = 1, E.value.total = 0, $.value = e2, j(e2);
|
|
21
21
|
}
|
|
@@ -27,7 +27,7 @@ const N = { class: "dialog-footer" }, T = p({ name: "DatatableSelect", inheritAt
|
|
|
27
27
|
const l2 = { code: "MMS_MODULE_PAGE", pagination: { currentPage: E.value.currentPage, pageSize: E.value.pageSize, showTotal: true }, searchForm: [], dynamicColumnInfo: [] };
|
|
28
28
|
I.value.searchCode && l2.searchForm.push({ leftBracket: "", rightBracket: "", joinSign: "and", propName: "name", operator: "CONTAIN", dataType: "TEXT", propValue: I.value.searchCode }), I.value.searchName && l2.searchForm.push({ leftBracket: "", rightBracket: "", joinSign: "and", propName: "alias", operator: "CONTAIN", dataType: "TEXT", propValue: I.value.searchName });
|
|
29
29
|
const a2 = e2 || P.systemCode;
|
|
30
|
-
|
|
30
|
+
V.post(window.$vueApp.config.globalProperties.baseAPI + "/mms/data-tables/list/" + a2 + "/0/" + P.systemVersion, l2).then((e3) => {
|
|
31
31
|
U.value = e3.data, E.value.pageSize = e3.size, E.value.total = e3.total;
|
|
32
32
|
});
|
|
33
33
|
}
|
|
@@ -37,15 +37,15 @@ const N = { class: "dialog-footer" }, T = p({ name: "DatatableSelect", inheritAt
|
|
|
37
37
|
function R() {
|
|
38
38
|
if (B.value.name) {
|
|
39
39
|
const l2 = (e2 = $.value, A.value.filter((l3) => l3.code === e2));
|
|
40
|
-
|
|
41
|
-
} else
|
|
40
|
+
T("select", { dataTable: B.value, system: l2[0] }), T("update:visible", false);
|
|
41
|
+
} else S.warning("请选择一条记录!");
|
|
42
42
|
var e2;
|
|
43
43
|
}
|
|
44
44
|
function X() {
|
|
45
|
-
|
|
45
|
+
T("update:visible", false);
|
|
46
46
|
}
|
|
47
47
|
c(() => P.visible, (e2) => {
|
|
48
|
-
x.value = e2, e2 &&
|
|
48
|
+
x.value = e2, e2 && V.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-charts/findAllSystem").then((e3) => {
|
|
49
49
|
e3 && e3.forEach((e4) => {
|
|
50
50
|
e4.name = e4.name + "(" + e4.publishVersion + ")";
|
|
51
51
|
});
|
|
@@ -54,15 +54,15 @@ const N = { class: "dialog-footer" }, T = p({ name: "DatatableSelect", inheritAt
|
|
|
54
54
|
});
|
|
55
55
|
});
|
|
56
56
|
return (p3, m2) => {
|
|
57
|
-
const c2 = o,
|
|
58
|
-
return v(), d(H, { "append-to-body": "", "destroy-on-close": "", modelValue: x.value, "onUpdate:modelValue": m2[7] || (m2[7] = (e2) => x.value = e2), title: "选择数据表", width: "60%", "before-close": X }, { footer: g(() => [
|
|
57
|
+
const c2 = o, V2 = t, S2 = s, N3 = n, T2 = a, P2 = r, B2 = u, q = i, G = l, H = e;
|
|
58
|
+
return v(), d(H, { "append-to-body": "", "destroy-on-close": "", modelValue: x.value, "onUpdate:modelValue": m2[7] || (m2[7] = (e2) => x.value = e2), title: "选择数据表", width: "60%", "before-close": X }, { footer: g(() => [_("div", k, [f(N3, { type: "default", size: "small", onClick: m2[6] || (m2[6] = (e2) => x.value = false) }, { default: g(() => m2[9] || (m2[9] = [C("返回")])), _: 1, __: [9] }), f(N3, { size: "small", type: "primary", onClick: R }, { default: g(() => m2[10] || (m2[10] = [C(" 确定 ")])), _: 1, __: [10] })])]), default: g(() => [f(G, { style: { height: "400px" } }, { default: g(() => [f(T2, { style: { padding: "0", height: "50px" } }, { default: g(() => [f(V2, { modelValue: $.value, "onUpdate:modelValue": m2[0] || (m2[0] = (e2) => $.value = e2), onChange: D, "value-key": "code", size: "small", style: { width: "240px" } }, { default: g(() => [(v(true), h(y, null, b(A.value, (e2) => (v(), d(c2, { key: e2.code, label: e2.name, value: e2.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), f(S2, { size: "small", clearable: "", modelValue: I.value.searchCode, "onUpdate:modelValue": m2[1] || (m2[1] = (e2) => I.value.searchCode = e2), placeholder: "编码", style: { width: "100px" } }, null, 8, ["modelValue"]), f(S2, { size: "small", clearable: "", modelValue: I.value.searchName, "onUpdate:modelValue": m2[2] || (m2[2] = (e2) => I.value.searchName = e2), placeholder: "名称", style: { width: "100px" } }, null, 8, ["modelValue"]), f(N3, { type: "primary", size: "small", icon: z(w), onClick: m2[3] || (m2[3] = (e2) => {
|
|
59
59
|
j($.value);
|
|
60
|
-
}) }, { default: g(() => m2[8] || (m2[8] = [C("查询")])), _: 1 }, 8, ["icon"])]), _: 1 }), f(B2, { ref_key: "tableRef", ref: M, "current-row-key": "code", "row-key": "code", onRowClick: O, data: U.value, "highlight-current-row": "", style: { width: "100%" } }, { default: g(() => [f(P2, { type: "index", width: "50" }), f(P2, { prop: "name", label: "编码" }), f(P2, { prop: "alias", label: "名称" }), f(P2, { prop: "modifierName", label: "修改人" }), f(P2, { prop: "modifiedTime", formatter: (e2) => ((e3) => {
|
|
60
|
+
}) }, { default: g(() => m2[8] || (m2[8] = [C("查询")])), _: 1, __: [8] }, 8, ["icon"])]), _: 1 }), f(B2, { ref_key: "tableRef", ref: M, "current-row-key": "code", "row-key": "code", onRowClick: O, data: U.value, "highlight-current-row": "", style: { width: "100%" } }, { default: g(() => [f(P2, { type: "index", width: "50" }), f(P2, { prop: "name", label: "编码" }), f(P2, { prop: "alias", label: "名称" }), f(P2, { prop: "modifierName", label: "修改人" }), f(P2, { prop: "modifiedTime", formatter: (e2) => ((e3) => {
|
|
61
61
|
let l2 = new Date(e3);
|
|
62
62
|
return `${l2.getFullYear()}-${("0" + (l2.getMonth() + 1)).slice(-2)}-${("0" + l2.getDate()).slice(-2)} ${("0" + l2.getHours()).slice(-2)}:${("0" + l2.getMinutes()).slice(-2)}:${("0" + l2.getSeconds()).slice(-2)}`;
|
|
63
63
|
})(e2.modifiedTime), label: "修改时间" }, null, 8, ["formatter"])]), _: 1 }, 8, ["data"]), f(q, { "current-page": E.value.currentPage, "onUpdate:currentPage": m2[4] || (m2[4] = (e2) => E.value.currentPage = e2), "page-size": E.value.pageSize, "onUpdate:pageSize": m2[5] || (m2[5] = (e2) => E.value.pageSize = e2), "page-sizes": [20, 30, 50, 100], small: "", background: "", layout: "total, sizes, prev, pager, next, jumper", total: E.value.total, onSizeChange: F, onCurrentChange: F }, null, 8, ["current-page", "page-size", "total"])]), _: 1 })]), _: 1 }, 8, ["modelValue"]);
|
|
64
64
|
};
|
|
65
65
|
} });
|
|
66
66
|
export {
|
|
67
|
-
|
|
67
|
+
N as default
|
|
68
68
|
};
|
|
@@ -9,23 +9,23 @@ import { genFileId as d } from "element-plus";
|
|
|
9
9
|
import { getToken as c } from "agilebuilder-ui/src/utils/auth";
|
|
10
10
|
import { useServiceFlowStore as f } from "../../../stores/page-store.js";
|
|
11
11
|
const V = t({ __name: "file-upload", props: { modelValue: { type: Object, default: () => ({}) } }, emits: ["update:modelValue", "on-success"], setup(t2, { expose: V2, emit: v }) {
|
|
12
|
-
const y = f(), b = v, h = t2,
|
|
13
|
-
|
|
14
|
-
const
|
|
12
|
+
const y = f(), b = v, h = t2, _ = s("");
|
|
13
|
+
_.value = y.pageContext.systemCode, h.modelValue && "object" == typeof h.modelValue || b("update:modelValue", {});
|
|
14
|
+
const g = s(), x = { Authorization: c() }, U = window.$vueApp.config.globalProperties.baseAPI + "/component/super-form/uploads", j = s([]);
|
|
15
15
|
h.modelValue && h.modelValue.fileUuid && j.value.push({ name: h.modelValue.name, url: h.modelValue.fileUuid });
|
|
16
16
|
const A = (e2, l2) => {
|
|
17
17
|
}, C = (e2, l2) => {
|
|
18
18
|
h.modelValue.name = "", h.modelValue.fileUuid = "";
|
|
19
19
|
}, P = (e2) => {
|
|
20
|
-
|
|
20
|
+
g.value.clearFiles();
|
|
21
21
|
const l2 = e2[0];
|
|
22
|
-
l2.uid = d(),
|
|
22
|
+
l2.uid = d(), g.value.handleStart(l2), g.value.submit();
|
|
23
23
|
}, w = (e2, l2, o2) => {
|
|
24
24
|
h.modelValue.name = e2.name, h.modelValue.fileUuid = e2.serverPath, b("on-success");
|
|
25
25
|
};
|
|
26
26
|
return V2({}), (t3, s2) => {
|
|
27
27
|
const d2 = o, c2 = l, f2 = e;
|
|
28
|
-
return a(), u(f2, { ref_key: "upload", ref:
|
|
28
|
+
return a(), u(f2, { ref_key: "upload", ref: g, name: "file", data: { systemCode: _.value, isExport: true }, "auto-upload": true, action: U, headers: x, limit: 1, "on-change": A, "on-exceed": P, "on-remove": C, "on-success": w, "file-list": j.value }, { default: m(() => [n(c2, { type: "default" }, { default: m(() => [s2[0] || (s2[0] = i(" 上传附件")), n(d2, { class: "el-icon--right" }, { default: m(() => [n(p(r))]), _: 1 })]), _: 1, __: [0] })]), _: 1 }, 8, ["data", "file-list"]);
|
|
29
29
|
};
|
|
30
30
|
} });
|
|
31
31
|
export {
|
|
@@ -10,7 +10,7 @@ import "element-plus/es/components/col/style/css";
|
|
|
10
10
|
import "element-plus/es/components/cascader-panel/style/css";
|
|
11
11
|
import "element-plus/es/components/input/style/css";
|
|
12
12
|
import "element-plus/es/components/button/style/css";
|
|
13
|
-
import { defineComponent as p, ref as v, computed as c, createElementBlock as d, createBlock as m, openBlock as f, toDisplayString as y, withCtx as h, createVNode as V, normalizeStyle as g, createElementVNode as w, withDirectives as x, unref as b, createTextVNode as k, Fragment as z, renderList as C, vShow as
|
|
13
|
+
import { defineComponent as p, ref as v, computed as c, createElementBlock as d, createBlock as m, openBlock as f, toDisplayString as y, withCtx as h, createVNode as V, normalizeStyle as g, createElementVNode as w, withDirectives as x, unref as b, createTextVNode as k, Fragment as z, renderList as C, vShow as _, withModifiers as O, nextTick as S } from "vue";
|
|
14
14
|
import { Plus as U, InfoFilled as j, Search as q, Delete as I } from "@element-plus/icons-vue";
|
|
15
15
|
import { v4 as L } from "uuid";
|
|
16
16
|
import { getTypeOptions as T, contextVarOptions as A, taskVarOptions as F } from "./option.js";
|
|
@@ -37,7 +37,7 @@ const B = { key: 0 }, K = { style: { "margin-top": "10px", "font-size": "10px",
|
|
|
37
37
|
const e2 = X.modelValue.match(/\${(.*?)\.(.*?)}/);
|
|
38
38
|
if (e2) {
|
|
39
39
|
const l2 = e2[1], a2 = e2[2];
|
|
40
|
-
se.value = l2, ie.value = a2, ce(), "file" === se.value ? le.value = "file" : ve.includes(l2) ? ("system" === se.value &&
|
|
40
|
+
se.value = l2, ie.value = a2, ce(), "file" === se.value ? le.value = "file" : ve.includes(l2) ? ("system" === se.value && _e(), le.value = "select") : le.value = "input";
|
|
41
41
|
}
|
|
42
42
|
te.value = ye();
|
|
43
43
|
}
|
|
@@ -72,7 +72,7 @@ const B = { key: 0 }, K = { style: { "margin-top": "10px", "font-size": "10px",
|
|
|
72
72
|
var e2;
|
|
73
73
|
}
|
|
74
74
|
function he(e2) {
|
|
75
|
-
ie.value = "", "file" === e2 ? le.value = "file" : ve.includes(e2) ? (le.value = "select", "system" === e2 ?
|
|
75
|
+
ie.value = "", "file" === e2 ? le.value = "file" : ve.includes(e2) ? (le.value = "select", "system" === e2 ? _e() : Ve(e2)) : le.value = "input";
|
|
76
76
|
}
|
|
77
77
|
function Ve(e2) {
|
|
78
78
|
"context" === e2 ? oe.value = A : "system" === e2 ? oe.value = ne.value.systemVarOptions || [] : "task" === e2 ? oe.value = F : "data" === e2 ? oe.value = ne.value.dataModelOptions || [] : "service" === e2 && (oe.value = ne.value.serviceVarOptions || []);
|
|
@@ -90,7 +90,7 @@ const B = { key: 0 }, K = { style: { "margin-top": "10px", "font-size": "10px",
|
|
|
90
90
|
!se.value && ee.value.length > 0 && (se.value = ee.value[0].value, he(se.value));
|
|
91
91
|
const xe = v();
|
|
92
92
|
const be = () => {
|
|
93
|
-
ce(), me(), se.value && Ve(se.value),
|
|
93
|
+
ce(), me(), se.value && Ve(se.value), S(() => {
|
|
94
94
|
!function() {
|
|
95
95
|
if (!X.showLabel && "select" === le.value) {
|
|
96
96
|
const e2 = de.value.findIndex((e3) => e3.value === ie.value);
|
|
@@ -106,7 +106,7 @@ const B = { key: 0 }, K = { style: { "margin-top": "10px", "font-size": "10px",
|
|
|
106
106
|
Z.value = "${file." + ae.value.name + "|" + ae.value.fileUuid + "}", ie.value = ae.value.name + "|" + ae.value.fileUuid, W("update:modelValue", Z.value), pe.value.hide();
|
|
107
107
|
}
|
|
108
108
|
let Ce = null;
|
|
109
|
-
function
|
|
109
|
+
function _e() {
|
|
110
110
|
if (Ce && Ce == re.value) return;
|
|
111
111
|
const e2 = { query: re.value };
|
|
112
112
|
Ce = re.value, M.post("/component/system-params/query", e2).then((e3) => {
|
|
@@ -116,14 +116,14 @@ const B = { key: 0 }, K = { style: { "margin-top": "10px", "font-size": "10px",
|
|
|
116
116
|
});
|
|
117
117
|
}
|
|
118
118
|
return J2({ setSelectOptions: me }), (v2, c2) => {
|
|
119
|
-
const
|
|
120
|
-
return p2.showLabel ? (f(), d("span", B, y(te.value), 1)) : (f(), m(N2, { key: 1, ref_key: "popoverRef", ref: pe, trigger: "click", width: 450 }, { reference: h(() => [V(L2, { style: g({ width: p2.width ? p2.width : "" }), readonly: "", size: p2.inputSize, onClick: be, formatter: ye, class: "input-with-select", "prefix-icon": b(q), modelValue: Z.value, "onUpdate:modelValue": c2[0] || (c2[0] = (e2) => Z.value = e2), placeholder: p2.placeholder }, { append: h(() => [V(
|
|
119
|
+
const S2 = i, L2 = s, T2 = t, A2 = a, F2 = u, $2 = o, M2 = r, R2 = n, J3 = l, N2 = e;
|
|
120
|
+
return p2.showLabel ? (f(), d("span", B, y(te.value), 1)) : (f(), m(N2, { key: 1, ref_key: "popoverRef", ref: pe, trigger: "click", width: 450 }, { reference: h(() => [V(L2, { style: g({ width: p2.width ? p2.width : "" }), readonly: "", size: p2.inputSize, onClick: be, formatter: ye, class: "input-with-select", "prefix-icon": b(q), modelValue: Z.value, "onUpdate:modelValue": c2[0] || (c2[0] = (e2) => Z.value = e2), placeholder: p2.placeholder }, { append: h(() => [V(S2, { type: "default", size: p2.inputSize, icon: b(I), onClick: O(ke, ["stop"]) }, null, 8, ["size", "icon"])]), _: 1 }, 8, ["style", "size", "prefix-icon", "modelValue", "placeholder"])]), default: h(() => [V(J3, null, { default: h(() => [V(A2, { span: 8 }, { default: h(() => [V(T2, { modelValue: se.value, "onUpdate:modelValue": c2[1] || (c2[1] = (e2) => se.value = e2), onChange: he, props: { emitPath: false }, size: "small", style: g({ width: "fit-content", height: Y.value + "px", overflow: "auto" }), options: ee.value }, null, 8, ["modelValue", "style", "options"])]), _: 1 }), se.value ? "input" === le.value ? (f(), m(A2, { key: 1, span: 16 }, { default: h(() => [V(L2, { style: { width: "88%" }, size: "small", modelValue: ie.value, "onUpdate:modelValue": c2[2] || (c2[2] = (e2) => ie.value = e2), placeholder: "请手动输入" }, null, 8, ["modelValue"]), V(S2, { style: { float: "right" }, onClick: ge, size: "small", type: "primary", icon: b(U), circle: "" }, null, 8, ["icon"]), w("div", K, [V($2, null, { default: h(() => [V(b(j))]), _: 1 }), c2[5] || (c2[5] = w("span", { style: { "margin-left": "5px" } }, "输入变量名后点击加号按钮添加", -1))]), x(w("div", { style: g({ fontSize: "10px", lineHeight: "30px", height: Y.value - 50 + "px", overflow: "auto" }) }, [c2[6] || (c2[6] = k(" 可用参数: ")), (f(true), d(z, null, C(ue.value, (e2) => (f(), m(S2, { type: "primary", size: "small", onClick: (l2) => {
|
|
121
121
|
return a2 = e2.value, ie.value = a2, void ge();
|
|
122
122
|
var a2;
|
|
123
|
-
} }, { default: h(() => [k(y(e2.label), 1)]), _: 2 }, 1032, ["onClick"]))), 256))], 4), [[
|
|
123
|
+
} }, { default: h(() => [k(y(e2.label), 1)]), _: 2 }, 1032, ["onClick"]))), 256))], 4), [[_, "request" == se.value]])]), _: 1 })) : "file" === le.value ? (f(), m(A2, { key: 2, span: 16 }, { default: h(() => [V(E, { modelValue: ae.value, "onUpdate:modelValue": c2[3] || (c2[3] = (e2) => ae.value = e2), onOnSuccess: ze }, null, 8, ["modelValue"])]), _: 1 })) : (f(), m(A2, { key: 3, span: 16 }, { default: h(() => [w("div", H, [w("div", P, [V(L2, { size: "small", modelValue: re.value, "onUpdate:modelValue": c2[4] || (c2[4] = (e2) => re.value = e2), placeholder: "搜索", "suffix-icon": b(q), style: { width: "90%" } }, null, 8, ["modelValue", "suffix-icon"]), x(V(S2, { style: { float: "right" }, onClick: we, size: "small", type: "primary", icon: b(U), circle: "" }, null, 8, ["icon"]), [[_, "service" == se.value]]), x(w("div", D, [V($2, null, { default: h(() => [V(b(j))]), _: 1 }), c2[7] || (c2[7] = w("span", { style: { "margin-left": "5px" } }, "输入变量名后点击加号按钮添加", -1))], 512), [[_, "service" == se.value]])]), V(R2, { ref_key: "tableRef", ref: xe, height: Y.value - 80, "show-header": false, size: "small", "current-row-key": "code", "row-key": "code", "tree-props": { children: "items" }, "highlight-current-row": true, data: de.value, class: "flex-table" }, { default: h(() => [V(M2, { fixed: true, width: "service" === se.value ? "" : 70 }, { default: h((e2) => [V(S2, { type: "default", size: "small", onClick: (l2) => {
|
|
124
124
|
return a2 = e2.row, ie.value = a2.value, Z.value = "${" + se.value + "." + a2.value + "}", W("update:modelValue", Z.value), void pe.value.hide();
|
|
125
125
|
var a2;
|
|
126
|
-
} }, { default: h(() => c2[8] || (c2[8] = [k(" 选择 ")])), _: 2 }, 1032, ["onClick"])]), _: 1 }, 8, ["width"]), V(M2, { prop: "label" })]), _: 1 }, 8, ["height", "data"]), w("div", G, "总计:" + y(de.value.length), 1)])]), _: 1 })) : (f(), m(A2, { key: 0, span: 16 }, { default: h(() => [V(F2, { description: "请选择类型", "image-size": 40 })]), _: 1 }))]), _: 1 })]), _: 1 }, 512));
|
|
126
|
+
} }, { default: h(() => c2[8] || (c2[8] = [k(" 选择 ")])), _: 2, __: [8] }, 1032, ["onClick"])]), _: 1 }, 8, ["width"]), V(M2, { prop: "label" })]), _: 1 }, 8, ["height", "data"]), w("div", G, "总计:" + y(de.value.length), 1)])]), _: 1 })) : (f(), m(A2, { key: 0, span: 16 }, { default: h(() => [V(F2, { description: "请选择类型", "image-size": 40 })]), _: 1 }))]), _: 1 })]), _: 1 }, 512));
|
|
127
127
|
};
|
|
128
128
|
} });
|
|
129
129
|
export {
|
|
@@ -41,7 +41,7 @@ const C = { style: { position: "absolute", right: "10px" } }, E = { key: 0 }, $
|
|
|
41
41
|
};
|
|
42
42
|
return U2({}), (u2, c2) => {
|
|
43
43
|
const U3 = l, B2 = a, H = s, I = t, J = r, K = o, L = i, M = p, N = n, P = e;
|
|
44
|
-
return f(), d(P, { "label-width": "auto", "label-position": "left" }, { default: v(() => [y(z, { properties: m2.properties }, null, 8, ["properties"]), y(U3), y(I, { label: "数据源:" }, { default: v(() => [y(H, { modelValue: m2.properties.dataSource, "onUpdate:modelValue": c2[0] || (c2[0] = (e2) => m2.properties.dataSource = e2), "value-key": "name", onChange: A }, { default: v(() => [(f(true), b(h, null, k(D.value, (e2) => (f(), d(B2, { key: e2.code, label: e2.name, value: e2.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), y(K, { type: "info", size: "small", closable: false }, { title: v(() => [c2[3] || (c2[3] = g(" 排序条件 ")), _("span", C, [-1 === q.value.indexOf(m2.properties.dataSource) ? (f(), d(J, { key: 0, size: "small", type: "primary", onClick: G }, { default: v(() => c2[2] || (c2[2] = [g("添加")])), _: 1 })) : w("", true)])]), _: 1 }), y(N, { data: m2.properties.sorts, style: { width: "100%", "margin-bottom": "20px" }, "row-key": "name", onRowDblclick: F, size: "small", border: "", "default-expand-all": "" }, { default: v(() => [y(L, { type: "index", width: "50", label: "序号" }), y(L, { prop: "name", label: "字段名" }, { default: v((e2) => [q.value.indexOf(m2.properties.dataSource) > -1 ? (f(), b("span", E, "item")) : (f(), d(H, { key: 2, modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, onChange: (l2) => {
|
|
44
|
+
return f(), d(P, { "label-width": "auto", "label-position": "left" }, { default: v(() => [y(z, { properties: m2.properties }, null, 8, ["properties"]), y(U3), y(I, { label: "数据源:" }, { default: v(() => [y(H, { modelValue: m2.properties.dataSource, "onUpdate:modelValue": c2[0] || (c2[0] = (e2) => m2.properties.dataSource = e2), "value-key": "name", onChange: A }, { default: v(() => [(f(true), b(h, null, k(D.value, (e2) => (f(), d(B2, { key: e2.code, label: e2.name, value: e2.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), y(K, { type: "info", size: "small", closable: false }, { title: v(() => [c2[3] || (c2[3] = g(" 排序条件 ")), _("span", C, [-1 === q.value.indexOf(m2.properties.dataSource) ? (f(), d(J, { key: 0, size: "small", type: "primary", onClick: G }, { default: v(() => c2[2] || (c2[2] = [g("添加")])), _: 1, __: [2] })) : w("", true)])]), _: 1 }), y(N, { data: m2.properties.sorts, style: { width: "100%", "margin-bottom": "20px" }, "row-key": "name", onRowDblclick: F, size: "small", border: "", "default-expand-all": "" }, { default: v(() => [y(L, { type: "index", width: "50", label: "序号" }), y(L, { prop: "name", label: "字段名" }, { default: v((e2) => [q.value.indexOf(m2.properties.dataSource) > -1 ? (f(), b("span", E, "item")) : (f(), d(H, { key: 2, modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, onChange: (l2) => {
|
|
45
45
|
return t2 = l2, (s2 = e2.row).alias = "", void R.value.forEach((e3) => {
|
|
46
46
|
e3.name === t2 && (s2.alias = e3.alias);
|
|
47
47
|
});
|
|
@@ -9,11 +9,11 @@ import "element-plus/es/components/form-item/style/css";
|
|
|
9
9
|
import "element-plus/es/components/input/style/css";
|
|
10
10
|
import "element-plus/es/components/button/style/css";
|
|
11
11
|
import { defineComponent as n, ref as m, onMounted as u, createElementBlock as c, openBlock as d, createVNode as y, withCtx as v, createElementVNode as b, unref as f, createTextVNode as g } from "vue";
|
|
12
|
-
import { Search as T, View as C, Check as
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import { useServiceFlowStore as
|
|
16
|
-
import { queryTableFields as
|
|
12
|
+
import { Search as T, View as C, Check as _ } from "@element-plus/icons-vue";
|
|
13
|
+
import S from "../../../common/components/value-set-input/value-set-input.vue.js";
|
|
14
|
+
import x from "../../../common/components/datatable-select.vue.js";
|
|
15
|
+
import { useServiceFlowStore as j } from "../../../../stores/page-store.js";
|
|
16
|
+
import { queryTableFields as h, updateServiceParams as w, updateServiceReturns as V, getBaseUrl as N } from "../../../../utils/common-util.js";
|
|
17
17
|
import q from "agilebuilder-ui/src/utils/request";
|
|
18
18
|
import "uuid";
|
|
19
19
|
import k from "./dimension-statistical.vue.js";
|
|
@@ -35,7 +35,7 @@ import M from "../../../common/components/sql-view/sql-view-dialog.vue.js";
|
|
|
35
35
|
import "element-plus/es/components/message/style/css";
|
|
36
36
|
const D = { style: { position: "absolute", right: "0" } }, E = { style: { display: "flex" } }, J = n({ __name: "config", props: { properties: { type: Object, default: () => ({ search: {}, noData: {}, result: {} }) }, logicFlowInstance: { type: Object, default: () => ({}) }, currentNode: { type: Object, default: () => ({}) }, pageContext: { type: Object, default: () => ({}) }, service: { type: Object, default: () => ({}) } }, setup(n2, { expose: J2 }) {
|
|
37
37
|
var _a;
|
|
38
|
-
const B =
|
|
38
|
+
const B = j(), A = n2;
|
|
39
39
|
A.properties.result || (A.properties.result = {});
|
|
40
40
|
const G = m(false), H = m(B.pageContext.systemCode);
|
|
41
41
|
((_a = A.properties) == null ? void 0 : _a.dataTableSystemCode) && (H.value = A.properties.dataTableSystemCode);
|
|
@@ -47,7 +47,7 @@ const D = { style: { position: "absolute", right: "0" } }, E = { style: { displa
|
|
|
47
47
|
}
|
|
48
48
|
function Z() {
|
|
49
49
|
const e2 = A.properties.dataTable, t2 = A.properties.dataTableSystemCode, s2 = A.properties.dataTableSystemVersion;
|
|
50
|
-
e2 ?
|
|
50
|
+
e2 ? h(t2, s2, e2).then((e3) => {
|
|
51
51
|
L.value = e3, P.value = L.value;
|
|
52
52
|
}) : (L.value = [], P.value = L.value);
|
|
53
53
|
}
|
|
@@ -72,12 +72,12 @@ const D = { style: { position: "absolute", right: "0" } }, E = { style: { displa
|
|
|
72
72
|
function te() {
|
|
73
73
|
if (!A.properties.result.setTo) return void i.error("请先设置结果参数!");
|
|
74
74
|
const e2 = "first" == A.properties.result.valueSetScope ? "object" : "array";
|
|
75
|
-
|
|
75
|
+
w(A.properties.result.setTo, e2, Q.value);
|
|
76
76
|
}
|
|
77
77
|
function se() {
|
|
78
78
|
if (!A.properties.result.setTo) return void i.error("请先设置结果参数!");
|
|
79
79
|
const e2 = "first" == A.properties.result.valueSetScope ? "object" : "array";
|
|
80
|
-
|
|
80
|
+
V(A.properties.result.setTo, e2, Q.value);
|
|
81
81
|
}
|
|
82
82
|
function oe() {
|
|
83
83
|
X.value = "";
|
|
@@ -89,8 +89,8 @@ const D = { style: { position: "absolute", right: "0" } }, E = { style: { displa
|
|
|
89
89
|
});
|
|
90
90
|
}
|
|
91
91
|
return J2({}), (i2, m2) => {
|
|
92
|
-
const u2 = o,
|
|
93
|
-
return d(), c("div", null, [y(I2, { "label-width": "100", "label-position": "left", size: "small" }, { default: v(() => [y(z, { properties: n2.properties }, null, 8, ["properties"]), y(
|
|
92
|
+
const u2 = o, j2 = s, h2 = t, w2 = l, V2 = a, N2 = p, q2 = r, I2 = e;
|
|
93
|
+
return d(), c("div", null, [y(I2, { "label-width": "100", "label-position": "left", size: "small" }, { default: v(() => [y(z, { properties: n2.properties }, null, 8, ["properties"]), y(h2, { label: "选择数据表" }, { default: v(() => [y(j2, { modelValue: n2.properties.dataTable, "onUpdate:modelValue": m2[1] || (m2[1] = (e2) => n2.properties.dataTable = e2), readonly: "", style: { width: "85%" } }, { append: v(() => [y(u2, { type: "default", icon: f(T), onClick: m2[0] || (m2[0] = (e2) => G.value = !G.value) }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue"]), b("span", D, [y(u2, { type: "primary", icon: f(C), onClick: oe }, { default: v(() => m2[7] || (m2[7] = [g("预览sql")])), _: 1, __: [7] }, 8, ["icon"])]), y(x, { visible: G.value, "onUpdate:visible": m2[2] || (m2[2] = (e2) => G.value = e2), modelValue: n2.properties.dataTable, "onUpdate:modelValue": m2[3] || (m2[3] = (e2) => n2.properties.dataTable = e2), systemCode: H.value, systemVersion: K.value, onSelect: $ }, null, 8, ["visible", "modelValue", "systemCode", "systemVersion"])]), _: 1 }), y(w2, { title: "统计维度", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), y(k, { properties: n2.properties, dataTableColumns: P.value, onChange: ee, style: { "margin-bottom": "10 px" } }, null, 8, ["properties", "dataTableColumns"]), y(V2, { style: { "margin-top": "10px", "margin-bottom": "10px", display: "block" }, type: "success" }, { default: v(() => m2[8] || (m2[8] = [g("说明:1.支持自定义日期格式,同SimpleDateFormat,yyyy表示年,MM表示2位月..."), b("br", null, null, -1), g(" 2.未指定新字段名时,输出字段名同选择的字段名"), b("br", null, null, -1), g(" 3.动态维度值有填写时需要匹配才会执行此分组")])), _: 1, __: [8] }), y(w2, { title: "统计公式", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), y(F, { properties: n2.properties, dataTableColumns: L.value, onChange: ee }, null, 8, ["properties", "dataTableColumns"]), y(V2, { style: { "margin-top": "10px", "margin-bottom": "10px", display: "block" }, type: "success" }, { default: v(() => m2[9] || (m2[9] = [g("说明:1.支持自定义统计公式,如sum(字段1+字段2)")])), _: 1, __: [9] }), y(w2, { title: "过滤条件", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), y(O, { properties: n2.properties, dataTableColumns: L.value }, null, 8, ["properties", "dataTableColumns"]), y(w2, { title: "排序条件", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), y(U, { properties: n2.properties, dataTableColumns: Q.value }, null, 8, ["properties", "dataTableColumns"]), y(w2, { title: "结果设置", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), y(h2, { label: "", "label-width": "0", style: { width: "100%" } }, { default: v(() => [y(q2, { modelValue: n2.properties.result.valueSetScope, "onUpdate:modelValue": m2[4] || (m2[4] = (e2) => n2.properties.result.valueSetScope = e2), onChange: Y, class: "ml-4" }, { default: v(() => [y(N2, { value: "first" }, { default: v(() => m2[10] || (m2[10] = [g("仅第一条")])), _: 1, __: [10] }), y(N2, { value: "all" }, { default: v(() => m2[11] || (m2[11] = [g(" 全部 ")])), _: 1, __: [11] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), y(h2, { label: "设置到:", style: { width: "100%" } }, { default: v(() => [b("div", E, [y(f(S), { width: "260", paramTypes: ["service"], modelValue: n2.properties.result.setTo, "onUpdate:modelValue": m2[5] || (m2[5] = (e2) => n2.properties.result.setTo = e2), autoCreateFieldType: R.value }, null, 8, ["modelValue", "autoCreateFieldType"]), y(u2, { icon: f(_), type: "primary", onClick: te, style: { "margin-left": "10px" } }, { default: v(() => m2[12] || (m2[12] = [g(" 更新服务变量 ")])), _: 1, __: [12] }, 8, ["icon"]), y(u2, { icon: f(_), type: "primary", onClick: se, style: { "margin-left": "10px" } }, { default: v(() => m2[13] || (m2[13] = [g(" 设置为返回值 ")])), _: 1, __: [13] }, 8, ["icon"])])]), _: 1 })]), _: 1 }), y(f(M), { sql: X.value, "model-value": W.value, "onUpdate:modelValue": m2[6] || (m2[6] = (e2) => W.value = e2) }, null, 8, ["sql", "model-value"])]);
|
|
94
94
|
};
|
|
95
95
|
} });
|
|
96
96
|
export {
|
|
@@ -14,7 +14,7 @@ import "element-plus/es/components/select/style/css";
|
|
|
14
14
|
import "element-plus/es/components/option/style/css";
|
|
15
15
|
import "element-plus/es/components/form-item/style/css";
|
|
16
16
|
import "element-plus/es/components/divider/style/css";
|
|
17
|
-
import { defineComponent as f, ref as v, onMounted as b, createElementBlock as h, openBlock as y, createVNode as g, withCtx as x, createElementVNode as
|
|
17
|
+
import { defineComponent as f, ref as v, onMounted as b, createElementBlock as h, openBlock as y, createVNode as g, withCtx as x, createElementVNode as _, withDirectives as S, unref as k, Fragment as V, renderList as z, createBlock as w, vShow as D, createTextVNode as L } from "vue";
|
|
18
18
|
import { useLocalStorage as C } from "@vueuse/core";
|
|
19
19
|
import H from "../../../common/components/node-base-config.vue.js";
|
|
20
20
|
import { Search as O, FullScreen as j, CaretRight as U } from "@element-plus/icons-vue";
|
|
@@ -94,7 +94,7 @@ const R = { style: {} }, Y = { style: { padding: "8px 16px", margin: "10px 0px",
|
|
|
94
94
|
};
|
|
95
95
|
return $2({}), (v2, b2) => {
|
|
96
96
|
const C2 = t, T2 = l, q2 = a, E2 = s, G2 = o, W2 = n, X2 = i, B2 = p, J2 = u, N2 = r, Q2 = m, A2 = d, F2 = c, K2 = e;
|
|
97
|
-
return y(), h("div", R, [g(K2, { "label-width": "auto", "label-position": "left" }, { default: x(() => [g(H, { properties: f2.properties }, null, 8, ["properties"]), g(C2), g(T2),
|
|
97
|
+
return y(), h("div", R, [g(K2, { "label-width": "auto", "label-position": "left" }, { default: x(() => [g(H, { properties: f2.properties }, null, 8, ["properties"]), g(C2), g(T2), _("div", Y, [b2[5] || (b2[5] = _("span", { style: { color: "#909399", "font-size": "14px" } }, "SQL窗口", -1)), _("span", Z, [g(G2, { effect: "dark", content: "切换主题", placement: "top" }, { default: x(() => [g(E2, { class: "editorOption", onChange: ie, modelValue: ne.value.theme, "onUpdate:modelValue": b2[0] || (b2[0] = (e2) => ne.value.theme = e2), placeholder: "", size: "small", style: { width: "120px" } }, { default: x(() => [g(q2, { label: "默认", value: "default" }), g(q2, { label: "VScodeDark", value: "vscodeDark" }), g(q2, { label: "Dracula", value: "dracula" }), g(q2, { label: "GithubLight", value: "githubLight" }), g(q2, { label: "GithubDark", value: "githubDark" }), g(q2, { label: "Eclipse", value: "eclipse" }), g(q2, { label: "XcodeLight", value: "xcodeLight" }), g(q2, { label: "XcodeDark", value: "xcodeDark" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), g(G2, { effect: "dark", content: "切换字体大小", placement: "top" }, { default: x(() => [g(E2, { class: "editorOption", modelValue: ne.value.fontSize, "onUpdate:modelValue": b2[1] || (b2[1] = (e2) => ne.value.fontSize = e2), placeholder: "", onChange: ie, size: "small", style: { width: "80px" } }, { default: x(() => [g(q2, { label: "12", value: 12 }), g(q2, { label: "14", value: 14 }), g(q2, { label: "16", value: 16 }), g(q2, { label: "18", value: 18 }), g(q2, { label: "20", value: 20 }), g(q2, { label: "22", value: 22 }), g(q2, { label: "24", value: 24 }), g(q2, { label: "26", value: 26 }), g(q2, { label: "28", value: 28 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })]), g(G2, { effect: "dark", content: "打开搜索", placement: "top" }, { default: x(() => [g(W2, { class: "editorOption", onClick: de }, { default: x(() => [g(k(O))]), _: 1 })]), _: 1 }), g(G2, { effect: "dark", content: ae.value ? "退出全屏" : "全屏", placement: "top" }, { default: x(() => [g(W2, { style: { cursor: "pointer" }, onClick: ue }, { default: x(() => [g(k(j))]), _: 1 })]), _: 1 }, 8, ["content"]), g(W2, { style: { cursor: "pointer" }, onClick: fe, size: 25 }, { default: x(() => [g(k(U))]), _: 1 })]), b2[8] || (b2[8] = _("div", { style: { minHeight: "400px", maxHeight: "400px", backgroundColor: "#fff", color: "#333", outline: "1px dotted #212121" }, id: "cf-codemirror" }, null, -1)), S(g(N2, { modelValue: se.value, "onUpdate:modelValue": b2[2] || (b2[2] = (e2) => se.value = e2), type: "border-card", style: { "margin-top": "10px" } }, { default: x(() => [(y(true), h(V, null, z(oe.value, (e2, t2) => (y(), w(J2, { label: "结果" + (t2 + 1), name: "index" + t2 }, { default: x(() => [g(B2, { data: e2, style: { width: "100%" } }, { default: x(() => [(y(true), h(V, null, z(e2[0], (e3, t3) => (y(), w(X2, { prop: t3 + "", label: t3 }, null, 8, ["prop", "label"]))), 256))]), _: 2 }, 1032, ["data"])]), _: 2 }, 1032, ["label", "name"]))), 256))]), _: 1 }, 8, ["modelValue"]), [[D, oe.value && oe.value.lenght > 0]]), g(Q2, { title: "结果设置", type: "info", size: "small", closable: false, style: { margin: "20px 0" } }), g(T2, { label: "", "label-width": "0", style: { width: "100%" } }, { default: x(() => [g(F2, { modelValue: f2.properties.result.valueSetScope, "onUpdate:modelValue": b2[3] || (b2[3] = (e2) => f2.properties.result.valueSetScope = e2), class: "ml-4" }, { default: x(() => [g(A2, { value: "first" }, { default: x(() => b2[6] || (b2[6] = [L("仅第一条")])), _: 1, __: [6] }), g(A2, { value: "all" }, { default: x(() => b2[7] || (b2[7] = [L(" 全部 ")])), _: 1, __: [7] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), g(T2, { label: "设置到:", style: { width: "100%" } }, { default: x(() => [g(k(I), { inputSize: "default", paramTypes: ["service"], size: "small", modelValue: f2.properties.result.setTo, "onUpdate:modelValue": b2[4] || (b2[4] = (e2) => f2.properties.result.setTo = e2) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1, __: [8] })]);
|
|
98
98
|
};
|
|
99
99
|
} });
|
|
100
100
|
export {
|
|
@@ -14,7 +14,7 @@ import "element-plus/es/components/form-item/style/css";
|
|
|
14
14
|
import "element-plus/es/components/input/style/css";
|
|
15
15
|
import "element-plus/es/components/button/style/css";
|
|
16
16
|
import "element-plus/es/components/checkbox/style/css";
|
|
17
|
-
import { defineComponent as b, ref as y, onMounted as f, createElementBlock as h, openBlock as V, createVNode as v, withCtx as g, createElementVNode as w, unref as
|
|
17
|
+
import { defineComponent as b, ref as y, onMounted as f, createElementBlock as h, openBlock as V, createVNode as v, withCtx as g, createElementVNode as w, unref as _, createTextVNode as k, createBlock as U, toDisplayString as x, Fragment as C, renderList as T, createCommentVNode as z } from "vue";
|
|
18
18
|
import { Search as $, View as D, Minus as j, Plus as E } from "@element-plus/icons-vue";
|
|
19
19
|
import { getLabel as O, sqlOperators as S, logicOperators as B } from "../../util/common-options.js";
|
|
20
20
|
import I from "../../../common/components/value-set-input/value-set-input.vue.js";
|
|
@@ -66,7 +66,7 @@ const L = { style: { position: "absolute", right: "0" } }, R = { key: 0 }, G = {
|
|
|
66
66
|
e2.$editing && delete e2.$editing;
|
|
67
67
|
}), ee.properties) }), (y2, f2) => {
|
|
68
68
|
const q2 = o, N2 = a, A2 = t, J2 = l, Y3 = s, Z2 = p, me = n, ce = i, be = d, ye = r, fe = m, he = u, Ve = c, ve = e;
|
|
69
|
-
return V(), h("div", null, [v(ve, { "label-width": "auto", "label-position": "left", size: "small" }, { default: g(() => [v(F, { properties: b2.properties }, null, 8, ["properties"]), v(J2, { label: "" }, { label: g((e2) => [v(q2, { onChange: de, modelValue: b2.properties.specifyDataTable, "onUpdate:modelValue": f2[0] || (f2[0] = (e3) => b2.properties.specifyDataTable = e3), label: "指定数据表", style: { width: "100px" } }, null, 8, ["modelValue"])]), default: g(() => [v(A2, { disabled: !b2.properties.specifyDataTable, modelValue: b2.properties.dataTable, "onUpdate:modelValue": f2[2] || (f2[2] = (e2) => b2.properties.dataTable = e2), readonly: "", style: { width: "85%" } }, { append: g(() => [v(N2, { type: "default", icon: k($), onClick: f2[1] || (f2[1] = (e2) => ae.value = !ae.value) }, null, 8, ["icon"])]), _: 1 }, 8, ["disabled", "modelValue"]), w("span", L, [v(N2, { type: "primary", icon: k(D), onClick: ue }, { default: g(() => f2[19] || (f2[19] = [_("预览sql")])), _: 1 }, 8, ["icon"])]), v(P, { visible: ae.value, "onUpdate:visible": f2[3] || (f2[3] = (e2) => ae.value = e2), modelValue: b2.properties.dataTable, "onUpdate:modelValue": f2[4] || (f2[4] = (e2) => b2.properties.dataTable = e2), systemCode: se.value, systemVersion: re.value, onSelect: ne }, null, 8, ["visible", "modelValue", "systemCode", "systemVersion"])]), _: 1 }), v(Y3, { title: "查询条件", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), v(ye, { data: b2.properties.search.conditions, style: { width: "100%", "margin-bottom": "20px" }, "row-key": "code", onRowDblclick: pe, size: "small", border: "", "tree-props": { children: "conditions" }, "default-expand-all": "" }, { default: g(() => [v(Z2, { type: "index", width: "50", label: "序" }), v(Z2, { prop: "name", label: "(((" }, { default: g((e2) => [e2.row.$editing ? (V(), U(ce, { key: 1, size: "small", modelValue: e2.row.leftBracket, "onUpdate:modelValue": (l2) => e2.row.leftBracket = l2, placeholder: "" }, { default: g(() => [v(me, { label: "", value: "" }), v(me, { label: "(", value: "(" }), v(me, { label: "((", value: "((" }), v(me, { label: "(((", value: "(((" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (V(), h("span", R, x(e2.row.leftBracket), 1))]), _: 1 }), v(Z2, { prop: "name", label: "字段名" }, { default: g((e2) => [e2.row.$editing ? (V(), U(ce, { key: 1, modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "", size: "small" }, { default: g(() => [(V(true), h(C, null, T(oe.value, (e3) => (V(), U(me, { key: e3.name, label: e3.alias, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (V(), h("span", G, x(e2.row.name), 1))]), _: 1 }), v(Z2, { prop: "type", label: "比较" }, { default: g((e2) => [e2.row.$editing ? (V(), U(ce, { key: 1, modelValue: e2.row.operator, "onUpdate:modelValue": (l2) => e2.row.operator = l2, placeholder: "", size: "small" }, { default: g(() => [(V(true), h(C, null, T(k(S), (e3) => (V(), U(me, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (V(), h("span", H, x(k(O)(e2.row.operator, k(S))), 1))]), _: 1 }), v(Z2, { prop: "value", label: "值", width: "150" }, { default: g((e2) => [v(k(I), { customInputTypes: ["data"], showLabel: !e2.row.$editing, size: "small", modelValue: e2.row.value, "onUpdate:modelValue": (l2) => e2.row.value = l2 }, null, 8, ["showLabel", "modelValue", "onUpdate:modelValue"])]), _: 1 }), v(Z2, { prop: "rightBracket", label: ")))" }, { default: g((e2) => [e2.row.$editing ? (V(), U(ce, { key: 1, size: "small", modelValue: e2.row.rightBracket, "onUpdate:modelValue": (l2) => e2.row.rightBracket = l2, placeholder: "" }, { default: g(() => [v(me, { label: "", value: "" }), v(me, { label: ")", value: ")" }), v(me, { label: "))", value: "))" }), v(me, { label: ")))", value: ")))" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (V(), h("span", K, x(e2.row.rightBracket), 1))]), _: 1 }), v(Z2, { prop: "logicOperator", label: "连接符" }, { default: g((e2) => [e2.row.$editing ? (V(), U(ce, { key: 1, modelValue: e2.row.logicOperator, "onUpdate:modelValue": (l2) => e2.row.logicOperator = l2, placeholder: "", size: "small" }, { default: g(() => [(V(true), h(C, null, T(k(B), (e3) => (V(), U(me, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (V(), h("span", Q, x(k(O)(e2.row.logicOperator, k(B))), 1))]), _: 1 }), v(Z2, { align: "center" }, { header: g(() => [v(be, { effect: "dark", content: "添加", placement: "top" }, { default: g(() => [v(N2, { type: "primary", size: "small", icon: k(E), circle: "", onClick: f2[5] || (f2[5] = (e2) => (ee.properties.search.conditions || (ee.properties.search.conditions = []), void ee.properties.search.conditions.push({ prop: "", $editing: true }))) }, null, 8, ["icon"])]), _: 1 })]), default: g((e2) => [w("span", null, [v(be, { effect: "dark", content: "删除", placement: "top" }, { default: g(() => [v(N2, { type: "danger", size: "small", icon: k(j), circle: "", onClick: (l2) => ie(e2.$index, e2.row, "search") }, null, 8, ["icon", "onClick"])]), _: 2 }, 1024)])]), _: 1 })]), _: 1 }, 8, ["data"]), v(J2, { label: "", style: { width: "100%" } }, { label: g((e2) => [v(q2, { modelValue: b2.properties.search.pageEnable, "onUpdate:modelValue": f2[6] || (f2[6] = (e3) => b2.properties.search.pageEnable = e3), label: "分页(offset)" }, null, 8, ["modelValue"])]), default: g(() => [b2.properties.search.pageEnable ? (V(), U(k(I), { key: 0, modelValue: b2.properties.search.page, "onUpdate:modelValue": f2[7] || (f2[7] = (e2) => b2.properties.search.page = e2), customInputTypes: ["data"], size: "small", placeholder: "从变量中获取分页信息" }, null, 8, ["modelValue"])) : z("", true)]), _: 1 }), v(J2, { label: "", style: { width: "100%" } }, { label: g((e2) => [v(q2, { modelValue: b2.properties.search.limitEnable, "onUpdate:modelValue": f2[8] || (f2[8] = (e3) => b2.properties.search.limitEnable = e3), label: "限制数量(limit)" }, null, 8, ["modelValue"])]), default: g(() => [b2.properties.search.limitEnable ? (V(), U(k(I), { key: 0, modelValue: b2.properties.search.limit, "onUpdate:modelValue": f2[9] || (f2[9] = (e2) => b2.properties.search.limit = e2), customInputTypes: ["data"], size: "small", placeholder: "从变量中获取分页大小" }, null, 8, ["modelValue"])) : z("", true)]), _: 1 }), v(J2, { label: "", style: { width: "100%" } }, { label: g((e2) => [v(q2, { modelValue: b2.properties.search.totalEnable, "onUpdate:modelValue": f2[10] || (f2[10] = (e3) => b2.properties.search.totalEnable = e3), label: "设置总条数到变量" }, null, 8, ["modelValue"])]), default: g(() => [b2.properties.search.totalEnable ? (V(), U(k(I), { key: 0, customInputTypes: ["data"], size: "small", modelValue: b2.properties.search.total, "onUpdate:modelValue": f2[11] || (f2[11] = (e2) => b2.properties.search.total = e2) }, null, 8, ["modelValue"])) : z("", true)]), _: 1 }), v(Y3, { title: "排序设置", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), v(ye, { data: b2.properties.sort, style: { width: "100%", "margin-top": "20px", "margin-bottom": "20px" }, "row-key": "code", onRowDblclick: pe, size: "small", border: "", "tree-props": { children: "conditions" }, "default-expand-all": "" }, { default: g(() => [v(Z2, { type: "index", width: "50", label: "序" }), v(Z2, { prop: "name", label: "字段名" }, { default: g((e2) => [e2.row.$editing ? (V(), U(ce, { key: 1, modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "", size: "small" }, { default: g(() => [(V(true), h(C, null, T(oe.value, (e3) => (V(), U(me, { key: e3.name, label: e3.alias, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (V(), h("span", W, x(e2.row.name), 1))]), _: 1 }), v(Z2, { prop: "order", label: "排序方式" }, { default: g((e2) => [e2.row.$editing ? (V(), U(ce, { key: 1, size: "small", modelValue: e2.row.order, "onUpdate:modelValue": (l2) => e2.row.order = l2, placeholder: "" }, { default: g(() => [v(me, { label: "升序", value: "asc" }), v(me, { label: "降序", value: "desc" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (V(), h("span", X, x(e2.row.order), 1))]), _: 1 }), v(Z2, { align: "center" }, { header: g(() => [v(be, { effect: "dark", content: "添加", placement: "top" }, { default: g(() => [v(N2, { type: "primary", size: "small", icon: k(E), circle: "", onClick: f2[12] || (f2[12] = (e2) => (ee.properties.sort || (ee.properties.sort = []), void ee.properties.sort.push({ prop: "", order: "asc", $editing: true }))) }, null, 8, ["icon"])]), _: 1 })]), default: g((e2) => [w("span", null, [v(be, { effect: "dark", content: "删除", placement: "top" }, { default: g(() => [v(N2, { type: "danger", size: "small", icon: k(j), circle: "", onClick: (l2) => ie(e2.$index, e2.row, "sort") }, null, 8, ["icon", "onClick"])]), _: 2 }, 1024)])]), _: 1 })]), _: 1 }, 8, ["data"]), v(Y3, { title: "查询结果设置", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), v(J2, { label: "", style: { width: "100%" } }, { default: g(() => [v(he, { modelValue: b2.properties.result.valueSetScope, "onUpdate:modelValue": f2[13] || (f2[13] = (e2) => b2.properties.result.valueSetScope = e2), class: "ml-4" }, { default: g(() => [v(fe, { value: "first" }, { default: g(() => f2[20] || (f2[20] = [_("仅第一条")])), _: 1 }), v(fe, { value: "all" }, { default: g(() => f2[21] || (f2[21] = [_(" 全部 ")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), v(J2, { label: "设置到:", style: { width: "100%" } }, { default: g(() => [v(k(I), { paramTypes: ["task", "data", "service"], size: "small", inputSize: "default", modelValue: b2.properties.result.setTo, "onUpdate:modelValue": f2[14] || (f2[14] = (e2) => b2.properties.result.setTo = e2) }, null, 8, ["modelValue"])]), _: 1 }), v(Y3, { title: "对象不存在时", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), v(J2, { label: "", style: { width: "100%" } }, { default: g(() => [v(fe, { modelValue: b2.properties.noData.action, "onUpdate:modelValue": f2[15] || (f2[15] = (e2) => b2.properties.noData.action = e2), value: " ", style: { width: "150px" } }, { default: g(() => f2[22] || (f2[22] = [_(" 继续 ")])), _: 1 }, 8, ["modelValue"])]), _: 1 }), v(J2, { label: "", style: { width: "100%" } }, { label: g((e2) => [v(fe, { modelValue: b2.properties.noData.action, "onUpdate:modelValue": f2[16] || (f2[16] = (e3) => b2.properties.noData.action = e3), value: "throwException", label: "无数据时抛异常" }, null, 8, ["modelValue"])]), default: g(() => [v(A2, { disabled: "throwException" !== b2.properties.noData.action, modelValue: b2.properties.noData.exceptionMessage, "onUpdate:modelValue": f2[17] || (f2[17] = (e2) => b2.properties.noData.exceptionMessage = e2), placeholder: "自定义异常消息" }, null, 8, ["disabled", "modelValue"])]), _: 1 }), v(Ve)]), _: 1 }), v(k(M), { sql: te.value, "model-value": le.value, "onUpdate:modelValue": f2[18] || (f2[18] = (e2) => le.value = e2) }, null, 8, ["sql", "model-value"])]);
|
|
69
|
+
return V(), h("div", null, [v(ve, { "label-width": "auto", "label-position": "left", size: "small" }, { default: g(() => [v(F, { properties: b2.properties }, null, 8, ["properties"]), v(J2, { label: "" }, { label: g((e2) => [v(q2, { onChange: de, modelValue: b2.properties.specifyDataTable, "onUpdate:modelValue": f2[0] || (f2[0] = (e3) => b2.properties.specifyDataTable = e3), label: "指定数据表", style: { width: "100px" } }, null, 8, ["modelValue"])]), default: g(() => [v(A2, { disabled: !b2.properties.specifyDataTable, modelValue: b2.properties.dataTable, "onUpdate:modelValue": f2[2] || (f2[2] = (e2) => b2.properties.dataTable = e2), readonly: "", style: { width: "85%" } }, { append: g(() => [v(N2, { type: "default", icon: _($), onClick: f2[1] || (f2[1] = (e2) => ae.value = !ae.value) }, null, 8, ["icon"])]), _: 1 }, 8, ["disabled", "modelValue"]), w("span", L, [v(N2, { type: "primary", icon: _(D), onClick: ue }, { default: g(() => f2[19] || (f2[19] = [k("预览sql")])), _: 1, __: [19] }, 8, ["icon"])]), v(P, { visible: ae.value, "onUpdate:visible": f2[3] || (f2[3] = (e2) => ae.value = e2), modelValue: b2.properties.dataTable, "onUpdate:modelValue": f2[4] || (f2[4] = (e2) => b2.properties.dataTable = e2), systemCode: se.value, systemVersion: re.value, onSelect: ne }, null, 8, ["visible", "modelValue", "systemCode", "systemVersion"])]), _: 1 }), v(Y3, { title: "查询条件", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), v(ye, { data: b2.properties.search.conditions, style: { width: "100%", "margin-bottom": "20px" }, "row-key": "code", onRowDblclick: pe, size: "small", border: "", "tree-props": { children: "conditions" }, "default-expand-all": "" }, { default: g(() => [v(Z2, { type: "index", width: "50", label: "序" }), v(Z2, { prop: "name", label: "(((" }, { default: g((e2) => [e2.row.$editing ? (V(), U(ce, { key: 1, size: "small", modelValue: e2.row.leftBracket, "onUpdate:modelValue": (l2) => e2.row.leftBracket = l2, placeholder: "" }, { default: g(() => [v(me, { label: "", value: "" }), v(me, { label: "(", value: "(" }), v(me, { label: "((", value: "((" }), v(me, { label: "(((", value: "(((" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (V(), h("span", R, x(e2.row.leftBracket), 1))]), _: 1 }), v(Z2, { prop: "name", label: "字段名" }, { default: g((e2) => [e2.row.$editing ? (V(), U(ce, { key: 1, modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "", size: "small" }, { default: g(() => [(V(true), h(C, null, T(oe.value, (e3) => (V(), U(me, { key: e3.name, label: e3.alias, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (V(), h("span", G, x(e2.row.name), 1))]), _: 1 }), v(Z2, { prop: "type", label: "比较" }, { default: g((e2) => [e2.row.$editing ? (V(), U(ce, { key: 1, modelValue: e2.row.operator, "onUpdate:modelValue": (l2) => e2.row.operator = l2, placeholder: "", size: "small" }, { default: g(() => [(V(true), h(C, null, T(_(S), (e3) => (V(), U(me, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (V(), h("span", H, x(_(O)(e2.row.operator, _(S))), 1))]), _: 1 }), v(Z2, { prop: "value", label: "值", width: "150" }, { default: g((e2) => [v(_(I), { customInputTypes: ["data"], showLabel: !e2.row.$editing, size: "small", modelValue: e2.row.value, "onUpdate:modelValue": (l2) => e2.row.value = l2 }, null, 8, ["showLabel", "modelValue", "onUpdate:modelValue"])]), _: 1 }), v(Z2, { prop: "rightBracket", label: ")))" }, { default: g((e2) => [e2.row.$editing ? (V(), U(ce, { key: 1, size: "small", modelValue: e2.row.rightBracket, "onUpdate:modelValue": (l2) => e2.row.rightBracket = l2, placeholder: "" }, { default: g(() => [v(me, { label: "", value: "" }), v(me, { label: ")", value: ")" }), v(me, { label: "))", value: "))" }), v(me, { label: ")))", value: ")))" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (V(), h("span", K, x(e2.row.rightBracket), 1))]), _: 1 }), v(Z2, { prop: "logicOperator", label: "连接符" }, { default: g((e2) => [e2.row.$editing ? (V(), U(ce, { key: 1, modelValue: e2.row.logicOperator, "onUpdate:modelValue": (l2) => e2.row.logicOperator = l2, placeholder: "", size: "small" }, { default: g(() => [(V(true), h(C, null, T(_(B), (e3) => (V(), U(me, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (V(), h("span", Q, x(_(O)(e2.row.logicOperator, _(B))), 1))]), _: 1 }), v(Z2, { align: "center" }, { header: g(() => [v(be, { effect: "dark", content: "添加", placement: "top" }, { default: g(() => [v(N2, { type: "primary", size: "small", icon: _(E), circle: "", onClick: f2[5] || (f2[5] = (e2) => (ee.properties.search.conditions || (ee.properties.search.conditions = []), void ee.properties.search.conditions.push({ prop: "", $editing: true }))) }, null, 8, ["icon"])]), _: 1 })]), default: g((e2) => [w("span", null, [v(be, { effect: "dark", content: "删除", placement: "top" }, { default: g(() => [v(N2, { type: "danger", size: "small", icon: _(j), circle: "", onClick: (l2) => ie(e2.$index, e2.row, "search") }, null, 8, ["icon", "onClick"])]), _: 2 }, 1024)])]), _: 1 })]), _: 1 }, 8, ["data"]), v(J2, { label: "", style: { width: "100%" } }, { label: g((e2) => [v(q2, { modelValue: b2.properties.search.pageEnable, "onUpdate:modelValue": f2[6] || (f2[6] = (e3) => b2.properties.search.pageEnable = e3), label: "分页(offset)" }, null, 8, ["modelValue"])]), default: g(() => [b2.properties.search.pageEnable ? (V(), U(_(I), { key: 0, modelValue: b2.properties.search.page, "onUpdate:modelValue": f2[7] || (f2[7] = (e2) => b2.properties.search.page = e2), customInputTypes: ["data"], size: "small", placeholder: "从变量中获取分页信息" }, null, 8, ["modelValue"])) : z("", true)]), _: 1 }), v(J2, { label: "", style: { width: "100%" } }, { label: g((e2) => [v(q2, { modelValue: b2.properties.search.limitEnable, "onUpdate:modelValue": f2[8] || (f2[8] = (e3) => b2.properties.search.limitEnable = e3), label: "限制数量(limit)" }, null, 8, ["modelValue"])]), default: g(() => [b2.properties.search.limitEnable ? (V(), U(_(I), { key: 0, modelValue: b2.properties.search.limit, "onUpdate:modelValue": f2[9] || (f2[9] = (e2) => b2.properties.search.limit = e2), customInputTypes: ["data"], size: "small", placeholder: "从变量中获取分页大小" }, null, 8, ["modelValue"])) : z("", true)]), _: 1 }), v(J2, { label: "", style: { width: "100%" } }, { label: g((e2) => [v(q2, { modelValue: b2.properties.search.totalEnable, "onUpdate:modelValue": f2[10] || (f2[10] = (e3) => b2.properties.search.totalEnable = e3), label: "设置总条数到变量" }, null, 8, ["modelValue"])]), default: g(() => [b2.properties.search.totalEnable ? (V(), U(_(I), { key: 0, customInputTypes: ["data"], size: "small", modelValue: b2.properties.search.total, "onUpdate:modelValue": f2[11] || (f2[11] = (e2) => b2.properties.search.total = e2) }, null, 8, ["modelValue"])) : z("", true)]), _: 1 }), v(Y3, { title: "排序设置", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), v(ye, { data: b2.properties.sort, style: { width: "100%", "margin-top": "20px", "margin-bottom": "20px" }, "row-key": "code", onRowDblclick: pe, size: "small", border: "", "tree-props": { children: "conditions" }, "default-expand-all": "" }, { default: g(() => [v(Z2, { type: "index", width: "50", label: "序" }), v(Z2, { prop: "name", label: "字段名" }, { default: g((e2) => [e2.row.$editing ? (V(), U(ce, { key: 1, modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "", size: "small" }, { default: g(() => [(V(true), h(C, null, T(oe.value, (e3) => (V(), U(me, { key: e3.name, label: e3.alias, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (V(), h("span", W, x(e2.row.name), 1))]), _: 1 }), v(Z2, { prop: "order", label: "排序方式" }, { default: g((e2) => [e2.row.$editing ? (V(), U(ce, { key: 1, size: "small", modelValue: e2.row.order, "onUpdate:modelValue": (l2) => e2.row.order = l2, placeholder: "" }, { default: g(() => [v(me, { label: "升序", value: "asc" }), v(me, { label: "降序", value: "desc" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (V(), h("span", X, x(e2.row.order), 1))]), _: 1 }), v(Z2, { align: "center" }, { header: g(() => [v(be, { effect: "dark", content: "添加", placement: "top" }, { default: g(() => [v(N2, { type: "primary", size: "small", icon: _(E), circle: "", onClick: f2[12] || (f2[12] = (e2) => (ee.properties.sort || (ee.properties.sort = []), void ee.properties.sort.push({ prop: "", order: "asc", $editing: true }))) }, null, 8, ["icon"])]), _: 1 })]), default: g((e2) => [w("span", null, [v(be, { effect: "dark", content: "删除", placement: "top" }, { default: g(() => [v(N2, { type: "danger", size: "small", icon: _(j), circle: "", onClick: (l2) => ie(e2.$index, e2.row, "sort") }, null, 8, ["icon", "onClick"])]), _: 2 }, 1024)])]), _: 1 })]), _: 1 }, 8, ["data"]), v(Y3, { title: "查询结果设置", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), v(J2, { label: "", style: { width: "100%" } }, { default: g(() => [v(he, { modelValue: b2.properties.result.valueSetScope, "onUpdate:modelValue": f2[13] || (f2[13] = (e2) => b2.properties.result.valueSetScope = e2), class: "ml-4" }, { default: g(() => [v(fe, { value: "first" }, { default: g(() => f2[20] || (f2[20] = [k("仅第一条")])), _: 1, __: [20] }), v(fe, { value: "all" }, { default: g(() => f2[21] || (f2[21] = [k(" 全部 ")])), _: 1, __: [21] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), v(J2, { label: "设置到:", style: { width: "100%" } }, { default: g(() => [v(_(I), { paramTypes: ["task", "data", "service"], size: "small", inputSize: "default", modelValue: b2.properties.result.setTo, "onUpdate:modelValue": f2[14] || (f2[14] = (e2) => b2.properties.result.setTo = e2) }, null, 8, ["modelValue"])]), _: 1 }), v(Y3, { title: "对象不存在时", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), v(J2, { label: "", style: { width: "100%" } }, { default: g(() => [v(fe, { modelValue: b2.properties.noData.action, "onUpdate:modelValue": f2[15] || (f2[15] = (e2) => b2.properties.noData.action = e2), value: " ", style: { width: "150px" } }, { default: g(() => f2[22] || (f2[22] = [k(" 继续 ")])), _: 1, __: [22] }, 8, ["modelValue"])]), _: 1 }), v(J2, { label: "", style: { width: "100%" } }, { label: g((e2) => [v(fe, { modelValue: b2.properties.noData.action, "onUpdate:modelValue": f2[16] || (f2[16] = (e3) => b2.properties.noData.action = e3), value: "throwException", label: "无数据时抛异常" }, null, 8, ["modelValue"])]), default: g(() => [v(A2, { disabled: "throwException" !== b2.properties.noData.action, modelValue: b2.properties.noData.exceptionMessage, "onUpdate:modelValue": f2[17] || (f2[17] = (e2) => b2.properties.noData.exceptionMessage = e2), placeholder: "自定义异常消息" }, null, 8, ["disabled", "modelValue"])]), _: 1 }), v(Ve)]), _: 1 }), v(_(M), { sql: te.value, "model-value": le.value, "onUpdate:modelValue": f2[18] || (f2[18] = (e2) => le.value = e2) }, null, 8, ["sql", "model-value"])]);
|
|
70
70
|
};
|
|
71
71
|
} });
|
|
72
72
|
export {
|
|
@@ -9,15 +9,15 @@ import r from "../../../common/components/value-set-input/value-set-input.vue.js
|
|
|
9
9
|
const i = t({ __name: "cookie-data", props: { modelValue: { type: Array, default: () => null } }, emits: ["update:modelValue"], setup(t2, { emit: i2 }) {
|
|
10
10
|
const c = i2, V = t2;
|
|
11
11
|
V.modelValue || c("update:modelValue", []);
|
|
12
|
-
const
|
|
12
|
+
const _ = () => {
|
|
13
13
|
V.modelValue.push({ name: "", value: "", description: "" });
|
|
14
14
|
};
|
|
15
15
|
return (i3, c2) => {
|
|
16
|
-
const
|
|
17
|
-
return s(), n(b, { data: t2.modelValue, border: "", size: "small" }, { default: m(() => [u(
|
|
16
|
+
const f = o, v = l, y = a, b = e;
|
|
17
|
+
return s(), n(b, { data: t2.modelValue, border: "", size: "small" }, { default: m(() => [u(v, { prop: "name", label: "参数名", align: "center" }, { default: m((e2) => [u(f, { size: "small", modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), u(v, { prop: "prop", label: "值", align: "center" }, { default: m((e2) => [u(p(r), { size: "small", paramTypes: ["service", "value"], modelValue: e2.row.value, "onUpdate:modelValue": (l2) => e2.row.value = l2 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), u(v, { prop: "description", label: "说明", align: "center" }, { default: m((e2) => [u(f, { size: "small", modelValue: e2.row.description, "onUpdate:modelValue": (l2) => e2.row.description = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), u(v, { align: "center", width: "70" }, { header: m(() => [u(y, { type: "primary", size: "small", onClick: _, link: "" }, { default: m(() => c2[0] || (c2[0] = [d("添加 ")])), _: 1, __: [0] })]), default: m((e2) => [u(y, { type: "danger", size: "small", link: "", onClick: (l2) => {
|
|
18
18
|
return o2 = e2.$index, e2.row, void V.modelValue.splice(o2, 1);
|
|
19
19
|
var o2;
|
|
20
|
-
} }, { default: m(() => c2[1] || (c2[1] = [d(" 删除 ")])), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]);
|
|
20
|
+
} }, { default: m(() => c2[1] || (c2[1] = [d(" 删除 ")])), _: 2, __: [1] }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]);
|
|
21
21
|
};
|
|
22
22
|
} });
|
|
23
23
|
export {
|
|
@@ -9,17 +9,17 @@ import "element-plus/es/components/option/style/css";
|
|
|
9
9
|
import { defineComponent as p, createBlock as m, createCommentVNode as n, openBlock as r, withCtx as d, createVNode as u, unref as i, createTextVNode as c } from "vue";
|
|
10
10
|
import V from "../../../common/components/value-set-input/value-set-input.vue.js";
|
|
11
11
|
const y = p({ __name: "form-data", props: { modelValue: { type: Array, default: () => ({ content: [] }) } }, emits: ["update:modelValue"], setup(p2, { expose: y2, emit: f }) {
|
|
12
|
-
const
|
|
13
|
-
|
|
14
|
-
const
|
|
15
|
-
|
|
12
|
+
const _ = f, w = p2;
|
|
13
|
+
w.modelValue || _("update:modelValue", []);
|
|
14
|
+
const v = () => {
|
|
15
|
+
w.modelValue.push({ name: "", value: "", paramType: "TEXT", description: "" });
|
|
16
16
|
};
|
|
17
17
|
return y2({}), (y3, f2) => {
|
|
18
|
-
const
|
|
19
|
-
return Array.isArray(p2.modelValue) ? (r(), m(k, { key: 0, data: p2.modelValue, border: "", size: "small" }, { default: d(() => [u(U, { prop: "name", label: "参数名", align: "center" }, { default: d((e2) => [u(T, { size: "small", modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "" }, { append: d(() => [u(
|
|
20
|
-
return o2 = e2.$index, e2.row, void
|
|
18
|
+
const _2 = t, b = a, T = o, U = l, h = s, k = e;
|
|
19
|
+
return Array.isArray(p2.modelValue) ? (r(), m(k, { key: 0, data: p2.modelValue, border: "", size: "small" }, { default: d(() => [u(U, { prop: "name", label: "参数名", align: "center" }, { default: d((e2) => [u(T, { size: "small", modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "" }, { append: d(() => [u(b, { size: "small", modelValue: e2.row.paramType, "onUpdate:modelValue": (l2) => e2.row.paramType = l2, style: { width: "80px", "background-color": "var(--el-fill-color-blank)" } }, { default: d(() => [u(_2, { label: "Text", value: "TEXT" }), u(_2, { label: "File", value: "FILE" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), u(U, { prop: "prop", label: "值", align: "center" }, { default: d((e2) => [u(i(V), { size: "small", paramTypes: ["service", "data", "fixed"], showFileUpload: "FILE" === e2.row.paramType, modelValue: e2.row.value, "onUpdate:modelValue": (l2) => e2.row.value = l2 }, null, 8, ["showFileUpload", "modelValue", "onUpdate:modelValue"])]), _: 1 }), u(U, { prop: "description", label: "说明", align: "center" }, { default: d((e2) => [u(T, { size: "small", modelValue: e2.row.description, "onUpdate:modelValue": (l2) => e2.row.description = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), u(U, { align: "center", width: "70" }, { header: d(() => [u(h, { type: "primary", size: "small", onClick: v, link: "" }, { default: d(() => f2[0] || (f2[0] = [c("添加 ")])), _: 1, __: [0] })]), default: d((e2) => [u(h, { type: "danger", size: "small", link: "", onClick: (l2) => {
|
|
20
|
+
return o2 = e2.$index, e2.row, void w.modelValue.splice(o2, 1);
|
|
21
21
|
var o2;
|
|
22
|
-
} }, { default: d(() => f2[1] || (f2[1] = [c(" 删除 ")])), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"])) : n("", true);
|
|
22
|
+
} }, { default: d(() => f2[1] || (f2[1] = [c(" 删除 ")])), _: 2, __: [1] }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"])) : n("", true);
|
|
23
23
|
};
|
|
24
24
|
} });
|
|
25
25
|
export {
|
|
@@ -9,15 +9,15 @@ import r from "../../../common/components/value-set-input/value-set-input.vue.js
|
|
|
9
9
|
const i = t({ __name: "header-data", props: { modelValue: { type: Array, default: () => null } }, emits: ["update:modelValue"], setup(t2, { expose: i2, emit: c }) {
|
|
10
10
|
const V = c, f = t2;
|
|
11
11
|
f.modelValue || V("update:modelValue", []);
|
|
12
|
-
const
|
|
12
|
+
const _ = () => {
|
|
13
13
|
f.modelValue.push({ name: "", value: "", description: "" });
|
|
14
14
|
};
|
|
15
15
|
return i2({}), (i3, c2) => {
|
|
16
|
-
const V2 = o,
|
|
17
|
-
return n(), s(b, { data: t2.modelValue, border: "", size: "small" }, { default: m(() => [p(
|
|
16
|
+
const V2 = o, y = l, v = a, b = e;
|
|
17
|
+
return n(), s(b, { data: t2.modelValue, border: "", size: "small" }, { default: m(() => [p(y, { prop: "name", label: "参数名", align: "center" }, { default: m((e2) => [p(V2, { size: "small", modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), p(y, { prop: "prop", label: "值", align: "center" }, { default: m((e2) => [p(u(r), { size: "small", paramTypes: ["service", "fixed"], modelValue: e2.row.value, "onUpdate:modelValue": (l2) => e2.row.value = l2 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), p(y, { prop: "description", label: "说明", align: "center" }, { default: m((e2) => [p(V2, { size: "small", modelValue: e2.row.description, "onUpdate:modelValue": (l2) => e2.row.description = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), p(y, { align: "center", width: "70" }, { header: m(() => [p(v, { type: "primary", size: "small", onClick: _, link: "" }, { default: m(() => c2[0] || (c2[0] = [d("添加 ")])), _: 1, __: [0] })]), default: m((e2) => [p(v, { type: "danger", size: "small", link: "", onClick: (l2) => {
|
|
18
18
|
return o2 = e2.$index, e2.row, void f.modelValue.splice(o2, 1);
|
|
19
19
|
var o2;
|
|
20
|
-
} }, { default: m(() => c2[1] || (c2[1] = [d(" 删除 ")])), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]);
|
|
20
|
+
} }, { default: m(() => c2[1] || (c2[1] = [d(" 删除 ")])), _: 2, __: [1] }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]);
|
|
21
21
|
};
|
|
22
22
|
} });
|
|
23
23
|
export {
|
|
@@ -9,15 +9,15 @@ import i from "../../../common/components/value-set-input/value-set-input.vue.js
|
|
|
9
9
|
const c = t({ __name: "json-data", props: { modelValue: { type: Array, default: () => null } }, emits: ["update:modelValue"], setup(t2, { expose: c2, emit: V }) {
|
|
10
10
|
const y = V, f = t2;
|
|
11
11
|
f.modelValue && Array.isArray(f.modelValue) || y("update:modelValue", []);
|
|
12
|
-
const
|
|
12
|
+
const _ = () => {
|
|
13
13
|
f.modelValue.push({ name: "", value: "", description: "" });
|
|
14
14
|
};
|
|
15
15
|
return c2({}), (c3, V2) => {
|
|
16
|
-
const y2 = a,
|
|
17
|
-
return Array.isArray(t2.modelValue) ? (m(), s(w, { key: 0, data: t2.modelValue, border: "", size: "small" }, { default: r(() => [u(
|
|
16
|
+
const y2 = a, v = l, b = o, w = e;
|
|
17
|
+
return Array.isArray(t2.modelValue) ? (m(), s(w, { key: 0, data: t2.modelValue, border: "", size: "small" }, { default: r(() => [u(v, { prop: "name", label: "参数名", align: "center" }, { default: r((e2) => [u(y2, { size: "small", modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), u(v, { prop: "prop", label: "值", align: "center" }, { default: r((e2) => [u(p(i), { size: "small", paramTypes: ["service", "fixed"], modelValue: e2.row.value, "onUpdate:modelValue": (l2) => e2.row.value = l2 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), u(v, { prop: "description", label: "说明", align: "center" }, { default: r((e2) => [u(y2, { size: "small", modelValue: e2.row.description, "onUpdate:modelValue": (l2) => e2.row.description = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), u(v, { align: "center", width: "70" }, { header: r(() => [u(b, { type: "primary", size: "small", onClick: _, link: "" }, { default: r(() => V2[0] || (V2[0] = [d("添加 ")])), _: 1, __: [0] })]), default: r((e2) => [u(b, { type: "danger", size: "small", link: "", onClick: (l2) => {
|
|
18
18
|
return a2 = e2.$index, e2.row, void f.modelValue.splice(a2, 1);
|
|
19
19
|
var a2;
|
|
20
|
-
} }, { default: r(() => V2[1] || (V2[1] = [d(" 删除 ")])), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"])) : n("", true);
|
|
20
|
+
} }, { default: r(() => V2[1] || (V2[1] = [d(" 删除 ")])), _: 2, __: [1] }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"])) : n("", true);
|
|
21
21
|
};
|
|
22
22
|
} });
|
|
23
23
|
export {
|
|
@@ -7,13 +7,13 @@ import "element-plus/es/components/option/style/css";
|
|
|
7
7
|
import "element-plus/es/components/radio-group/style/css";
|
|
8
8
|
import "element-plus/es/components/radio/style/css";
|
|
9
9
|
import { defineComponent as d, ref as n, onMounted as s, createElementBlock as u, openBlock as r, Fragment as p, createVNode as i, createBlock as c, createCommentVNode as y, withCtx as f, createTextVNode as V, createElementVNode as b } from "vue";
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
10
|
+
import _ from "./form-data.vue.js";
|
|
11
|
+
import v from "./json-data.vue.js";
|
|
12
|
+
import w from "../../../common/components/file-upload.vue.js";
|
|
13
13
|
import "codemirror";
|
|
14
14
|
import "@codemirror/lang-xml";
|
|
15
15
|
import "@codemirror/state";
|
|
16
|
-
import
|
|
16
|
+
import T from "./raw-data.vue.js";
|
|
17
17
|
const x = d({ __name: "param-config", props: { modelValue: { type: Object, default: () => ({ bodyType: "none" }) } }, setup(d2, { expose: x2 }) {
|
|
18
18
|
const j = d2, g = n(), z = (e2) => {
|
|
19
19
|
j.modelValue.mediaType = U(e2), j.modelValue.content = "formData" === e2 || "formUrlencoded" === e2 || "json" === e2 ? [] : "raw" === e2 ? "" : {};
|
|
@@ -23,7 +23,7 @@ const x = d({ __name: "param-config", props: { modelValue: { type: Object, defau
|
|
|
23
23
|
return s(() => {
|
|
24
24
|
}), x2({}), (n2, s2) => {
|
|
25
25
|
const x3 = l, j2 = e, U2 = a, h = o, D = t, S = m;
|
|
26
|
-
return r(), u(p, null, [i(j2, { modelValue: d2.modelValue.bodyType, "onUpdate:modelValue": s2[0] || (s2[0] = (e2) => d2.modelValue.bodyType = e2), style: { "margin-bottom": "10px" }, onChange: z }, { default: f(() => [i(x3, { value: "none", size: "small" }, { default: f(() => s2[6] || (s2[6] = [V("none")])), _: 1 }), i(x3, { value: "formData", size: "small" }, { default: f(() => s2[7] || (s2[7] = [V("form-data")])), _: 1 }), i(x3, { value: "formUrlencoded", size: "small" }, { default: f(() => s2[8] || (s2[8] = [V("x-www-form-urlencoded")])), _: 1 }), i(x3, { value: "json", size: "small" }, { default: f(() => s2[9] || (s2[9] = [V("json")])), _: 1 }), i(x3, { value: "raw", size: "small" }, { default: f(() => s2[10] || (s2[10] = [V("raw")])), _: 1 }), i(x3, { value: "binary", size: "small" }, { default: f(() => s2[11] || (s2[11] = [V("binary")])), _: 1 })]), _: 1 }, 8, ["modelValue"]), "raw" === d2.modelValue.bodyType ? (r(), c(h, { key: 0, size: "small", modelValue: d2.modelValue.mediaType, "onUpdate:modelValue": s2[1] || (s2[1] = (e2) => d2.modelValue.mediaType = e2), onChange: k, style: { "margin-left": "10px", width: "80px", "background-color": "var(--el-fill-color-blank)" } }, { default: f(() => [i(U2, { size: "small", label: "TEXT", value: "text/plain" }), i(U2, { size: "small", label: "JSON", value: "application/json" }), i(U2, { size: "small", label: "XML", value: "application/xml" })]), _: 1 }, 8, ["modelValue"])) : y("", true), "none" === d2.modelValue.bodyType ? (r(), c(D, { key: 1, description: "不需要请求体", style: { border: "1px solid #dcdfe6" } }, { image: f(() => s2[12] || (s2[12] = [b("span", null, null, -1)])), _: 1 })) : "formData" === d2.modelValue.bodyType || "formUrlencoded" === d2.modelValue.bodyType ? (r(), c(S, { key: 2, "label-width": "0", style: { "margin-bottom": "0px" } }, { default: f(() => [i(
|
|
26
|
+
return r(), u(p, null, [i(j2, { modelValue: d2.modelValue.bodyType, "onUpdate:modelValue": s2[0] || (s2[0] = (e2) => d2.modelValue.bodyType = e2), style: { "margin-bottom": "10px" }, onChange: z }, { default: f(() => [i(x3, { value: "none", size: "small" }, { default: f(() => s2[6] || (s2[6] = [V("none")])), _: 1, __: [6] }), i(x3, { value: "formData", size: "small" }, { default: f(() => s2[7] || (s2[7] = [V("form-data")])), _: 1, __: [7] }), i(x3, { value: "formUrlencoded", size: "small" }, { default: f(() => s2[8] || (s2[8] = [V("x-www-form-urlencoded")])), _: 1, __: [8] }), i(x3, { value: "json", size: "small" }, { default: f(() => s2[9] || (s2[9] = [V("json")])), _: 1, __: [9] }), i(x3, { value: "raw", size: "small" }, { default: f(() => s2[10] || (s2[10] = [V("raw")])), _: 1, __: [10] }), i(x3, { value: "binary", size: "small" }, { default: f(() => s2[11] || (s2[11] = [V("binary")])), _: 1, __: [11] })]), _: 1 }, 8, ["modelValue"]), "raw" === d2.modelValue.bodyType ? (r(), c(h, { key: 0, size: "small", modelValue: d2.modelValue.mediaType, "onUpdate:modelValue": s2[1] || (s2[1] = (e2) => d2.modelValue.mediaType = e2), onChange: k, style: { "margin-left": "10px", width: "80px", "background-color": "var(--el-fill-color-blank)" } }, { default: f(() => [i(U2, { size: "small", label: "TEXT", value: "text/plain" }), i(U2, { size: "small", label: "JSON", value: "application/json" }), i(U2, { size: "small", label: "XML", value: "application/xml" })]), _: 1 }, 8, ["modelValue"])) : y("", true), "none" === d2.modelValue.bodyType ? (r(), c(D, { key: 1, description: "不需要请求体", style: { border: "1px solid #dcdfe6" } }, { image: f(() => s2[12] || (s2[12] = [b("span", null, null, -1)])), _: 1 })) : "formData" === d2.modelValue.bodyType || "formUrlencoded" === d2.modelValue.bodyType ? (r(), c(S, { key: 2, "label-width": "0", style: { "margin-bottom": "0px" } }, { default: f(() => [i(_, { modelValue: d2.modelValue.content, "onUpdate:modelValue": s2[2] || (s2[2] = (e2) => d2.modelValue.content = e2) }, null, 8, ["modelValue"])]), _: 1 })) : "json" === d2.modelValue.bodyType ? (r(), c(S, { key: 3, "label-width": "0", style: { "margin-bottom": "0px" } }, { default: f(() => [i(v, { modelValue: d2.modelValue.content, "onUpdate:modelValue": s2[3] || (s2[3] = (e2) => d2.modelValue.content = e2) }, null, 8, ["modelValue"])]), _: 1 })) : "binary" === d2.modelValue.bodyType ? (r(), c(w, { key: 4, modelValue: d2.modelValue.content, "onUpdate:modelValue": s2[4] || (s2[4] = (e2) => d2.modelValue.content = e2) }, null, 8, ["modelValue"])) : "raw" === d2.modelValue.bodyType ? (r(), c(S, { key: 5, "label-width": "0", style: { "margin-bottom": "0px" } }, { default: f(() => [i(T, { ref_key: "rawDataRef", ref: g, modelValue: d2.modelValue.content, "onUpdate:modelValue": s2[5] || (s2[5] = (e2) => d2.modelValue.content = e2), httpSerivceBody: d2.modelValue }, null, 8, ["modelValue", "httpSerivceBody"])]), _: 1 })) : y("", true)], 64);
|
|
27
27
|
};
|
|
28
28
|
} });
|
|
29
29
|
export {
|
|
@@ -9,15 +9,15 @@ import d from "../../../common/components/value-set-input/value-set-input.vue.js
|
|
|
9
9
|
const i = t({ __name: "query-params", props: { modelValue: { type: Array, default: () => null } }, emits: ["update:modelValue"], setup(t2, { expose: i2, emit: c }) {
|
|
10
10
|
const V = c, f = t2;
|
|
11
11
|
f.modelValue || V("update:modelValue", []);
|
|
12
|
-
const
|
|
12
|
+
const _ = () => {
|
|
13
13
|
f.modelValue.push({ name: "", value: "", description: "" });
|
|
14
14
|
};
|
|
15
15
|
return i2({}), (i3, c2) => {
|
|
16
|
-
const V2 = o,
|
|
17
|
-
return n(), s(b, { data: t2.modelValue, border: "", size: "small" }, { default: m(() => [p(
|
|
16
|
+
const V2 = o, y = l, v = a, b = e;
|
|
17
|
+
return n(), s(b, { data: t2.modelValue, border: "", size: "small" }, { default: m(() => [p(y, { prop: "name", label: "参数名", align: "center" }, { default: m((e2) => [p(V2, { size: "small", modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), p(y, { prop: "prop", label: "值", align: "center" }, { default: m((e2) => [p(u(d), { size: "small", paramTypes: ["service", "fixed"], modelValue: e2.row.value, "onUpdate:modelValue": (l2) => e2.row.value = l2 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), p(y, { prop: "description", label: "说明", align: "center" }, { default: m((e2) => [p(V2, { size: "small", modelValue: e2.row.description, "onUpdate:modelValue": (l2) => e2.row.description = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), p(y, { align: "center", width: "70" }, { header: m(() => [p(v, { type: "primary", size: "small", onClick: _, link: "" }, { default: m(() => c2[0] || (c2[0] = [r("添加 ")])), _: 1, __: [0] })]), default: m((e2) => [p(v, { type: "danger", size: "small", link: "", onClick: (l2) => {
|
|
18
18
|
return o2 = e2.$index, e2.row, void f.modelValue.splice(o2, 1);
|
|
19
19
|
var o2;
|
|
20
|
-
} }, { default: m(() => c2[1] || (c2[1] = [r(" 删除 ")])), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]);
|
|
20
|
+
} }, { default: m(() => c2[1] || (c2[1] = [r(" 删除 ")])), _: 2, __: [1] }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]);
|
|
21
21
|
};
|
|
22
22
|
} });
|
|
23
23
|
export {
|
|
@@ -10,8 +10,8 @@ import c from "../../../common/components/node-base-config.vue.js";
|
|
|
10
10
|
import d from "../../../common/components/value-set-input/value-set-input.vue.js";
|
|
11
11
|
import "@element-plus/icons-vue";
|
|
12
12
|
const f = p({ __name: "config", props: { properties: { type: Object, default: () => ({}) } }, setup: (p2, { expose: f2 }) => (f2({}), (f3, b) => {
|
|
13
|
-
const y = s, v = o,
|
|
14
|
-
return n(), m(
|
|
13
|
+
const y = s, v = o, _ = t, x = l, V = e;
|
|
14
|
+
return n(), m(V, { "label-width": "auto", "label-position": "left" }, { default: r(() => [a(c, { properties: p2.properties }, null, 8, ["properties"]), a(_, { label: "Bean名称:" }, { default: r(() => [a(y, { modelValue: p2.properties.beanName, "onUpdate:modelValue": b[0] || (b[0] = (e2) => p2.properties.beanName = e2), placeholder: "", style: { width: "85%" } }, null, 8, ["modelValue"]), a(v, { style: { "margin-top": "10px", "margin-bottom": "10px", display: "block" }, type: "success" }, { default: r(() => b[2] || (b[2] = [i(" 说明:自定义bean需实现cn.ambitionq.serivceflow.core.ServiceNodeHandler接口重写execute方法 ")])), _: 1, __: [2] })]), _: 1 }), a(x, { title: "输出设置", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), a(_, { label: "设置到:" }, { default: r(() => [a(u(d), { inputSize: "default", paramTypes: ["service"], size: "small", modelValue: p2.properties.resultSet, "onUpdate:modelValue": b[1] || (b[1] = (e2) => p2.properties.resultSet = e2) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 });
|
|
15
15
|
}) });
|
|
16
16
|
export {
|
|
17
17
|
f as default
|
package/dist/es/designer/service-components/service/http-service/response-json-setting.vue.js
CHANGED
|
@@ -9,10 +9,10 @@ import "element-plus/es/components/select/style/css";
|
|
|
9
9
|
import "element-plus/es/components/option/style/css";
|
|
10
10
|
import "element-plus/es/components/table-column/style/css";
|
|
11
11
|
import "element-plus/es/components/input/style/css";
|
|
12
|
-
import { defineComponent as i, createBlock as p, openBlock as d, withCtx as u, createVNode as c, createElementBlock as y, toDisplayString as w, Fragment as f, renderList as
|
|
13
|
-
import
|
|
14
|
-
import { v4 as
|
|
15
|
-
const
|
|
12
|
+
import { defineComponent as i, createBlock as p, openBlock as d, withCtx as u, createVNode as c, createElementBlock as y, toDisplayString as w, Fragment as f, renderList as _, createCommentVNode as v, unref as b, createTextVNode as V } from "vue";
|
|
13
|
+
import k from "../../../common/components/value-set-input/value-set-input.vue.js";
|
|
14
|
+
import { v4 as g } from "uuid";
|
|
15
|
+
const h = { key: 0 }, x = { key: 0 }, C = i({ __name: "response-json-setting", props: { modelValue: { type: Array, default: () => [] }, contentType: { type: String, default: "" } }, emits: ["update:modelValue"], setup(i2, { expose: C2, emit: $ }) {
|
|
16
16
|
const z = $, T = i2;
|
|
17
17
|
T.modelValue && 0 !== T.modelValue.length || z("update:modelValue", []);
|
|
18
18
|
const U = ["any", "object", "array"], j = (e2) => {
|
|
@@ -31,23 +31,23 @@ const _ = { key: 0 }, x = { key: 0 }, C = i({ __name: "response-json-setting", p
|
|
|
31
31
|
const o2 = e2[t2];
|
|
32
32
|
if (o2.items && o2.items.length > 0 && L(o2.items, l2), o2.code === l2.code) return void e2.splice(t2, 1);
|
|
33
33
|
}
|
|
34
|
-
}, q = () => ({ level: 0, code:
|
|
35
|
-
return C2({}), (
|
|
34
|
+
}, q = () => ({ level: 0, code: g(), name: "", paramType: "any", value: "", items: [], $editing: true });
|
|
35
|
+
return C2({}), (g2, C3) => {
|
|
36
36
|
const $2 = t, z2 = l, D = s, R = o, S = n, B = r, F = m, G = a, H = e;
|
|
37
|
-
return d(), p(H, { data: i2.modelValue, style: { width: "100%", "margin-top": "20px", "margin-bottom": "20px" }, "row-key": "code", size: "small", onRowDblclick: j, border: "", "tree-props": { children: "items" }, "default-expand-all": "" }, { default: u(() => [c(z2, { prop: "name", label: "返回值字段" }, { default: u((e2) => [e2.row.$editing ? (d(), p($2, { key: 1, size: "small", disabled: e2.row.isArrayElement, modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "" }, null, 8, ["disabled", "modelValue", "onUpdate:modelValue"])) : (d(), y("span",
|
|
37
|
+
return d(), p(H, { data: i2.modelValue, style: { width: "100%", "margin-top": "20px", "margin-bottom": "20px" }, "row-key": "code", size: "small", onRowDblclick: j, border: "", "tree-props": { children: "items" }, "default-expand-all": "" }, { default: u(() => [c(z2, { prop: "name", label: "返回值字段" }, { default: u((e2) => [e2.row.$editing ? (d(), p($2, { key: 1, size: "small", disabled: e2.row.isArrayElement, modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "" }, null, 8, ["disabled", "modelValue", "onUpdate:modelValue"])) : (d(), y("span", h, w(e2.row.name), 1))]), _: 1 }), c(z2, { prop: "paramType", width: "100", label: "类型" }, { default: u((e2) => [e2.row.$editing ? (d(), p(R, { key: 1, modelValue: e2.row.paramType, "onUpdate:modelValue": (l2) => e2.row.paramType = l2, onChange: (l2) => {
|
|
38
38
|
return t2 = l2, e2.$index, o2 = e2.row, void ("array" === t2 || o2.items && o2.items.length > 0 && ("object" === t2 ? o2.items = [] : o2.items && delete o2.items));
|
|
39
39
|
var t2, o2;
|
|
40
|
-
}, placeholder: "", size: "small" }, { default: u(() => [(d(), y(f, null,
|
|
40
|
+
}, placeholder: "", size: "small" }, { default: u(() => [(d(), y(f, null, _(U, (e3) => c(D, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : (d(), y("span", x, w(e2.row.paramType), 1))]), _: 1 }), c(z2, { prop: "value", label: "设置到" }, { default: u((e2) => [e2.row.isArrayElement ? v("", true) : (d(), p(b(k), { key: 0, showLabel: !e2.row.$editing, size: "small", paramTypes: ["request", "data", "service"], modelValue: e2.row.value, "onUpdate:modelValue": (l2) => e2.row.value = l2 }, null, 8, ["showLabel", "modelValue", "onUpdate:modelValue"]))]), _: 1 }), c(z2, { align: "center", width: 150 }, { header: u(() => [c(S, { type: "primary", size: "small", onClick: A, link: "" }, { default: u(() => C3[0] || (C3[0] = [V("添加 ")])), _: 1, __: [0] })]), default: u((e2) => [c(G, { size: "small", style: { "vertical-align": "middle" } }, { dropdown: u(() => [c(F, null, { default: u(() => ["object" === e2.row.paramType ? (d(), p(B, { key: 0, onClick: (l2) => ((e3, l3) => {
|
|
41
41
|
l3.items || (l3.items = []);
|
|
42
42
|
const t2 = q();
|
|
43
43
|
t2.level = l3.level + 1, l3.items.push(t2);
|
|
44
|
-
})(e2.$index, e2.row) }, { default: u(() => C3[2] || (C3[2] = [
|
|
44
|
+
})(e2.$index, e2.row) }, { default: u(() => C3[2] || (C3[2] = [V("添加下级节点")])), _: 2, __: [2] }, 1032, ["onClick"])) : v("", true), e2.row.isArrayElement ? v("", true) : (d(), p(B, { key: 1, onClick: (l2) => {
|
|
45
45
|
return e2.$index, t2 = e2.row, void E(T.modelValue, t2);
|
|
46
46
|
var t2;
|
|
47
|
-
} }, { default: u(() => C3[3] || (C3[3] = [
|
|
47
|
+
} }, { default: u(() => C3[3] || (C3[3] = [V("添加相邻节点")])), _: 2, __: [3] }, 1032, ["onClick"]))]), _: 2 }, 1024)]), default: u(() => [c(S, { type: "primary", link: "", size: "small" }, { default: u(() => C3[1] || (C3[1] = [V(" 添加 ")])), _: 1, __: [1] })]), _: 2 }, 1024), c(S, { type: "danger", size: "small", disabled: e2.row.isArrayElement, link: "", onClick: (l2) => {
|
|
48
48
|
return e2.$index, t2 = e2.row, void L(T.modelValue, t2);
|
|
49
49
|
var t2;
|
|
50
|
-
} }, { default: u(() => C3[4] || (C3[4] = [
|
|
50
|
+
} }, { default: u(() => C3[4] || (C3[4] = [V(" 删除 ")])), _: 2, __: [4] }, 1032, ["disabled", "onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]);
|
|
51
51
|
};
|
|
52
52
|
} });
|
|
53
53
|
export {
|
package/dist/es/designer/service-components/service/http-service/response-xml-setting.vue.js
CHANGED
|
@@ -9,10 +9,10 @@ import "element-plus/es/components/select/style/css";
|
|
|
9
9
|
import "element-plus/es/components/option/style/css";
|
|
10
10
|
import "element-plus/es/components/table-column/style/css";
|
|
11
11
|
import "element-plus/es/components/input/style/css";
|
|
12
|
-
import { defineComponent as i, createBlock as p, openBlock as d, withCtx as u, createVNode as c, createElementBlock as y, toDisplayString as w, Fragment as f, renderList as v, createCommentVNode as
|
|
13
|
-
import
|
|
14
|
-
import { v4 as
|
|
15
|
-
const
|
|
12
|
+
import { defineComponent as i, createBlock as p, openBlock as d, withCtx as u, createVNode as c, createElementBlock as y, toDisplayString as w, Fragment as f, renderList as v, createCommentVNode as _, unref as b, createTextVNode as V } from "vue";
|
|
13
|
+
import k from "../../../common/components/value-set-input/value-set-input.vue.js";
|
|
14
|
+
import { v4 as g } from "uuid";
|
|
15
|
+
const h = { key: 0 }, x = { key: 0 }, C = i({ __name: "response-xml-setting", props: { modelValue: { type: Array, default: () => [] }, contentType: { type: String, default: "" } }, emits: ["update:modelValue"], setup(i2, { expose: C2, emit: $ }) {
|
|
16
16
|
const z = $, T = i2;
|
|
17
17
|
T.modelValue && 0 !== T.modelValue.length || z("update:modelValue", []);
|
|
18
18
|
const U = ["any", "object", "array"], A = (e2) => {
|
|
@@ -31,23 +31,23 @@ const _ = { key: 0 }, x = { key: 0 }, C = i({ __name: "response-xml-setting", pr
|
|
|
31
31
|
const o2 = e2[t2];
|
|
32
32
|
if (o2.items && o2.items.length > 0 && L(o2.items, l2), o2.code === l2.code) return void e2.splice(t2, 1);
|
|
33
33
|
}
|
|
34
|
-
}, q = () => ({ level: 0, code:
|
|
35
|
-
return C2({}), (
|
|
34
|
+
}, q = () => ({ level: 0, code: g(), name: "", paramType: "any", value: "", items: [], $editing: true });
|
|
35
|
+
return C2({}), (g2, C3) => {
|
|
36
36
|
const $2 = t, z2 = l, D = s, R = o, S = n, B = r, F = m, G = a, H = e;
|
|
37
|
-
return d(), p(H, { data: i2.modelValue, style: { width: "100%", "margin-top": "20px", "margin-bottom": "20px" }, "row-key": "code", size: "small", onRowDblclick: A, border: "", "tree-props": { children: "items" }, "default-expand-all": "" }, { default: u(() => [c(z2, { prop: "name", label: "返回值字段" }, { default: u((e2) => [e2.row.$editing ? (d(), p($2, { key: 1, size: "small", disabled: e2.row.isArrayElement, modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "" }, null, 8, ["disabled", "modelValue", "onUpdate:modelValue"])) : (d(), y("span",
|
|
37
|
+
return d(), p(H, { data: i2.modelValue, style: { width: "100%", "margin-top": "20px", "margin-bottom": "20px" }, "row-key": "code", size: "small", onRowDblclick: A, border: "", "tree-props": { children: "items" }, "default-expand-all": "" }, { default: u(() => [c(z2, { prop: "name", label: "返回值字段" }, { default: u((e2) => [e2.row.$editing ? (d(), p($2, { key: 1, size: "small", disabled: e2.row.isArrayElement, modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "" }, null, 8, ["disabled", "modelValue", "onUpdate:modelValue"])) : (d(), y("span", h, w(e2.row.name), 1))]), _: 1 }), c(z2, { prop: "paramType", width: "100", label: "类型" }, { default: u((e2) => [e2.row.$editing ? (d(), p(R, { key: 1, modelValue: e2.row.paramType, "onUpdate:modelValue": (l2) => e2.row.paramType = l2, onChange: (l2) => {
|
|
38
38
|
return t2 = l2, e2.$index, o2 = e2.row, void ("array" === t2 || o2.items && o2.items.length > 0 && ("object" === t2 ? o2.items = [] : o2.items && delete o2.items));
|
|
39
39
|
var t2, o2;
|
|
40
|
-
}, placeholder: "", size: "small" }, { default: u(() => [(d(), y(f, null, v(U, (e3) => c(D, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : (d(), y("span", x, w(e2.row.paramType), 1))]), _: 1 }), c(z2, { prop: "value", label: "设置到" }, { default: u((e2) => [e2.row.isArrayElement ?
|
|
40
|
+
}, placeholder: "", size: "small" }, { default: u(() => [(d(), y(f, null, v(U, (e3) => c(D, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : (d(), y("span", x, w(e2.row.paramType), 1))]), _: 1 }), c(z2, { prop: "value", label: "设置到" }, { default: u((e2) => [e2.row.isArrayElement ? _("", true) : (d(), p(b(k), { key: 0, showLabel: !e2.row.$editing, size: "small", paramTypes: ["request", "data", "service"], modelValue: e2.row.value, "onUpdate:modelValue": (l2) => e2.row.value = l2 }, null, 8, ["showLabel", "modelValue", "onUpdate:modelValue"]))]), _: 1 }), c(z2, { align: "center", width: 150 }, { header: u(() => [c(S, { type: "primary", size: "small", onClick: E, link: "" }, { default: u(() => C3[0] || (C3[0] = [V("添加 ")])), _: 1, __: [0] })]), default: u((e2) => [c(G, { size: "small", style: { "vertical-align": "middle" } }, { dropdown: u(() => [c(F, null, { default: u(() => ["object" === e2.row.paramType ? (d(), p(B, { key: 0, onClick: (l2) => ((e3, l3) => {
|
|
41
41
|
l3.items || (l3.items = []);
|
|
42
42
|
const t2 = q();
|
|
43
43
|
t2.level = l3.level + 1, l3.items.push(t2);
|
|
44
|
-
})(e2.$index, e2.row) }, { default: u(() => C3[1] || (C3[1] = [
|
|
44
|
+
})(e2.$index, e2.row) }, { default: u(() => C3[1] || (C3[1] = [V("添加下级节点")])), _: 2, __: [1] }, 1032, ["onClick"])) : _("", true), e2.row.isArrayElement ? _("", true) : (d(), p(B, { key: 1, onClick: (l2) => {
|
|
45
45
|
return e2.$index, t2 = e2.row, void j(T.modelValue, t2);
|
|
46
46
|
var t2;
|
|
47
|
-
} }, { default: u(() => C3[2] || (C3[2] = [
|
|
47
|
+
} }, { default: u(() => C3[2] || (C3[2] = [V("添加相邻节点")])), _: 2, __: [2] }, 1032, ["onClick"]))]), _: 2 }, 1024)]), default: u(() => [c(S, { type: "primary", link: "", size: "small" }, { default: u(() => [V(" 添加 " + w(e2.row.type), 1)]), _: 2 }, 1024)]), _: 2 }, 1024), c(S, { type: "danger", size: "small", disabled: e2.row.isArrayElement, link: "", onClick: (l2) => {
|
|
48
48
|
return e2.$index, t2 = e2.row, void L(T.modelValue, t2);
|
|
49
49
|
var t2;
|
|
50
|
-
} }, { default: u(() => C3[3] || (C3[3] = [
|
|
50
|
+
} }, { default: u(() => C3[3] || (C3[3] = [V(" 删除 ")])), _: 2, __: [3] }, 1032, ["disabled", "onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]);
|
|
51
51
|
};
|
|
52
52
|
} });
|
|
53
53
|
export {
|
|
@@ -15,7 +15,7 @@ import "element-plus/es/components/table-column/style/css";
|
|
|
15
15
|
import "element-plus/es/components/divider/style/css";
|
|
16
16
|
import "element-plus/es/components/form-item/style/css";
|
|
17
17
|
import "element-plus/es/components/input/style/css";
|
|
18
|
-
import { defineComponent as v, createElementBlock as b, openBlock as f, createVNode as w, withCtx as g, createBlock as V, toDisplayString as
|
|
18
|
+
import { defineComponent as v, createElementBlock as b, openBlock as f, createVNode as w, withCtx as g, createBlock as V, toDisplayString as _, Fragment as h, createCommentVNode as k, renderList as x, unref as U, createTextVNode as C } from "vue";
|
|
19
19
|
import z from "../common/components/value-set-input/value-set-input.vue.js";
|
|
20
20
|
import { v4 as $ } from "uuid";
|
|
21
21
|
import j from "./service-result.vue.js";
|
|
@@ -49,20 +49,20 @@ const E = { key: 0 }, A = { key: 0 }, R = { key: 0 }, L = v({ __name: "service-p
|
|
|
49
49
|
}, H = () => ({ level: 0, code: $(), name: "", alias: "", type: "string", defaultValue: "", items: [], $editing: true });
|
|
50
50
|
return L2({}), (L3, O2) => {
|
|
51
51
|
const I = t, J = l, K = s, N = a, P = n, Q = i, S = m, W = p, X = d, Y = r, Z = o, ee = u, le = c, te = y, se = e;
|
|
52
|
-
return f(), b("div", null, [w(se, { "label-width": "auto", "label-position": "left", size: "small" }, { default: g(() => [w(J, { label: "服务名称:" }, { default: g(() => [w(I, { modelValue: v2.service.name, "onUpdate:modelValue": O2[0] || (O2[0] = (e2) => v2.service.name = e2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 }), w(J, { label: "服务自定义编码:" }, { default: g(() => [w(I, { disabled: true, modelValue: v2.service.customCode, "onUpdate:modelValue": O2[1] || (O2[1] = (e2) => v2.service.customCode = e2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 }), w(K), w(Z, { data: v2.service.variables, style: { width: "100%", "margin-top": "20px", "margin-bottom": "20px" }, "row-key": "code", size: "small", onRowClick: T, border: "", "tree-props": { children: "items" }, "default-expand-all": "" }, { default: g(() => [w(N, { type: "index", width: "50", label: "序号", align: "center" }), w(N, { prop: "name", width: "170", label: "变量名" }, { default: g((e2) => [e2.row.$editing ? (f(), V(I, { key: 1, size: "small", disabled: e2.row.isArrayElement, modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "", style: { "margin-right": "10px" } }, null, 8, ["disabled", "modelValue", "onUpdate:modelValue"])) : (f(), b("span", E,
|
|
52
|
+
return f(), b("div", null, [w(se, { "label-width": "auto", "label-position": "left", size: "small" }, { default: g(() => [w(J, { label: "服务名称:" }, { default: g(() => [w(I, { modelValue: v2.service.name, "onUpdate:modelValue": O2[0] || (O2[0] = (e2) => v2.service.name = e2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 }), w(J, { label: "服务自定义编码:" }, { default: g(() => [w(I, { disabled: true, modelValue: v2.service.customCode, "onUpdate:modelValue": O2[1] || (O2[1] = (e2) => v2.service.customCode = e2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 }), w(K), w(Z, { data: v2.service.variables, style: { width: "100%", "margin-top": "20px", "margin-bottom": "20px" }, "row-key": "code", size: "small", onRowClick: T, border: "", "tree-props": { children: "items" }, "default-expand-all": "" }, { default: g(() => [w(N, { type: "index", width: "50", label: "序号", align: "center" }), w(N, { prop: "name", width: "170", label: "变量名" }, { default: g((e2) => [e2.row.$editing ? (f(), V(I, { key: 1, size: "small", disabled: e2.row.isArrayElement, modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "", style: { "margin-right": "10px" } }, null, 8, ["disabled", "modelValue", "onUpdate:modelValue"])) : (f(), b("span", E, _(e2.row.name), 1))]), _: 1 }), w(N, { prop: "alias", width: "110", label: "别名" }, { default: g((e2) => [e2.row.$editing ? (f(), b(h, { key: 1 }, [e2.row.isArrayElement ? k("", true) : (f(), V(I, { key: 0, size: "small", modelValue: e2.row.alias, "onUpdate:modelValue": (l2) => e2.row.alias = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"]))], 64)) : (f(), b("span", A, _(e2.row.alias), 1))]), _: 1 }), w(N, { prop: "type", width: "90", label: "类型" }, { default: g((e2) => [e2.row.$editing ? (f(), V(Q, { key: 1, modelValue: e2.row.type, "onUpdate:modelValue": (l2) => e2.row.type = l2, onChange: (l2) => {
|
|
53
53
|
return t2 = l2, e2.$index, s2 = e2.row, void ("array" === t2 ? (s2.items = [], s2.items.push({ level: s2.level + 1, code: $(), name: "items", isArrayElement: true, alias: "", type: "object", defaultValue: "", items: [] })) : s2.items && s2.items.length > 0 && ("object" === t2 ? s2.items = [] : s2.items && delete s2.items));
|
|
54
54
|
var t2, s2;
|
|
55
|
-
}, placeholder: "", size: "small" }, { default: g(() => [(f(), b(
|
|
55
|
+
}, placeholder: "", size: "small" }, { default: g(() => [(f(), b(h, null, x(q, (e3) => w(P, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : (f(), b("span", R, _(e2.row.type), 1))]), _: 1 }), w(N, { prop: "defaultValue", label: "默认值", width: "160" }, { default: g((e2) => [e2.row.isArrayElement ? k("", true) : (f(), V(U(z), { key: 0, showLabel: !e2.row.$editing, size: "small", paramTypes: ["request", "system", "context", "fixed"], modelValue: e2.row.defaultValue, "onUpdate:modelValue": (l2) => e2.row.defaultValue = l2 }, null, 8, ["showLabel", "modelValue", "onUpdate:modelValue"]))]), _: 1 }), w(N, { align: "center", width: 90 }, { header: g(() => [w(S, { type: "primary", size: "small", onClick: D, link: "" }, { default: g(() => O2[6] || (O2[6] = [C("添加 ")])), _: 1, __: [6] })]), default: g((e2) => [w(Y, { size: "small", style: { "vertical-align": "middle" } }, { dropdown: g(() => [w(X, null, { default: g(() => ["object" === e2.row.type ? (f(), V(W, { key: 0, onClick: (l2) => ((e3, l3) => {
|
|
56
56
|
l3.items || (l3.items = []);
|
|
57
57
|
const t2 = H();
|
|
58
58
|
t2.level = l3.level + 1, l3.items.push(t2), B(t2);
|
|
59
|
-
})(e2.$index, e2.row) }, { default: g(() => O2[8] || (O2[8] = [C("添加下级节点")])), _: 2 }, 1032, ["onClick"])) :
|
|
59
|
+
})(e2.$index, e2.row) }, { default: g(() => O2[8] || (O2[8] = [C("添加下级节点")])), _: 2, __: [8] }, 1032, ["onClick"])) : k("", true), e2.row.isArrayElement ? k("", true) : (f(), V(W, { key: 1, onClick: (l2) => {
|
|
60
60
|
return e2.$index, t2 = e2.row, void F(M.service.variables, t2);
|
|
61
61
|
var t2;
|
|
62
|
-
} }, { default: g(() => O2[9] || (O2[9] = [C("添加相邻节点")])), _: 2 }, 1032, ["onClick"]))]), _: 2 }, 1024)]), default: g(() => [w(S, { type: "primary", link: "", size: "small" }, { default: g(() => O2[7] || (O2[7] = [C(" 添加 ")])), _: 1 })]), _: 2 }, 1024), w(S, { type: "danger", size: "small", disabled: e2.row.isArrayElement, link: "", onClick: (l2) => {
|
|
62
|
+
} }, { default: g(() => O2[9] || (O2[9] = [C("添加相邻节点")])), _: 2, __: [9] }, 1032, ["onClick"]))]), _: 2 }, 1024)]), default: g(() => [w(S, { type: "primary", link: "", size: "small" }, { default: g(() => O2[7] || (O2[7] = [C(" 添加 ")])), _: 1, __: [7] })]), _: 2 }, 1024), w(S, { type: "danger", size: "small", disabled: e2.row.isArrayElement, link: "", onClick: (l2) => {
|
|
63
63
|
return e2.$index, t2 = e2.row, void G(M.service.variables, t2);
|
|
64
64
|
var t2;
|
|
65
|
-
} }, { default: g(() => O2[10] || (O2[10] = [C(" 删除 ")])), _: 2 }, 1032, ["disabled", "onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]), w(ee, { title: "返回值定义", type: "info", closable: false, style: { "margin-bottom": "10px" } }), w(j, { service: v2.service }, null, 8, ["service"]), w(le, { style: { "margin-top": "10px", "margin-bottom": "10px", display: "block" }, type: "success" }, { default: g(() => O2[11] || (O2[11] = [C("说明:可不设置变量名,未设置时以值来源的字段名为变量名")])), _: 1 }), w(ee, { title: "执行异常消息格式化", type: "info", closable: false, style: { "margin-bottom": "10px" } }), w(J, null, { default: g(() => [w(I, { type: "textarea", modelValue: v2.service.errorMessage, "onUpdate:modelValue": O2[2] || (O2[2] = (e2) => v2.service.errorMessage = e2) }, null, 8, ["modelValue"])]), _: 1 }), w(ee, { title: "操作日志", type: "info", closable: false, style: { "margin-bottom": "10px" } }), w(J, null, { default: g(() => [w(te, { modelValue: v2.service.log.enable, "onUpdate:modelValue": O2[3] || (O2[3] = (e2) => v2.service.log.enable = e2), label: "启用操作日志" }, null, 8, ["modelValue"])]), _: 1 }), w(J, { label: "标题:" }, { default: g(() => [w(I, { disabled: !v2.service.log.enable, modelValue: v2.service.log.title, "onUpdate:modelValue": O2[4] || (O2[4] = (e2) => v2.service.log.title = e2), placeholder: "" }, null, 8, ["disabled", "modelValue"])]), _: 1 }), w(J, { label: "内容:" }, { default: g(() => [w(I, { disabled: !v2.service.log.enable, modelValue: v2.service.log.content, "onUpdate:modelValue": O2[5] || (O2[5] = (e2) => v2.service.log.content = e2), autosize: { minRows: 2, maxRows: 4 }, type: "textarea", placeholder: "" }, null, 8, ["disabled", "modelValue"])]), _: 1 })]), _: 1 })]);
|
|
65
|
+
} }, { default: g(() => O2[10] || (O2[10] = [C(" 删除 ")])), _: 2, __: [10] }, 1032, ["disabled", "onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]), w(ee, { title: "返回值定义", type: "info", closable: false, style: { "margin-bottom": "10px" } }), w(j, { service: v2.service }, null, 8, ["service"]), w(le, { style: { "margin-top": "10px", "margin-bottom": "10px", display: "block" }, type: "success" }, { default: g(() => O2[11] || (O2[11] = [C("说明:可不设置变量名,未设置时以值来源的字段名为变量名")])), _: 1, __: [11] }), w(ee, { title: "执行异常消息格式化", type: "info", closable: false, style: { "margin-bottom": "10px" } }), w(J, null, { default: g(() => [w(I, { type: "textarea", modelValue: v2.service.errorMessage, "onUpdate:modelValue": O2[2] || (O2[2] = (e2) => v2.service.errorMessage = e2) }, null, 8, ["modelValue"])]), _: 1 }), w(ee, { title: "操作日志", type: "info", closable: false, style: { "margin-bottom": "10px" } }), w(J, null, { default: g(() => [w(te, { modelValue: v2.service.log.enable, "onUpdate:modelValue": O2[3] || (O2[3] = (e2) => v2.service.log.enable = e2), label: "启用操作日志" }, null, 8, ["modelValue"])]), _: 1 }), w(J, { label: "标题:" }, { default: g(() => [w(I, { disabled: !v2.service.log.enable, modelValue: v2.service.log.title, "onUpdate:modelValue": O2[4] || (O2[4] = (e2) => v2.service.log.title = e2), placeholder: "" }, null, 8, ["disabled", "modelValue"])]), _: 1 }), w(J, { label: "内容:" }, { default: g(() => [w(I, { disabled: !v2.service.log.enable, modelValue: v2.service.log.content, "onUpdate:modelValue": O2[5] || (O2[5] = (e2) => v2.service.log.content = e2), autosize: { minRows: 2, maxRows: 4 }, type: "textarea", placeholder: "" }, null, 8, ["disabled", "modelValue"])]), _: 1 })]), _: 1 })]);
|
|
66
66
|
};
|
|
67
67
|
} });
|
|
68
68
|
export {
|
|
@@ -9,10 +9,10 @@ import "element-plus/es/components/select/style/css";
|
|
|
9
9
|
import "element-plus/es/components/option/style/css";
|
|
10
10
|
import "element-plus/es/components/input/style/css";
|
|
11
11
|
import "element-plus/es/components/table-column/style/css";
|
|
12
|
-
import { defineComponent as m, createBlock as d, openBlock as p, withCtx as u, createVNode as c, createElementBlock as y, toDisplayString as w, Fragment as v, createCommentVNode as f, renderList as h, unref as
|
|
13
|
-
import
|
|
14
|
-
import { v4 as
|
|
15
|
-
const
|
|
12
|
+
import { defineComponent as m, createBlock as d, openBlock as p, withCtx as u, createVNode as c, createElementBlock as y, toDisplayString as w, Fragment as v, createCommentVNode as f, renderList as h, unref as _, createTextVNode as b } from "vue";
|
|
13
|
+
import g from "../common/components/value-set-input/value-set-input.vue.js";
|
|
14
|
+
import { v4 as k } from "uuid";
|
|
15
|
+
const V = { key: 0 }, x = { key: 0 }, C = { key: 0 }, $ = m({ __name: "service-result", props: { service: { type: Object, default: () => ({ returnValues: [] }) } }, setup(m2, { expose: $2 }) {
|
|
16
16
|
const z = m2;
|
|
17
17
|
z.service.returnValues || (z.service.returnValues = []);
|
|
18
18
|
const U = ["any", "array", "object", "string", "number", "date"];
|
|
@@ -40,26 +40,26 @@ const _ = { key: 0 }, x = { key: 0 }, C = { key: 0 }, $ = m({ __name: "service-r
|
|
|
40
40
|
s2.items && s2.items.length > 0 && O(s2.items, l2);
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
|
-
const R = () => ({ code:
|
|
43
|
+
const R = () => ({ code: k(), name: "", type: "any", value: "", items: [], $editing: true });
|
|
44
44
|
return $2({}), ($3, E2) => {
|
|
45
45
|
const T = l, B = t, D = o, F = s, G = a, H = i, I = r, J = n, K = e;
|
|
46
46
|
return p(), d(K, { data: m2.service.returnValues, style: { width: "100%", "margin-top": "20px", "margin-bottom": "10px" }, "row-key": "code", size: "small", onRowClick: j, border: "", "tree-props": { children: "items" }, "default-expand-all": "" }, { default: u(() => [c(T, { type: "index", width: "50", label: "序号", align: "center" }), c(T, { prop: "name", width: "170", label: "变量名" }, { default: u((e2) => [e2.row.$editing ? (p(), d(B, { key: 1, size: "small", disabled: e2.row.isArrayElement, modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "", style: { "margin-right": "10px" }, onChange: (l2) => {
|
|
47
47
|
var t2;
|
|
48
48
|
(t2 = e2.row).alias || (t2.alias = t2.name);
|
|
49
|
-
} }, null, 8, ["disabled", "modelValue", "onUpdate:modelValue", "onChange"])) : (p(), y("span",
|
|
50
|
-
return t2 = l2, e2.$index, s2 = e2.row, void ("array" === t2 ? (s2.items = [], s2.items.push({ level: s2.level + 1, code:
|
|
49
|
+
} }, null, 8, ["disabled", "modelValue", "onUpdate:modelValue", "onChange"])) : (p(), y("span", V, w(e2.row.name), 1))]), _: 1 }), c(T, { prop: "alias", width: "110", label: "别名" }, { default: u((e2) => [e2.row.$editing ? (p(), y(v, { key: 1 }, [e2.row.isArrayElement ? f("", true) : (p(), d(B, { key: 0, size: "small", modelValue: e2.row.alias, "onUpdate:modelValue": (l2) => e2.row.alias = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"]))], 64)) : (p(), y("span", x, w(e2.row.alias), 1))]), _: 1 }), c(T, { prop: "type", width: "90", label: "类型" }, { default: u((e2) => [e2.row.$editing ? (p(), d(F, { key: 1, modelValue: e2.row.type, "onUpdate:modelValue": (l2) => e2.row.type = l2, onChange: (l2) => {
|
|
50
|
+
return t2 = l2, e2.$index, s2 = e2.row, void ("array" === t2 ? (s2.items = [], s2.items.push({ level: s2.level + 1, code: k(), name: "items", isArrayElement: true, alias: "", type: "object", value: "", items: [] })) : s2.items && s2.items.length > 0 && ("object" === t2 ? s2.items = [] : s2.items && delete s2.items));
|
|
51
51
|
var t2, s2;
|
|
52
|
-
}, placeholder: "", size: "small" }, { default: u(() => [(p(), y(v, null, h(U, (e3) => c(D, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : (p(), y("span", C, w(e2.row.type), 1))]), _: 1 }), c(T, { prop: "value", label: "值来源", width: "160" }, { default: u((e2) => [e2.row.isArrayElement ? f("", true) : (p(), d(
|
|
52
|
+
}, placeholder: "", size: "small" }, { default: u(() => [(p(), y(v, null, h(U, (e3) => c(D, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : (p(), y("span", C, w(e2.row.type), 1))]), _: 1 }), c(T, { prop: "value", label: "值来源", width: "160" }, { default: u((e2) => [e2.row.isArrayElement ? f("", true) : (p(), d(_(g), { key: 0, showLabel: !e2.row.$editing, size: "small", paramTypes: ["request", "service", "data", "system", "context", "fixed"], modelValue: e2.row.value, "onUpdate:modelValue": (l2) => e2.row.value = l2 }, null, 8, ["showLabel", "modelValue", "onUpdate:modelValue"]))]), _: 1 }), c(T, { align: "center", width: 90 }, { header: u(() => [c(G, { type: "primary", size: "small", onClick: L, link: "" }, { default: u(() => E2[0] || (E2[0] = [b("添加 ")])), _: 1, __: [0] })]), default: u((e2) => [c(J, { size: "small", style: { "vertical-align": "middle" } }, { dropdown: u(() => [c(I, null, { default: u(() => ["object" === e2.row.type ? (p(), d(H, { key: 0, onClick: (l2) => ((e3, l3) => {
|
|
53
53
|
l3.items || (l3.items = []);
|
|
54
54
|
const t2 = R();
|
|
55
55
|
t2.level = l3.level + 1, l3.items.push(t2), A(t2);
|
|
56
|
-
})(e2.$index, e2.row) }, { default: u(() => E2[2] || (E2[2] = [
|
|
56
|
+
})(e2.$index, e2.row) }, { default: u(() => E2[2] || (E2[2] = [b("添加下级节点")])), _: 2, __: [2] }, 1032, ["onClick"])) : f("", true), e2.row.isArrayElement ? f("", true) : (p(), d(H, { key: 1, onClick: (l2) => {
|
|
57
57
|
return e2.$index, t2 = e2.row, void q(z.service.returnValues, t2);
|
|
58
58
|
var t2;
|
|
59
|
-
} }, { default: u(() => E2[3] || (E2[3] = [
|
|
59
|
+
} }, { default: u(() => E2[3] || (E2[3] = [b("添加相邻节点")])), _: 2, __: [3] }, 1032, ["onClick"]))]), _: 2 }, 1024)]), default: u(() => [c(G, { type: "primary", link: "", size: "small" }, { default: u(() => E2[1] || (E2[1] = [b(" 添加 ")])), _: 1, __: [1] })]), _: 2 }, 1024), c(G, { type: "danger", size: "small", disabled: e2.row.isArrayElement, link: "", onClick: (l2) => {
|
|
60
60
|
return e2.$index, t2 = e2.row, void O(z.service.returnValues, t2);
|
|
61
61
|
var t2;
|
|
62
|
-
} }, { default: u(() => E2[4] || (E2[4] = [
|
|
62
|
+
} }, { default: u(() => E2[4] || (E2[4] = [b(" 删除 ")])), _: 2, __: [4] }, 1032, ["disabled", "onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]);
|
|
63
63
|
};
|
|
64
64
|
} });
|
|
65
65
|
export {
|
|
@@ -11,12 +11,12 @@ import "element-plus/es/components/select/style/css";
|
|
|
11
11
|
import "element-plus/es/components/option/style/css";
|
|
12
12
|
import "element-plus/es/components/table-column/style/css";
|
|
13
13
|
import "element-plus/es/components/input/style/css";
|
|
14
|
-
import { defineComponent as p, createBlock as u, openBlock as c, withCtx as y, createVNode as w, createElementBlock as b, Fragment as h, renderList as v, createCommentVNode as
|
|
15
|
-
import { v4 as
|
|
16
|
-
const
|
|
17
|
-
const
|
|
18
|
-
|
|
19
|
-
}, U = () => ({ code:
|
|
14
|
+
import { defineComponent as p, createBlock as u, openBlock as c, withCtx as y, createVNode as w, createElementBlock as b, Fragment as h, renderList as v, createCommentVNode as _, createElementVNode as V, createTextVNode as f } from "vue";
|
|
15
|
+
import { v4 as k } from "uuid";
|
|
16
|
+
const g = p({ __name: "request-params", props: { entityData: { type: Array, default: () => [] } }, setup(p2) {
|
|
17
|
+
const g2 = p2, A = ["string", "int", "number", "boolean", "array", "object"], E = () => {
|
|
18
|
+
g2.entityData.push({ code: k(), name: "", type: "string", value: "" });
|
|
19
|
+
}, U = () => ({ code: k(), name: "", type: "string", value: "" }), z = (e2, l2) => {
|
|
20
20
|
e2.forEach((t2, o2) => {
|
|
21
21
|
if (t2.code === l2.code) {
|
|
22
22
|
const l3 = U();
|
|
@@ -33,21 +33,21 @@ const _ = p({ __name: "request-params", props: { entityData: { type: Array, defa
|
|
|
33
33
|
return (j, x) => {
|
|
34
34
|
const D = t, T = l, $ = a, N = o, q = s, F = n, B = i, G = m, H = d, I = r, J = e;
|
|
35
35
|
return c(), u(J, { data: p2.entityData, style: { width: "100%", "margin-bottom": "20px" }, "tree-props": { children: "items" }, "row-key": "code", border: "", size: "small", "default-expand-all": "" }, { default: y(() => [w(T, { align: "center", prop: "name", label: "参数名", style: { "padding-right": "20px" } }, { default: y((e2) => [w(D, { size: "small", disabled: e2.row.isArrayElement || e2.row.lockedName, style: { width: "90%" }, modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "" }, null, 8, ["disabled", "modelValue", "onUpdate:modelValue"])]), _: 1 }), w(T, { align: "center", prop: "type", label: "类型" }, { default: y((e2) => [w(N, { style: { width: "90%" }, disabled: e2.row.lockedType, modelValue: e2.row.type, "onUpdate:modelValue": (l2) => e2.row.type = l2, onChange: (l2) => {
|
|
36
|
-
return t2 = l2, e2.$index, void ((o2 = e2.row).isArrayElement ? delete o2.items : "object" === t2 ? o2.items = [] : "array" === t2 ? (o2.items = [], o2.items.push({ isArrayElement: true, code:
|
|
36
|
+
return t2 = l2, e2.$index, void ((o2 = e2.row).isArrayElement ? delete o2.items : "object" === t2 ? o2.items = [] : "array" === t2 ? (o2.items = [], o2.items.push({ isArrayElement: true, code: k(), name: "items", type: "string", value: "" })) : delete o2.items);
|
|
37
37
|
var t2, o2;
|
|
38
|
-
}, placeholder: "", size: "small" }, { default: y(() => [(c(), b(h, null, v(A, (e3) => w($, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 2 }, 1032, ["disabled", "modelValue", "onUpdate:modelValue", "onChange"])]), _: 1 }), w(T, { align: "center", prop: "value", label: "值" }, { default: y((e2) => ["string" === e2.row.type ? (c(), u(D, { key: 0, size: "small", disabled: e2.row.isArrayElement || "object" === e2.row.type || "array" === e2.row.type, style: { width: "90%" }, modelValue: e2.row.value, "onUpdate:modelValue": (l2) => e2.row.value = l2, placeholder: "" }, null, 8, ["disabled", "modelValue", "onUpdate:modelValue"])) :
|
|
38
|
+
}, placeholder: "", size: "small" }, { default: y(() => [(c(), b(h, null, v(A, (e3) => w($, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 2 }, 1032, ["disabled", "modelValue", "onUpdate:modelValue", "onChange"])]), _: 1 }), w(T, { align: "center", prop: "value", label: "值" }, { default: y((e2) => ["string" === e2.row.type ? (c(), u(D, { key: 0, size: "small", disabled: e2.row.isArrayElement || "object" === e2.row.type || "array" === e2.row.type, style: { width: "90%" }, modelValue: e2.row.value, "onUpdate:modelValue": (l2) => e2.row.value = l2, placeholder: "" }, null, 8, ["disabled", "modelValue", "onUpdate:modelValue"])) : _("", true), "number" === e2.row.type ? (c(), u(D, { key: 1, size: "small", disabled: e2.row.isArrayElement || "object" === e2.row.type || "array" === e2.row.type, style: { width: "90%" }, type: "number", modelValue: e2.row.value, "onUpdate:modelValue": (l2) => e2.row.value = l2, placeholder: "" }, null, 8, ["disabled", "modelValue", "onUpdate:modelValue"])) : "int" === e2.row.type ? (c(), u(q, { key: 2, size: "small", disabled: e2.row.isArrayElement || "object" === e2.row.type || "array" === e2.row.type, style: { width: "90%" }, modelValue: e2.row.value, "onUpdate:modelValue": (l2) => e2.row.value = l2, placeholder: "" }, null, 8, ["disabled", "modelValue", "onUpdate:modelValue"])) : "boolean" === e2.row.type ? (c(), u(F, { key: 3, size: "small", disabled: e2.row.isArrayElement || "object" === e2.row.type || "array" === e2.row.type, style: { width: "90%" }, modelValue: e2.row.value, "onUpdate:modelValue": (l2) => e2.row.value = l2, placeholder: "" }, { "active-action": y(() => x[0] || (x[0] = [V("span", { class: "custom-active-action" }, "T", -1)])), "inactive-action": y(() => x[1] || (x[1] = [V("span", { class: "custom-inactive-action" }, "F", -1)])), _: 2 }, 1032, ["disabled", "modelValue", "onUpdate:modelValue"])) : _("", true)]), _: 1 }), w(T, { align: "center", width: 100 }, { header: y(() => [w(B, { type: "primary", size: "small", onClick: E, link: "" }, { default: y(() => x[2] || (x[2] = [f("添加 ")])), _: 1, __: [2] })]), default: y((e2) => [w(I, { size: "small", style: { "vertical-align": "middle" } }, { dropdown: y(() => [w(H, null, { default: y(() => ["object" === e2.row.type || e2.row.isArrayElement ? (c(), u(G, { key: 0, onClick: (l2) => ((e3, l3) => {
|
|
39
39
|
l3.items || (l3.items = []);
|
|
40
40
|
const t2 = U();
|
|
41
41
|
l3.items || (l3.items = []), "object" !== l3.type && (t2.lockedName = true), l3.isArrayElement && (t2.type = l3.type, t2.lockedType = true), l3.items.push(t2);
|
|
42
|
-
})(e2.$index, e2.row) }, { default: y(() => x[4] || (x[4] = [
|
|
43
|
-
return e2.$index, t2 = e2.row, void z(
|
|
42
|
+
})(e2.$index, e2.row) }, { default: y(() => x[4] || (x[4] = [f("添加下级节点")])), _: 2, __: [4] }, 1032, ["onClick"])) : _("", true), e2.row.isArrayElement ? _("", true) : (c(), u(G, { key: 1, onClick: (l2) => {
|
|
43
|
+
return e2.$index, t2 = e2.row, void z(g2.entityData, t2);
|
|
44
44
|
var t2;
|
|
45
|
-
} }, { default: y(() => x[5] || (x[5] = [
|
|
46
|
-
return e2.$index, t2 = e2.row, void C(
|
|
45
|
+
} }, { default: y(() => x[5] || (x[5] = [f("添加相邻节点")])), _: 2, __: [5] }, 1032, ["onClick"]))]), _: 2 }, 1024)]), default: y(() => [w(B, { type: "primary", link: "", size: "small" }, { default: y(() => x[3] || (x[3] = [f(" 添加 ")])), _: 1, __: [3] })]), _: 2 }, 1024), w(B, { type: "danger", size: "small", disabled: e2.row.isArrayElement, link: "", onClick: (l2) => {
|
|
46
|
+
return e2.$index, t2 = e2.row, void C(g2.entityData, t2);
|
|
47
47
|
var t2;
|
|
48
|
-
} }, { default: y(() => x[6] || (x[6] = [
|
|
48
|
+
} }, { default: y(() => x[6] || (x[6] = [f(" 删除 ")])), _: 2, __: [6] }, 1032, ["disabled", "onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]);
|
|
49
49
|
};
|
|
50
50
|
} });
|
|
51
51
|
export {
|
|
52
|
-
|
|
52
|
+
g as default
|
|
53
53
|
};
|
|
@@ -9,8 +9,8 @@ import "element-plus/es/components/tab-pane/style/css";
|
|
|
9
9
|
import "element-plus/es/components/radio-group/style/css";
|
|
10
10
|
import "element-plus/es/components/radio-button/style/css";
|
|
11
11
|
import { defineComponent as r, ref as i, watch as m, nextTick as p, createBlock as d, openBlock as c, withCtx as f, createVNode as v, createElementVNode as y, withDirectives as g, vShow as b, unref as w, createTextVNode as V } from "vue";
|
|
12
|
-
import { EditorView as
|
|
13
|
-
import { json as
|
|
12
|
+
import { EditorView as _, basicSetup as h } from "codemirror";
|
|
13
|
+
import { json as J } from "@codemirror/lang-json";
|
|
14
14
|
import { EditorState as j } from "@codemirror/state";
|
|
15
15
|
import S from "agilebuilder-ui/src/utils/request";
|
|
16
16
|
import x from "@logicflow/core";
|
|
@@ -36,13 +36,13 @@ const q = { class: "dialog-footer" }, B = r({ __name: "service-test", props: { m
|
|
|
36
36
|
const e4 = z.value.getBoundingClientRect();
|
|
37
37
|
(e4.y || 0 === e4.y) && (G.value = window.innerHeight - e4.y - 100);
|
|
38
38
|
}
|
|
39
|
-
const t3 =
|
|
40
|
-
return j.create({ doc: F.value, extensions: [j.tabSize.of(16),
|
|
39
|
+
const t3 = _.theme({ ".cm-content, .cm-gutter": { minHeight: G.value + "px" }, "&": { height: G.value + "px", maxHeight: G.value + "px", fontSize: "12px" } });
|
|
40
|
+
return j.create({ doc: F.value, extensions: [j.tabSize.of(16), h, J(), e3, t3, _.updateListener.of(function(e4) {
|
|
41
41
|
F.value = e4.state.doc.toString();
|
|
42
42
|
})] });
|
|
43
43
|
}();
|
|
44
44
|
let t2 = document.getElementById("cfCodemirrorJsonTest");
|
|
45
|
-
t2 && (E.value = new
|
|
45
|
+
t2 && (E.value = new _({ state: e2, parent: t2 }));
|
|
46
46
|
}();
|
|
47
47
|
});
|
|
48
48
|
}, K = () => {
|
|
@@ -67,8 +67,8 @@ const q = { class: "dialog-footer" }, B = r({ __name: "service-test", props: { m
|
|
|
67
67
|
return e2.flow = (_a = B2.lf) == null ? void 0 : _a.getGraphData(), e2.runtimeJson = JSON.stringify(k(e2)), e2.variables = JSON.stringify(e2.variables), e2.log = JSON.stringify(e2.log), e2.flow = JSON.stringify(e2.flow), e2.returnValues = JSON.stringify(e2.returnValues), JSON.stringify(e2);
|
|
68
68
|
}, X = () => JSON.stringify({ tableCode: "test_servicflow_query" });
|
|
69
69
|
return (i2, m2) => {
|
|
70
|
-
const p2 = n,
|
|
71
|
-
return c(), d(C2, { fullscreen: true, "destroy-on-close": "", modelValue: H.value, "onUpdate:modelValue": m2[4] || (m2[4] = (e2) => H.value = e2), "append-to-body": r2.appendToBody, title: "测试", onClose: K }, { footer: f(() => [y("div", q, [v(x3, { type: "default", onClick: m2[3] || (m2[3] = (e2) => H.value = false) }, { default: f(() => m2[5] || (m2[5] = [V("关闭")])), _: 1 }), v(x3, { type: "primary", onClick: M }, { default: f(() => m2[6] || (m2[6] = [V(" 运行 ")])), _: 1 })])]), default: f(() => [v(S2, null, { default: f(() => [v(j2, { width: "50%", style: { padding: "0 10px" } }, { default: f(() => [y("div", null, [v(
|
|
70
|
+
const p2 = n, _2 = o, h2 = a, J2 = s, j2 = l, S2 = t, x3 = u, C2 = e;
|
|
71
|
+
return c(), d(C2, { fullscreen: true, "destroy-on-close": "", modelValue: H.value, "onUpdate:modelValue": m2[4] || (m2[4] = (e2) => H.value = e2), "append-to-body": r2.appendToBody, title: "测试", onClose: K }, { footer: f(() => [y("div", q, [v(x3, { type: "default", onClick: m2[3] || (m2[3] = (e2) => H.value = false) }, { default: f(() => m2[5] || (m2[5] = [V("关闭")])), _: 1, __: [5] }), v(x3, { type: "primary", onClick: M }, { default: f(() => m2[6] || (m2[6] = [V(" 运行 ")])), _: 1, __: [6] })])]), default: f(() => [v(S2, null, { default: f(() => [v(j2, { width: "50%", style: { padding: "0 10px" } }, { default: f(() => [y("div", null, [v(_2, { modelValue: R.value, "onUpdate:modelValue": m2[0] || (m2[0] = (e2) => R.value = e2), size: "small" }, { default: f(() => [v(p2, { label: "JSON", value: "json" }), v(p2, { label: "变量录入", value: "custom" })]), _: 1 }, 8, ["modelValue"]), g(v(J2, { modelValue: D.value, "onUpdate:modelValue": m2[1] || (m2[1] = (e2) => D.value = e2), class: "demo-tabs" }, { default: f(() => [v(h2, { label: "entity", name: "entity" }, { default: f(() => [v(N, { "entity-data": P.value }, null, 8, ["entity-data"])]), _: 1 }), v(h2, { label: "request", name: "request" }, { default: f(() => [v(N, { "entity-data": A.value }, null, 8, ["entity-data"])]), _: 1 })]), _: 1 }, 8, ["modelValue"]), [[b, "custom" === R.value]]), g(y("div", { style: { marginTop: "10px", backgroundColor: "#fff", color: "#333" }, ref_key: "cfCodemirrorJsonTestRef", ref: z, id: "cfCodemirrorJsonTest" }, null, 512), [[b, "json" === R.value]])])]), _: 1 }), v(j2, { width: "50%", style: { padding: "0 10px" } }, { default: f(() => [y("div", null, [v(_2, { modelValue: L.value, "onUpdate:modelValue": m2[2] || (m2[2] = (e2) => L.value = e2), size: "small", style: { "margin-bottom": "10px" } }, { default: f(() => [v(p2, { label: "返回结果", value: "returnValue" })]), _: 1 }, 8, ["modelValue"]), v(w(O), { jsonObject: I.value, height: G.value, theme: "vscodeDark" }, null, 8, ["jsonObject", "height"])])]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["modelValue", "append-to-body"]);
|
|
72
72
|
};
|
|
73
73
|
} });
|
|
74
74
|
export {
|
|
@@ -12,14 +12,14 @@ import "element-plus/es/components/input/style/css";
|
|
|
12
12
|
import { defineComponent as r, ref as p, createBlock as c, openBlock as m, withCtx as d, createCommentVNode as v, createElementVNode as g, createVNode as f, createTextVNode as y } from "vue";
|
|
13
13
|
import { isDeepEqual as b } from "../common/util/node-util.js";
|
|
14
14
|
import h from "agilebuilder-ui/src/utils/request";
|
|
15
|
-
import { ElMessage as
|
|
16
|
-
const
|
|
17
|
-
const x = r2, V =
|
|
15
|
+
import { ElMessage as _ } from "element-plus";
|
|
16
|
+
const S = { style: { padding: "10px", "text-align": "center" } }, w = r({ __name: "service-update-log", props: { lf: { type: Object, default: () => ({}) }, cloneService: { type: Object, default: () => ({}) }, sourceService: { type: Object, default: () => ({}) } }, emits: ["save"], setup(r2, { expose: w2, emit: z }) {
|
|
17
|
+
const x = r2, V = z, $ = p([]), j = p(false), D = p(false), P = p(false), k = p(""), C = p({ currentPage: 1, pageSize: 10, showTotal: true }), U = p(0);
|
|
18
18
|
function O(e2) {
|
|
19
19
|
h.post(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/design-log/SERVICE_FLOW_DESIGN/" + x.cloneService.id, { pagination: C.value }).then((l2) => {
|
|
20
20
|
if (l2) if ($.value = l2.data, U.value = l2.total, e2 && e2.beforeSave) {
|
|
21
21
|
const e3 = x.lf.getGraphData(), l3 = b(x.sourceService, x.cloneService), t2 = b(x.sourceService.flow, e3);
|
|
22
|
-
l3 && t2 ?
|
|
22
|
+
l3 && t2 ? _.info("数据未发生变化,无需保存") : (j.value = true, D.value = true);
|
|
23
23
|
} else D.value = false, j.value = true;
|
|
24
24
|
});
|
|
25
25
|
}
|
|
@@ -27,21 +27,21 @@ const w = { style: { padding: "10px", "text-align": "center" } }, z = r({ __name
|
|
|
27
27
|
j.value = false, k.value = "";
|
|
28
28
|
}
|
|
29
29
|
function I() {
|
|
30
|
-
k.value ? (V("save", k.value), k.value = "") :
|
|
30
|
+
k.value ? (V("save", k.value), k.value = "") : _.warning("请输入修改记录");
|
|
31
31
|
}
|
|
32
32
|
function T() {
|
|
33
33
|
P.value && (k.value = $.value[0].description);
|
|
34
34
|
}
|
|
35
|
-
return
|
|
35
|
+
return w2({ showDialog: O, closeDialog: function() {
|
|
36
36
|
j.value = false;
|
|
37
37
|
} }), (r3, p2) => {
|
|
38
|
-
const b2 = a, h2 = t,
|
|
39
|
-
return m(), c(F, { modelValue: j.value, "onUpdate:modelValue": p2[5] || (p2[5] = (e2) => j.value = e2), "append-to-body": "", title: "保存服务", width: "50%" }, { default: d(() => [D.value ? (m(), c(
|
|
38
|
+
const b2 = a, h2 = t, _2 = o, w3 = l, z2 = s, x2 = u, V2 = n, A = i, F = e;
|
|
39
|
+
return m(), c(F, { modelValue: j.value, "onUpdate:modelValue": p2[5] || (p2[5] = (e2) => j.value = e2), "append-to-body": "", title: "保存服务", width: "50%" }, { default: d(() => [D.value ? (m(), c(w3, { key: 0, "label-width": "auto" }, { default: d(() => [f(h2, { label: "" }, { default: d(() => [f(b2, { size: "small", modelValue: k.value, "onUpdate:modelValue": p2[0] || (p2[0] = (e2) => k.value = e2), rows: 4, type: "textarea", placeholder: "请填写修改日志" }, null, 8, ["modelValue"])]), _: 1 }), f(h2, { label: "" }, { default: d(() => [f(_2, { disabled: !$.value || 0 === $.value.length, modelValue: P.value, "onUpdate:modelValue": p2[1] || (p2[1] = (e2) => P.value = e2), onChange: T, label: "上次修改记录", size: "small" }, null, 8, ["disabled", "modelValue"])]), _: 1 })]), _: 1 })) : v("", true), g("div", S, [f(z2, { type: "default", size: "small", onClick: E }, { default: d(() => p2[6] || (p2[6] = [y("返回")])), _: 1, __: [6] }), D.value ? (m(), c(z2, { key: 0, size: "small", type: "primary", onClick: I }, { default: d(() => p2[7] || (p2[7] = [y(" 保存 ")])), _: 1, __: [7] })) : v("", true)]), f(V2, { data: $.value, border: "", size: "small", "max-height": "350" }, { default: d(() => [f(x2, { align: "center", type: "index", width: "55", label: "序号" }), f(x2, { align: "left", prop: "description" }, { header: d(() => p2[8] || (p2[8] = [g("div", { style: { "text-align": "center" } }, "修改记录", -1)])), _: 1 }), f(x2, { align: "center", prop: "creatorName", label: "修改人", width: "100" }), f(x2, { align: "center", prop: "createdTime", width: "180", label: "修改时间", formatter: (e2) => ((e3) => {
|
|
40
40
|
let l2 = new Date(e3);
|
|
41
41
|
return `${l2.getFullYear()}-${("0" + (l2.getMonth() + 1)).slice(-2)}-${("0" + l2.getDate()).slice(-2)} ${("0" + l2.getHours()).slice(-2)}:${("0" + l2.getMinutes()).slice(-2)}:${("0" + l2.getSeconds()).slice(-2)}`;
|
|
42
42
|
})(e2.createdTime) }, null, 8, ["formatter"])]), _: 1 }, 8, ["data"]), f(A, { "current-page": C.value.currentPage, "onUpdate:currentPage": p2[2] || (p2[2] = (e2) => C.value.currentPage = e2), "page-size": C.value.pageSize, "onUpdate:pageSize": p2[3] || (p2[3] = (e2) => C.value.pageSize = e2), onChange: p2[4] || (p2[4] = (e2) => O({ beforeSave: true })), layout: "total, sizes, prev, pager, next, jumper", total: U.value, style: { margin: "10px 0", "justify-content": "center" } }, null, 8, ["current-page", "page-size", "total"])]), _: 1 }, 8, ["modelValue"]);
|
|
43
43
|
};
|
|
44
44
|
} });
|
|
45
45
|
export {
|
|
46
|
-
|
|
46
|
+
w as default
|
|
47
47
|
};
|
|
@@ -9,7 +9,7 @@ import "element-plus/es/components/row/style/css";
|
|
|
9
9
|
import "element-plus/es/components/col/style/css";
|
|
10
10
|
import "element-plus/es/components/input/style/css";
|
|
11
11
|
import "element-plus/es/components/icon/style/css";
|
|
12
|
-
import { defineComponent as d, ref as r, createElementBlock as p, openBlock as c, createVNode as m, withDirectives as v, withCtx as f, unref as y, createElementVNode as g, createTextVNode as h, createBlock as
|
|
12
|
+
import { defineComponent as d, ref as r, createElementBlock as p, openBlock as c, createVNode as m, withDirectives as v, withCtx as f, unref as y, createElementVNode as g, createTextVNode as h, createBlock as _, toDisplayString as b, createCommentVNode as w, vShow as C } from "vue";
|
|
13
13
|
import { Search as k, Plus as V, Menu as x, Promotion as E } from "@element-plus/icons-vue";
|
|
14
14
|
import { v4 as N } from "uuid";
|
|
15
15
|
import U from "agilebuilder-ui/src/utils/request";
|
|
@@ -92,7 +92,7 @@ const I = { class: "custom-tree-node" }, P = { style: { "margin-left": "5px", "l
|
|
|
92
92
|
};
|
|
93
93
|
return (r2, N2) => {
|
|
94
94
|
const U2 = t, O2 = a, S2 = l, A2 = e, T2 = n, $3 = o, J2 = s, M2 = i, L2 = u;
|
|
95
|
-
return c(), p("div", null, [m(A2, { style: { "margin-bottom": "10px" } }, { default: f(() => [m(S2, { span: 24 }, { default: f(() => [m(O2, { modelValue: j.value, "onUpdate:modelValue": N2[0] || (N2[0] = (e2) => j.value = e2), placeholder: "搜索" }, { suffix: f(() => [m(U2, null, { default: f(() => [m(y(k))]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })]), _: 1 }), m(A2, null, { default: f(() => [m(S2, { span: 24 }, { default: f(() => [m($3, { effect: "dark", content: "导入", placement: "top" }, { default: f(() => [m(T2, { type: "primary", onClick: pe }, { default: f(() => [g("input", { ref_key: "processFile", ref: re, accept: ".zip", name: "processFile", style: { display: "none" }, type: "file", onChange: ce }, null, 544), N2[11] || (N2[11] = h(" 导入 "))]), _: 1 })]), _: 1 }), m($3, { effect: "dark", content: "导出", placement: "top" }, { default: f(() => [m(T2, { type: "primary", onClick: de }, { default: f(() => N2[12] || (N2[12] = [h("导出")])), _: 1 })]), _: 1 }), m($3, { effect: "dark", content: "添加根菜单", placement: "top" }, { default: f(() => [m(T2, { type: "primary", icon: y(V), onClick: le }, null, 8, ["icon"])]), _: 1 })]), _: 1 })]), _: 1 }), m(J2, { style: { "margin-top": "10px" }, ref_key: "serviceTreeRef", ref: F, data: d2.serviceTreeData, "node-key": "id", props: D, "show-checkbox": "", "expand-on-click-node": false, "default-expand-all": true, "highlight-current": "", onNodeClick: ye, onNodeContextmenu: Z, onCheckChange: se }, { default: f(({ node: e2, data: l2 }) => [g("span", I, ["MENU" === l2.type ? (c(),
|
|
95
|
+
return c(), p("div", null, [m(A2, { style: { "margin-bottom": "10px" } }, { default: f(() => [m(S2, { span: 24 }, { default: f(() => [m(O2, { modelValue: j.value, "onUpdate:modelValue": N2[0] || (N2[0] = (e2) => j.value = e2), placeholder: "搜索" }, { suffix: f(() => [m(U2, null, { default: f(() => [m(y(k))]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })]), _: 1 }), m(A2, null, { default: f(() => [m(S2, { span: 24 }, { default: f(() => [m($3, { effect: "dark", content: "导入", placement: "top" }, { default: f(() => [m(T2, { type: "primary", onClick: pe }, { default: f(() => [g("input", { ref_key: "processFile", ref: re, accept: ".zip", name: "processFile", style: { display: "none" }, type: "file", onChange: ce }, null, 544), N2[11] || (N2[11] = h(" 导入 "))]), _: 1, __: [11] })]), _: 1 }), m($3, { effect: "dark", content: "导出", placement: "top" }, { default: f(() => [m(T2, { type: "primary", onClick: de }, { default: f(() => N2[12] || (N2[12] = [h("导出")])), _: 1, __: [12] })]), _: 1 }), m($3, { effect: "dark", content: "添加根菜单", placement: "top" }, { default: f(() => [m(T2, { type: "primary", icon: y(V), onClick: le }, null, 8, ["icon"])]), _: 1 })]), _: 1 })]), _: 1 }), m(J2, { style: { "margin-top": "10px" }, ref_key: "serviceTreeRef", ref: F, data: d2.serviceTreeData, "node-key": "id", props: D, "show-checkbox": "", "expand-on-click-node": false, "default-expand-all": true, "highlight-current": "", onNodeClick: ye, onNodeContextmenu: Z, onCheckChange: se }, { default: f(({ node: e2, data: l2 }) => [g("span", I, ["MENU" === l2.type ? (c(), _(U2, { key: 0, size: 16 }, { default: f(() => [m(y(x))]), _: 1 })) : (c(), _(U2, { key: 1, size: 16 }, { default: f(() => [m(y(E))]), _: 1 })), g("span", P, b(e2.label), 1)])]), _: 1 }, 8, ["data"]), m(L2, { modelValue: H.value, "onUpdate:modelValue": N2[4] || (N2[4] = (e2) => H.value = e2), "append-to-body": true, title: "MENU" === K.value ? "菜单" : "服务", width: "500" }, { footer: f(() => [g("div", z, [m(T2, { type: "default", size: "mini", onClick: N2[3] || (N2[3] = (e2) => H.value = false) }, { default: f(() => N2[13] || (N2[13] = [h("返回")])), _: 1, __: [13] }), m(T2, { size: "mini", type: "primary", onClick: me }, { default: f(() => N2[14] || (N2[14] = [h(" 确定 ")])), _: 1, __: [14] })])]), default: f(() => ["SERVICE" === K.value ? (c(), _(M2, { key: 0, label: "自定义编码:", required: true }, { default: f(() => [m(O2, { disabled: Q.value.id, modelValue: Q.value.customCode, "onUpdate:modelValue": N2[1] || (N2[1] = (e2) => Q.value.customCode = e2) }, null, 8, ["disabled", "modelValue"])]), _: 1 })) : w("", true), m(M2, { label: " 名称:", required: true }, { default: f(() => [m(O2, { modelValue: Q.value.name, "onUpdate:modelValue": N2[2] || (N2[2] = (e2) => Q.value.name = e2) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }, 8, ["modelValue", "title"]), m(L2, { modelValue: X.value, "onUpdate:modelValue": N2[8] || (N2[8] = (e2) => X.value = e2), "append-to-body": true, title: "复制服务", width: "500" }, { footer: f(() => [g("div", R, [m(T2, { type: "default", size: "mini", onClick: N2[7] || (N2[7] = (e2) => X.value = false) }, { default: f(() => N2[15] || (N2[15] = [h("返回")])), _: 1, __: [15] }), m(T2, { size: "mini", type: "primary", onClick: he }, { default: f(() => N2[16] || (N2[16] = [h(" 确定 ")])), _: 1, __: [16] })])]), default: f(() => [m(M2, { label: "自定义编码:", required: true }, { default: f(() => [m(O2, { modelValue: Y.value.customCode, "onUpdate:modelValue": N2[5] || (N2[5] = (e2) => Y.value.customCode = e2) }, null, 8, ["modelValue"])]), _: 1 }), m(M2, { label: " 名称:", required: true }, { default: f(() => [m(O2, { modelValue: Y.value.name, "onUpdate:modelValue": N2[6] || (N2[6] = (e2) => Y.value.name = e2) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }, 8, ["modelValue"]), v(g("div", null, [g("ul", { ref_key: "contxtMenuRef", ref: q, class: "context-menu" }, ["MENU" === G.value.type ? (c(), p("li", { key: 0, tabindex: "-1", class: "menu__item", onClick: N2[9] || (N2[9] = (e2) => ae("MENU")) }, N2[17] || (N2[17] = [g("span", null, "添加菜单", -1)]))) : w("", true), "MENU" === G.value.type ? (c(), p("li", { key: 1, tabindex: "-1", class: "menu__item", onClick: N2[10] || (N2[10] = (e2) => ae("SERVICE")) }, N2[18] || (N2[18] = [g("span", null, "添加服务", -1)]))) : w("", true), W.value.code !== G.value.code ? (c(), p("li", { key: 2, tabindex: "-1", class: "menu__item", onClick: te }, N2[19] || (N2[19] = [g("span", null, "修改", -1)]))) : w("", true), "SERVICE" === G.value.type ? (c(), p("li", { key: 3, tabindex: "-1", class: "menu__item", onClick: ge }, N2[20] || (N2[20] = [g("span", null, "复制", -1)]))) : w("", true), g("li", { tabindex: "-1", class: "menu__item", onClick: ve }, N2[21] || (N2[21] = [g("span", null, "删除", -1)]))], 512)], 512), [[C, B.value && G.value]])]);
|
|
96
96
|
};
|
|
97
97
|
} });
|
|
98
98
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "service-flow-designer",
|
|
3
|
-
"version": "2.3.0-
|
|
3
|
+
"version": "2.3.0-tmp1",
|
|
4
4
|
"description": "AgileBuilder Service Flow Designer",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"main": "dist/es/index.js",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@logicflow/layout": "1.2.0-alpha.16",
|
|
62
62
|
"@uiw/codemirror-themes-all": "^4.21.25",
|
|
63
63
|
"@vueuse/core": "^10.9.0",
|
|
64
|
-
"agilebuilder-ui": "1.1.36-
|
|
64
|
+
"agilebuilder-ui": "1.1.36-tmp4",
|
|
65
65
|
"codemirror": "^6.0.1",
|
|
66
66
|
"nprogress": "^0.2.0",
|
|
67
67
|
"pinia": "^2.1.7",
|