service-flow-designer 2.1.59 → 2.2.1
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/_virtual/_plugin-vue_export-helper.js +6 -7
- package/dist/es/assets/icon/aggregateQuery.svg.js +2 -2
- package/dist/es/assets/icon/base.png.js +2 -2
- package/dist/es/assets/icon/clean.svg.js +2 -2
- package/dist/es/assets/icon/condition.png.js +2 -2
- package/dist/es/assets/icon/connect.svg.js +2 -2
- package/dist/es/assets/icon/dynamicSql.svg.js +2 -2
- package/dist/es/assets/icon/end.png.js +2 -2
- package/dist/es/assets/icon/end.svg.js +2 -2
- package/dist/es/assets/icon/function.png.js +2 -2
- package/dist/es/assets/icon/http-service.svg.js +2 -2
- package/dist/es/assets/icon/loop.svg.js +2 -2
- package/dist/es/assets/icon/notification.svg.js +2 -2
- package/dist/es/assets/icon/regularQuery.svg.js +2 -2
- package/dist/es/assets/icon/sort.svg.js +2 -2
- package/dist/es/assets/icon/split-joint.svg.js +2 -2
- package/dist/es/assets/icon/start.png.js +2 -2
- package/dist/es/assets/icon/statistics.svg.js +2 -2
- package/dist/es/assets/icon/vardef-v.png.js +2 -2
- package/dist/es/designer/common/components/database-select.vue.js +4 -4
- package/dist/es/designer/common/components/database-select.vue2.js +29 -205
- package/dist/es/designer/common/components/datatable-select.vue.js +4 -4
- package/dist/es/designer/common/components/datatable-select.vue2.js +52 -299
- package/dist/es/designer/common/components/file-upload.vue.js +4 -4
- package/dist/es/designer/common/components/file-upload.vue2.js +27 -98
- package/dist/es/designer/common/components/json-view/json-view-dialog.vue.js +18 -60
- package/dist/es/designer/common/components/json-view/json-view-dialog.vue2.js +2 -2
- package/dist/es/designer/common/components/json-view/json-view.vue.js +51 -137
- package/dist/es/designer/common/components/json-view/json-view.vue2.js +2 -2
- package/dist/es/designer/common/components/node-base-config.vue.js +7 -63
- package/dist/es/designer/common/components/node-base-config.vue2.js +2 -2
- package/dist/es/designer/common/components/sql-view/sql-view-dialog.vue.js +17 -62
- package/dist/es/designer/common/components/sql-view/sql-view-dialog.vue2.js +2 -2
- package/dist/es/designer/common/components/sql-view/sql-view.vue.js +2 -2
- package/dist/es/designer/common/components/sql-view/sql-view.vue2.js +30 -100
- package/dist/es/designer/common/components/value-set-input/index.js +2 -2
- package/dist/es/designer/common/components/value-set-input/option.js +6 -59
- package/dist/es/designer/common/components/value-set-input/value-set-input.vue.js +4 -4
- package/dist/es/designer/common/components/value-set-input/value-set-input.vue2.js +122 -557
- package/dist/es/designer/common/util/node-util.js +32 -42
- package/dist/es/designer/desginer-index.vue.js +4 -4
- package/dist/es/designer/desginer-index.vue2.js +31 -106
- package/dist/es/designer/flow/base/AbLogicNode.js +9 -10
- package/dist/es/designer/flow/base/AbLogicNodeModel.js +21 -49
- package/dist/es/designer/flow/base/AbLogicResizeNode.js +9 -10
- package/dist/es/designer/flow/base/AbLogicResizeNodeModel.js +10 -26
- package/dist/es/designer/flow/edge/CustomLine.js +15 -42
- package/dist/es/designer/service-components/base/custom-function/config.vue.js +4 -4
- package/dist/es/designer/service-components/base/custom-function/config.vue2.js +55 -302
- package/dist/es/designer/service-components/base/custom-function/index.js +12 -34
- package/dist/es/designer/service-components/base/custom-function/index.vue.js +4 -4
- package/dist/es/designer/service-components/base/custom-function/index.vue2.js +8 -40
- package/dist/es/designer/service-components/base/end-node/index.js +25 -64
- package/dist/es/designer/service-components/base/end-node/index.vue.js +4 -4
- package/dist/es/designer/service-components/base/end-node/index.vue2.js +4 -29
- package/dist/es/designer/service-components/base/judge-condition/config.vue.js +2 -2
- package/dist/es/designer/service-components/base/judge-condition/config.vue2.js +61 -570
- package/dist/es/designer/service-components/base/judge-condition/index.js +13 -35
- package/dist/es/designer/service-components/base/judge-condition/index.vue.js +4 -4
- package/dist/es/designer/service-components/base/judge-condition/index.vue2.js +12 -63
- package/dist/es/designer/service-components/base/loop-node/config.vue.js +4 -4
- package/dist/es/designer/service-components/base/loop-node/config.vue2.js +9 -73
- package/dist/es/designer/service-components/base/loop-node/index.js +37 -145
- package/dist/es/designer/service-components/base/notification/config.vue.js +2 -2
- package/dist/es/designer/service-components/base/notification/config.vue2.js +35 -320
- package/dist/es/designer/service-components/base/notification/index.js +12 -34
- package/dist/es/designer/service-components/base/notification/index.vue.js +4 -4
- package/dist/es/designer/service-components/base/notification/index.vue2.js +8 -40
- package/dist/es/designer/service-components/base/notification/recipients-select.vue.js +4 -4
- package/dist/es/designer/service-components/base/notification/recipients-select.vue2.js +23 -146
- package/dist/es/designer/service-components/base/notification/select-mail-template.vue.js +17 -103
- package/dist/es/designer/service-components/base/notification/select-mail-template.vue2.js +2 -2
- package/dist/es/designer/service-components/base/start-node/index.js +25 -65
- package/dist/es/designer/service-components/base/start-node/index.vue.js +4 -4
- package/dist/es/designer/service-components/base/start-node/index.vue2.js +4 -29
- package/dist/es/designer/service-components/components-icons.js +17 -33
- package/dist/es/designer/service-components/computation/clean/config.vue.js +4 -4
- package/dist/es/designer/service-components/computation/clean/config.vue2.js +40 -419
- package/dist/es/designer/service-components/computation/clean/index.js +12 -34
- package/dist/es/designer/service-components/computation/clean/index.vue.js +4 -4
- package/dist/es/designer/service-components/computation/clean/index.vue2.js +8 -40
- package/dist/es/designer/service-components/computation/connect/config.vue.js +4 -4
- package/dist/es/designer/service-components/computation/connect/config.vue2.js +38 -506
- package/dist/es/designer/service-components/computation/connect/index.js +12 -34
- package/dist/es/designer/service-components/computation/connect/index.vue.js +4 -4
- package/dist/es/designer/service-components/computation/connect/index.vue2.js +8 -40
- package/dist/es/designer/service-components/computation/sort/config.vue.js +4 -4
- package/dist/es/designer/service-components/computation/sort/config.vue2.js +41 -297
- package/dist/es/designer/service-components/computation/sort/index.js +12 -34
- package/dist/es/designer/service-components/computation/sort/index.vue.js +4 -4
- package/dist/es/designer/service-components/computation/sort/index.vue2.js +8 -40
- package/dist/es/designer/service-components/computation/split-joint/config.vue.js +4 -4
- package/dist/es/designer/service-components/computation/split-joint/config.vue2.js +27 -327
- package/dist/es/designer/service-components/computation/split-joint/index.js +12 -34
- package/dist/es/designer/service-components/computation/split-joint/index.vue.js +4 -4
- package/dist/es/designer/service-components/computation/split-joint/index.vue2.js +8 -40
- package/dist/es/designer/service-components/computation/statistics/config.vue.js +4 -4
- package/dist/es/designer/service-components/computation/statistics/config.vue2.js +41 -436
- package/dist/es/designer/service-components/computation/statistics/index.js +12 -34
- package/dist/es/designer/service-components/computation/statistics/index.vue.js +4 -4
- package/dist/es/designer/service-components/computation/statistics/index.vue2.js +8 -40
- package/dist/es/designer/service-components/database/aggregate-query/config.vue.js +4 -4
- package/dist/es/designer/service-components/database/aggregate-query/config.vue2.js +75 -375
- package/dist/es/designer/service-components/database/aggregate-query/dimension-statistical.vue.js +22 -217
- package/dist/es/designer/service-components/database/aggregate-query/dimension-statistical.vue2.js +2 -2
- package/dist/es/designer/service-components/database/aggregate-query/filter-conditions.vue.js +30 -439
- package/dist/es/designer/service-components/database/aggregate-query/filter-conditions.vue2.js +2 -2
- package/dist/es/designer/service-components/database/aggregate-query/index.js +13 -35
- package/dist/es/designer/service-components/database/aggregate-query/index.vue.js +4 -4
- package/dist/es/designer/service-components/database/aggregate-query/index.vue2.js +22 -90
- package/dist/es/designer/service-components/database/aggregate-query/sort-conditions.vue.js +15 -177
- package/dist/es/designer/service-components/database/aggregate-query/sort-conditions.vue2.js +2 -2
- package/dist/es/designer/service-components/database/aggregate-query/statistical-formula.vue.js +16 -185
- package/dist/es/designer/service-components/database/aggregate-query/statistical-formula.vue2.js +2 -2
- package/dist/es/designer/service-components/database/dynamic-sql/config.vue.js +4 -4
- package/dist/es/designer/service-components/database/dynamic-sql/config.vue2.js +66 -474
- package/dist/es/designer/service-components/database/dynamic-sql/index.js +12 -34
- package/dist/es/designer/service-components/database/dynamic-sql/index.vue.js +4 -4
- package/dist/es/designer/service-components/database/dynamic-sql/index.vue2.js +8 -40
- package/dist/es/designer/service-components/database/regular-query/config.vue.js +4 -4
- package/dist/es/designer/service-components/database/regular-query/config.vue2.js +52 -749
- package/dist/es/designer/service-components/database/regular-query/index.js +13 -35
- package/dist/es/designer/service-components/database/regular-query/index.vue.js +4 -4
- package/dist/es/designer/service-components/database/regular-query/index.vue2.js +22 -85
- package/dist/es/designer/service-components/index.js +33 -224
- package/dist/es/designer/service-components/service/common/cookie-data.vue.js +18 -125
- package/dist/es/designer/service-components/service/common/cookie-data.vue2.js +2 -2
- package/dist/es/designer/service-components/service/common/form-data.vue.js +18 -153
- package/dist/es/designer/service-components/service/common/form-data.vue2.js +2 -2
- package/dist/es/designer/service-components/service/common/header-data.vue.js +18 -126
- package/dist/es/designer/service-components/service/common/header-data.vue2.js +2 -2
- package/dist/es/designer/service-components/service/common/json-data.vue.js +4 -4
- package/dist/es/designer/service-components/service/common/json-data.vue2.js +18 -127
- package/dist/es/designer/service-components/service/common/param-config.vue.js +4 -4
- package/dist/es/designer/service-components/service/common/param-config.vue2.js +19 -211
- package/dist/es/designer/service-components/service/common/query-params.vue.js +18 -126
- package/dist/es/designer/service-components/service/common/query-params.vue2.js +2 -2
- package/dist/es/designer/service-components/service/common/raw-data.vue.js +27 -93
- package/dist/es/designer/service-components/service/common/raw-data.vue2.js +2 -2
- package/dist/es/designer/service-components/service/custom-bean/config.vue.js +2 -2
- package/dist/es/designer/service-components/service/custom-bean/config.vue2.js +9 -74
- package/dist/es/designer/service-components/service/custom-bean/index.js +12 -34
- package/dist/es/designer/service-components/service/custom-bean/index.vue.js +4 -4
- package/dist/es/designer/service-components/service/custom-bean/index.vue2.js +8 -40
- package/dist/es/designer/service-components/service/http-service/config.vue.js +4 -4
- package/dist/es/designer/service-components/service/http-service/config.vue2.js +23 -296
- package/dist/es/designer/service-components/service/http-service/index.js +12 -34
- package/dist/es/designer/service-components/service/http-service/index.vue.js +4 -4
- package/dist/es/designer/service-components/service/http-service/index.vue2.js +8 -40
- package/dist/es/designer/service-components/service/http-service/response-json-setting.vue.js +44 -262
- package/dist/es/designer/service-components/service/http-service/response-json-setting.vue2.js +2 -2
- package/dist/es/designer/service-components/service/http-service/response-text-setting.vue.js +15 -63
- package/dist/es/designer/service-components/service/http-service/response-text-setting.vue2.js +2 -2
- package/dist/es/designer/service-components/service/http-service/response-xml-setting.vue.js +44 -262
- package/dist/es/designer/service-components/service/http-service/response-xml-setting.vue2.js +2 -2
- package/dist/es/designer/service-components/util/common-options.js +15 -129
- package/dist/es/designer/service-flow-view/flow-tool-util.js +14 -24
- package/dist/es/designer/service-flow-view/flow-util.js +52 -129
- package/dist/es/designer/service-flow-view/service-flow-tool.vue.js +4 -4
- package/dist/es/designer/service-flow-view/service-flow-tool.vue2.js +29 -188
- package/dist/es/designer/service-flow-view/service-node-config.vue.js +4 -4
- package/dist/es/designer/service-flow-view/service-node-config.vue2.js +28 -153
- package/dist/es/designer/service-flow-view/service-params.vue.js +53 -421
- package/dist/es/designer/service-flow-view/service-params.vue2.js +2 -2
- package/dist/es/designer/service-flow-view/service-result.vue.js +56 -310
- package/dist/es/designer/service-flow-view/service-result.vue2.js +2 -2
- package/dist/es/designer/service-flow-view/service-test/request-params.vue.js +40 -307
- package/dist/es/designer/service-flow-view/service-test/request-params.vue2.js +2 -2
- package/dist/es/designer/service-flow-view/service-test/service-test.vue.js +65 -326
- package/dist/es/designer/service-flow-view/service-test/service-test.vue2.js +2 -2
- package/dist/es/designer/service-flow-view/service-update-log.vue.js +4 -4
- package/dist/es/designer/service-flow-view/service-update-log.vue2.js +35 -234
- package/dist/es/designer/service-flow-view/view-index.vue.js +4 -4
- package/dist/es/designer/service-flow-view/view-index.vue2.js +92 -353
- package/dist/es/designer/service-panel/component-panel.vue.js +4 -4
- package/dist/es/designer/service-panel/component-panel.vue2.js +13 -81
- package/dist/es/designer/service-panel/service-list.vue.js +4 -4
- package/dist/es/designer/service-panel/service-list.vue2.js +76 -497
- package/dist/es/designer/service-panel/service-panel.vue.js +4 -4
- package/dist/es/designer/service-panel/service-panel.vue2.js +18 -78
- package/dist/es/index.js +2 -2
- package/dist/es/stores/page-store.js +26 -73
- package/dist/es/style.css +253 -253
- package/dist/es/utils/common-util.js +103 -211
- package/package.json +3 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElCheckbox, ElButton, ElInput, ElFormItem, ElAlert, ElTableColumn, ElOption, ElSelect, ElTooltip, ElTable, ElRadio, ElRadioGroup, ElDivider, ElForm } from "element-plus/es";
|
|
1
|
+
import { ElCheckbox as e, ElButton as l, ElInput as t, ElFormItem as a, ElAlert as o, ElTableColumn as s, ElOption as r, ElSelect as p, ElTooltip as i, ElTable as n, ElRadio as d, ElRadioGroup as u, ElDivider as m, ElForm as c } from "element-plus/es";
|
|
2
2
|
import "element-plus/es/components/base/style/css";
|
|
3
3
|
import "element-plus/es/components/form/style/css";
|
|
4
4
|
import "element-plus/es/components/divider/style/css";
|
|
@@ -14,759 +14,62 @@ import "element-plus/es/components/form-item/style/css";
|
|
|
14
14
|
import "element-plus/es/components/input/style/css";
|
|
15
15
|
import "element-plus/es/components/button/style/css";
|
|
16
16
|
import "element-plus/es/components/checkbox/style/css";
|
|
17
|
-
import { defineComponent, ref, onMounted, openBlock, createElementBlock, createVNode, withCtx, unref, createElementVNode, createTextVNode, toDisplayString, createBlock, Fragment, renderList, createCommentVNode } from "vue";
|
|
18
|
-
import { Search
|
|
19
|
-
import { getLabel, sqlOperators, logicOperators } from "../../util/common-options.js";
|
|
20
|
-
import
|
|
21
|
-
import { getBaseUrl } from "../../../../utils/common-util.js";
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import { useServiceFlowStore } from "../../../../stores/page-store.js";
|
|
25
|
-
import
|
|
17
|
+
import { defineComponent as b, ref as y, onMounted as f, openBlock as h, createElementBlock as V, createVNode as v, withCtx as g, unref as w, createElementVNode as k, createTextVNode as _, toDisplayString as U, createBlock as x, Fragment as C, renderList as T, createCommentVNode as z } from "vue";
|
|
18
|
+
import { Search as $, View as D, Plus as j, Minus as E } from "@element-plus/icons-vue";
|
|
19
|
+
import { getLabel as O, sqlOperators as S, logicOperators as B } from "../../util/common-options.js";
|
|
20
|
+
import I from "../../../common/components/value-set-input/value-set-input.vue.js";
|
|
21
|
+
import { getBaseUrl as q } from "../../../../utils/common-util.js";
|
|
22
|
+
import N from "agilebuilder-ui/src/utils/request";
|
|
23
|
+
import P from "../../../common/components/datatable-select.vue.js";
|
|
24
|
+
import { useServiceFlowStore as A } from "../../../../stores/page-store.js";
|
|
25
|
+
import F from "../../../common/components/node-base-config.vue.js";
|
|
26
26
|
import "codemirror";
|
|
27
27
|
import "@codemirror/lang-sql";
|
|
28
28
|
import "@codemirror/state";
|
|
29
|
-
import
|
|
30
|
-
import { getNodeRuntimeObject } from "../../../service-flow-view/flow-util.js";
|
|
31
|
-
const
|
|
32
|
-
const
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
const
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
40
|
-
__name: "config",
|
|
41
|
-
props: {
|
|
42
|
-
properties: {
|
|
43
|
-
type: Object,
|
|
44
|
-
default: () => {
|
|
45
|
-
return { search: {}, noData: {}, result: {} };
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
logicFlowInstance: {
|
|
49
|
-
type: Object,
|
|
50
|
-
default: () => {
|
|
51
|
-
return {};
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
currentNode: {
|
|
55
|
-
type: Object,
|
|
56
|
-
default: () => {
|
|
57
|
-
return {};
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
pageContext: {
|
|
61
|
-
type: Object,
|
|
62
|
-
default: () => ({})
|
|
63
|
-
},
|
|
64
|
-
service: {
|
|
65
|
-
type: Object,
|
|
66
|
-
default: () => ({})
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
setup(__props, { expose: __expose }) {
|
|
70
|
-
const serviceFlowStoreUtil = useServiceFlowStore();
|
|
71
|
-
const props = __props;
|
|
72
|
-
const showSqlViewDialog = ref(false);
|
|
73
|
-
const sql = ref("");
|
|
74
|
-
const showSelectTable = ref(false);
|
|
75
|
-
const dataTableColumns = ref([]);
|
|
76
|
-
const systemCode = ref(serviceFlowStoreUtil.pageContext.systemCode);
|
|
77
|
-
const systemVersion = ref(serviceFlowStoreUtil.pageContext.systemVersion);
|
|
78
|
-
if (!props.properties.search) {
|
|
79
|
-
props.properties.search = {};
|
|
80
|
-
}
|
|
81
|
-
if (!props.properties.noData) {
|
|
82
|
-
props.properties.noData = {};
|
|
83
|
-
}
|
|
84
|
-
if (!props.properties.result) {
|
|
85
|
-
props.properties.result = {};
|
|
86
|
-
}
|
|
87
|
-
onMounted(() => {
|
|
88
|
-
if (!props.properties.dataTable || props.properties.dataTable === serviceFlowStoreUtil.pageContext.tableName) {
|
|
89
|
-
dataTableColumns.value = serviceFlowStoreUtil.pageContext.modelFields;
|
|
90
|
-
} else {
|
|
91
|
-
const baseAPI = window["$vueApp"].config.globalProperties.baseAPI;
|
|
92
|
-
http.get(baseAPI + "/mms/systems/getPublishVersionsByCode/" + props.properties.dataTableSystemCode).then((systems) => {
|
|
93
|
-
http.get(
|
|
94
|
-
baseAPI + "/mms/data-tables/table-columns?tableName=" + props.properties.dataTable + "&systemCode=" + props.properties.dataTableSystemCode + "&publishVersion=" + systems[systems.length - 1].publishVersion
|
|
95
|
-
).then((res) => {
|
|
96
|
-
dataTableColumns.value = res;
|
|
97
|
-
});
|
|
29
|
+
import M from "../../../common/components/sql-view/sql-view-dialog.vue.js";
|
|
30
|
+
import { getNodeRuntimeObject as J } from "../../../service-flow-view/flow-util.js";
|
|
31
|
+
const L = { style: { position: "absolute", right: "0" } }, R = { key: 0 }, G = { key: 0 }, H = { key: 0 }, K = { key: 0 }, Q = { key: 0 }, W = { key: 0 }, X = { key: 0 }, Y = b({ __name: "config", props: { properties: { type: Object, default: () => ({ search: {}, noData: {}, result: {} }) }, logicFlowInstance: { type: Object, default: () => ({}) }, currentNode: { type: Object, default: () => ({}) }, pageContext: { type: Object, default: () => ({}) }, service: { type: Object, default: () => ({}) } }, setup(b2, { expose: Y2 }) {
|
|
32
|
+
const Z = A(), ee = b2, le = y(false), te = y(""), ae = y(false), oe = y([]), se = y(Z.pageContext.systemCode), re = y(Z.pageContext.systemVersion);
|
|
33
|
+
ee.properties.search || (ee.properties.search = {}), ee.properties.noData || (ee.properties.noData = {}), ee.properties.result || (ee.properties.result = {}), f(() => {
|
|
34
|
+
if (ee.properties.dataTable && ee.properties.dataTable !== Z.pageContext.tableName) {
|
|
35
|
+
const e2 = window.$vueApp.config.globalProperties.baseAPI;
|
|
36
|
+
N.get(e2 + "/mms/systems/getPublishVersionsByCode/" + ee.properties.dataTableSystemCode).then((l2) => {
|
|
37
|
+
N.get(e2 + "/mms/data-tables/table-columns?tableName=" + ee.properties.dataTable + "&systemCode=" + ee.properties.dataTableSystemCode + "&publishVersion=" + l2[l2.length - 1].publishVersion).then((e3) => {
|
|
38
|
+
oe.value = e3;
|
|
98
39
|
});
|
|
99
|
-
}
|
|
100
|
-
});
|
|
101
|
-
const rowDblclick = (row, column, event) => {
|
|
102
|
-
row.$editing = true;
|
|
103
|
-
};
|
|
104
|
-
const handleDelete = (index, row, type) => {
|
|
105
|
-
if (type === "sort") {
|
|
106
|
-
props.properties.sort.splice(index, 1);
|
|
107
|
-
} else if (type === "search") {
|
|
108
|
-
props.properties.search.conditions.splice(index, 1);
|
|
109
|
-
}
|
|
110
|
-
};
|
|
111
|
-
const addSortColumn = () => {
|
|
112
|
-
if (!props.properties.sort) {
|
|
113
|
-
props.properties.sort = [];
|
|
114
|
-
}
|
|
115
|
-
props.properties.sort.push({ prop: "", order: "asc", $editing: true });
|
|
116
|
-
};
|
|
117
|
-
const addSearchCondition = () => {
|
|
118
|
-
if (!props.properties.search.conditions) {
|
|
119
|
-
props.properties.search.conditions = [];
|
|
120
|
-
}
|
|
121
|
-
props.properties.search.conditions.push({ prop: "", $editing: true });
|
|
122
|
-
};
|
|
123
|
-
const selectChange = (result) => {
|
|
124
|
-
props.properties.dataTable = result.dataTable.name;
|
|
125
|
-
props.properties.dataTableSystemCode = result.system.code;
|
|
126
|
-
http.get(
|
|
127
|
-
window["$vueApp"].config.globalProperties.baseAPI + "/mms/data-tables/table-columns?tableName=" + result.dataTable.name + "&systemCode=" + result.system.code + "&publishVersion=" + result.system.publishVersion
|
|
128
|
-
).then((res) => {
|
|
129
|
-
dataTableColumns.value = res;
|
|
130
|
-
});
|
|
131
|
-
};
|
|
132
|
-
const onClose = () => {
|
|
133
|
-
if (props.properties.search.conditions) {
|
|
134
|
-
props.properties.search.conditions.forEach((condition) => {
|
|
135
|
-
if (condition.$editing) {
|
|
136
|
-
delete condition.$editing;
|
|
137
|
-
}
|
|
138
|
-
});
|
|
139
|
-
}
|
|
140
|
-
if (props.properties.sort) {
|
|
141
|
-
props.properties.sort.forEach((item) => {
|
|
142
|
-
if (item.$editing) {
|
|
143
|
-
delete item.$editing;
|
|
144
|
-
}
|
|
145
|
-
});
|
|
146
|
-
}
|
|
147
|
-
return props.properties;
|
|
148
|
-
};
|
|
149
|
-
const specifyDataTableChange = (val) => {
|
|
150
|
-
if (!val) {
|
|
151
|
-
props.properties.dataTable = "";
|
|
152
|
-
dataTableColumns.value = serviceFlowStoreUtil.pageContext.modelFields;
|
|
153
|
-
}
|
|
154
|
-
};
|
|
155
|
-
function viewSql() {
|
|
156
|
-
sql.value = "";
|
|
157
|
-
const node = getNodeRuntimeObject(props.logicFlowInstance.getNodeModelById(props.currentNode.data.id), props.service);
|
|
158
|
-
node["props"] = JSON.parse(JSON.stringify(props.properties));
|
|
159
|
-
const baseUrl = getBaseUrl(props.pageContext.backendUrl, props.pageContext.isTest);
|
|
160
|
-
http.post(baseUrl + "/dsc/service-flow/test/database-node/show-sql", node).then((res) => {
|
|
161
|
-
showSqlViewDialog.value = true;
|
|
162
|
-
sql.value = res;
|
|
163
40
|
});
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
}, {
|
|
187
|
-
default: withCtx(() => [
|
|
188
|
-
createVNode(_sfc_main$1, { properties: __props.properties }, null, 8, ["properties"]),
|
|
189
|
-
createVNode(_component_el_form_item, { label: "" }, {
|
|
190
|
-
label: withCtx((scope) => [
|
|
191
|
-
createVNode(_component_el_checkbox, {
|
|
192
|
-
onChange: specifyDataTableChange,
|
|
193
|
-
modelValue: __props.properties.specifyDataTable,
|
|
194
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => __props.properties.specifyDataTable = $event),
|
|
195
|
-
label: "指定数据表",
|
|
196
|
-
style: { "width": "100px" }
|
|
197
|
-
}, null, 8, ["modelValue"])
|
|
198
|
-
]),
|
|
199
|
-
default: withCtx(() => [
|
|
200
|
-
createVNode(_component_el_input, {
|
|
201
|
-
disabled: !__props.properties.specifyDataTable,
|
|
202
|
-
modelValue: __props.properties.dataTable,
|
|
203
|
-
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => __props.properties.dataTable = $event),
|
|
204
|
-
readonly: "",
|
|
205
|
-
style: { "width": "85%" }
|
|
206
|
-
}, {
|
|
207
|
-
append: withCtx(() => [
|
|
208
|
-
createVNode(_component_el_button, {
|
|
209
|
-
icon: unref(Search),
|
|
210
|
-
onClick: _cache[1] || (_cache[1] = ($event) => showSelectTable.value = !showSelectTable.value)
|
|
211
|
-
}, null, 8, ["icon"])
|
|
212
|
-
]),
|
|
213
|
-
_: 1
|
|
214
|
-
}, 8, ["disabled", "modelValue"]),
|
|
215
|
-
createElementVNode("span", _hoisted_1, [
|
|
216
|
-
createVNode(_component_el_button, {
|
|
217
|
-
type: "primary",
|
|
218
|
-
icon: unref(View),
|
|
219
|
-
onClick: viewSql
|
|
220
|
-
}, {
|
|
221
|
-
default: withCtx(() => [
|
|
222
|
-
createTextVNode("预览sql")
|
|
223
|
-
]),
|
|
224
|
-
_: 1
|
|
225
|
-
}, 8, ["icon"])
|
|
226
|
-
]),
|
|
227
|
-
createVNode(DatatableSelect, {
|
|
228
|
-
visible: showSelectTable.value,
|
|
229
|
-
"onUpdate:visible": _cache[3] || (_cache[3] = ($event) => showSelectTable.value = $event),
|
|
230
|
-
modelValue: __props.properties.dataTable,
|
|
231
|
-
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => __props.properties.dataTable = $event),
|
|
232
|
-
systemCode: systemCode.value,
|
|
233
|
-
systemVersion: systemVersion.value,
|
|
234
|
-
onSelect: selectChange
|
|
235
|
-
}, null, 8, ["visible", "modelValue", "systemCode", "systemVersion"])
|
|
236
|
-
]),
|
|
237
|
-
_: 1
|
|
238
|
-
}),
|
|
239
|
-
createVNode(_component_el_alert, {
|
|
240
|
-
title: "查询条件",
|
|
241
|
-
type: "info",
|
|
242
|
-
size: "small",
|
|
243
|
-
closable: false,
|
|
244
|
-
style: { "margin-bottom": "20px" }
|
|
245
|
-
}),
|
|
246
|
-
createVNode(_component_el_table, {
|
|
247
|
-
data: __props.properties.search.conditions,
|
|
248
|
-
style: { "width": "100%", "margin-bottom": "20px" },
|
|
249
|
-
"row-key": "code",
|
|
250
|
-
onRowDblclick: rowDblclick,
|
|
251
|
-
size: "small",
|
|
252
|
-
border: "",
|
|
253
|
-
"tree-props": { children: "conditions" },
|
|
254
|
-
"default-expand-all": ""
|
|
255
|
-
}, {
|
|
256
|
-
default: withCtx(() => [
|
|
257
|
-
createVNode(_component_el_table_column, {
|
|
258
|
-
type: "index",
|
|
259
|
-
width: "50",
|
|
260
|
-
label: "序"
|
|
261
|
-
}),
|
|
262
|
-
createVNode(_component_el_table_column, {
|
|
263
|
-
prop: "name",
|
|
264
|
-
label: "((("
|
|
265
|
-
}, {
|
|
266
|
-
default: withCtx((scope) => [
|
|
267
|
-
!scope.row.$editing ? (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(scope.row.leftBracket), 1)) : (openBlock(), createBlock(_component_el_select, {
|
|
268
|
-
key: 1,
|
|
269
|
-
size: "small",
|
|
270
|
-
modelValue: scope.row.leftBracket,
|
|
271
|
-
"onUpdate:modelValue": ($event) => scope.row.leftBracket = $event,
|
|
272
|
-
placeholder: ""
|
|
273
|
-
}, {
|
|
274
|
-
default: withCtx(() => [
|
|
275
|
-
createVNode(_component_el_option, {
|
|
276
|
-
label: "",
|
|
277
|
-
value: ""
|
|
278
|
-
}),
|
|
279
|
-
createVNode(_component_el_option, {
|
|
280
|
-
label: "(",
|
|
281
|
-
value: "("
|
|
282
|
-
}),
|
|
283
|
-
createVNode(_component_el_option, {
|
|
284
|
-
label: "((",
|
|
285
|
-
value: "(("
|
|
286
|
-
}),
|
|
287
|
-
createVNode(_component_el_option, {
|
|
288
|
-
label: "(((",
|
|
289
|
-
value: "((("
|
|
290
|
-
})
|
|
291
|
-
]),
|
|
292
|
-
_: 2
|
|
293
|
-
}, 1032, ["modelValue", "onUpdate:modelValue"]))
|
|
294
|
-
]),
|
|
295
|
-
_: 1
|
|
296
|
-
}),
|
|
297
|
-
createVNode(_component_el_table_column, {
|
|
298
|
-
prop: "name",
|
|
299
|
-
label: "字段名"
|
|
300
|
-
}, {
|
|
301
|
-
default: withCtx((scope) => [
|
|
302
|
-
!scope.row.$editing ? (openBlock(), createElementBlock("span", _hoisted_3, toDisplayString(scope.row.name), 1)) : (openBlock(), createBlock(_component_el_select, {
|
|
303
|
-
key: 1,
|
|
304
|
-
modelValue: scope.row.name,
|
|
305
|
-
"onUpdate:modelValue": ($event) => scope.row.name = $event,
|
|
306
|
-
placeholder: "",
|
|
307
|
-
size: "small"
|
|
308
|
-
}, {
|
|
309
|
-
default: withCtx(() => [
|
|
310
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(dataTableColumns.value, (item) => {
|
|
311
|
-
return openBlock(), createBlock(_component_el_option, {
|
|
312
|
-
key: item.name,
|
|
313
|
-
label: item.alias,
|
|
314
|
-
value: item.name
|
|
315
|
-
}, null, 8, ["label", "value"]);
|
|
316
|
-
}), 128))
|
|
317
|
-
]),
|
|
318
|
-
_: 2
|
|
319
|
-
}, 1032, ["modelValue", "onUpdate:modelValue"]))
|
|
320
|
-
]),
|
|
321
|
-
_: 1
|
|
322
|
-
}),
|
|
323
|
-
createVNode(_component_el_table_column, {
|
|
324
|
-
prop: "type",
|
|
325
|
-
label: "比较"
|
|
326
|
-
}, {
|
|
327
|
-
default: withCtx((scope) => [
|
|
328
|
-
!scope.row.$editing ? (openBlock(), createElementBlock("span", _hoisted_4, toDisplayString(unref(getLabel)(scope.row.operator, unref(sqlOperators))), 1)) : (openBlock(), createBlock(_component_el_select, {
|
|
329
|
-
key: 1,
|
|
330
|
-
modelValue: scope.row.operator,
|
|
331
|
-
"onUpdate:modelValue": ($event) => scope.row.operator = $event,
|
|
332
|
-
placeholder: "",
|
|
333
|
-
size: "small"
|
|
334
|
-
}, {
|
|
335
|
-
default: withCtx(() => [
|
|
336
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(sqlOperators), (item) => {
|
|
337
|
-
return openBlock(), createBlock(_component_el_option, {
|
|
338
|
-
key: item.value,
|
|
339
|
-
label: item.label,
|
|
340
|
-
value: item.value
|
|
341
|
-
}, null, 8, ["label", "value"]);
|
|
342
|
-
}), 128))
|
|
343
|
-
]),
|
|
344
|
-
_: 2
|
|
345
|
-
}, 1032, ["modelValue", "onUpdate:modelValue"]))
|
|
346
|
-
]),
|
|
347
|
-
_: 1
|
|
348
|
-
}),
|
|
349
|
-
createVNode(_component_el_table_column, {
|
|
350
|
-
prop: "value",
|
|
351
|
-
label: "值",
|
|
352
|
-
width: "150"
|
|
353
|
-
}, {
|
|
354
|
-
default: withCtx((scope) => [
|
|
355
|
-
createVNode(unref(ValueSetInput), {
|
|
356
|
-
customInputTypes: ["data"],
|
|
357
|
-
showLabel: !scope.row.$editing,
|
|
358
|
-
size: "small",
|
|
359
|
-
modelValue: scope.row.value,
|
|
360
|
-
"onUpdate:modelValue": ($event) => scope.row.value = $event
|
|
361
|
-
}, null, 8, ["showLabel", "modelValue", "onUpdate:modelValue"])
|
|
362
|
-
]),
|
|
363
|
-
_: 1
|
|
364
|
-
}),
|
|
365
|
-
createVNode(_component_el_table_column, {
|
|
366
|
-
prop: "rightBracket",
|
|
367
|
-
label: ")))"
|
|
368
|
-
}, {
|
|
369
|
-
default: withCtx((scope) => [
|
|
370
|
-
!scope.row.$editing ? (openBlock(), createElementBlock("span", _hoisted_5, toDisplayString(scope.row.rightBracket), 1)) : (openBlock(), createBlock(_component_el_select, {
|
|
371
|
-
key: 1,
|
|
372
|
-
size: "small",
|
|
373
|
-
modelValue: scope.row.rightBracket,
|
|
374
|
-
"onUpdate:modelValue": ($event) => scope.row.rightBracket = $event,
|
|
375
|
-
placeholder: ""
|
|
376
|
-
}, {
|
|
377
|
-
default: withCtx(() => [
|
|
378
|
-
createVNode(_component_el_option, {
|
|
379
|
-
label: "",
|
|
380
|
-
value: ""
|
|
381
|
-
}),
|
|
382
|
-
createVNode(_component_el_option, {
|
|
383
|
-
label: ")",
|
|
384
|
-
value: ")"
|
|
385
|
-
}),
|
|
386
|
-
createVNode(_component_el_option, {
|
|
387
|
-
label: "))",
|
|
388
|
-
value: "))"
|
|
389
|
-
}),
|
|
390
|
-
createVNode(_component_el_option, {
|
|
391
|
-
label: ")))",
|
|
392
|
-
value: ")))"
|
|
393
|
-
})
|
|
394
|
-
]),
|
|
395
|
-
_: 2
|
|
396
|
-
}, 1032, ["modelValue", "onUpdate:modelValue"]))
|
|
397
|
-
]),
|
|
398
|
-
_: 1
|
|
399
|
-
}),
|
|
400
|
-
createVNode(_component_el_table_column, {
|
|
401
|
-
prop: "logicOperator",
|
|
402
|
-
label: "连接符"
|
|
403
|
-
}, {
|
|
404
|
-
default: withCtx((scope) => [
|
|
405
|
-
!scope.row.$editing ? (openBlock(), createElementBlock("span", _hoisted_6, toDisplayString(unref(getLabel)(scope.row.logicOperator, unref(logicOperators))), 1)) : (openBlock(), createBlock(_component_el_select, {
|
|
406
|
-
key: 1,
|
|
407
|
-
modelValue: scope.row.logicOperator,
|
|
408
|
-
"onUpdate:modelValue": ($event) => scope.row.logicOperator = $event,
|
|
409
|
-
placeholder: "",
|
|
410
|
-
size: "small"
|
|
411
|
-
}, {
|
|
412
|
-
default: withCtx(() => [
|
|
413
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(logicOperators), (item) => {
|
|
414
|
-
return openBlock(), createBlock(_component_el_option, {
|
|
415
|
-
key: item.value,
|
|
416
|
-
label: item.label,
|
|
417
|
-
value: item.value
|
|
418
|
-
}, null, 8, ["label", "value"]);
|
|
419
|
-
}), 128))
|
|
420
|
-
]),
|
|
421
|
-
_: 2
|
|
422
|
-
}, 1032, ["modelValue", "onUpdate:modelValue"]))
|
|
423
|
-
]),
|
|
424
|
-
_: 1
|
|
425
|
-
}),
|
|
426
|
-
createVNode(_component_el_table_column, { align: "center" }, {
|
|
427
|
-
header: withCtx(() => [
|
|
428
|
-
createVNode(_component_el_tooltip, {
|
|
429
|
-
effect: "dark",
|
|
430
|
-
content: "添加",
|
|
431
|
-
placement: "top"
|
|
432
|
-
}, {
|
|
433
|
-
default: withCtx(() => [
|
|
434
|
-
createVNode(_component_el_button, {
|
|
435
|
-
type: "primary",
|
|
436
|
-
size: "small",
|
|
437
|
-
icon: unref(Plus),
|
|
438
|
-
circle: "",
|
|
439
|
-
onClick: _cache[5] || (_cache[5] = ($event) => addSearchCondition())
|
|
440
|
-
}, null, 8, ["icon"])
|
|
441
|
-
]),
|
|
442
|
-
_: 1
|
|
443
|
-
})
|
|
444
|
-
]),
|
|
445
|
-
default: withCtx((scope) => [
|
|
446
|
-
createElementVNode("span", null, [
|
|
447
|
-
createVNode(_component_el_tooltip, {
|
|
448
|
-
effect: "dark",
|
|
449
|
-
content: "删除",
|
|
450
|
-
placement: "top"
|
|
451
|
-
}, {
|
|
452
|
-
default: withCtx(() => [
|
|
453
|
-
createVNode(_component_el_button, {
|
|
454
|
-
type: "danger",
|
|
455
|
-
size: "small",
|
|
456
|
-
icon: unref(Minus),
|
|
457
|
-
circle: "",
|
|
458
|
-
onClick: ($event) => handleDelete(scope.$index, scope.row, "search")
|
|
459
|
-
}, null, 8, ["icon", "onClick"])
|
|
460
|
-
]),
|
|
461
|
-
_: 2
|
|
462
|
-
}, 1024)
|
|
463
|
-
])
|
|
464
|
-
]),
|
|
465
|
-
_: 1
|
|
466
|
-
})
|
|
467
|
-
]),
|
|
468
|
-
_: 1
|
|
469
|
-
}, 8, ["data"]),
|
|
470
|
-
createVNode(_component_el_form_item, {
|
|
471
|
-
label: "",
|
|
472
|
-
style: { "width": "100%" }
|
|
473
|
-
}, {
|
|
474
|
-
label: withCtx((scope) => [
|
|
475
|
-
createVNode(_component_el_checkbox, {
|
|
476
|
-
modelValue: __props.properties.search.pageEnable,
|
|
477
|
-
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => __props.properties.search.pageEnable = $event),
|
|
478
|
-
label: "分页(offset)"
|
|
479
|
-
}, null, 8, ["modelValue"])
|
|
480
|
-
]),
|
|
481
|
-
default: withCtx(() => [
|
|
482
|
-
__props.properties.search.pageEnable ? (openBlock(), createBlock(unref(ValueSetInput), {
|
|
483
|
-
key: 0,
|
|
484
|
-
modelValue: __props.properties.search.page,
|
|
485
|
-
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => __props.properties.search.page = $event),
|
|
486
|
-
customInputTypes: ["data"],
|
|
487
|
-
size: "small",
|
|
488
|
-
placeholder: "从变量中获取分页信息"
|
|
489
|
-
}, null, 8, ["modelValue"])) : createCommentVNode("", true)
|
|
490
|
-
]),
|
|
491
|
-
_: 1
|
|
492
|
-
}),
|
|
493
|
-
createVNode(_component_el_form_item, {
|
|
494
|
-
label: "",
|
|
495
|
-
style: { "width": "100%" }
|
|
496
|
-
}, {
|
|
497
|
-
label: withCtx((scope) => [
|
|
498
|
-
createVNode(_component_el_checkbox, {
|
|
499
|
-
modelValue: __props.properties.search.limitEnable,
|
|
500
|
-
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => __props.properties.search.limitEnable = $event),
|
|
501
|
-
label: "限制数量(limit)"
|
|
502
|
-
}, null, 8, ["modelValue"])
|
|
503
|
-
]),
|
|
504
|
-
default: withCtx(() => [
|
|
505
|
-
__props.properties.search.limitEnable ? (openBlock(), createBlock(unref(ValueSetInput), {
|
|
506
|
-
key: 0,
|
|
507
|
-
modelValue: __props.properties.search.limit,
|
|
508
|
-
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => __props.properties.search.limit = $event),
|
|
509
|
-
customInputTypes: ["data"],
|
|
510
|
-
size: "small",
|
|
511
|
-
placeholder: "从变量中获取分页大小"
|
|
512
|
-
}, null, 8, ["modelValue"])) : createCommentVNode("", true)
|
|
513
|
-
]),
|
|
514
|
-
_: 1
|
|
515
|
-
}),
|
|
516
|
-
createVNode(_component_el_form_item, {
|
|
517
|
-
label: "",
|
|
518
|
-
style: { "width": "100%" }
|
|
519
|
-
}, {
|
|
520
|
-
label: withCtx((scope) => [
|
|
521
|
-
createVNode(_component_el_checkbox, {
|
|
522
|
-
modelValue: __props.properties.search.totalEnable,
|
|
523
|
-
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => __props.properties.search.totalEnable = $event),
|
|
524
|
-
label: "设置总条数到变量"
|
|
525
|
-
}, null, 8, ["modelValue"])
|
|
526
|
-
]),
|
|
527
|
-
default: withCtx(() => [
|
|
528
|
-
__props.properties.search.totalEnable ? (openBlock(), createBlock(unref(ValueSetInput), {
|
|
529
|
-
key: 0,
|
|
530
|
-
customInputTypes: ["data"],
|
|
531
|
-
size: "small",
|
|
532
|
-
modelValue: __props.properties.search.total,
|
|
533
|
-
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => __props.properties.search.total = $event)
|
|
534
|
-
}, null, 8, ["modelValue"])) : createCommentVNode("", true)
|
|
535
|
-
]),
|
|
536
|
-
_: 1
|
|
537
|
-
}),
|
|
538
|
-
createVNode(_component_el_alert, {
|
|
539
|
-
title: "排序设置",
|
|
540
|
-
type: "info",
|
|
541
|
-
size: "small",
|
|
542
|
-
closable: false,
|
|
543
|
-
style: { "margin-bottom": "20px" }
|
|
544
|
-
}),
|
|
545
|
-
createVNode(_component_el_table, {
|
|
546
|
-
data: __props.properties.sort,
|
|
547
|
-
style: { "width": "100%", "margin-top": "20px", "margin-bottom": "20px" },
|
|
548
|
-
"row-key": "code",
|
|
549
|
-
onRowDblclick: rowDblclick,
|
|
550
|
-
size: "small",
|
|
551
|
-
border: "",
|
|
552
|
-
"tree-props": { children: "conditions" },
|
|
553
|
-
"default-expand-all": ""
|
|
554
|
-
}, {
|
|
555
|
-
default: withCtx(() => [
|
|
556
|
-
createVNode(_component_el_table_column, {
|
|
557
|
-
type: "index",
|
|
558
|
-
width: "50",
|
|
559
|
-
label: "序"
|
|
560
|
-
}),
|
|
561
|
-
createVNode(_component_el_table_column, {
|
|
562
|
-
prop: "name",
|
|
563
|
-
label: "字段名"
|
|
564
|
-
}, {
|
|
565
|
-
default: withCtx((scope) => [
|
|
566
|
-
!scope.row.$editing ? (openBlock(), createElementBlock("span", _hoisted_7, toDisplayString(scope.row.name), 1)) : (openBlock(), createBlock(_component_el_select, {
|
|
567
|
-
key: 1,
|
|
568
|
-
modelValue: scope.row.name,
|
|
569
|
-
"onUpdate:modelValue": ($event) => scope.row.name = $event,
|
|
570
|
-
placeholder: "",
|
|
571
|
-
size: "small"
|
|
572
|
-
}, {
|
|
573
|
-
default: withCtx(() => [
|
|
574
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(dataTableColumns.value, (item) => {
|
|
575
|
-
return openBlock(), createBlock(_component_el_option, {
|
|
576
|
-
key: item.name,
|
|
577
|
-
label: item.alias,
|
|
578
|
-
value: item.name
|
|
579
|
-
}, null, 8, ["label", "value"]);
|
|
580
|
-
}), 128))
|
|
581
|
-
]),
|
|
582
|
-
_: 2
|
|
583
|
-
}, 1032, ["modelValue", "onUpdate:modelValue"]))
|
|
584
|
-
]),
|
|
585
|
-
_: 1
|
|
586
|
-
}),
|
|
587
|
-
createVNode(_component_el_table_column, {
|
|
588
|
-
prop: "order",
|
|
589
|
-
label: "排序方式"
|
|
590
|
-
}, {
|
|
591
|
-
default: withCtx((scope) => [
|
|
592
|
-
!scope.row.$editing ? (openBlock(), createElementBlock("span", _hoisted_8, toDisplayString(scope.row.order), 1)) : (openBlock(), createBlock(_component_el_select, {
|
|
593
|
-
key: 1,
|
|
594
|
-
size: "small",
|
|
595
|
-
modelValue: scope.row.order,
|
|
596
|
-
"onUpdate:modelValue": ($event) => scope.row.order = $event,
|
|
597
|
-
placeholder: ""
|
|
598
|
-
}, {
|
|
599
|
-
default: withCtx(() => [
|
|
600
|
-
createVNode(_component_el_option, {
|
|
601
|
-
label: "升序",
|
|
602
|
-
value: "asc"
|
|
603
|
-
}),
|
|
604
|
-
createVNode(_component_el_option, {
|
|
605
|
-
label: "降序",
|
|
606
|
-
value: "desc"
|
|
607
|
-
})
|
|
608
|
-
]),
|
|
609
|
-
_: 2
|
|
610
|
-
}, 1032, ["modelValue", "onUpdate:modelValue"]))
|
|
611
|
-
]),
|
|
612
|
-
_: 1
|
|
613
|
-
}),
|
|
614
|
-
createVNode(_component_el_table_column, { align: "center" }, {
|
|
615
|
-
header: withCtx(() => [
|
|
616
|
-
createVNode(_component_el_tooltip, {
|
|
617
|
-
effect: "dark",
|
|
618
|
-
content: "添加",
|
|
619
|
-
placement: "top"
|
|
620
|
-
}, {
|
|
621
|
-
default: withCtx(() => [
|
|
622
|
-
createVNode(_component_el_button, {
|
|
623
|
-
type: "primary",
|
|
624
|
-
size: "small",
|
|
625
|
-
icon: unref(Plus),
|
|
626
|
-
circle: "",
|
|
627
|
-
onClick: _cache[12] || (_cache[12] = ($event) => addSortColumn())
|
|
628
|
-
}, null, 8, ["icon"])
|
|
629
|
-
]),
|
|
630
|
-
_: 1
|
|
631
|
-
})
|
|
632
|
-
]),
|
|
633
|
-
default: withCtx((scope) => [
|
|
634
|
-
createElementVNode("span", null, [
|
|
635
|
-
createVNode(_component_el_tooltip, {
|
|
636
|
-
effect: "dark",
|
|
637
|
-
content: "删除",
|
|
638
|
-
placement: "top"
|
|
639
|
-
}, {
|
|
640
|
-
default: withCtx(() => [
|
|
641
|
-
createVNode(_component_el_button, {
|
|
642
|
-
type: "danger",
|
|
643
|
-
size: "small",
|
|
644
|
-
icon: unref(Minus),
|
|
645
|
-
circle: "",
|
|
646
|
-
onClick: ($event) => handleDelete(scope.$index, scope.row, "sort")
|
|
647
|
-
}, null, 8, ["icon", "onClick"])
|
|
648
|
-
]),
|
|
649
|
-
_: 2
|
|
650
|
-
}, 1024)
|
|
651
|
-
])
|
|
652
|
-
]),
|
|
653
|
-
_: 1
|
|
654
|
-
})
|
|
655
|
-
]),
|
|
656
|
-
_: 1
|
|
657
|
-
}, 8, ["data"]),
|
|
658
|
-
createVNode(_component_el_alert, {
|
|
659
|
-
title: "查询结果设置",
|
|
660
|
-
type: "info",
|
|
661
|
-
size: "small",
|
|
662
|
-
closable: false,
|
|
663
|
-
style: { "margin-bottom": "20px" }
|
|
664
|
-
}),
|
|
665
|
-
createVNode(_component_el_form_item, {
|
|
666
|
-
label: "",
|
|
667
|
-
style: { "width": "100%" }
|
|
668
|
-
}, {
|
|
669
|
-
default: withCtx(() => [
|
|
670
|
-
createVNode(_component_el_radio_group, {
|
|
671
|
-
modelValue: __props.properties.result.valueSetScope,
|
|
672
|
-
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => __props.properties.result.valueSetScope = $event),
|
|
673
|
-
class: "ml-4"
|
|
674
|
-
}, {
|
|
675
|
-
default: withCtx(() => [
|
|
676
|
-
createVNode(_component_el_radio, { value: "first" }, {
|
|
677
|
-
default: withCtx(() => [
|
|
678
|
-
createTextVNode("仅第一条")
|
|
679
|
-
]),
|
|
680
|
-
_: 1
|
|
681
|
-
}),
|
|
682
|
-
createVNode(_component_el_radio, { value: "all" }, {
|
|
683
|
-
default: withCtx(() => [
|
|
684
|
-
createTextVNode(" 全部 ")
|
|
685
|
-
]),
|
|
686
|
-
_: 1
|
|
687
|
-
})
|
|
688
|
-
]),
|
|
689
|
-
_: 1
|
|
690
|
-
}, 8, ["modelValue"])
|
|
691
|
-
]),
|
|
692
|
-
_: 1
|
|
693
|
-
}),
|
|
694
|
-
createVNode(_component_el_form_item, {
|
|
695
|
-
label: "设置到:",
|
|
696
|
-
style: { "width": "100%" }
|
|
697
|
-
}, {
|
|
698
|
-
default: withCtx(() => [
|
|
699
|
-
createVNode(unref(ValueSetInput), {
|
|
700
|
-
paramTypes: ["task", "data", "service"],
|
|
701
|
-
size: "small",
|
|
702
|
-
inputSize: "default",
|
|
703
|
-
modelValue: __props.properties.result.setTo,
|
|
704
|
-
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => __props.properties.result.setTo = $event)
|
|
705
|
-
}, null, 8, ["modelValue"])
|
|
706
|
-
]),
|
|
707
|
-
_: 1
|
|
708
|
-
}),
|
|
709
|
-
createVNode(_component_el_alert, {
|
|
710
|
-
title: "对象不存在时",
|
|
711
|
-
type: "info",
|
|
712
|
-
size: "small",
|
|
713
|
-
closable: false,
|
|
714
|
-
style: { "margin-bottom": "20px" }
|
|
715
|
-
}),
|
|
716
|
-
createVNode(_component_el_form_item, {
|
|
717
|
-
label: "",
|
|
718
|
-
style: { "width": "100%" }
|
|
719
|
-
}, {
|
|
720
|
-
default: withCtx(() => [
|
|
721
|
-
createVNode(_component_el_radio, {
|
|
722
|
-
modelValue: __props.properties.noData.action,
|
|
723
|
-
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => __props.properties.noData.action = $event),
|
|
724
|
-
value: " ",
|
|
725
|
-
style: { "width": "150px" }
|
|
726
|
-
}, {
|
|
727
|
-
default: withCtx(() => [
|
|
728
|
-
createTextVNode(" 继续 ")
|
|
729
|
-
]),
|
|
730
|
-
_: 1
|
|
731
|
-
}, 8, ["modelValue"])
|
|
732
|
-
]),
|
|
733
|
-
_: 1
|
|
734
|
-
}),
|
|
735
|
-
createVNode(_component_el_form_item, {
|
|
736
|
-
label: "",
|
|
737
|
-
style: { "width": "100%" }
|
|
738
|
-
}, {
|
|
739
|
-
label: withCtx((scope) => [
|
|
740
|
-
createVNode(_component_el_radio, {
|
|
741
|
-
modelValue: __props.properties.noData.action,
|
|
742
|
-
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => __props.properties.noData.action = $event),
|
|
743
|
-
value: "throwException",
|
|
744
|
-
label: "无数据时抛异常"
|
|
745
|
-
}, null, 8, ["modelValue"])
|
|
746
|
-
]),
|
|
747
|
-
default: withCtx(() => [
|
|
748
|
-
createVNode(_component_el_input, {
|
|
749
|
-
disabled: __props.properties.noData.action !== "throwException",
|
|
750
|
-
modelValue: __props.properties.noData.exceptionMessage,
|
|
751
|
-
"onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => __props.properties.noData.exceptionMessage = $event),
|
|
752
|
-
placeholder: "自定义异常消息"
|
|
753
|
-
}, null, 8, ["disabled", "modelValue"])
|
|
754
|
-
]),
|
|
755
|
-
_: 1
|
|
756
|
-
}),
|
|
757
|
-
createVNode(_component_el_divider)
|
|
758
|
-
]),
|
|
759
|
-
_: 1
|
|
760
|
-
}),
|
|
761
|
-
createVNode(unref(_sfc_main$2), {
|
|
762
|
-
sql: sql.value,
|
|
763
|
-
"model-value": showSqlViewDialog.value,
|
|
764
|
-
"onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => showSqlViewDialog.value = $event)
|
|
765
|
-
}, null, 8, ["sql", "model-value"])
|
|
766
|
-
]);
|
|
767
|
-
};
|
|
41
|
+
} else
|
|
42
|
+
oe.value = Z.pageContext.modelFields;
|
|
43
|
+
});
|
|
44
|
+
const pe = (e2, l2, t2) => {
|
|
45
|
+
e2.$editing = true;
|
|
46
|
+
}, ie = (e2, l2, t2) => {
|
|
47
|
+
"sort" === t2 ? ee.properties.sort.splice(e2, 1) : "search" === t2 && ee.properties.search.conditions.splice(e2, 1);
|
|
48
|
+
}, ne = (e2) => {
|
|
49
|
+
ee.properties.dataTable = e2.dataTable.name, ee.properties.dataTableSystemCode = e2.system.code, N.get(window.$vueApp.config.globalProperties.baseAPI + "/mms/data-tables/table-columns?tableName=" + e2.dataTable.name + "&systemCode=" + e2.system.code + "&publishVersion=" + e2.system.publishVersion).then((e3) => {
|
|
50
|
+
oe.value = e3;
|
|
51
|
+
});
|
|
52
|
+
}, de = (e2) => {
|
|
53
|
+
e2 || (ee.properties.dataTable = "", oe.value = Z.pageContext.modelFields);
|
|
54
|
+
};
|
|
55
|
+
function ue() {
|
|
56
|
+
te.value = "";
|
|
57
|
+
const e2 = J(ee.logicFlowInstance.getNodeModelById(ee.currentNode.data.id), ee.service);
|
|
58
|
+
e2.props = JSON.parse(JSON.stringify(ee.properties));
|
|
59
|
+
const l2 = q(ee.pageContext.backendUrl, ee.pageContext.isTest);
|
|
60
|
+
N.post(l2 + "/dsc/service-flow/test/database-node/show-sql", e2).then((e3) => {
|
|
61
|
+
le.value = true, te.value = e3;
|
|
62
|
+
});
|
|
768
63
|
}
|
|
769
|
-
|
|
64
|
+
return Y2({ onClose: () => (ee.properties.search.conditions && ee.properties.search.conditions.forEach((e2) => {
|
|
65
|
+
e2.$editing && delete e2.$editing;
|
|
66
|
+
}), ee.properties.sort && ee.properties.sort.forEach((e2) => {
|
|
67
|
+
e2.$editing && delete e2.$editing;
|
|
68
|
+
}), ee.properties) }), (y2, f2) => {
|
|
69
|
+
const q2 = e, N2 = l, A2 = t, J2 = a, Y3 = o, Z2 = s, me = r, ce = p, be = i, ye = n, fe = d, he = u, Ve = m, ve = c;
|
|
70
|
+
return h(), V("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: w($), onClick: f2[1] || (f2[1] = (e2) => ae.value = !ae.value) }, null, 8, ["icon"])]), _: 1 }, 8, ["disabled", "modelValue"]), k("span", L, [v(N2, { type: "primary", icon: w(D), onClick: ue }, { default: g(() => [_("预览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 ? (h(), x(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"])) : (h(), V("span", R, U(e2.row.leftBracket), 1))]), _: 1 }), v(Z2, { prop: "name", label: "字段名" }, { default: g((e2) => [e2.row.$editing ? (h(), x(ce, { key: 1, modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "", size: "small" }, { default: g(() => [(h(true), V(C, null, T(oe.value, (e3) => (h(), x(me, { key: e3.name, label: e3.alias, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (h(), V("span", G, U(e2.row.name), 1))]), _: 1 }), v(Z2, { prop: "type", label: "比较" }, { default: g((e2) => [e2.row.$editing ? (h(), x(ce, { key: 1, modelValue: e2.row.operator, "onUpdate:modelValue": (l2) => e2.row.operator = l2, placeholder: "", size: "small" }, { default: g(() => [(h(true), V(C, null, T(w(S), (e3) => (h(), x(me, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (h(), V("span", H, U(w(O)(e2.row.operator, w(S))), 1))]), _: 1 }), v(Z2, { prop: "value", label: "值", width: "150" }, { default: g((e2) => [v(w(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 ? (h(), x(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"])) : (h(), V("span", K, U(e2.row.rightBracket), 1))]), _: 1 }), v(Z2, { prop: "logicOperator", label: "连接符" }, { default: g((e2) => [e2.row.$editing ? (h(), x(ce, { key: 1, modelValue: e2.row.logicOperator, "onUpdate:modelValue": (l2) => e2.row.logicOperator = l2, placeholder: "", size: "small" }, { default: g(() => [(h(true), V(C, null, T(w(B), (e3) => (h(), x(me, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (h(), V("span", Q, U(w(O)(e2.row.logicOperator, w(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: w(j), 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) => [k("span", null, [v(be, { effect: "dark", content: "删除", placement: "top" }, { default: g(() => [v(N2, { type: "danger", size: "small", icon: w(E), 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 ? (h(), x(w(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 ? (h(), x(w(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 ? (h(), x(w(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 ? (h(), x(ce, { key: 1, modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "", size: "small" }, { default: g(() => [(h(true), V(C, null, T(oe.value, (e3) => (h(), x(me, { key: e3.name, label: e3.alias, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (h(), V("span", W, U(e2.row.name), 1))]), _: 1 }), v(Z2, { prop: "order", label: "排序方式" }, { default: g((e2) => [e2.row.$editing ? (h(), x(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"])) : (h(), V("span", X, U(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: w(j), 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) => [k("span", null, [v(be, { effect: "dark", content: "删除", placement: "top" }, { default: g(() => [v(N2, { type: "danger", size: "small", icon: w(E), 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(() => [_("仅第一条")]), _: 1 }), v(fe, { value: "all" }, { default: g(() => [_(" 全部 ")]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), v(J2, { label: "设置到:", style: { width: "100%" } }, { default: g(() => [v(w(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(() => [_(" 继续 ")]), _: 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(w(M), { sql: te.value, "model-value": le.value, "onUpdate:modelValue": f2[18] || (f2[18] = (e2) => le.value = e2) }, null, 8, ["sql", "model-value"])]);
|
|
71
|
+
};
|
|
72
|
+
} });
|
|
770
73
|
export {
|
|
771
|
-
|
|
74
|
+
Y as default
|
|
772
75
|
};
|