service-flow-designer 2.2.84 → 2.2.87
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.vue.js +1 -1
- package/dist/es/designer/common/components/datatable-select.vue2.js +4 -4
- package/dist/es/designer/common/components/file-upload.vue.js +1 -1
- package/dist/es/designer/common/components/file-upload.vue2.js +1 -1
- package/dist/es/designer/common/components/json-view/json-view-dialog.vue.js +3 -3
- package/dist/es/designer/common/components/value-set-input/value-set-input.vue.js +1 -1
- package/dist/es/designer/common/components/value-set-input/value-set-input.vue2.js +11 -11
- package/dist/es/designer/service-components/database/aggregate-query/config.vue.js +1 -1
- package/dist/es/designer/service-components/database/aggregate-query/config.vue2.js +1 -1
- package/dist/es/designer/service-components/database/regular-query/config.vue.js +3 -3
- package/dist/es/designer/service-components/database/regular-query/config.vue2.js +1 -1
- package/dist/es/designer/service-flow-view/service-test/service-test.vue.js +1 -1
- package/dist/es/designer/service-flow-view/service-update-log.vue.js +1 -1
- package/dist/es/designer/service-flow-view/service-update-log.vue2.js +1 -1
- package/dist/es/designer/service-panel/component-panel.vue.js +1 -1
- package/dist/es/designer/service-panel/service-list.vue.js +1 -1
- package/dist/es/designer/service-panel/service-list.vue2.js +1 -1
- package/dist/es/style.css +53 -53
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./datatable-select.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const a = t(e, [["__scopeId", "data-v-
|
|
4
|
+
const a = t(e, [["__scopeId", "data-v-21206c52"]]);
|
|
5
5
|
export {
|
|
6
6
|
a as default
|
|
7
7
|
};
|
|
@@ -10,7 +10,7 @@ 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
|
|
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 w } from "vue";
|
|
14
14
|
import { Search as V } from "@element-plus/icons-vue";
|
|
15
15
|
import S from "agilebuilder-ui/src/utils/request";
|
|
16
16
|
import { ElMessage as k } from "element-plus";
|
|
@@ -55,12 +55,12 @@ const N = { class: "dialog-footer" }, T = p({ name: "DatatableSelect", inheritAt
|
|
|
55
55
|
});
|
|
56
56
|
return (p3, m2) => {
|
|
57
57
|
const c2 = o, S2 = t, k2 = s, T3 = n, _2 = a, P2 = r, B2 = u, q = i, G = l, H = e;
|
|
58
|
-
return v(), d(H, { "destroy-on-close": "", modelValue: x.value, "onUpdate:modelValue": m2[7] || (m2[7] = (e2) => x.value = e2), title: "选择数据表", width: "60%", "before-close": X }, { footer: g(() => [w("div", N, [
|
|
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(() => [w("div", N, [f(T3, { type: "default", size: "small", onClick: m2[6] || (m2[6] = (e2) => x.value = false) }, { default: g(() => m2[9] || (m2[9] = [C("返回")])), _: 1 }), f(T3, { size: "small", type: "primary", onClick: R }, { default: g(() => m2[10] || (m2[10] = [C(" 确定 ")])), _: 1 })])]), default: g(() => [f(G, { style: { height: "400px" } }, { default: g(() => [f(_2, { style: { padding: "0", height: "50px" } }, { default: g(() => [f(S2, { 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(k2, { 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(k2, { 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(T3, { type: "primary", size: "small", icon: z(V), onClick: m2[3] || (m2[3] = (e2) => {
|
|
59
59
|
j($.value);
|
|
60
|
-
}) }, { default: g(() => m2[8] || (m2[8] = [C("查询")])), _: 1 }, 8, ["icon"])]), _: 1 }),
|
|
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) => {
|
|
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
|
-
})(e2.modifiedTime), label: "修改时间" }, null, 8, ["formatter"])]), _: 1 }, 8, ["data"]),
|
|
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 {
|
|
@@ -25,7 +25,7 @@ const V = t({ __name: "file-upload", props: { modelValue: { type: Object, defaul
|
|
|
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: _, name: "file", data: { systemCode: g.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,
|
|
28
|
+
return a(), u(f2, { ref_key: "upload", ref: _, name: "file", data: { systemCode: g.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 })]), _: 1 }, 8, ["data", "file-list"]);
|
|
29
29
|
};
|
|
30
30
|
} });
|
|
31
31
|
export {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ElDialog as e } from "element-plus/es";
|
|
2
2
|
import "element-plus/es/components/base/style/css";
|
|
3
3
|
import "element-plus/es/components/dialog/style/css";
|
|
4
|
-
import { defineComponent as o, ref as t, watch as l, createBlock as s, openBlock as a, withCtx as n, createVNode as
|
|
5
|
-
import
|
|
4
|
+
import { defineComponent as o, ref as t, watch as l, createBlock as s, openBlock as a, withCtx as n, createVNode as u } from "vue";
|
|
5
|
+
import p from "./json-view.vue.js";
|
|
6
6
|
const d = o({ name: "JsonViewDialog", inheritAttrs: false, __name: "json-view-dialog", props: { jsonObject: { type: Object, default: () => {
|
|
7
7
|
} }, appendToBody: { type: Boolean, default: false }, modelValue: { type: Boolean, default: false } }, emits: ["update:modelValue"], setup(o2, { emit: d2 }) {
|
|
8
8
|
const m = o2, i = d2, r = t(false);
|
|
@@ -14,7 +14,7 @@ const d = o({ name: "JsonViewDialog", inheritAttrs: false, __name: "json-view-di
|
|
|
14
14
|
};
|
|
15
15
|
return (t2, l2) => {
|
|
16
16
|
const d3 = e;
|
|
17
|
-
return a(), s(d3, { modelValue: r.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e2) => r.value = e2),
|
|
17
|
+
return a(), s(d3, { "append-to-body": "", modelValue: r.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e2) => r.value = e2), title: "格式化", width: "600", onClose: c }, { default: n(() => [u(p, { jsonObject: o2.jsonObject }, null, 8, ["jsonObject"])]), _: 1 }, 8, ["modelValue", "append-to-body"]);
|
|
18
18
|
};
|
|
19
19
|
} });
|
|
20
20
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./value-set-input.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const p = t(e, [["__scopeId", "data-v-
|
|
4
|
+
const p = t(e, [["__scopeId", "data-v-66f48781"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|
|
@@ -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
|
|
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, createElementVNode as g, withDirectives as w, unref as x, createTextVNode as b, Fragment as k, renderList as z, vShow as C, normalizeStyle as O, withModifiers as S, nextTick as _ } 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";
|
|
@@ -25,7 +25,7 @@ const B = { key: 0 }, K = { style: { "margin-top": "10px", "font-size": "10px",
|
|
|
25
25
|
X.customInputTypes.forEach((e2) => {
|
|
26
26
|
const l2 = pe.findIndex((l3) => e2 === l3);
|
|
27
27
|
l2 >= 0 && pe.splice(l2, 1);
|
|
28
|
-
}), Z.value = T(X.paramTypes),
|
|
28
|
+
}), Z.value = T(X.paramTypes), de();
|
|
29
29
|
const ve = () => {
|
|
30
30
|
if (X.showFileUpload) -1 === Z.value.findIndex((e2) => "file" === e2.value) && Z.value.push({ label: "文件", value: "file" });
|
|
31
31
|
else {
|
|
@@ -42,12 +42,12 @@ const B = { key: 0 }, K = { style: { "margin-top": "10px", "font-size": "10px",
|
|
|
42
42
|
ae.value = fe();
|
|
43
43
|
}
|
|
44
44
|
const ce = c(() => ne.value.filter((e2) => !ie.value || e2.label.toLowerCase().includes(ie.value.toLowerCase() || e2.value.toLowerCase().includes(ie.value.toLowerCase()))));
|
|
45
|
-
function
|
|
45
|
+
function de() {
|
|
46
46
|
oe.value.dataModelOptions = Q.pageContextVarOptions.dataOptions, X.customOptions.data && (oe.value.dataModelOptions = X.customOptions.data), oe.value.serviceVarOptions = Q.getServiceVarOptions();
|
|
47
47
|
const e2 = [{ value: "query", label: "query" }];
|
|
48
|
-
Q.pageContext &&
|
|
48
|
+
Q.pageContext && me(Q.pageContext.variables, e2, ""), te.value = e2;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function me(e2, l2, a2) {
|
|
51
51
|
if (e2) for (let t2 of e2) {
|
|
52
52
|
if (!t2.name) continue;
|
|
53
53
|
let e3 = a2;
|
|
@@ -57,7 +57,7 @@ const B = { key: 0 }, K = { style: { "margin-top": "10px", "font-size": "10px",
|
|
|
57
57
|
const s2 = t2.alias ? u2 + "(" + t2.alias + ")" : u2;
|
|
58
58
|
l2.push({ value: u2, label: s2 }), e3 = u2;
|
|
59
59
|
}
|
|
60
|
-
t2.items &&
|
|
60
|
+
t2.items && me(t2.items, l2, e3);
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
function fe() {
|
|
@@ -90,7 +90,7 @@ const B = { key: 0 }, K = { style: { "margin-top": "10px", "font-size": "10px",
|
|
|
90
90
|
!ue.value && Z.value.length > 0 && (ue.value = Z.value[0].value, ye(ue.value));
|
|
91
91
|
const we = v();
|
|
92
92
|
const xe = () => {
|
|
93
|
-
ve(),
|
|
93
|
+
ve(), de(), ue.value && he(ue.value), _(() => {
|
|
94
94
|
!function() {
|
|
95
95
|
if (!X.showLabel && "select" === ee.value) {
|
|
96
96
|
const e2 = ce.value.findIndex((e3) => e3.value === se.value);
|
|
@@ -115,15 +115,15 @@ const B = { key: 0 }, K = { style: { "margin-top": "10px", "font-size": "10px",
|
|
|
115
115
|
oe.value.systemVarOptions = l2, "system" == ue.value && he(ue.value);
|
|
116
116
|
});
|
|
117
117
|
}
|
|
118
|
-
return J2({ setSelectOptions:
|
|
118
|
+
return J2({ setSelectOptions: de }), (v2, c2) => {
|
|
119
119
|
const _2 = n, L2 = s, T2 = t, A2 = a, F2 = u, $2 = o, M2 = r, R2 = i, J3 = l, N2 = e;
|
|
120
|
-
return p2.showLabel ? (f(),
|
|
120
|
+
return p2.showLabel ? (f(), d("span", B, y(ae.value), 1)) : (f(), m(N2, { key: 1, ref_key: "popoverRef", ref: re, trigger: "click", width: 450 }, { reference: h(() => [V(L2, { style: O({ width: p2.width ? p2.width : "" }), readonly: "", size: p2.inputSize, onClick: xe, formatter: fe, class: "input-with-select", "prefix-icon": x(q), modelValue: Y.value, "onUpdate:modelValue": c2[0] || (c2[0] = (e2) => Y.value = e2), placeholder: p2.placeholder }, { append: h(() => [V(_2, { type: "default", size: p2.inputSize, icon: x(I), onClick: S(be, ["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: ue.value, "onUpdate:modelValue": c2[1] || (c2[1] = (e2) => ue.value = e2), onChange: ye, props: { emitPath: false }, size: "small", style: { width: "fit-content", height: "200px" }, options: Z.value }, null, 8, ["modelValue", "options"])]), _: 1 }), ue.value ? "input" === ee.value ? (f(), m(A2, { key: 1, span: 16 }, { default: h(() => [V(L2, { style: { width: "88%" }, size: "small", modelValue: se.value, "onUpdate:modelValue": c2[2] || (c2[2] = (e2) => se.value = e2), placeholder: "请手动输入" }, null, 8, ["modelValue"]), V(_2, { style: { float: "right" }, onClick: Ve, size: "small", type: "primary", icon: x(U), circle: "" }, null, 8, ["icon"]), g("div", K, [V($2, null, { default: h(() => [V(x(j))]), _: 1 }), c2[5] || (c2[5] = g("span", { style: { "margin-left": "5px" } }, "输入变量名后点击加号按钮添加", -1))]), w(g("div", P, [c2[6] || (c2[6] = b(" 可用参数: ")), (f(true), d(k, null, z(te.value, (e2) => (f(), m(_2, { type: "primary", size: "small", onClick: (l2) => {
|
|
121
121
|
return a2 = e2.value, se.value = a2, void Ve();
|
|
122
122
|
var a2;
|
|
123
|
-
} }, { default: h(() => [b(y(e2.label), 1)]), _: 2 }, 1032, ["onClick"]))), 256))], 512), [[C, "request" == ue.value]])]), _: 1 })) : "file" === ee.value ? (f(),
|
|
123
|
+
} }, { default: h(() => [b(y(e2.label), 1)]), _: 2 }, 1032, ["onClick"]))), 256))], 512), [[C, "request" == ue.value]])]), _: 1 })) : "file" === ee.value ? (f(), m(A2, { key: 2, span: 16 }, { default: h(() => [V(E, { modelValue: le.value, "onUpdate:modelValue": c2[3] || (c2[3] = (e2) => le.value = e2), onOnSuccess: ke }, null, 8, ["modelValue"])]), _: 1 })) : (f(), m(A2, { key: 3, span: 16 }, { default: h(() => [g("div", D, [V(L2, { size: "small", modelValue: ie.value, "onUpdate:modelValue": c2[4] || (c2[4] = (e2) => ie.value = e2), placeholder: "搜索", "suffix-icon": x(q), style: { width: "88%" } }, null, 8, ["modelValue", "suffix-icon"]), w(V(_2, { style: { float: "right" }, onClick: ge, size: "small", type: "primary", icon: x(U), circle: "" }, null, 8, ["icon"]), [[C, "service" == ue.value]]), w(g("div", G, [V($2, null, { default: h(() => [V(x(j))]), _: 1 }), c2[7] || (c2[7] = g("span", { style: { "margin-left": "5px" } }, "输入变量名后点击加号按钮添加", -1))], 512), [[C, "service" == ue.value]])]), V(R2, { ref_key: "tableRef", ref: we, height: "155", "show-header": false, size: "small", "current-row-key": "code", "row-key": "code", "tree-props": { children: "items" }, "highlight-current-row": true, data: ce.value }, { default: h(() => [V(M2, null, { default: h((e2) => [V(_2, { type: "default", size: "small", onClick: (l2) => {
|
|
124
124
|
return a2 = e2.row, se.value = a2.value, Y.value = "${" + ue.value + "." + a2.value + "}", W("update:modelValue", Y.value), void re.value.hide();
|
|
125
125
|
var a2;
|
|
126
|
-
} }, { default: h(() => c2[8] || (c2[8] = [b(" 选择 ")])), _: 2 }, 1032, ["onClick"])]), _: 1 }), V(M2, { prop: "label" })]), _: 1 }, 8, ["data"]), g("div", H, "总计:" + y(ce.value.length), 1)]), _: 1 })) : (f(),
|
|
126
|
+
} }, { default: h(() => c2[8] || (c2[8] = [b(" 选择 ")])), _: 2 }, 1032, ["onClick"])]), _: 1 }), V(M2, { prop: "label" })]), _: 1 }, 8, ["data"]), g("div", H, "总计:" + y(ce.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 {
|
|
@@ -90,7 +90,7 @@ const D = { style: { position: "absolute", right: "0" } }, E = { style: { displa
|
|
|
90
90
|
}
|
|
91
91
|
return J2({}), (i2, m2) => {
|
|
92
92
|
const u2 = o, h2 = s, w2 = t, V2 = l, _2 = 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(w2, { label: "选择数据表" }, { default: v(() => [y(h2, { modelValue: n2.properties.dataTable, "onUpdate:modelValue": m2[1] || (m2[1] = (e2) => n2.properties.dataTable = e2), readonly: "", style: { width: "85%" } }, { append: v(() => [y(u2, { 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 }, 8, ["icon"])]), y(j, { 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(V2, { 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(_2, { 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 }), y(V2, { 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(_2, { style: { "margin-top": "10px", "margin-bottom": "10px", display: "block" }, type: "success" }, { default: v(() => m2[9] || (m2[9] = [g("说明:1.支持自定义统计公式,如sum(字段1+字段2)")])), _: 1 }), y(V2, { title: "过滤条件", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), y(O, { properties: n2.properties, dataTableColumns: L.value }, null, 8, ["properties", "dataTableColumns"]), y(V2, { title: "排序条件", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), y(U, { properties: n2.properties, dataTableColumns: Q.value }, null, 8, ["properties", "dataTableColumns"]), y(V2, { title: "结果设置", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), y(w2, { 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 }), y(N2, { value: "all" }, { default: v(() => m2[11] || (m2[11] = [g(" 全部 ")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), y(w2, { label: "设置到:", style: { width: "100%" } }, { default: v(() => [b("div", E, [y(f(x), { 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(S), type: "primary", onClick: te, style: { "margin-left": "10px" } }, { default: v(() => m2[12] || (m2[12] = [g(" 更新服务变量 ")])), _: 1 }, 8, ["icon"]), y(u2, { icon: f(S), type: "primary", onClick: se, style: { "margin-left": "10px" } }, { default: v(() => m2[13] || (m2[13] = [g(" 设置为返回值 ")])), _: 1 }, 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"])]);
|
|
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(w2, { label: "选择数据表" }, { default: v(() => [y(h2, { 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 }, 8, ["icon"])]), y(j, { 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(V2, { 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(_2, { 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 }), y(V2, { 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(_2, { style: { "margin-top": "10px", "margin-bottom": "10px", display: "block" }, type: "success" }, { default: v(() => m2[9] || (m2[9] = [g("说明:1.支持自定义统计公式,如sum(字段1+字段2)")])), _: 1 }), y(V2, { title: "过滤条件", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), y(O, { properties: n2.properties, dataTableColumns: L.value }, null, 8, ["properties", "dataTableColumns"]), y(V2, { title: "排序条件", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), y(U, { properties: n2.properties, dataTableColumns: Q.value }, null, 8, ["properties", "dataTableColumns"]), y(V2, { title: "结果设置", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), y(w2, { 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 }), y(N2, { value: "all" }, { default: v(() => m2[11] || (m2[11] = [g(" 全部 ")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), y(w2, { label: "设置到:", style: { width: "100%" } }, { default: v(() => [b("div", E, [y(f(x), { 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(S), type: "primary", onClick: te, style: { "margin-left": "10px" } }, { default: v(() => m2[12] || (m2[12] = [g(" 更新服务变量 ")])), _: 1 }, 8, ["icon"]), y(u2, { icon: f(S), type: "primary", onClick: se, style: { "margin-left": "10px" } }, { default: v(() => m2[13] || (m2[13] = [g(" 设置为返回值 ")])), _: 1 }, 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 {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import o from "./config.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const r = o
|
|
3
|
+
import e from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const r = e(o, [["__scopeId", "data-v-451718f5"]]);
|
|
5
5
|
export {
|
|
6
6
|
r as default
|
|
7
7
|
};
|
|
@@ -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, { 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: 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"])]);
|
|
70
70
|
};
|
|
71
71
|
} });
|
|
72
72
|
export {
|
|
@@ -68,7 +68,7 @@ const q = { class: "dialog-footer" }, B = r({ __name: "service-test", props: { m
|
|
|
68
68
|
}, X = () => JSON.stringify({ tableCode: "test_servicflow_query" });
|
|
69
69
|
return (i2, m2) => {
|
|
70
70
|
const p2 = n, h2 = o, J2 = a, _2 = 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, { 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(h2, { 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(_2, { modelValue: D.value, "onUpdate:modelValue": m2[1] || (m2[1] = (e2) => D.value = e2), class: "demo-tabs" }, { default: f(() => [v(J2, { label: "entity", name: "entity" }, { default: f(() => [v(N, { "entity-data": P.value }, null, 8, ["entity-data"])]), _: 1 }), v(J2, { 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(h2, { 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"]);
|
|
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(h2, { 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(_2, { modelValue: D.value, "onUpdate:modelValue": m2[1] || (m2[1] = (e2) => D.value = e2), class: "demo-tabs" }, { default: f(() => [v(J2, { label: "entity", name: "entity" }, { default: f(() => [v(N, { "entity-data": P.value }, null, 8, ["entity-data"])]), _: 1 }), v(J2, { 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(h2, { 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 {
|
|
@@ -36,7 +36,7 @@ const w = { style: { padding: "10px", "text-align": "center" } }, z = r({ __name
|
|
|
36
36
|
j.value = false;
|
|
37
37
|
} }), (r3, p2) => {
|
|
38
38
|
const b2 = a, h2 = t, S2 = o, z3 = l, _2 = 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(z3, { 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(S2, { 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", w, [f(_2, { size: "small", onClick: E }, { default: d(() => p2[6] || (p2[6] = [y("返回")])), _: 1 }), D.value ? (m(), c(_2, { key: 0, size: "small", type: "primary", onClick: I }, { default: d(() => p2[7] || (p2[7] = [y(" 保存 ")])), _: 1 })) : 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) => {
|
|
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(z3, { 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(S2, { 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", w, [f(_2, { type: "default", size: "small", onClick: E }, { default: d(() => p2[6] || (p2[6] = [y("返回")])), _: 1 }), D.value ? (m(), c(_2, { key: 0, size: "small", type: "primary", onClick: I }, { default: d(() => p2[7] || (p2[7] = [y(" 保存 ")])), _: 1 })) : 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"]);
|
|
@@ -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(), b(U2, { key: 0, size: 16 }, { default: f(() => [m(y(x))]), _: 1 })) : (c(), b(U2, { key: 1, size: 16 }, { default: f(() => [m(y(E))]), _: 1 })), g("span", P, w(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, { size: "mini", onClick: N2[3] || (N2[3] = (e2) => H.value = false) }, { default: f(() => N2[13] || (N2[13] = [h("返回")])), _: 1 }), m(T2, { size: "mini", type: "primary", onClick: me }, { default: f(() => N2[14] || (N2[14] = [h(" 确定 ")])), _: 1 })])]), default: f(() => ["SERVICE" === K.value ? (c(), b(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 })) : C("", 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, { size: "mini", onClick: N2[7] || (N2[7] = (e2) => X.value = false) }, { default: f(() => N2[15] || (N2[15] = [h("返回")])), _: 1 }), m(T2, { size: "mini", type: "primary", onClick: he }, { default: f(() => N2[16] || (N2[16] = [h(" 确定 ")])), _: 1 })])]), 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)]))) : C("", 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)]))) : C("", 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)]))) : C("", 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)]))) : C("", true), g("li", { tabindex: "-1", class: "menu__item", onClick: ve }, N2[21] || (N2[21] = [g("span", null, "删除", -1)]))], 512)], 512), [[_, B.value && G.value]])]);
|
|
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(), b(U2, { key: 0, size: 16 }, { default: f(() => [m(y(x))]), _: 1 })) : (c(), b(U2, { key: 1, size: 16 }, { default: f(() => [m(y(E))]), _: 1 })), g("span", P, w(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 }), m(T2, { size: "mini", type: "primary", onClick: me }, { default: f(() => N2[14] || (N2[14] = [h(" 确定 ")])), _: 1 })])]), default: f(() => ["SERVICE" === K.value ? (c(), b(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 })) : C("", 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 }), m(T2, { size: "mini", type: "primary", onClick: he }, { default: f(() => N2[16] || (N2[16] = [h(" 确定 ")])), _: 1 })])]), 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)]))) : C("", 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)]))) : C("", 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)]))) : C("", 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)]))) : C("", true), g("li", { tabindex: "-1", class: "menu__item", onClick: ve }, N2[21] || (N2[21] = [g("span", null, "删除", -1)]))], 512)], 512), [[_, B.value && G.value]])]);
|
|
96
96
|
};
|
|
97
97
|
} });
|
|
98
98
|
export {
|
package/dist/es/style.css
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
[data-v-
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
[data-v-04f29a6d] .el-table__row {
|
|
3
3
|
cursor: pointer;
|
|
4
4
|
}
|
|
5
5
|
/** 右键菜单样式 */
|
|
6
|
-
.context-menu[data-v-
|
|
6
|
+
.context-menu[data-v-04f29a6d] {
|
|
7
7
|
position: absolute;
|
|
8
8
|
background: #fff;
|
|
9
9
|
z-index: 999;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
border-radius: 10px;
|
|
15
15
|
font-size: 14px;
|
|
16
16
|
}
|
|
17
|
-
.context-menu li[data-v-
|
|
17
|
+
.context-menu li[data-v-04f29a6d] {
|
|
18
18
|
list-style-type: none;
|
|
19
19
|
min-width: 75px;
|
|
20
20
|
line-height: 28px;
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
padding-left: 5px;
|
|
24
24
|
cursor: pointer;
|
|
25
25
|
}
|
|
26
|
-
.context-menu li[data-v-
|
|
26
|
+
.context-menu li[data-v-04f29a6d]:hover {
|
|
27
27
|
background: #0165e1;
|
|
28
28
|
color: #fff;
|
|
29
29
|
}
|
|
30
30
|
/** 右键菜单样式 */
|
|
31
|
-
.custom-tree-node[data-v-
|
|
31
|
+
.custom-tree-node[data-v-04f29a6d] {
|
|
32
32
|
font-size: 14px;
|
|
33
33
|
padding-right: 8px;
|
|
34
34
|
display: flex; /* 使用Flex布局 */
|
|
@@ -788,7 +788,8 @@
|
|
|
788
788
|
.serviceflow-nodeTitle[data-v-96d149c1] {
|
|
789
789
|
width: 80px;
|
|
790
790
|
}
|
|
791
|
-
|
|
791
|
+
|
|
792
|
+
.serviceflow-attr-base-content[data-v-95de097d] {
|
|
792
793
|
background: #ffffff;
|
|
793
794
|
box-shadow: 1px 0px 10px 0px rgba(0, 0, 0, 0.05);
|
|
794
795
|
height: 100%;
|
|
@@ -796,16 +797,16 @@
|
|
|
796
797
|
padding-right: 10px;
|
|
797
798
|
overflow: auto;
|
|
798
799
|
}
|
|
799
|
-
.serviceflow-attr-item[data-v-
|
|
800
|
+
.serviceflow-attr-item[data-v-95de097d] {
|
|
800
801
|
margin-bottom: 8px;
|
|
801
802
|
}
|
|
802
|
-
.serviceflow-attr-group-header > button[data-v-
|
|
803
|
+
.serviceflow-attr-group-header > button[data-v-95de097d] {
|
|
803
804
|
background: #f5f6f8;
|
|
804
805
|
padding-left: 10px;
|
|
805
806
|
font-size: 14px;
|
|
806
807
|
height: 42px;
|
|
807
808
|
}
|
|
808
|
-
.serviceflow-attr-content[data-v-
|
|
809
|
+
.serviceflow-attr-content[data-v-95de097d] {
|
|
809
810
|
background: #ffffff;
|
|
810
811
|
box-shadow: 1px 0px 10px 0px rgba(0, 0, 0, 0.05);
|
|
811
812
|
height: 100%;
|
|
@@ -814,47 +815,46 @@
|
|
|
814
815
|
overflow: auto;
|
|
815
816
|
position: relative;
|
|
816
817
|
}
|
|
817
|
-
.serviceflow-attr-header-search[data-v-
|
|
818
|
+
.serviceflow-attr-header-search[data-v-95de097d] {
|
|
818
819
|
margin-top: 16px;
|
|
819
820
|
}
|
|
820
|
-
.serviceflow-attr-header-select[data-v-
|
|
821
|
+
.serviceflow-attr-header-select[data-v-95de097d] {
|
|
821
822
|
width: 90px;
|
|
822
823
|
height: 36px;
|
|
823
824
|
}
|
|
824
|
-
.serviceflow-page-param-row[data-v-
|
|
825
|
+
.serviceflow-page-param-row[data-v-95de097d] {
|
|
825
826
|
height: 34px;
|
|
826
827
|
}
|
|
827
|
-
.el-table__cell > .cell[data-v-
|
|
828
|
+
.el-table__cell > .cell[data-v-95de097d] {
|
|
828
829
|
white-space: nowrap !important;
|
|
829
830
|
}
|
|
830
|
-
.serviceflow-item[data-v-
|
|
831
|
-
background: rgba(88, 147, 239, 0.06);
|
|
832
|
-
border: 1px dashed rgba(88, 147, 239, 0.06);
|
|
833
|
-
border-radius: 4px 4px 4px 4px;
|
|
834
|
-
text-align: center;
|
|
835
|
-
margin-top: 12px;
|
|
836
|
-
padding: 10px 5px 10px 5px;
|
|
837
|
-
font-size: 12px;
|
|
838
|
-
cursor: move;
|
|
839
|
-
height: 60px;
|
|
840
|
-
overflow: hidden;
|
|
841
|
-
box-sizing: border-box;
|
|
842
|
-
color: #333333;
|
|
843
|
-
text-overflow: ellipsis;
|
|
844
|
-
white-space: nowrap;
|
|
845
|
-
-webkit-user-select: none; /* Safari */
|
|
846
|
-
-moz-user-select: none; /* Firefox */
|
|
847
|
-
-ms-user-select: none; /* Internet Explorer/Edge */
|
|
831
|
+
.serviceflow-item[data-v-95de097d] {
|
|
832
|
+
background: rgba(88, 147, 239, 0.06);
|
|
833
|
+
border: 1px dashed rgba(88, 147, 239, 0.06);
|
|
834
|
+
border-radius: 4px 4px 4px 4px;
|
|
835
|
+
text-align: center;
|
|
836
|
+
margin-top: 12px;
|
|
837
|
+
padding: 10px 5px 10px 5px;
|
|
838
|
+
font-size: 12px;
|
|
839
|
+
cursor: move;
|
|
840
|
+
height: 60px;
|
|
841
|
+
overflow: hidden;
|
|
842
|
+
box-sizing: border-box;
|
|
843
|
+
color: #333333;
|
|
844
|
+
text-overflow: ellipsis;
|
|
845
|
+
white-space: nowrap;
|
|
846
|
+
-webkit-user-select: none; /* Safari */
|
|
847
|
+
-moz-user-select: none; /* Firefox */
|
|
848
|
+
-ms-user-select: none; /* Internet Explorer/Edge */
|
|
848
849
|
user-select: none; /* 标准语法 */
|
|
849
850
|
}
|
|
850
|
-
.serviceflow-item[data-v-
|
|
851
|
-
background: rgba(11, 45, 101, 0.105);
|
|
851
|
+
.serviceflow-item[data-v-95de097d]:hover {
|
|
852
|
+
background: rgba(11, 45, 101, 0.105);
|
|
852
853
|
border: 1px dashed rgba(11, 45, 101, 0.227);
|
|
853
854
|
}
|
|
854
|
-
.amb-assembly-item-drag[data-v-
|
|
855
|
+
.amb-assembly-item-drag[data-v-95de097d] {
|
|
855
856
|
opacity: 1 !important;
|
|
856
|
-
}
|
|
857
|
-
|
|
857
|
+
}
|
|
858
858
|
.amb-design-assembly-content[data-v-59e0837d] {
|
|
859
859
|
background: #ffffff;
|
|
860
860
|
box-shadow: 1px 0px 10px 0px rgba(0, 0, 0, 0.05);
|
|
@@ -906,7 +906,7 @@
|
|
|
906
906
|
position: static;
|
|
907
907
|
}
|
|
908
908
|
|
|
909
|
-
.el-dialog__wrapper[data-v-
|
|
909
|
+
.el-dialog__wrapper[data-v-2e2db019] {
|
|
910
910
|
overflow: hidden !important;
|
|
911
911
|
padding-right: 0 !important;
|
|
912
912
|
}
|
|
@@ -1043,24 +1043,24 @@
|
|
|
1043
1043
|
margin-left: 50px;
|
|
1044
1044
|
}
|
|
1045
1045
|
|
|
1046
|
-
[data-v-
|
|
1046
|
+
[data-v-7a47b497] .el-upload {
|
|
1047
1047
|
width: 100%;
|
|
1048
1048
|
}
|
|
1049
|
-
[data-v-
|
|
1049
|
+
[data-v-7a47b497] .el-button {
|
|
1050
1050
|
width: 100%;
|
|
1051
1051
|
}
|
|
1052
1052
|
|
|
1053
|
-
[data-v-
|
|
1053
|
+
[data-v-66f48781] .el-cascader-menu {
|
|
1054
1054
|
min-width: 120px !important;
|
|
1055
1055
|
}
|
|
1056
|
-
.totalStyle[data-v-
|
|
1056
|
+
.totalStyle[data-v-66f48781] {
|
|
1057
1057
|
display: flex;
|
|
1058
1058
|
height: 15px;
|
|
1059
1059
|
align-items: center;
|
|
1060
1060
|
justify-content: center;
|
|
1061
1061
|
font-size: 10px;
|
|
1062
1062
|
}
|
|
1063
|
-
[data-v-
|
|
1063
|
+
[data-v-66f48781] .el-input-group__append {
|
|
1064
1064
|
cursor: pointer;
|
|
1065
1065
|
}
|
|
1066
1066
|
.serviceflow-design-content[data-v-0e8afd53] {
|
|
@@ -1192,37 +1192,37 @@
|
|
|
1192
1192
|
position: static;
|
|
1193
1193
|
}
|
|
1194
1194
|
|
|
1195
|
-
.el-select + .el-input[data-v-
|
|
1195
|
+
.el-select + .el-input[data-v-21206c52] {
|
|
1196
1196
|
margin-left: 10px;
|
|
1197
1197
|
}
|
|
1198
|
-
.el-input + .el-input[data-v-
|
|
1198
|
+
.el-input + .el-input[data-v-21206c52] {
|
|
1199
1199
|
margin-left: 10px;
|
|
1200
1200
|
}
|
|
1201
|
-
.el-input + .el-button[data-v-
|
|
1201
|
+
.el-input + .el-button[data-v-21206c52] {
|
|
1202
1202
|
margin-left: 10px;
|
|
1203
1203
|
}
|
|
1204
1204
|
|
|
1205
|
-
[data-v-
|
|
1205
|
+
[data-v-451718f5] .el-radio {
|
|
1206
1206
|
margin: 0;
|
|
1207
1207
|
}
|
|
1208
|
-
.el-radio + .el-radio[data-v-
|
|
1208
|
+
.el-radio + .el-radio[data-v-451718f5] {
|
|
1209
1209
|
margin-left: 10px;
|
|
1210
1210
|
}
|
|
1211
1211
|
|
|
1212
|
-
[data-v-
|
|
1212
|
+
[data-v-c544c25e] .el-radio {
|
|
1213
1213
|
margin: 0;
|
|
1214
1214
|
}
|
|
1215
|
-
.el-radio + .el-radio[data-v-
|
|
1215
|
+
.el-radio + .el-radio[data-v-c544c25e] {
|
|
1216
1216
|
margin-left: 10px;
|
|
1217
1217
|
}
|
|
1218
1218
|
|
|
1219
|
-
.el-select + .el-input[data-v-
|
|
1219
|
+
.el-select + .el-input[data-v-bf07901c] {
|
|
1220
1220
|
margin-left: 10px;
|
|
1221
1221
|
}
|
|
1222
|
-
.el-input + .el-input[data-v-
|
|
1222
|
+
.el-input + .el-input[data-v-bf07901c] {
|
|
1223
1223
|
margin-left: 10px;
|
|
1224
1224
|
}
|
|
1225
|
-
.el-input + .el-button[data-v-
|
|
1225
|
+
.el-input + .el-button[data-v-bf07901c] {
|
|
1226
1226
|
margin-left: 10px;
|
|
1227
1227
|
}
|
|
1228
1228
|
|