service-flow-designer 1.1.15 → 1.1.17

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.
Files changed (43) hide show
  1. package/dist/es/designer/common/components/database-select.css +3 -3
  2. package/dist/es/designer/common/components/database-select.vue.js +1 -1
  3. package/dist/es/designer/common/components/database-select.vue2.js +2 -2
  4. package/dist/es/designer/common/components/datatable-select.css +3 -3
  5. package/dist/es/designer/common/components/datatable-select.vue.js +1 -1
  6. package/dist/es/designer/common/components/datatable-select.vue2.js +3 -3
  7. package/dist/es/designer/common/components/value-set-input/value-set-input.css +3 -3
  8. package/dist/es/designer/common/components/value-set-input/value-set-input.vue.js +1 -1
  9. package/dist/es/designer/common/components/value-set-input/value-set-input.vue2.js +3 -3
  10. package/dist/es/designer/service-components/database/aggregate-query/config.css +2 -2
  11. package/dist/es/designer/service-components/database/aggregate-query/config.vue.js +1 -1
  12. package/dist/es/designer/service-components/database/aggregate-query/config.vue2.js +1 -1
  13. package/dist/es/designer/service-components/database/regular-query/config.css +2 -2
  14. package/dist/es/designer/service-components/database/regular-query/config.vue.js +1 -1
  15. package/dist/es/designer/service-components/database/regular-query/config.vue2.js +1 -1
  16. package/dist/es/designer/service-flow-view/service-update-log.css +1 -1
  17. package/dist/es/designer/service-flow-view/service-update-log.vue.js +1 -1
  18. package/dist/es/designer/service-flow-view/service-update-log.vue2.js +2 -2
  19. package/dist/es/designer/service-panel/service-list.css +5 -5
  20. package/dist/es/designer/service-panel/service-list.vue.js +1 -1
  21. package/dist/es/designer/service-panel/service-list.vue2.js +4 -6
  22. package/dist/lib/designer/common/components/database-select.css +3 -3
  23. package/dist/lib/designer/common/components/database-select.vue.js +1 -1
  24. package/dist/lib/designer/common/components/database-select.vue2.js +2 -2
  25. package/dist/lib/designer/common/components/datatable-select.css +3 -3
  26. package/dist/lib/designer/common/components/datatable-select.vue.js +1 -1
  27. package/dist/lib/designer/common/components/datatable-select.vue2.js +3 -3
  28. package/dist/lib/designer/common/components/value-set-input/value-set-input.css +3 -3
  29. package/dist/lib/designer/common/components/value-set-input/value-set-input.vue.js +1 -1
  30. package/dist/lib/designer/common/components/value-set-input/value-set-input.vue2.js +3 -3
  31. package/dist/lib/designer/service-components/database/aggregate-query/config.css +2 -2
  32. package/dist/lib/designer/service-components/database/aggregate-query/config.vue.js +1 -1
  33. package/dist/lib/designer/service-components/database/aggregate-query/config.vue2.js +1 -1
  34. package/dist/lib/designer/service-components/database/regular-query/config.css +2 -2
  35. package/dist/lib/designer/service-components/database/regular-query/config.vue.js +1 -1
  36. package/dist/lib/designer/service-components/database/regular-query/config.vue2.js +1 -1
  37. package/dist/lib/designer/service-flow-view/service-update-log.css +1 -1
  38. package/dist/lib/designer/service-flow-view/service-update-log.vue.js +1 -1
  39. package/dist/lib/designer/service-flow-view/service-update-log.vue2.js +2 -2
  40. package/dist/lib/designer/service-panel/service-list.css +5 -5
  41. package/dist/lib/designer/service-panel/service-list.vue.js +1 -1
  42. package/dist/lib/designer/service-panel/service-list.vue2.js +4 -6
  43. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
1
 
2
- .el-select + .el-input[data-v-92a1d6cc] {
2
+ .el-select + .el-input[data-v-393fc753] {
3
3
  margin-left: 10px;
4
4
  }
5
- .el-input + .el-input[data-v-92a1d6cc] {
5
+ .el-input + .el-input[data-v-393fc753] {
6
6
  margin-left: 10px;
7
7
  }
8
- .el-input + .el-button[data-v-92a1d6cc] {
8
+ .el-input + .el-button[data-v-393fc753] {
9
9
  margin-left: 10px;
10
10
  }
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./database-select.vue2.js";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const DatabaseSelect = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-92a1d6cc"]]);
4
+ const DatabaseSelect = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-393fc753"]]);
5
5
  export {
6
6
  DatabaseSelect as default
7
7
  };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, ref, watch, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, createVNode, createTextVNode, unref } from "vue";
