service-flow-designer 2.3.20-sit1-flow1 → 2.3.20
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 +5 -5
- package/dist/es/designer/common/components/file-upload.vue2.js +1 -1
- package/dist/es/designer/common/components/json-view/json-view.vue.js +1 -1
- package/dist/es/designer/common/components/sql-view/sql-view.vue2.js +16 -16
- package/dist/es/designer/common/components/value-set-input/option.js +1 -1
- package/dist/es/designer/common/components/value-set-input/value-set-input.vue2.js +3 -3
- package/dist/es/designer/desginer-index.vue.js +1 -1
- package/dist/es/designer/desginer-index.vue2.js +12 -12
- package/dist/es/designer/service-components/base/end-node/index.vue2.js +1 -1
- package/dist/es/designer/service-components/base/start-node/index.vue2.js +1 -1
- package/dist/es/designer/service-components/computation/sort/config.vue2.js +2 -2
- package/dist/es/designer/service-components/database/aggregate-query/config.vue2.js +1 -1
- package/dist/es/designer/service-components/database/aggregate-query/dimension-statistical.vue.js +1 -1
- package/dist/es/designer/service-components/database/aggregate-query/filter-conditions.vue.js +2 -2
- package/dist/es/designer/service-components/database/aggregate-query/sort-conditions.vue.js +1 -1
- package/dist/es/designer/service-components/database/aggregate-query/statistical-formula.vue.js +1 -1
- package/dist/es/designer/service-components/database/dynamic-sql/config.vue2.js +1 -1
- package/dist/es/designer/service-components/database/regular-query/config.vue2.js +1 -1
- package/dist/es/designer/service-components/index.d.ts +2 -1
- package/dist/es/designer/service-components/service/common/cookie-data.vue.js +2 -2
- package/dist/es/designer/service-components/service/common/form-data.vue.js +2 -2
- package/dist/es/designer/service-components/service/common/header-data.vue.js +2 -2
- package/dist/es/designer/service-components/service/common/json-data.vue2.js +2 -2
- package/dist/es/designer/service-components/service/common/param-config.vue2.js +1 -1
- package/dist/es/designer/service-components/service/common/query-params.vue.js +2 -2
- package/dist/es/designer/service-components/service/custom-bean/config.vue2.js +1 -1
- package/dist/es/designer/service-components/service/http-service/config.vue2.js +1 -1
- package/dist/es/designer/service-components/service/http-service/response-json-setting.vue.js +6 -6
- package/dist/es/designer/service-components/service/http-service/response-xml-setting.vue.js +6 -6
- package/dist/es/designer/service-flow-view/flow-util.js +7 -4
- package/dist/es/designer/service-flow-view/service-node-config.vue2.js +1 -1
- package/dist/es/designer/service-flow-view/service-params.vue.js +4 -4
- package/dist/es/designer/service-flow-view/service-result.vue.js +4 -4
- package/dist/es/designer/service-flow-view/service-test/request-params.vue.js +4 -4
- package/dist/es/designer/service-flow-view/service-test/service-test.vue.js +5 -2
- package/dist/es/designer/service-flow-view/service-update-log.vue2.js +1 -1
- package/dist/es/designer/service-flow-view/view-index.vue.js +1 -1
- package/dist/es/designer/service-flow-view/view-index.vue2.js +15 -14
- package/dist/es/designer/service-panel/component-panel.vue.d.ts +3 -15
- package/dist/es/designer/service-panel/component-panel.vue.js +1 -1
- package/dist/es/designer/service-panel/component-panel.vue2.js +10 -16
- package/dist/es/designer/service-panel/service-list.vue2.js +10 -10
- package/dist/es/designer/service-panel/service-panel.vue.d.ts +0 -9
- package/dist/es/designer/service-panel/service-panel.vue.js +1 -1
- package/dist/es/designer/service-panel/service-panel.vue2.js +13 -13
- package/dist/es/style.css +43 -43
- package/dist/es/utils/common-util.js +1 -1
- package/package.json +2 -2
|
@@ -4,7 +4,7 @@ import "element-plus/es/components/drawer/style/css";
|
|
|
4
4
|
import "element-plus/es/components/timeline/style/css";
|
|
5
5
|
import "element-plus/es/components/skeleton/style/css";
|
|
6
6
|
import "element-plus/es/components/skeleton-item/style/css";
|
|
7
|
-
import { defineComponent as t, ref as n, computed as i, onMounted as r, createElementBlock as s, openBlock as u, Fragment as
|
|
7
|
+
import { defineComponent as t, ref as n, computed as i, onMounted as r, createElementBlock as s, openBlock as u, Fragment as c, createElementVNode as v, createVNode as p, withDirectives as d, normalizeStyle as f, vShow as g, withCtx as m, nextTick as w } from "vue";
|
|
8
8
|
import y from "./service-node-config.vue.js";
|
|
9
9
|
import S from "./service-update-log.vue.js";
|
|
10
10
|
import x from "./service-flow-tool.vue.js";
|
|
@@ -20,7 +20,7 @@ import { useServiceFlowStore as j } from "../../stores/page-store.js";
|
|
|
20
20
|
import { ElMessageBox as M, ElMessage as V } from "element-plus";
|
|
21
21
|
const _ = { class: "serviceflow-design-content", ref: "ambServiceFlowContent" }, B = { style: { height: "100%" } }, I = { class: "serviceflow-design-board", ref: "pageDesignBoardMain" }, z = { style: { padding: "200px", "box-sizing": "border-box", height: "100%", "background-color": "#ffffff" } }, G = t({ __name: "view-index", props: { logicFlowInstance: { type: b, default: () => {
|
|
22
22
|
} }, serviceTreeData: { type: Array, default: () => [] }, pageContext: { type: Object, default: () => ({}) } }, emits: ["onBlankClick", "onDeleteNode", "update:logicFlowInstance", "load-tree-data"], setup(t2, { expose: b2, emit: G2 }) {
|
|
23
|
-
const
|
|
23
|
+
const L = j(), R = t2, T = G2, A = n(), E = n(), P = n(), U = n("100%"), H = n(), $ = i(() => ({ height: U.value })), q = n(false), K = n(), Q = n(null), W = n({ code: "", name: "" }), X = n(null);
|
|
24
24
|
r(() => {
|
|
25
25
|
if (H.value) {
|
|
26
26
|
const e2 = H.value.getBoundingClientRect();
|
|
@@ -37,16 +37,17 @@ const _ = { class: "serviceflow-design-content", ref: "ambServiceFlowContent" },
|
|
|
37
37
|
});
|
|
38
38
|
}, le = () => {
|
|
39
39
|
K.value && (K.value.on("connection:not-allowed", (e2) => {
|
|
40
|
+
e2.msg;
|
|
40
41
|
}), K.value.on("blank:click", (e2) => {
|
|
41
|
-
|
|
42
|
+
E.value.onBlankClick();
|
|
42
43
|
}), K.value.on("selection:selected", () => {
|
|
43
44
|
K.value && K.value.extension.selectionSelect.closeSelectionSelect();
|
|
44
45
|
}), K.value.on("node:click", (e2) => {
|
|
45
|
-
X.value && X.value.data.id === e2.data.id || (
|
|
46
|
+
X.value && X.value.data.id === e2.data.id || (E.value.onNodeClick(e2), X.value = e2);
|
|
46
47
|
}), K.value.on("history:change", (e2) => {
|
|
47
48
|
e2.data.undos;
|
|
48
49
|
}), K.value.on("custom:deleteNode", (e2) => {
|
|
49
|
-
X.value &&
|
|
50
|
+
X.value && E.value.onDeleteNode(), T("onDeleteNode");
|
|
50
51
|
}));
|
|
51
52
|
}, oe = (e2) => {
|
|
52
53
|
if (K.value) {
|
|
@@ -54,23 +55,23 @@ const _ = { class: "serviceflow-design-content", ref: "ambServiceFlowContent" },
|
|
|
54
55
|
te() ? M.confirm("服务配置发生变化, 是否需要保存?", "提示", { confirmButtonText: "保存", cancelButtonText: "不保存", closeOnClickModal: false, closeOnPressEscape: false, type: "warning" }).then(() => {
|
|
55
56
|
var _a;
|
|
56
57
|
Q.value = W.value, Q.value.flow = (_a = K.value) == null ? void 0 : _a.getGraphData();
|
|
57
|
-
D(W.value.code,
|
|
58
|
+
D(W.value.code, R.serviceTreeData).name = W.value.name, re({ beforeSave: true });
|
|
58
59
|
}).catch(() => {
|
|
59
60
|
ae(e2);
|
|
60
61
|
}) : ae(e2);
|
|
61
62
|
} else ae(e2);
|
|
62
63
|
}, ae = (e2) => {
|
|
63
|
-
|
|
64
|
-
K.value = k(
|
|
65
|
-
if (
|
|
66
|
-
const e4 =
|
|
64
|
+
E.value.closeDrawer(), W.value = JSON.parse(JSON.stringify(e2)), Q.value = JSON.parse(JSON.stringify(e2)), L.currentService = W.value, Q.value, ((e3) => {
|
|
65
|
+
K.value = k(A.value), w(() => {
|
|
66
|
+
if (A.value) {
|
|
67
|
+
const e4 = A.value.getBoundingClientRect();
|
|
67
68
|
(e4.y || 0 === e4.y) && (U.value = window.innerHeight - e4.y - 60 - 20 + "px");
|
|
68
69
|
}
|
|
69
70
|
}), K.value.extension.menu.setMenuConfig({ nodeMenu: [], graphMenu: [{ text: "服务属性", callback() {
|
|
70
71
|
q.value = true;
|
|
71
72
|
} }] }), le(), O(K.value), e3.flow && e3.flow.nodes && e3.flow.nodes.length > 0 ? K.value.render(e3.flow) : (K.value.render(), J(K.value));
|
|
72
73
|
const { editConfigModel: l2 } = K.value.graphModel;
|
|
73
|
-
l2.updateEditConfig({ stopMoveGraph: false }),
|
|
74
|
+
l2.updateEditConfig({ stopMoveGraph: false }), T("update:logicFlowInstance", K.value);
|
|
74
75
|
})(W.value);
|
|
75
76
|
}, te = () => {
|
|
76
77
|
if (!K.value) return false;
|
|
@@ -83,7 +84,7 @@ const _ = { class: "serviceflow-design-content", ref: "ambServiceFlowContent" },
|
|
|
83
84
|
W.value.runtimeJson = JSON.stringify(C(W.value));
|
|
84
85
|
const l2 = JSON.parse(JSON.stringify(W.value));
|
|
85
86
|
l2.variables = JSON.stringify(l2.variables), l2.log = JSON.stringify(l2.log), l2.flow = JSON.stringify(l2.flow), l2.returnValues = JSON.stringify(l2.returnValues), h.post(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/service-flow", { designLog: e2, appServiceFlow: l2 }).then((e3) => {
|
|
86
|
-
e3 && (V({ message: "保存成功", type: "success" }), K.value = null, e3.variables && (e3.variables = JSON.parse(e3.variables)), e3.log && (e3.log = JSON.parse(e3.log)), e3.flow && (e3.flow = JSON.parse(e3.flow)), e3.returnValues && (e3.returnValues = JSON.parse(e3.returnValues)), oe(e3), P.value.closeDialog(),
|
|
87
|
+
e3 && (V({ message: "保存成功", type: "success" }), K.value = null, e3.variables && (e3.variables = JSON.parse(e3.variables)), e3.log && (e3.log = JSON.parse(e3.log)), e3.flow && (e3.flow = JSON.parse(e3.flow)), e3.returnValues && (e3.returnValues = JSON.parse(e3.returnValues)), oe(e3), P.value.closeDialog(), T("load-tree-data"));
|
|
87
88
|
});
|
|
88
89
|
}
|
|
89
90
|
};
|
|
@@ -93,12 +94,12 @@ const _ = { class: "serviceflow-design-content", ref: "ambServiceFlowContent" },
|
|
|
93
94
|
const se = () => {
|
|
94
95
|
};
|
|
95
96
|
return b2({ onDragNode: (e2) => {
|
|
96
|
-
K.value
|
|
97
|
+
K.value ? K.value.dnd.startDrag({ type: e2.type, properties: { name: e2.label } }) : console.error("LogicFlow实例还没有初始化");
|
|
97
98
|
}, onServiceClick: oe, clearFlowCanvas: () => {
|
|
98
99
|
K.value && (K.value.clearData(), K.value = null, Q.value = null, W.value = { code: "", name: "" }, q.value = false, X.value = {});
|
|
99
100
|
} }), (n2, i2) => {
|
|
100
101
|
const r2 = l, w2 = e, b3 = o, h2 = a;
|
|
101
|
-
return u(), s(
|
|
102
|
+
return u(), s(c, null, [v("div", _, [d(v("div", B, [p(x, { cloneService: W.value, lf: K.value, pageContext: t2.pageContext, onShowJson: se, onShowServiceLog: re, onSaveSevice: ne }, null, 8, ["cloneService", "lf", "pageContext"]), v("div", I, [v("div", { style: f($.value), ref_key: "logicFlowContainer", ref: A, class: "container" }, null, 4)], 512)], 512), [[g, K.value]]), d(v("div", { style: f([{ "padding-top": "10px", "box-sizing": "border-box" }, $.value]), ref_key: "emptyContainer", ref: H }, [v("div", z, [p(w2, { style: { "--el-skeleton-circle-size": "100px" } }, { template: m(() => [p(r2, { variant: "circle" }), p(r2, { variant: "rect", style: { width: "100px", height: "100px", margin: "0 50px" } }), i2[2] || (i2[2] = v("div", { class: "triangle" }, null, -1))]), _: 1 }), p(b3, { style: { "max-width": "600px" } })])], 4), [[g, !K.value]]), p(h2, { modelValue: q.value, "onUpdate:modelValue": i2[0] || (i2[0] = (e2) => q.value = e2), "append-to-body": true, "destroy-on-close": "", "modal-class": "el-overlay", modal: true, title: "服务参数", onClose: Z, "before-close": Y, direction: "rtl", size: "50%" }, { default: m(() => [p(N, { service: W.value }, null, 8, ["service"])]), _: 1 }, 8, ["modelValue"])], 512), p(S, { ref_key: "serviceUpdateLogRef", ref: P, onSave: ie, lf: K.value, cloneService: W.value }, null, 8, ["lf", "cloneService"]), p(y, { logicFlowInstance: t2.logicFlowInstance, currentNode: X.value, "onUpdate:currentNode": i2[1] || (i2[1] = (e2) => X.value = e2), sourceService: Q.value, service: W.value, pageContext: t2.pageContext, ref_key: "serviceNodeConfigRef", ref: E }, null, 8, ["logicFlowInstance", "currentNode", "sourceService", "service", "pageContext"])], 64);
|
|
102
103
|
};
|
|
103
104
|
} });
|
|
104
105
|
export {
|
|
@@ -1,18 +1,6 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<import('vue').
|
|
2
|
-
pageContext: {
|
|
3
|
-
type: ObjectConstructor;
|
|
4
|
-
default: () => {};
|
|
5
|
-
};
|
|
6
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
2
|
"drag-node": (...args: any[]) => void;
|
|
8
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
9
|
-
pageContext: {
|
|
10
|
-
type: ObjectConstructor;
|
|
11
|
-
default: () => {};
|
|
12
|
-
};
|
|
13
|
-
}>> & Readonly<{
|
|
3
|
+
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
14
4
|
"onDrag-node"?: (...args: any[]) => any;
|
|
15
|
-
}>, {
|
|
16
|
-
pageContext: Record<string, any>;
|
|
17
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
5
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
18
6
|
export default _default;
|
|
@@ -1,26 +1,20 @@
|
|
|
1
|
-
import { ElCollapse as e, ElCollapseItem as
|
|
1
|
+
import { ElCollapse as e, ElCollapseItem as l, ElRow as s, ElCol as t } from "element-plus/es";
|
|
2
2
|
import "element-plus/es/components/base/style/css";
|
|
3
3
|
import "element-plus/es/components/collapse/style/css";
|
|
4
4
|
import "element-plus/es/components/collapse-item/style/css";
|
|
5
5
|
import "element-plus/es/components/row/style/css";
|
|
6
6
|
import "element-plus/es/components/col/style/css";
|
|
7
|
-
import { defineComponent as n, ref as o, createBlock as
|
|
8
|
-
import { serviceComponentGroups as
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
const w = h2, V = n2, j = o([]), C = ["dynamicSql"];
|
|
12
|
-
((_a = V.pageContext) == null ? void 0 : _a.ucrDesign) ? j.value = y.map((e2) => {
|
|
13
|
-
const t2 = e2.items.filter((e3) => !C.includes(e3.type));
|
|
14
|
-
return { ...e2, items: t2 };
|
|
15
|
-
}) : j.value = y;
|
|
16
|
-
const M = o(y[0].name);
|
|
7
|
+
import { defineComponent as n, ref as o, createBlock as m, openBlock as p, withCtx as a, createElementBlock as i, Fragment as u, renderList as r, unref as c, createElementVNode as d, createVNode as f, toDisplayString as y, createTextVNode as g } from "vue";
|
|
8
|
+
import { serviceComponentGroups as v } from "../service-components/index.js";
|
|
9
|
+
const x = ["src"], _ = { style: { padding: "8px 0px 0px 0px" } }, b = ["title", "onMousedown"], h = ["src"], w = n({ __name: "component-panel", emits: ["drag-node"], setup(n2, { emit: w2 }) {
|
|
10
|
+
const V = w2, M = o(v[0].name);
|
|
17
11
|
return (n3, o2) => {
|
|
18
|
-
const
|
|
19
|
-
return
|
|
20
|
-
|
|
21
|
-
}(e3) }, [
|
|
12
|
+
const w3 = t, j = s, k = l, U = e;
|
|
13
|
+
return p(), m(U, { modelValue: M.value, "onUpdate:modelValue": o2[0] || (o2[0] = (e2) => M.value = e2), style: { "margin-top": "6px" } }, { default: a(() => [(p(true), i(u, null, r(c(v), (e2, l2) => (p(), m(k, { key: l2, name: e2.name, class: "serviceflow-attr-group-header" }, { title: a(() => [d("img", { src: e2.icon, style: { height: "18px" } }, null, 8, x), o2[1] || (o2[1] = g(" ", -1)), d("b", null, y(e2.label), 1)]), default: a(() => [d("div", _, [f(j, { gutter: 14 }, { default: a(() => [(p(true), i(u, null, r(e2.items, (e3, l3) => (p(), m(w3, { span: 8 }, { default: a(() => [d("div", { class: "serviceflow-item", title: e3.label, onMousedown: (l4) => function(e4) {
|
|
14
|
+
e4.type, V("drag-node", e4);
|
|
15
|
+
}(e3) }, [d("div", null, [d("img", { src: e3.icon, style: { height: "16px" } }, null, 8, h)]), d("span", null, y(e3.label), 1)], 40, b)]), _: 2 }, 1024))), 256))]), _: 2 }, 1024)])]), _: 2 }, 1032, ["name"]))), 128))]), _: 1 }, 8, ["modelValue"]);
|
|
22
16
|
};
|
|
23
17
|
} });
|
|
24
18
|
export {
|
|
25
|
-
|
|
19
|
+
w as default
|
|
26
20
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElRow as e, ElCol as l, ElInput as a, ElIcon as t, ElTooltip as o, ElButton as n, ElTree as
|
|
1
|
+
import { ElRow as e, ElCol as l, ElInput as a, ElIcon as t, ElTooltip as o, ElButton as n, ElTree as u, ElDialog as s, ElFormItem as i } 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
4
|
import "element-plus/es/components/form-item/style/css";
|
|
@@ -31,15 +31,15 @@ const I = { class: "custom-tree-node" }, P = { style: { "margin-left": "5px", "l
|
|
|
31
31
|
K.value = G.value.type, Q.value = JSON.parse(JSON.stringify(G.value)), Q.value.children && delete Q.value.children, H.value = true;
|
|
32
32
|
}, oe = (e2) => {
|
|
33
33
|
Q.value = { code: N(), name: "", customCode: "", type: K.value }, G.value.id && "leaf" === e2 && (Q.value.parentCode = G.value.code), H.value = true;
|
|
34
|
-
}, ne = r([]),
|
|
34
|
+
}, ne = r([]), ue = (e2, l2, a2) => {
|
|
35
35
|
l2 ? (ne.value.push(e2.id), e2.children && e2.children.length > 0 && e2.children.forEach((e3) => {
|
|
36
36
|
-1 == ne.value.indexOf(e3.id) && ne.value.push(e3.id);
|
|
37
37
|
})) : (ne.value.splice(ne.value.indexOf(e2.id), 1), e2.children && e2.children.length > 0 && e2.children.forEach((e3) => {
|
|
38
38
|
let l3 = ne.value.indexOf(e3.id);
|
|
39
39
|
l3 > -1 && ne.value.splice(l3, 1);
|
|
40
40
|
}));
|
|
41
|
-
},
|
|
42
|
-
ne.value.length > 0 ? U({ url: window.$vueApp.config.globalProperties.baseAPI + `/component/super-page-design/service-flow/export/${
|
|
41
|
+
}, se = J.pageContext.systemCode, ie = J.pageContext.systemVersion, de = () => {
|
|
42
|
+
ne.value.length > 0 ? U({ url: window.$vueApp.config.globalProperties.baseAPI + `/component/super-page-design/service-flow/export/${se}/${ie}`, method: "post", data: ne.value, responseType: "blob" }).then((e2) => {
|
|
43
43
|
let l2 = new Blob([e2], { type: "application/zip" }), a2 = document.createElement("a");
|
|
44
44
|
a2.href = window.URL.createObjectURL(l2), a2.download = "服务编排.zip", a2.click(), window.URL.revokeObjectURL(a2.href);
|
|
45
45
|
}) : A.warning("请选择服务或菜单");
|
|
@@ -50,17 +50,17 @@ const I = { class: "custom-tree-node" }, P = { style: { "margin-left": "5px", "l
|
|
|
50
50
|
if (e2) {
|
|
51
51
|
re.value.value = null;
|
|
52
52
|
const l2 = new FormData();
|
|
53
|
-
l2.append("multipartFile", e2), U({ url: window.$vueApp.config.globalProperties.baseAPI + `/component/super-page-design/service-flow/import/${
|
|
53
|
+
l2.append("multipartFile", e2), U({ url: window.$vueApp.config.globalProperties.baseAPI + `/component/super-page-design/service-flow/import/${se}/${ie}`, method: "post", headers: { "Content-Type": "multipart/form-data" }, data: l2 }).then(() => {
|
|
54
54
|
A.success("导入成功"), M("load-tree-data");
|
|
55
55
|
}).catch((e3) => {
|
|
56
56
|
});
|
|
57
57
|
} else A.warning("未选择文件");
|
|
58
58
|
}, me = () => {
|
|
59
|
-
Q.value.name ? "MENU" === Q.value.type || Q.value.customCode ? (Q.value.systemCode || (Q.value.systemCode = J.pageContext.systemCode), Q.value.publishVersion || (Q.value.publishVersion = J.pageContext.systemVersion), U.post(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/service-flow", { designLog: null, appServiceFlow: Q.value }).then((e2) => {
|
|
59
|
+
Q.value.name ? "MENU" === Q.value.type || Q.value.customCode ? (Q.value, Q.value.systemCode || (Q.value.systemCode = J.pageContext.systemCode), Q.value.publishVersion || (Q.value.publishVersion = J.pageContext.systemVersion), U.post(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/service-flow", { designLog: null, appServiceFlow: Q.value }).then((e2) => {
|
|
60
60
|
e2 && (Q.value.id ? (M("load-tree-data"), Object.assign(G.value, e2)) : Q.value.parentCode ? (G.value.children || (G.value.children = []), G.value.children.push(e2)) : L.serviceTreeData.push(e2), G.value = {}, A.success("保存成功"), H.value = false, Q.value = {});
|
|
61
61
|
})) : A.warning("自定义编码不能为空") : A.warning("名称不能为空");
|
|
62
62
|
}, ve = () => {
|
|
63
|
-
G.value.children && G.value.children.length > 0 ? A.warning("该节点下存在子节点,不能删除!") : T.confirm("确定要删除吗?", "确认", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then(({ value: e2 }) => {
|
|
63
|
+
G.value, G.value.children && G.value.children.length > 0 ? A.warning("该节点下存在子节点,不能删除!") : T.confirm("确定要删除吗?", "确认", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then(({ value: e2 }) => {
|
|
64
64
|
fe();
|
|
65
65
|
});
|
|
66
66
|
}, fe = () => {
|
|
@@ -79,7 +79,7 @@ const I = { class: "custom-tree-node" }, P = { style: { "margin-left": "5px", "l
|
|
|
79
79
|
e3.variables && (e3.variables = JSON.parse(e3.variables)), e3.log && (e3.log = JSON.parse(e3.log)), e3.flow && (e3.flow = JSON.parse(e3.flow)), e3.returnValues && (e3.returnValues = JSON.parse(e3.returnValues)), W.value = e3, M("service-click", e3);
|
|
80
80
|
});
|
|
81
81
|
}, ge = () => {
|
|
82
|
-
K.value = G.value.type;
|
|
82
|
+
G.value, K.value = G.value.type;
|
|
83
83
|
const e2 = JSON.parse(JSON.stringify(G.value));
|
|
84
84
|
Y.value = { sourceServiceCode: e2.code, publishVersion: e2.publishVersion, code: N() }, X.value = true;
|
|
85
85
|
}, he = () => {
|
|
@@ -91,8 +91,8 @@ const I = { class: "custom-tree-node" }, P = { style: { "margin-left": "5px", "l
|
|
|
91
91
|
}) : A.warning("自定义编码不能为空") : A.warning("名称不能为空");
|
|
92
92
|
};
|
|
93
93
|
return (r2, N2) => {
|
|
94
|
-
const U2 = t, O2 = a, S2 = l, A2 = e, T2 = n, $3 = o, J2 =
|
|
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:
|
|
94
|
+
const U2 = t, O2 = a, S2 = l, A2 = e, T2 = n, $3 = o, J2 = u, M2 = i, L2 = s;
|
|
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 })]), _: 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 })]), _: 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: ue }, { 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)])]), _: 1 }), m(T2, { size: "mini", type: "primary", onClick: me }, { default: f(() => [...N2[14] || (N2[14] = [h(" 确定 ", -1)])]), _: 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)])]), _: 1 }), m(T2, { size: "mini", type: "primary", onClick: he }, { default: f(() => [...N2[16] || (N2[16] = [h(" 确定 ", -1)])]), _: 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 {
|
|
@@ -9,10 +9,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
9
9
|
type: ArrayConstructor;
|
|
10
10
|
default: () => any[];
|
|
11
11
|
};
|
|
12
|
-
pageContext: {
|
|
13
|
-
type: ObjectConstructor;
|
|
14
|
-
default: () => {};
|
|
15
|
-
};
|
|
16
12
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
13
|
"service-click": (...args: any[]) => void;
|
|
18
14
|
"clear-flow-canvas": (...args: any[]) => void;
|
|
@@ -27,17 +23,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
27
23
|
type: ArrayConstructor;
|
|
28
24
|
default: () => any[];
|
|
29
25
|
};
|
|
30
|
-
pageContext: {
|
|
31
|
-
type: ObjectConstructor;
|
|
32
|
-
default: () => {};
|
|
33
|
-
};
|
|
34
26
|
}>> & Readonly<{
|
|
35
27
|
"onService-click"?: (...args: any[]) => any;
|
|
36
28
|
"onClear-flow-canvas"?: (...args: any[]) => any;
|
|
37
29
|
"onLoad-tree-data"?: (...args: any[]) => any;
|
|
38
30
|
"onDrag-node"?: (...args: any[]) => any;
|
|
39
31
|
}>, {
|
|
40
|
-
pageContext: Record<string, any>;
|
|
41
32
|
serviceTreeData: unknown[];
|
|
42
33
|
logicFlowInstance: LogicFlow;
|
|
43
34
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { defineComponent as e, ref as a, computed as s, createElementBlock as l, openBlock as
|
|
1
|
+
import { defineComponent as e, ref as a, computed as s, createElementBlock as l, openBlock as o, normalizeStyle as t, createElementVNode as r, normalizeClass as c, createBlock as i } from "vue";
|
|
2
2
|
import n from "@logicflow/core";
|
|
3
3
|
import v from "./service-list.vue.js";
|
|
4
4
|
import m from "./component-panel.vue.js";
|
|
5
5
|
import "../service-components/index.js";
|
|
6
|
-
const d = { class: "amb-assembly-header" }, p = { class: "amb-assembly-header-type" }, u = { class: "amb-design-assembly-list" },
|
|
7
|
-
} }, serviceTreeData: { type: Array, default: () => [] }
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
},
|
|
11
|
-
|
|
12
|
-
},
|
|
13
|
-
|
|
14
|
-
},
|
|
15
|
-
|
|
6
|
+
const d = { class: "amb-assembly-header" }, p = { class: "amb-assembly-header-type" }, u = { class: "amb-design-assembly-list" }, y = e({ __name: "service-panel", props: { logicFlowInstance: { type: n, default: () => {
|
|
7
|
+
} }, serviceTreeData: { type: Array, default: () => [] } }, emits: ["drag-node", "service-click", "clear-flow-canvas", "load-tree-data"], setup(e2, { emit: n2 }) {
|
|
8
|
+
const y2 = n2, b = a("serviceFlowList"), f = a(), g = s(() => ({ height: f.value + "px" })), w = (e3) => {
|
|
9
|
+
e3.type, y2("drag-node", e3);
|
|
10
|
+
}, k = (e3) => {
|
|
11
|
+
y2("service-click", e3);
|
|
12
|
+
}, D = () => {
|
|
13
|
+
y2("clear-flow-canvas");
|
|
14
|
+
}, C = () => {
|
|
15
|
+
y2("load-tree-data");
|
|
16
16
|
};
|
|
17
|
-
return (a2, s2) => (
|
|
17
|
+
return (a2, s2) => (o(), l("div", { class: "amb-design-assembly-content", ref: "ambDesignAssemblyContent", style: t(g.value) }, [r("div", d, [r("div", p, [r("label", { class: c({ selected: "serviceFlowList" === b.value }), onClick: s2[0] || (s2[0] = (e3) => b.value = "serviceFlowList") }, " 服务列表 ", 2), r("label", { class: c({ selected: "component" === b.value }), onClick: s2[1] || (s2[1] = (e3) => b.value = "component") }, " 组件库 ", 2)])]), r("div", u, ["serviceFlowList" === b.value ? (o(), i(v, { key: 0, serviceTreeData: e2.serviceTreeData, onLoadTreeData: C, onServiceClick: k, onClearFlowCanvas: D }, null, 8, ["serviceTreeData"])) : (o(), i(m, { key: 1, onDragNode: w }))])], 4));
|
|
18
18
|
} });
|
|
19
19
|
export {
|
|
20
|
-
|
|
20
|
+
y as default
|
|
21
21
|
};
|
package/dist/es/style.css
CHANGED
|
@@ -789,7 +789,7 @@
|
|
|
789
789
|
width: 80px;
|
|
790
790
|
}
|
|
791
791
|
|
|
792
|
-
.serviceflow-attr-base-content[data-v-
|
|
792
|
+
.serviceflow-attr-base-content[data-v-95de097d] {
|
|
793
793
|
background: #ffffff;
|
|
794
794
|
box-shadow: 1px 0px 10px 0px rgba(0, 0, 0, 0.05);
|
|
795
795
|
height: 100%;
|
|
@@ -797,16 +797,16 @@
|
|
|
797
797
|
padding-right: 10px;
|
|
798
798
|
overflow: auto;
|
|
799
799
|
}
|
|
800
|
-
.serviceflow-attr-item[data-v-
|
|
800
|
+
.serviceflow-attr-item[data-v-95de097d] {
|
|
801
801
|
margin-bottom: 8px;
|
|
802
802
|
}
|
|
803
|
-
.serviceflow-attr-group-header > button[data-v-
|
|
803
|
+
.serviceflow-attr-group-header > button[data-v-95de097d] {
|
|
804
804
|
background: #f5f6f8;
|
|
805
805
|
padding-left: 10px;
|
|
806
806
|
font-size: 14px;
|
|
807
807
|
height: 42px;
|
|
808
808
|
}
|
|
809
|
-
.serviceflow-attr-content[data-v-
|
|
809
|
+
.serviceflow-attr-content[data-v-95de097d] {
|
|
810
810
|
background: #ffffff;
|
|
811
811
|
box-shadow: 1px 0px 10px 0px rgba(0, 0, 0, 0.05);
|
|
812
812
|
height: 100%;
|
|
@@ -815,20 +815,20 @@
|
|
|
815
815
|
overflow: auto;
|
|
816
816
|
position: relative;
|
|
817
817
|
}
|
|
818
|
-
.serviceflow-attr-header-search[data-v-
|
|
818
|
+
.serviceflow-attr-header-search[data-v-95de097d] {
|
|
819
819
|
margin-top: 16px;
|
|
820
820
|
}
|
|
821
|
-
.serviceflow-attr-header-select[data-v-
|
|
821
|
+
.serviceflow-attr-header-select[data-v-95de097d] {
|
|
822
822
|
width: 90px;
|
|
823
823
|
height: 36px;
|
|
824
824
|
}
|
|
825
|
-
.serviceflow-page-param-row[data-v-
|
|
825
|
+
.serviceflow-page-param-row[data-v-95de097d] {
|
|
826
826
|
height: 34px;
|
|
827
827
|
}
|
|
828
|
-
.el-table__cell > .cell[data-v-
|
|
828
|
+
.el-table__cell > .cell[data-v-95de097d] {
|
|
829
829
|
white-space: nowrap !important;
|
|
830
830
|
}
|
|
831
|
-
.serviceflow-item[data-v-
|
|
831
|
+
.serviceflow-item[data-v-95de097d] {
|
|
832
832
|
background: rgba(88, 147, 239, 0.06);
|
|
833
833
|
border: 1px dashed rgba(88, 147, 239, 0.06);
|
|
834
834
|
border-radius: 4px 4px 4px 4px;
|
|
@@ -848,14 +848,14 @@
|
|
|
848
848
|
-ms-user-select: none; /* Internet Explorer/Edge */
|
|
849
849
|
user-select: none; /* 标准语法 */
|
|
850
850
|
}
|
|
851
|
-
.serviceflow-item[data-v-
|
|
851
|
+
.serviceflow-item[data-v-95de097d]:hover {
|
|
852
852
|
background: rgba(11, 45, 101, 0.105);
|
|
853
853
|
border: 1px dashed rgba(11, 45, 101, 0.227);
|
|
854
854
|
}
|
|
855
|
-
.amb-assembly-item-drag[data-v-
|
|
855
|
+
.amb-assembly-item-drag[data-v-95de097d] {
|
|
856
856
|
opacity: 1 !important;
|
|
857
857
|
}
|
|
858
|
-
.amb-design-assembly-content[data-v-
|
|
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);
|
|
861
861
|
height: 100%;
|
|
@@ -864,10 +864,10 @@
|
|
|
864
864
|
overflow: auto;
|
|
865
865
|
}
|
|
866
866
|
/*控制滚动条宽度*/
|
|
867
|
-
.amb-design-assembly-content[data-v-
|
|
867
|
+
.amb-design-assembly-content[data-v-59e0837d]::-webkit-scrollbar {
|
|
868
868
|
width: 1px;
|
|
869
869
|
}
|
|
870
|
-
.amb-assembly-header[data-v-
|
|
870
|
+
.amb-assembly-header[data-v-59e0837d] {
|
|
871
871
|
position: absolute;
|
|
872
872
|
width: 220px;
|
|
873
873
|
text-align: center;
|
|
@@ -875,24 +875,24 @@
|
|
|
875
875
|
padding-bottom: 14px;
|
|
876
876
|
background-color: #ffffff;
|
|
877
877
|
}
|
|
878
|
-
.amb-assembly-header-type[data-v-
|
|
878
|
+
.amb-assembly-header-type[data-v-59e0837d] {
|
|
879
879
|
border-radius: 100px 100px 100px 100px;
|
|
880
880
|
background: #ffffff;
|
|
881
881
|
box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
|
|
882
882
|
padding: 10px;
|
|
883
883
|
padding-bottom: 12px;
|
|
884
884
|
}
|
|
885
|
-
.amb-assembly-header-type > label[data-v-
|
|
885
|
+
.amb-assembly-header-type > label[data-v-59e0837d] {
|
|
886
886
|
padding: 4px 14px;
|
|
887
887
|
cursor: pointer;
|
|
888
888
|
font-size: 14px;
|
|
889
889
|
}
|
|
890
|
-
.amb-assembly-header-type > label.selected[data-v-
|
|
890
|
+
.amb-assembly-header-type > label.selected[data-v-59e0837d] {
|
|
891
891
|
border-radius: 100px 100px 100px 100px;
|
|
892
892
|
background: #5893ef;
|
|
893
893
|
color: #ffffff;
|
|
894
894
|
}
|
|
895
|
-
.amb-design-assembly-list[data-v-
|
|
895
|
+
.amb-design-assembly-list[data-v-59e0837d] {
|
|
896
896
|
padding-top: 80px;
|
|
897
897
|
}
|
|
898
898
|
|
|
@@ -1075,7 +1075,7 @@
|
|
|
1075
1075
|
.totalStyle[data-v-5a96f1f6] {
|
|
1076
1076
|
margin-top: 8px;
|
|
1077
1077
|
}
|
|
1078
|
-
.serviceflow-design-content[data-v-
|
|
1078
|
+
.serviceflow-design-content[data-v-0e8afd53] {
|
|
1079
1079
|
overflow: auto;
|
|
1080
1080
|
display: block;
|
|
1081
1081
|
flex: none;
|
|
@@ -1083,10 +1083,10 @@
|
|
|
1083
1083
|
width: 100%;
|
|
1084
1084
|
height: 100%;
|
|
1085
1085
|
}
|
|
1086
|
-
.serviceflow-design-content[data-v-
|
|
1086
|
+
.serviceflow-design-content[data-v-0e8afd53]::-webkit-scrollbar {
|
|
1087
1087
|
width: 1px;
|
|
1088
1088
|
}
|
|
1089
|
-
.serviceflow-design-tool[data-v-
|
|
1089
|
+
.serviceflow-design-tool[data-v-0e8afd53] {
|
|
1090
1090
|
position: -webkit-sticky; /**Safari */
|
|
1091
1091
|
position: sticky;
|
|
1092
1092
|
width: 100%;
|
|
@@ -1100,7 +1100,7 @@
|
|
|
1100
1100
|
z-index: 0;
|
|
1101
1101
|
box-sizing: content-box;
|
|
1102
1102
|
}
|
|
1103
|
-
.serviceflow-page-type[data-v-
|
|
1103
|
+
.serviceflow-page-type[data-v-0e8afd53] {
|
|
1104
1104
|
padding-top: 11px;
|
|
1105
1105
|
padding-left: 6px;
|
|
1106
1106
|
padding-right: 6px;
|
|
@@ -1108,14 +1108,14 @@
|
|
|
1108
1108
|
border-radius: 4px 4px 4px 4px;
|
|
1109
1109
|
cursor: pointer;
|
|
1110
1110
|
}
|
|
1111
|
-
.serviceflow-page-type[data-v-
|
|
1111
|
+
.serviceflow-page-type[data-v-0e8afd53]:hover {
|
|
1112
1112
|
background: rgba(11, 45, 101, 0.105);
|
|
1113
1113
|
}
|
|
1114
|
-
.serviceflow-page-type.selected[data-v-
|
|
1114
|
+
.serviceflow-page-type.selected[data-v-0e8afd53] {
|
|
1115
1115
|
background: #5893ef;
|
|
1116
1116
|
color: #ffffff;
|
|
1117
1117
|
}
|
|
1118
|
-
.serviceflow-page-type > label[data-v-
|
|
1118
|
+
.serviceflow-page-type > label[data-v-0e8afd53] {
|
|
1119
1119
|
font-size: 14px;
|
|
1120
1120
|
padding-left: 6px;
|
|
1121
1121
|
padding-right: 6px;
|
|
@@ -1124,11 +1124,11 @@
|
|
|
1124
1124
|
position: relative;
|
|
1125
1125
|
cursor: pointer;
|
|
1126
1126
|
}
|
|
1127
|
-
.serviceflow-design-tool-split[data-v-
|
|
1127
|
+
.serviceflow-design-tool-split[data-v-0e8afd53] {
|
|
1128
1128
|
height: 25px;
|
|
1129
1129
|
margin-top: -12px;
|
|
1130
1130
|
}
|
|
1131
|
-
.serviceflow-design-board[data-v-
|
|
1131
|
+
.serviceflow-design-board[data-v-0e8afd53] {
|
|
1132
1132
|
margin: 0 auto;
|
|
1133
1133
|
margin-top: 28px;
|
|
1134
1134
|
overflow-y: auto;
|
|
@@ -1138,25 +1138,25 @@
|
|
|
1138
1138
|
box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.08);
|
|
1139
1139
|
padding-bottom: 20px;
|
|
1140
1140
|
}
|
|
1141
|
-
.container[data-v-
|
|
1141
|
+
.container[data-v-0e8afd53] {
|
|
1142
1142
|
height: 100%;
|
|
1143
1143
|
width: 100%;
|
|
1144
1144
|
}
|
|
1145
|
-
.amb-item-ghost[data-v-
|
|
1145
|
+
.amb-item-ghost[data-v-0e8afd53] {
|
|
1146
1146
|
background-color: rgba(64, 158, 255, .1);
|
|
1147
1147
|
overflow: hidden;
|
|
1148
1148
|
}
|
|
1149
|
-
.amb-item-ghost[data-v-
|
|
1149
|
+
.amb-item-ghost[data-v-0e8afd53] > * {
|
|
1150
1150
|
opacity: 0;
|
|
1151
1151
|
}
|
|
1152
1152
|
/* 将你的自定义样式添加到这里 */
|
|
1153
|
-
.draggable-placeholder[data-v-
|
|
1153
|
+
.draggable-placeholder[data-v-0e8afd53] {
|
|
1154
1154
|
background-color: red;
|
|
1155
1155
|
border: 1px dashed #ddd;
|
|
1156
1156
|
margin: 5px;
|
|
1157
1157
|
padding: 10px;
|
|
1158
1158
|
}
|
|
1159
|
-
#LF-view[data-v-
|
|
1159
|
+
#LF-view[data-v-0e8afd53] {
|
|
1160
1160
|
width: calc(100% - 100px);
|
|
1161
1161
|
height: 80%;
|
|
1162
1162
|
outline: none;
|
|
@@ -1168,10 +1168,10 @@
|
|
|
1168
1168
|
/**
|
|
1169
1169
|
解决右侧弹出属性配置遮罩层打开后页面其他地方无法点击问题
|
|
1170
1170
|
*/
|
|
1171
|
-
[data-v-
|
|
1171
|
+
[data-v-0e8afd53] .el-overlay {
|
|
1172
1172
|
position: static !important;
|
|
1173
1173
|
}
|
|
1174
|
-
.triangle[data-v-
|
|
1174
|
+
.triangle[data-v-0e8afd53] {
|
|
1175
1175
|
display: inline-block;
|
|
1176
1176
|
width: 0;
|
|
1177
1177
|
height: 0;
|
|
@@ -1179,38 +1179,38 @@
|
|
|
1179
1179
|
border-width: 0 50px 100px 50px;
|
|
1180
1180
|
border-color: transparent transparent var(--el-skeleton-color) transparent;
|
|
1181
1181
|
}
|
|
1182
|
-
.serviceflow-container-left[data-v-
|
|
1182
|
+
.serviceflow-container-left[data-v-4df7b9e3] {
|
|
1183
1183
|
width: 260px;
|
|
1184
1184
|
padding-right: 20px;
|
|
1185
1185
|
overflow-y: auto;
|
|
1186
1186
|
}
|
|
1187
|
-
.serviceflow-container-main[data-v-
|
|
1187
|
+
.serviceflow-container-main[data-v-4df7b9e3] {
|
|
1188
1188
|
padding: 0 10px 0 0;
|
|
1189
1189
|
}
|
|
1190
|
-
.serviceflow-container-main[data-v-
|
|
1190
|
+
.serviceflow-container-main[data-v-4df7b9e3]::-webkit-scrollbar {
|
|
1191
1191
|
width: 1px;
|
|
1192
1192
|
}
|
|
1193
|
-
.serviceflow-container-attr[data-v-
|
|
1193
|
+
.serviceflow-container-attr[data-v-4df7b9e3] {
|
|
1194
1194
|
width: 300px;
|
|
1195
1195
|
padding-left: 20px;
|
|
1196
1196
|
}
|
|
1197
1197
|
/**
|
|
1198
1198
|
解决右侧弹出属性配置遮罩层打开后页面其他地方无法点击问题
|
|
1199
1199
|
*/
|
|
1200
|
-
[data-v-
|
|
1200
|
+
[data-v-4df7b9e3]:v-deep(.el-drawer__header) {
|
|
1201
1201
|
margin-bottom: 0 !important;
|
|
1202
1202
|
}
|
|
1203
|
-
[data-v-
|
|
1203
|
+
[data-v-4df7b9e3] .el-overlay {
|
|
1204
1204
|
position: static;
|
|
1205
1205
|
}
|
|
1206
1206
|
|
|
1207
|
-
.el-select + .el-input[data-v-
|
|
1207
|
+
.el-select + .el-input[data-v-f557a3ca] {
|
|
1208
1208
|
margin-left: 10px;
|
|
1209
1209
|
}
|
|
1210
|
-
.el-input + .el-input[data-v-
|
|
1210
|
+
.el-input + .el-input[data-v-f557a3ca] {
|
|
1211
1211
|
margin-left: 10px;
|
|
1212
1212
|
}
|
|
1213
|
-
.el-input + .el-button[data-v-
|
|
1213
|
+
.el-input + .el-button[data-v-f557a3ca] {
|
|
1214
1214
|
margin-left: 10px;
|
|
1215
1215
|
}
|
|
1216
1216
|
|
|
@@ -58,7 +58,7 @@ function u(e2, t2, i2) {
|
|
|
58
58
|
const o2 = l2.currentService.returnValues;
|
|
59
59
|
let m2 = f(o2, e2);
|
|
60
60
|
if (!m2) {
|
|
61
|
-
if (m2 = p(), m2.value = e2, m2.type = t2
|
|
61
|
+
if (m2 = p(), m2.value = e2, m2.type = t2, e2) {
|
|
62
62
|
const t3 = e2.replace("}", "").split(".");
|
|
63
63
|
m2.name = t3[t3.length - 1];
|
|
64
64
|
}
|