2
2
  import { Search } from "@element-plus/icons-vue";
3
- import http from "agilebuilder-ui/src/utils/request";
3
+ import "agilebuilder-ui/src/utils/request";
4
4
  import { ElMessage } from "element-plus";
5
5
  const _hoisted_1 = { class: "dialog-footer" };
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -61,7 +61,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
61
61
  propValue: searchForm.value.searchName
62
62
  });
63
63
  }
64
- http.post("/mms/data-tables/list/", param).then((res) => {
64
+ window["$http"].post("/mms/data-tables/list/", param).then((res) => {
65
65
  tableListData.value = res.data;
66
66
  pagination.value.pageSize = res.size;
67
67
  pagination.value.total = res.total;
@@ -1,10 +1,10 @@
1
1
 
2
- .el-select + .el-input[data-v-dbffbd8f] {
2
+ .el-select + .el-input[data-v-b4ce2c56] {
3
3
  margin-left: 10px;
4
4
  }
5
- .el-input + .el-input[data-v-dbffbd8f] {
5
+ .el-input + .el-input[data-v-b4ce2c56] {
6
6
  margin-left: 10px;
7
7
  }
8
- .el-input + .el-button[data-v-dbffbd8f] {
8
+ .el-input + .el-button[data-v-b4ce2c56] {
9
9
  margin-left: 10px;
10
10
  }
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./datatable-select.vue2.js";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const DatatableSelect = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-dbffbd8f"]]);
4
+ const DatatableSelect = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b4ce2c56"]]);
5
5
  export {
6
6
  DatatableSelect as default
7
7
  };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, ref, watch, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, createVNode, createTextVNode, createElementBlock, Fragment, renderList, unref } from "vue";
2
2
  import { Search } from "@element-plus/icons-vue";
3
- import http from "agilebuilder-ui/src/utils/request";
3
+ import "agilebuilder-ui/src/utils/request";
4
4
  import { ElMessage } from "element-plus";
5
5
  const _hoisted_1 = { class: "dialog-footer" };
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -50,7 +50,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
50
50
  }
51
51
  );
52
52
  function initData() {
53
- http.get("/component/super-charts/findAllSystem").then((res) => {
53
+ window["$http"].get("/component/super-charts/findAllSystem").then((res) => {
54
54
  if (res) {
55
55
  res.forEach((item) => {
56
56
  item.name = item.name + "(" + item.publishVersion + ")";
@@ -106,7 +106,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
106
106
  });
107
107
  }
108
108
  const querySystemCode = systemCode || props.systemCode;
109
- http.post("/mms/data-tables/list/" + querySystemCode + "/0/" + props.systemVersion, param).then((res) => {
109
+ window["$http"].post("/mms/data-tables/list/" + querySystemCode + "/0/" + props.systemVersion, param).then((res) => {
110
110
  tableListData.value = res.data;
111
111
  pagination.value.pageSize = res.size;
112
112
  pagination.value.total = res.total;
@@ -1,14 +1,14 @@
1
1
 
2
- [data-v-30effb5d] .el-cascader-menu {
2
+ [data-v-f8186126] .el-cascader-menu {
3
3
  min-width: 120px !important;
4
4
  }
5
- .totalStyle[data-v-30effb5d] {
5
+ .totalStyle[data-v-f8186126] {
6
6
  display: flex;
7
7
  height: 15px;
8
8
  align-items: center;
9
9
  justify-content: center;
10
10
  font-size: 10px;
11
11
  }
12
- [data-v-30effb5d] .el-input-group__append {
12
+ [data-v-f8186126] .el-input-group__append {
13
13
  cursor: pointer;
14
14
  }
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./value-set-input.vue2.js";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- const ValueSetInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-30effb5d"]]);
4
+ const ValueSetInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f8186126"]]);
5
5
  export {
6
6
  ValueSetInput as default
7
7
  };
@@ -3,9 +3,9 @@ import { Search, Delete, Plus, InfoFilled } from "@element-plus/icons-vue";
3
3
  import { getTypeOptions, contextVarOptions, taskVarOptions } from "./option.js";
4
4
  import { useServiceFlowStore } from "../../../../stores/page-store.js";
5
5
  import fileUpload from "../file-upload.vue.js";
6
- import http from "agilebuilder-ui/src/utils/request";
6
+ import "agilebuilder-ui/src/utils/request";
7
7
  import { ElMessage } from "element-plus";
8
- const _withScopeId = (n) => (pushScopeId("data-v-30effb5d"), n = n(), popScopeId(), n);
8
+ const _withScopeId = (n) => (pushScopeId("data-v-f8186126"), n = n(), popScopeId(), n);
9
9
  const _hoisted_1 = { key: 0 };
10
10
  const _hoisted_2 = { style: { "margin-top": "10px", "font-size": "10px", "display": "flex", "align-items": "center", "justify-self": "center" } };
11
11
  const _hoisted_3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { style: { "margin-left": "5px" } }, "输入变量名后点击加号按钮添加", -1));
@@ -229,7 +229,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
229
229
  query: searchValue.value
230
230
  };
231
231
  lastSystemQuery = searchValue.value;
232
- http.post("/component/system-params/query", param).then((results) => {
232
+ window["$http"].post("/component/system-params/query", param).then((results) => {
233
233
  const tempOptions = [];
234
234
  for (let result of results) {
235
235
  tempOptions.push({
@@ -1,7 +1,7 @@
1
1
 
2
- [data-v-d61c2d7a] .el-radio {
2
+ [data-v-56c86041] .el-radio {
3
3
  margin: 0;
4
4
  }
5
- .el-radio + .el-radio[data-v-d61c2d7a] {
5
+ .el-radio + .el-radio[data-v-56c86041] {
6
6
  margin-left: 10px;
7
7
  }
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./config.vue2.js";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- const config = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d61c2d7a"]]);
4
+ const config = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-56c86041"]]);
5
5
  export {
6
6
  config as default
7
7
  };
@@ -52,7 +52,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
52
52
  if (props.properties.specifyDataTable && props.properties.dataTable) {
53
53
  systemCode.value = props.properties.dataTableSystemCode;
54
54
  }
55
- http.get("/mms/systems/getPublishVersionsByCode/" + props.properties.dataTableSystemCode).then((systems) => {
55
+ window["$http"].get("/mms/systems/getPublishVersionsByCode/" + props.properties.dataTableSystemCode).then((systems) => {
56
56
  http.get(
57
57
  "/mms/data-tables/table-columns?tableName=" + props.properties.dataTable + "&systemCode=" + props.properties.dataTableSystemCode + "&publishVersion=" + systems[systems.length - 1].publishVersion
58
58
  ).then((res) => {
@@ -1,7 +1,7 @@
1
1
 
2
- [data-v-73827474] .el-radio {
2
+ [data-v-4b31b356] .el-radio {
3
3
  margin: 0;
4
4
  }
5
- .el-radio + .el-radio[data-v-73827474] {
5
+ .el-radio + .el-radio[data-v-4b31b356] {
6
6
  margin-left: 10px;
7
7
  }
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./config.vue2.js";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- const config = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-73827474"]]);
4
+ const config = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-4b31b356"]]);
5
5
  export {
6
6
  config as default
7
7
  };
@@ -55,7 +55,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
55
55
  if (!props.properties.dataTable || props.properties.dataTable === serviceFlowStoreUtil.pageContext.tableName) {
56
56
  dataTableColumns.value = serviceFlowStoreUtil.pageContext.modelFields;
57
57
  } else {
58
- http.get("/mms/systems/getPublishVersionsByCode/" + props.properties.dataTableSystemCode).then((systems) => {
58
+ window["$http"].get("/mms/systems/getPublishVersionsByCode/" + props.properties.dataTableSystemCode).then((systems) => {
59
59
  http.get(
60
60
  "/mms/data-tables/table-columns?tableName=" + props.properties.dataTable + "&systemCode=" + props.properties.dataTableSystemCode + "&publishVersion=" + systems[systems.length - 1].publishVersion
61
61
  ).then((res) => {
@@ -1,5 +1,5 @@
1
1
 
2
- .el-dialog__wrapper[data-v-24162035] {
2
+ .el-dialog__wrapper[data-v-690da6a6] {
3
3
  overflow: hidden !important;
4
4
  padding-right: 0 !important;
5
5
  }
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./service-update-log.vue2.js";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
4
- const serviceUpdateLog = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-24162035"]]);
4
+ const serviceUpdateLog = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-690da6a6"]]);
5
5
  export {
6
6
  serviceUpdateLog as default
7
7
  };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, createVNode, createTextVNode, createCommentVNode } from "vue";
2
2
  import { isDeepEqual } from "../common/util/node-util.js";
3
- import http from "agilebuilder-ui/src/utils/request";
3
+ import "agilebuilder-ui/src/utils/request";
4
4
  import { ElMessage } from "element-plus";
5
5
  const _hoisted_1 = { class: "dialog-footer" };
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -35,7 +35,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
35
35
  const selectLatestLog = ref(false);
36
36
  const description = ref("");
37
37
  function showDialog(event) {
38
- http.get("/component/super-page-design/design-log/SERVICE_FLOW_DESIGN/" + props.cloneService.id).then((res) => {
38
+ window["$http"].get("/component/super-page-design/design-log/SERVICE_FLOW_DESIGN/" + props.cloneService.id).then((res) => {
39
39
  if (res) {
40
40
  res.reverse();
41
41
  logData.value = res;
@@ -1,9 +1,9 @@
1
1
 
2
- [data-v-440e4454] .el-table__row {
2
+ [data-v-8f3bcac1] .el-table__row {
3
3
  cursor: pointer;
4
4
  }
5
5
  /** 右键菜单样式 */
6
- .context-menu[data-v-440e4454] {
6
+ .context-menu[data-v-8f3bcac1] {
7
7
  position: absolute;
8
8
  background: #fff;
9
9
  z-index: 999;
@@ -14,7 +14,7 @@
14
14
  border-radius: 10px;
15
15
  font-size: 14px;
16
16
  }
17
- .context-menu li[data-v-440e4454] {
17
+ .context-menu li[data-v-8f3bcac1] {
18
18
  list-style-type: none;
19
19
  min-width: 75px;
20
20
  line-height: 28px;
@@ -23,12 +23,12 @@
23
23
  padding-left: 5px;
24
24
  cursor: pointer;
25
25
  }
26
- .context-menu li[data-v-440e4454]:hover {
26
+ .context-menu li[data-v-8f3bcac1]:hover {
27
27
  background: #0165e1;
28
28
  color: #fff;
29
29
  }
30
30
  /** 右键菜单样式 */
31
- .custom-tree-node[data-v-440e4454] {
31
+ .custom-tree-node[data-v-8f3bcac1] {
32
32
  font-size: 14px;
33
33
  padding-right: 8px;
34
34
  display: flex; /* 使用Flex布局 */
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./service-list.vue2.js";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
4
- const ServiceList = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-440e4454"]]);
4
+ const ServiceList = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-8f3bcac1"]]);
5
5
  export {
6
6
  ServiceList as default
7
7
  };
@@ -5,7 +5,7 @@ import http from "agilebuilder-ui/src/utils/request";
5
5
  import { findServcieByCode } from "../common/util/node-util.js";
6
6
  import { useServiceFlowStore } from "../../stores/page-store.js";
7
7
  import { ElMessage } from "element-plus";
8
- const _withScopeId = (n) => (pushScopeId("data-v-440e4454"), n = n(), popScopeId(), n);
8
+ const _withScopeId = (n) => (pushScopeId("data-v-8f3bcac1"), n = n(), popScopeId(), n);
9
9
  const _hoisted_1 = { class: "custom-tree-node" };
10
10
  const _hoisted_2 = { style: { "margin-left": "5px", "line-height": "14px", "font-size": "14px" } };
11
11
  const _hoisted_3 = { class: "dialog-footer" };
@@ -44,7 +44,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
44
44
  const props = __props;
45
45
  const search = ref("");
46
46
  const contxtMenuRef = ref();
47
- const serviceTreeRef = ref();
48
47
  const showContextMenu = ref(false);
49
48
  const contextMenuData = ref({});
50
49
  const dialogVisible = ref(false);
@@ -131,7 +130,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
131
130
  ElMessage.warning("该节点下存在子节点,不能删除!");
132
131
  return;
133
132
  }
134
- http.delete("/component/super-page-design/service-flow", { data: [contextMenuData.value.id] }).then((res) => {
133
+ window["$http"].delete("/component/super-page-design/service-flow", { data: [contextMenuData.value.id] }).then((res) => {
135
134
  ElMessage.success("删除成功");
136
135
  emits("load-tree-data");
137
136
  if (contextMenuData.value.parentCode) {
@@ -152,7 +151,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
152
151
  console.log("node-click", data);
153
152
  closeRightMenu();
154
153
  if (data.type === "SERVICE") {
155
- http.get("/component/super-page-design/service-flow/" + data.id).then((res) => {
154
+ window["$http"].get("/component/super-page-design/service-flow/" + data.id).then((res) => {
156
155
  res.variables && (res.variables = JSON.parse(res.variables));
157
156
  res.log && (res.log = JSON.parse(res.log));
158
157
  res.flow && (res.flow = JSON.parse(res.flow));
@@ -222,8 +221,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
222
221
  }),
223
222
  createVNode(_component_el_tree, {
224
223
  style: { "margin-top": "10px" },
225
- ref_key: "serviceTreeRef",
226
- ref: serviceTreeRef,
224
+ ref: "serviceTreeRef",
227
225
  data: __props.serviceTreeData,
228
226
  props: treeProps,
229
227
  "default-expand-all": true,
@@ -1,10 +1,10 @@
1
1
 
2
- .el-select + .el-input[data-v-92a1d6cc] {
2
+ .el-select + .el-input[data-v-393fc753] {
3
3
  margin-left: 10px;
4
4
  }
5
- .el-input + .el-input[data-v-92a1d6cc] {
5
+ .el-input + .el-input[data-v-393fc753] {
6
6
  margin-left: 10px;
7
7
  }
8
- .el-input + .el-button[data-v-92a1d6cc] {
8
+ .el-input + .el-button[data-v-393fc753] {
9
9
  margin-left: 10px;
10
10
  }
@@ -2,5 +2,5 @@
2
2
  const databaseSelect_vue_vue_type_script_setup_true_lang = require("./database-select.vue2.js");
3
3
  ;/* empty css */
4
4
  const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
5
- const DatabaseSelect = /* @__PURE__ */ _pluginVue_exportHelper(databaseSelect_vue_vue_type_script_setup_true_lang, [["__scopeId", "data-v-92a1d6cc"]]);
5
+ const DatabaseSelect = /* @__PURE__ */ _pluginVue_exportHelper(databaseSelect_vue_vue_type_script_setup_true_lang, [["__scopeId", "data-v-393fc753"]]);
6
6
  module.exports = DatabaseSelect;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  const vue = require("vue");
3
3
  const iconsVue = require("@element-plus/icons-vue");
4
- const http = require("agilebuilder-ui/src/utils/request");
4
+ require("agilebuilder-ui/src/utils/request");
5
5
  const elementPlus = require("element-plus");
6
6
  const _hoisted_1 = { class: "dialog-footer" };
7
7
  const _sfc_main = /* @__PURE__ */ vue.defineComponent({
@@ -62,7 +62,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
62
62
  propValue: searchForm.value.searchName
63
63
  });
64
64
  }
65
- http.post("/mms/data-tables/list/", param).then((res) => {
65
+ window["$http"].post("/mms/data-tables/list/", param).then((res) => {
66
66
  tableListData.value = res.data;
67
67
  pagination.value.pageSize = res.size;
68
68
  pagination.value.total = res.total;
@@ -1,10 +1,10 @@
1
1
 
2
- .el-select + .el-input[data-v-dbffbd8f] {
2
+ .el-select + .el-input[data-v-b4ce2c56] {
3
3
  margin-left: 10px;
4
4
  }
5
- .el-input + .el-input[data-v-dbffbd8f] {
5
+ .el-input + .el-input[data-v-b4ce2c56] {
6
6
  margin-left: 10px;
7
7
  }
8
- .el-input + .el-button[data-v-dbffbd8f] {
8
+ .el-input + .el-button[data-v-b4ce2c56] {
9
9
  margin-left: 10px;
10
10
  }
@@ -2,5 +2,5 @@
2
2
  const datatableSelect_vue_vue_type_script_setup_true_lang = require("./datatable-select.vue2.js");
3
3
  ;/* empty css */
4
4
  const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
5
- const DatatableSelect = /* @__PURE__ */ _pluginVue_exportHelper(datatableSelect_vue_vue_type_script_setup_true_lang, [["__scopeId", "data-v-dbffbd8f"]]);
5
+ const DatatableSelect = /* @__PURE__ */ _pluginVue_exportHelper(datatableSelect_vue_vue_type_script_setup_true_lang, [["__scopeId", "data-v-b4ce2c56"]]);
6
6
  module.exports = DatatableSelect;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  const vue = require("vue");
3
3
  const iconsVue = require("@element-plus/icons-vue");
4
- const http = require("agilebuilder-ui/src/utils/request");
4
+ require("agilebuilder-ui/src/utils/request");
5
5
  const elementPlus = require("element-plus");
6
6
  const _hoisted_1 = { class: "dialog-footer" };
7
7
  const _sfc_main = /* @__PURE__ */ vue.defineComponent({
@@ -51,7 +51,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
51
51
  }
52
52
  );
53
53
  function initData() {
54
- http.get("/component/super-charts/findAllSystem").then((res) => {
54
+ window["$http"].get("/component/super-charts/findAllSystem").then((res) => {
55
55
  if (res) {
56
56
  res.forEach((item) => {
57
57
  item.name = item.name + "(" + item.publishVersion + ")";
@@ -107,7 +107,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
107
107
  });
108
108
  }
109
109
  const querySystemCode = systemCode || props.systemCode;
110
- http.post("/mms/data-tables/list/" + querySystemCode + "/0/" + props.systemVersion, param).then((res) => {
110
+ window["$http"].post("/mms/data-tables/list/" + querySystemCode + "/0/" + props.systemVersion, param).then((res) => {
111
111
  tableListData.value = res.data;
112
112
  pagination.value.pageSize = res.size;
113
113
  pagination.value.total = res.total;
@@ -1,14 +1,14 @@
1
1
 
2
- [data-v-30effb5d] .el-cascader-menu {
2
+ [data-v-f8186126] .el-cascader-menu {
3
3
  min-width: 120px !important;
4
4
  }
5
- .totalStyle[data-v-30effb5d] {
5
+ .totalStyle[data-v-f8186126] {
6
6
  display: flex;
7
7
  height: 15px;
8
8
  align-items: center;
9
9
  justify-content: center;
10
10
  font-size: 10px;
11
11
  }
12
- [data-v-30effb5d] .el-input-group__append {
12
+ [data-v-f8186126] .el-input-group__append {
13
13
  cursor: pointer;
14
14
  }
@@ -2,5 +2,5 @@
2
2
  const valueSetInput_vue_vue_type_script_setup_true_lang = require("./value-set-input.vue2.js");
3
3
  ;/* empty css */
4
4
  const _pluginVue_exportHelper = require("../../../../_virtual/_plugin-vue_export-helper.js");
5
- const ValueSetInput = /* @__PURE__ */ _pluginVue_exportHelper(valueSetInput_vue_vue_type_script_setup_true_lang, [["__scopeId", "data-v-30effb5d"]]);
5
+ const ValueSetInput = /* @__PURE__ */ _pluginVue_exportHelper(valueSetInput_vue_vue_type_script_setup_true_lang, [["__scopeId", "data-v-f8186126"]]);
6
6
  module.exports = ValueSetInput;
@@ -4,9 +4,9 @@ const iconsVue = require("@element-plus/icons-vue");
4
4
  const option = require("./option.js");
5
5
  const pageStore = require("../../../../stores/page-store.js");
6
6
  const fileUpload = require("../file-upload.vue.js");
7
- const http = require("agilebuilder-ui/src/utils/request");
7
+ require("agilebuilder-ui/src/utils/request");
8
8
  const elementPlus = require("element-plus");
9
- const _withScopeId = (n) => (vue.pushScopeId("data-v-30effb5d"), n = n(), vue.popScopeId(), n);
9
+ const _withScopeId = (n) => (vue.pushScopeId("data-v-f8186126"), n = n(), vue.popScopeId(), n);
10
10
  const _hoisted_1 = { key: 0 };
11
11
  const _hoisted_2 = { style: { "margin-top": "10px", "font-size": "10px", "display": "flex", "align-items": "center", "justify-self": "center" } };
12
12
  const _hoisted_3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("span", { style: { "margin-left": "5px" } }, "输入变量名后点击加号按钮添加", -1));
@@ -230,7 +230,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
230
230
  query: searchValue.value
231
231
  };
232
232
  lastSystemQuery = searchValue.value;
233
- http.post("/component/system-params/query", param).then((results) => {
233
+ window["$http"].post("/component/system-params/query", param).then((results) => {
234
234
  const tempOptions = [];
235
235
  for (let result of results) {
236
236
  tempOptions.push({
@@ -1,7 +1,7 @@
1
1
 
2
- [data-v-d61c2d7a] .el-radio {
2
+ [data-v-56c86041] .el-radio {
3
3
  margin: 0;
4
4
  }
5
- .el-radio + .el-radio[data-v-d61c2d7a] {
5
+ .el-radio + .el-radio[data-v-56c86041] {
6
6
  margin-left: 10px;
7
7
  }
@@ -2,5 +2,5 @@
2
2
  const config_vue_vue_type_script_setup_true_lang = require("./config.vue2.js");
3
3
  ;/* empty css */
4
4
  const _pluginVue_exportHelper = require("../../../../_virtual/_plugin-vue_export-helper.js");
5
- const config = /* @__PURE__ */ _pluginVue_exportHelper(config_vue_vue_type_script_setup_true_lang, [["__scopeId", "data-v-d61c2d7a"]]);
5
+ const config = /* @__PURE__ */ _pluginVue_exportHelper(config_vue_vue_type_script_setup_true_lang, [["__scopeId", "data-v-56c86041"]]);
6
6
  module.exports = config;
@@ -53,7 +53,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
53
53
  if (props.properties.specifyDataTable && props.properties.dataTable) {
54
54
  systemCode.value = props.properties.dataTableSystemCode;
55
55
  }
56
- http.get("/mms/systems/getPublishVersionsByCode/" + props.properties.dataTableSystemCode).then((systems) => {
56
+ window["$http"].get("/mms/systems/getPublishVersionsByCode/" + props.properties.dataTableSystemCode).then((systems) => {
57
57
  http.get(
58
58
  "/mms/data-tables/table-columns?tableName=" + props.properties.dataTable + "&systemCode=" + props.properties.dataTableSystemCode + "&publishVersion=" + systems[systems.length - 1].publishVersion
59
59
  ).then((res) => {
@@ -1,7 +1,7 @@
1
1
 
2
- [data-v-73827474] .el-radio {
2
+ [data-v-4b31b356] .el-radio {
3
3
  margin: 0;
4
4
  }
5
- .el-radio + .el-radio[data-v-73827474] {
5
+ .el-radio + .el-radio[data-v-4b31b356] {
6
6
  margin-left: 10px;
7
7
  }
@@ -2,5 +2,5 @@
2
2
  const config_vue_vue_type_script_setup_true_lang = require("./config.vue2.js");
3
3
  ;/* empty css */
4
4
  const _pluginVue_exportHelper = require("../../../../_virtual/_plugin-vue_export-helper.js");
5
- const config = /* @__PURE__ */ _pluginVue_exportHelper(config_vue_vue_type_script_setup_true_lang, [["__scopeId", "data-v-73827474"]]);
5
+ const config = /* @__PURE__ */ _pluginVue_exportHelper(config_vue_vue_type_script_setup_true_lang, [["__scopeId", "data-v-4b31b356"]]);
6
6
  module.exports = config;
@@ -56,7 +56,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
56
56
  if (!props.properties.dataTable || props.properties.dataTable === serviceFlowStoreUtil.pageContext.tableName) {
57
57
  dataTableColumns.value = serviceFlowStoreUtil.pageContext.modelFields;
58
58
  } else {
59
- http.get("/mms/systems/getPublishVersionsByCode/" + props.properties.dataTableSystemCode).then((systems) => {
59
+ window["$http"].get("/mms/systems/getPublishVersionsByCode/" + props.properties.dataTableSystemCode).then((systems) => {
60
60
  http.get(
61
61
  "/mms/data-tables/table-columns?tableName=" + props.properties.dataTable + "&systemCode=" + props.properties.dataTableSystemCode + "&publishVersion=" + systems[systems.length - 1].publishVersion
62
62
  ).then((res) => {
@@ -1,5 +1,5 @@
1
1
 
2
- .el-dialog__wrapper[data-v-24162035] {
2
+ .el-dialog__wrapper[data-v-690da6a6] {
3
3
  overflow: hidden !important;
4
4
  padding-right: 0 !important;
5
5
  }
@@ -2,5 +2,5 @@
2
2
  const serviceUpdateLog_vue_vue_type_script_setup_true_lang = require("./service-update-log.vue2.js");
3
3
  ;/* empty css */
4
4
  const _pluginVue_exportHelper = require("../../_virtual/_plugin-vue_export-helper.js");
5
- const serviceUpdateLog = /* @__PURE__ */ _pluginVue_exportHelper(serviceUpdateLog_vue_vue_type_script_setup_true_lang, [["__scopeId", "data-v-24162035"]]);
5
+ const serviceUpdateLog = /* @__PURE__ */ _pluginVue_exportHelper(serviceUpdateLog_vue_vue_type_script_setup_true_lang, [["__scopeId", "data-v-690da6a6"]]);
6
6
  module.exports = serviceUpdateLog;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  const vue = require("vue");
3
3
  const nodeUtil = require("../common/util/node-util.js");
4
- const http = require("agilebuilder-ui/src/utils/request");
4
+ require("agilebuilder-ui/src/utils/request");
5
5
  const elementPlus = require("element-plus");
6
6
  const _hoisted_1 = { class: "dialog-footer" };
7
7
  const _sfc_main = /* @__PURE__ */ vue.defineComponent({
@@ -36,7 +36,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
36
36
  const selectLatestLog = vue.ref(false);
37
37
  const description = vue.ref("");
38
38
  function showDialog(event) {
39
- http.get("/component/super-page-design/design-log/SERVICE_FLOW_DESIGN/" + props.cloneService.id).then((res) => {
39
+ window["$http"].get("/component/super-page-design/design-log/SERVICE_FLOW_DESIGN/" + props.cloneService.id).then((res) => {
40
40
  if (res) {
41
41
  res.reverse();
42
42
  logData.value = res;
@@ -1,9 +1,9 @@
1
1
 
2
- [data-v-440e4454] .el-table__row {
2
+ [data-v-8f3bcac1] .el-table__row {
3
3
  cursor: pointer;
4
4
  }
5
5
  /** 右键菜单样式 */
6
- .context-menu[data-v-440e4454] {
6
+ .context-menu[data-v-8f3bcac1] {
7
7
  position: absolute;
8
8
  background: #fff;
9
9
  z-index: 999;
@@ -14,7 +14,7 @@
14
14
  border-radius: 10px;
15
15
  font-size: 14px;
16
16
  }
17
- .context-menu li[data-v-440e4454] {
17
+ .context-menu li[data-v-8f3bcac1] {
18
18
  list-style-type: none;
19
19
  min-width: 75px;
20
20
  line-height: 28px;
@@ -23,12 +23,12 @@
23
23
  padding-left: 5px;
24
24
  cursor: pointer;
25
25
  }
26
- .context-menu li[data-v-440e4454]:hover {
26
+ .context-menu li[data-v-8f3bcac1]:hover {
27
27
  background: #0165e1;
28
28
  color: #fff;
29
29
  }
30
30
  /** 右键菜单样式 */
31
- .custom-tree-node[data-v-440e4454] {
31
+ .custom-tree-node[data-v-8f3bcac1] {
32
32
  font-size: 14px;
33
33
  padding-right: 8px;
34
34
  display: flex; /* 使用Flex布局 */
@@ -2,5 +2,5 @@
2
2
  const serviceList_vue_vue_type_script_setup_true_lang = require("./service-list.vue2.js");
3
3
  ;/* empty css */
4
4
  const _pluginVue_exportHelper = require("../../_virtual/_plugin-vue_export-helper.js");
5
- const ServiceList = /* @__PURE__ */ _pluginVue_exportHelper(serviceList_vue_vue_type_script_setup_true_lang, [["__scopeId", "data-v-440e4454"]]);
5
+ const ServiceList = /* @__PURE__ */ _pluginVue_exportHelper(serviceList_vue_vue_type_script_setup_true_lang, [["__scopeId", "data-v-8f3bcac1"]]);
6
6
  module.exports = ServiceList;
@@ -6,7 +6,7 @@ const http = require("agilebuilder-ui/src/utils/request");
6
6
  const nodeUtil = require("../common/util/node-util.js");
7
7
  const pageStore = require("../../stores/page-store.js");
8
8
  const elementPlus = require("element-plus");
9
- const _withScopeId = (n) => (vue.pushScopeId("data-v-440e4454"), n = n(), vue.popScopeId(), n);
9
+ const _withScopeId = (n) => (vue.pushScopeId("data-v-8f3bcac1"), n = n(), vue.popScopeId(), n);
10
10
  const _hoisted_1 = { class: "custom-tree-node" };
11
11
  const _hoisted_2 = { style: { "margin-left": "5px", "line-height": "14px", "font-size": "14px" } };
12
12
  const _hoisted_3 = { class: "dialog-footer" };
@@ -45,7 +45,6 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
45
45
  const props = __props;
46
46
  const search = vue.ref("");
47
47
  const contxtMenuRef = vue.ref();
48
- const serviceTreeRef = vue.ref();
49
48
  const showContextMenu = vue.ref(false);
50
49
  const contextMenuData = vue.ref({});
51
50
  const dialogVisible = vue.ref(false);
@@ -132,7 +131,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
132
131
  elementPlus.ElMessage.warning("该节点下存在子节点,不能删除!");
133
132
  return;
134
133
  }
135
- http.delete("/component/super-page-design/service-flow", { data: [contextMenuData.value.id] }).then((res) => {
134
+ window["$http"].delete("/component/super-page-design/service-flow", { data: [contextMenuData.value.id] }).then((res) => {
136
135
  elementPlus.ElMessage.success("删除成功");
137
136
  emits("load-tree-data");
138
137
  if (contextMenuData.value.parentCode) {
@@ -153,7 +152,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
153
152
  console.log("node-click", data);
154
153
  closeRightMenu();
155
154
  if (data.type === "SERVICE") {
156
- http.get("/component/super-page-design/service-flow/" + data.id).then((res) => {
155
+ window["$http"].get("/component/super-page-design/service-flow/" + data.id).then((res) => {
157
156
  res.variables && (res.variables = JSON.parse(res.variables));
158
157
  res.log && (res.log = JSON.parse(res.log));
159
158
  res.flow && (res.flow = JSON.parse(res.flow));
@@ -223,8 +222,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
223
222
  }),
224
223
  vue.createVNode(_component_el_tree, {
225
224
  style: { "margin-top": "10px" },
226
- ref_key: "serviceTreeRef",
227
- ref: serviceTreeRef,
225
+ ref: "serviceTreeRef",
228
226
  data: __props.serviceTreeData,
229
227
  props: treeProps,
230
228
  "default-expand-all": true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "service-flow-designer",
3
- "version": "1.1.15",
3
+ "version": "1.1.17",
4
4
  "description": "AgileBuilder Service Flow Designer",
5
5
  "license": "ISC",
6
6
  "main": "dist/lib/index.js",