@fecp/designer 5.4.19 → 5.4.21

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 (47) hide show
  1. package/es/designer/package.json.mjs +1 -1
  2. package/es/designer/src/components/DialogSelect.vue.mjs +122 -0
  3. package/es/designer/src/components/DocumentParam.vue.mjs +1 -1
  4. package/es/designer/src/components/ParamsConfig.vue2.mjs +1 -1
  5. package/es/designer/src/layout/aside/HiddenFieldDialog.vue.mjs +1 -1
  6. package/es/designer/src/packages/advancedFilter/ValueInput.vue2.mjs +1 -1
  7. package/es/designer/src/packages/dataLinkage/index.vue.mjs +1 -1
  8. package/es/designer/src/packages/dialog/index.vue.mjs +58 -41
  9. package/es/designer/src/packages/dialogGlobal/index.vue.mjs +62 -43
  10. package/es/designer/src/packages/event/pageEvent.vue.mjs +18 -3
  11. package/es/designer/src/packages/eventFlow/dialog/action/Dialog.vue.mjs +9 -29
  12. package/es/designer/src/packages/eventFlow/dialog/action/RiskSch.vue.mjs +1 -1
  13. package/es/designer/src/packages/form/aside/index.mjs +1 -0
  14. package/es/designer/src/packages/form/property/approvalHistory.vue.mjs +1 -1
  15. package/es/designer/src/packages/form/property/contract.vue.mjs +1 -1
  16. package/es/designer/src/packages/form/property/subForm.vue.mjs +13 -15
  17. package/es/designer/src/packages/form/property/widgets.vue.mjs +28 -26
  18. package/es/designer/src/packages/prod/index.vue.mjs +1 -1
  19. package/es/designer/src/packages/table/headerBtn.vue.mjs +3 -3
  20. package/es/designer.css +970 -967
  21. package/es/packages/vue/src/components/dialog/DialogRenderer.vue2.mjs +49 -28
  22. package/es/packages/vue/src/components/forms/subForm/SubForm.vue.mjs +25 -2
  23. package/es/packages/vue/src/components/forms/text/Text.vue.mjs +1 -1
  24. package/lib/designer/package.json.js +1 -1
  25. package/lib/designer/src/components/DialogSelect.vue.js +122 -0
  26. package/lib/designer/src/components/DocumentParam.vue.js +1 -1
  27. package/lib/designer/src/components/ParamsConfig.vue2.js +1 -1
  28. package/lib/designer/src/layout/aside/HiddenFieldDialog.vue.js +1 -1
  29. package/lib/designer/src/packages/advancedFilter/ValueInput.vue2.js +1 -1
  30. package/lib/designer/src/packages/dataLinkage/index.vue.js +1 -1
  31. package/lib/designer/src/packages/dialog/index.vue.js +58 -41
  32. package/lib/designer/src/packages/dialogGlobal/index.vue.js +62 -43
  33. package/lib/designer/src/packages/event/pageEvent.vue.js +26 -11
  34. package/lib/designer/src/packages/eventFlow/dialog/action/Dialog.vue.js +11 -31
  35. package/lib/designer/src/packages/eventFlow/dialog/action/RiskSch.vue.js +1 -1
  36. package/lib/designer/src/packages/form/aside/index.js +1 -0
  37. package/lib/designer/src/packages/form/property/approvalHistory.vue.js +1 -1
  38. package/lib/designer/src/packages/form/property/contract.vue.js +1 -1
  39. package/lib/designer/src/packages/form/property/subForm.vue.js +13 -15
  40. package/lib/designer/src/packages/form/property/widgets.vue.js +23 -21
  41. package/lib/designer/src/packages/prod/index.vue.js +1 -1
  42. package/lib/designer/src/packages/table/headerBtn.vue.js +3 -3
  43. package/lib/designer.css +970 -967
  44. package/lib/packages/vue/src/components/dialog/DialogRenderer.vue2.js +48 -27
  45. package/lib/packages/vue/src/components/forms/subForm/SubForm.vue.js +25 -2
  46. package/lib/packages/vue/src/components/forms/text/Text.vue.js +1 -1
  47. package/package.json +1 -1
@@ -64,6 +64,13 @@ import "../formulaEditor/core/functionCore.mjs";
64
64
  /* empty css */
65
65
  /* empty css */
66
66
  /* empty css */
67
+ import { defaultProperty } from "../table/aside/index.mjs";
68
+ import { defaultTableConfig } from "../table/default.mjs";
69
+ import widgets from "../table/property/widgets.vue.mjs";
70
+ /* empty css */
71
+ /* empty css */
72
+ /* empty css */
73
+ /* empty css */
67
74
  /* empty css */
68
75
  /* empty css */
69
76
  /* empty css */
@@ -77,7 +84,7 @@ import "../formulaEditor/core/functionCore.mjs";
77
84
  import "../../../../node_modules/element-plus/theme-chalk/el-tab-pane.css.mjs";
78
85
  /* empty css */
79
86
  /* empty css */
80
- /* empty css */
87
+ /* empty css */
81
88
  /* empty css */
82
89
  /* empty css */
83
90
  /* empty css */
@@ -86,8 +93,6 @@ import "../../../../node_modules/element-plus/theme-chalk/el-tab-pane.css.mjs";
86
93
  /* empty css */
87
94
  import "../../../../node_modules/element-plus/theme-chalk/el-date-picker.css.mjs";
88
95
  import "../../axios/config.mjs";
89
- /* empty css */
90
- /* empty css */
91
96
  /* empty css */
92
97
  /* empty css */
93
98
  /* empty css */
@@ -97,10 +102,6 @@ import "../../axios/config.mjs";
97
102
  /* empty css */
98
103
  /* empty css */
99
104
  /* empty css */
100
- import { defaultProperty } from "../table/aside/index.mjs";
101
- import { defaultTableConfig } from "../table/default.mjs";
102
- import widgets from "../table/property/widgets.vue.mjs";
103
- /* empty css */
104
105
  import { ElMessage } from "../../../../node_modules/element-plus/es/components/message/index.mjs";
105
106
  import { ElDialog } from "../../../../node_modules/element-plus/es/components/dialog/index.mjs";
106
107
  import { ElContainer, ElAside, ElHeader, ElMain } from "../../../../node_modules/element-plus/es/components/container/index.mjs";
@@ -223,8 +224,9 @@ const _sfc_main = {
223
224
  componentPath: "",
224
225
  fieldMapping: [],
225
226
  subFormMode: "edit",
226
- subFormFooterButtons: []
227
+ subFormFooterButtons: [],
227
228
  // 表单底部按钮
229
+ componentParams: []
228
230
  };
229
231
  selectedDialogs.value.push(newDialog);
230
232
  isEditingNew.value = false;
@@ -402,7 +404,7 @@ const _sfc_main = {
402
404
  const _component_el_dialog = ElDialog;
403
405
  return openBlock(), createBlock(_component_el_dialog, {
404
406
  modelValue: dialogVisible.value,
405
- "onUpdate:modelValue": _cache[24] || (_cache[24] = ($event) => dialogVisible.value = $event),
407
+ "onUpdate:modelValue": _cache[26] || (_cache[26] = ($event) => dialogVisible.value = $event),
406
408
  width: "50%",
407
409
  title: "全局弹层配置",
408
410
  draggable: "",
@@ -416,10 +418,10 @@ const _sfc_main = {
416
418
  footer: withCtx(() => [
417
419
  createElementVNode("div", _hoisted_21, [
418
420
  createVNode(_component_el_button, {
419
- onClick: _cache[23] || (_cache[23] = ($event) => dialogVisible.value = false),
421
+ onClick: _cache[25] || (_cache[25] = ($event) => dialogVisible.value = false),
420
422
  disabled: unref(saving)
421
423
  }, {
422
- default: withCtx(() => _cache[41] || (_cache[41] = [
424
+ default: withCtx(() => _cache[43] || (_cache[43] = [
423
425
  createTextVNode("取消")
424
426
  ])),
425
427
  _: 1
@@ -430,7 +432,7 @@ const _sfc_main = {
430
432
  loading: unref(saving),
431
433
  disabled: unref(loading) || unref(saving)
432
434
  }, {
433
- default: withCtx(() => _cache[42] || (_cache[42] = [
435
+ default: withCtx(() => _cache[44] || (_cache[44] = [
434
436
  createTextVNode(" 确定 ")
435
437
  ])),
436
438
  _: 1
@@ -464,7 +466,7 @@ const _sfc_main = {
464
466
  icon: unref(plus_default),
465
467
  onClick: startAddDialog
466
468
  }, {
467
- default: withCtx(() => _cache[25] || (_cache[25] = [
469
+ default: withCtx(() => _cache[27] || (_cache[27] = [
468
470
  createTextVNode(" 新增弹层 ")
469
471
  ])),
470
472
  _: 1
@@ -491,7 +493,7 @@ const _sfc_main = {
491
493
  icon: unref(close_default),
492
494
  onClick: cancelAddDialog
493
495
  }, {
494
- default: withCtx(() => _cache[26] || (_cache[26] = [
496
+ default: withCtx(() => _cache[28] || (_cache[28] = [
495
497
  createTextVNode(" 取消 ")
496
498
  ])),
497
499
  _: 1
@@ -502,7 +504,7 @@ const _sfc_main = {
502
504
  icon: unref(check_default),
503
505
  onClick: confirmAddDialog
504
506
  }, {
505
- default: withCtx(() => _cache[27] || (_cache[27] = [
507
+ default: withCtx(() => _cache[29] || (_cache[29] = [
506
508
  createTextVNode(" 确认 ")
507
509
  ])),
508
510
  _: 1
@@ -610,25 +612,25 @@ const _sfc_main = {
610
612
  }, {
611
613
  default: withCtx(() => [
612
614
  createVNode(_component_el_radio_button, { value: "standard" }, {
613
- default: withCtx(() => _cache[28] || (_cache[28] = [
615
+ default: withCtx(() => _cache[30] || (_cache[30] = [
614
616
  createTextVNode("标准")
615
617
  ])),
616
618
  _: 1
617
619
  }),
618
620
  createVNode(_component_el_radio_button, { value: "large" }, {
619
- default: withCtx(() => _cache[29] || (_cache[29] = [
621
+ default: withCtx(() => _cache[31] || (_cache[31] = [
620
622
  createTextVNode("更大")
621
623
  ])),
622
624
  _: 1
623
625
  }),
624
626
  createVNode(_component_el_radio_button, { value: "small" }, {
625
- default: withCtx(() => _cache[30] || (_cache[30] = [
627
+ default: withCtx(() => _cache[32] || (_cache[32] = [
626
628
  createTextVNode("更小")
627
629
  ])),
628
630
  _: 1
629
631
  }),
630
632
  createVNode(_component_el_radio_button, { value: "custom" }, {
631
- default: withCtx(() => _cache[31] || (_cache[31] = [
633
+ default: withCtx(() => _cache[33] || (_cache[33] = [
632
634
  createTextVNode("自定义")
633
635
  ])),
634
636
  _: 1
@@ -678,25 +680,25 @@ const _sfc_main = {
678
680
  }, {
679
681
  default: withCtx(() => [
680
682
  createVNode(_component_el_radio_button, { value: "table" }, {
681
- default: withCtx(() => _cache[32] || (_cache[32] = [
683
+ default: withCtx(() => _cache[34] || (_cache[34] = [
682
684
  createTextVNode("列表")
683
685
  ])),
684
686
  _: 1
685
687
  }),
686
688
  createVNode(_component_el_radio_button, { value: "form" }, {
687
- default: withCtx(() => _cache[33] || (_cache[33] = [
689
+ default: withCtx(() => _cache[35] || (_cache[35] = [
688
690
  createTextVNode("表单")
689
691
  ])),
690
692
  _: 1
691
693
  }),
692
694
  createVNode(_component_el_radio_button, { value: "tree" }, {
693
- default: withCtx(() => _cache[34] || (_cache[34] = [
695
+ default: withCtx(() => _cache[36] || (_cache[36] = [
694
696
  createTextVNode("树形")
695
697
  ])),
696
698
  _: 1
697
699
  }),
698
700
  createVNode(_component_el_radio_button, { value: "component" }, {
699
- default: withCtx(() => _cache[35] || (_cache[35] = [
701
+ default: withCtx(() => _cache[37] || (_cache[37] = [
700
702
  createTextVNode("组件")
701
703
  ])),
702
704
  _: 1
@@ -716,13 +718,13 @@ const _sfc_main = {
716
718
  }, {
717
719
  default: withCtx(() => [
718
720
  createVNode(_component_el_radio_button, { value: "select" }, {
719
- default: withCtx(() => _cache[36] || (_cache[36] = [
721
+ default: withCtx(() => _cache[38] || (_cache[38] = [
720
722
  createTextVNode("选择列表")
721
723
  ])),
722
724
  _: 1
723
725
  }),
724
726
  createVNode(_component_el_radio_button, { value: "custom" }, {
725
- default: withCtx(() => _cache[37] || (_cache[37] = [
727
+ default: withCtx(() => _cache[39] || (_cache[39] = [
726
728
  createTextVNode("自定义")
727
729
  ])),
728
730
  _: 1
@@ -783,7 +785,7 @@ const _sfc_main = {
783
785
  icon: "Plus",
784
786
  link: ""
785
787
  }, {
786
- default: withCtx(() => _cache[38] || (_cache[38] = [
788
+ default: withCtx(() => _cache[40] || (_cache[40] = [
787
789
  createTextVNode(" 添加列配置 ")
788
790
  ])),
789
791
  _: 1
@@ -933,13 +935,13 @@ const _sfc_main = {
933
935
  }, {
934
936
  default: withCtx(() => [
935
937
  createVNode(_component_el_radio_button, { value: "edit" }, {
936
- default: withCtx(() => _cache[39] || (_cache[39] = [
938
+ default: withCtx(() => _cache[41] || (_cache[41] = [
937
939
  createTextVNode("编辑")
938
940
  ])),
939
941
  _: 1
940
942
  }),
941
943
  createVNode(_component_el_radio_button, { value: "query" }, {
942
- default: withCtx(() => _cache[40] || (_cache[40] = [
944
+ default: withCtx(() => _cache[42] || (_cache[42] = [
943
945
  createTextVNode("查看")
944
946
  ])),
945
947
  _: 1
@@ -972,20 +974,37 @@ const _sfc_main = {
972
974
  _: 1
973
975
  })
974
976
  ], 64)) : createCommentVNode("", true),
975
- unref(currentDialog).contentSource === "component" ? (openBlock(), createBlock(_component_el_form_item, {
976
- key: 3,
977
- label: "选择组件"
978
- }, {
979
- default: withCtx(() => [
980
- createVNode(_component_el_input, {
981
- modelValue: unref(currentDialog).componentPath,
982
- "onUpdate:modelValue": _cache[22] || (_cache[22] = ($event) => unref(currentDialog).componentPath = $event),
983
- placeholder: "请输入组件路径",
984
- clearable: ""
985
- }, null, 8, ["modelValue"])
986
- ]),
987
- _: 1
988
- })) : createCommentVNode("", true)
977
+ unref(currentDialog).contentSource === "component" ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
978
+ createVNode(_component_el_form_item, { label: "组件路由地址" }, {
979
+ default: withCtx(() => [
980
+ createVNode(_component_el_input, {
981
+ modelValue: unref(currentDialog).componentPath,
982
+ "onUpdate:modelValue": _cache[22] || (_cache[22] = ($event) => unref(currentDialog).componentPath = $event),
983
+ placeholder: "请输入组件路径",
984
+ clearable: ""
985
+ }, null, 8, ["modelValue"])
986
+ ]),
987
+ _: 1
988
+ }),
989
+ createVNode(_component_el_form_item, { label: "组件参数" }, {
990
+ default: withCtx(() => [
991
+ createVNode(ParamsConfig, {
992
+ modelValue: unref(currentDialog).componentParams,
993
+ "onUpdate:modelValue": _cache[23] || (_cache[23] = ($event) => unref(currentDialog).componentParams = $event)
994
+ }, null, 8, ["modelValue"])
995
+ ]),
996
+ _: 1
997
+ }),
998
+ createVNode(_component_el_form_item, { label: "组件是否是弹层" }, {
999
+ default: withCtx(() => [
1000
+ createVNode(_component_el_switch, {
1001
+ modelValue: unref(currentDialog).componentIsDialog,
1002
+ "onUpdate:modelValue": _cache[24] || (_cache[24] = ($event) => unref(currentDialog).componentIsDialog = $event)
1003
+ }, null, 8, ["modelValue"])
1004
+ ]),
1005
+ _: 1
1006
+ })
1007
+ ], 64)) : createCommentVNode("", true)
989
1008
  ]),
990
1009
  _: 1
991
1010
  }, 8, ["model"])
@@ -1010,7 +1029,7 @@ const _sfc_main = {
1010
1029
  };
1011
1030
  }
1012
1031
  };
1013
- const DialogGlobalDialog = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-e1cf0065"]]);
1032
+ const DialogGlobalDialog = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-e641bf90"]]);
1014
1033
  export {
1015
1034
  DialogGlobalDialog as default
1016
1035
  };
@@ -10,7 +10,7 @@ import "../../../../node_modules/element-plus/theme-chalk/el-tab-pane.css.mjs";
10
10
  /* empty css */
11
11
  /* empty css */
12
12
  /* empty css */
13
- import { useModel, computed, ref, watch, createBlock, openBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, normalizeClass, createTextVNode, toDisplayString, createCommentVNode, normalizeStyle } from "vue";
13
+ import { useModel, computed, ref, watch, resolveComponent, createBlock, openBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, normalizeClass, createTextVNode, toDisplayString, createCommentVNode, normalizeStyle } from "vue";
14
14
  import _sfc_main$1 from "../eventFlow/index.vue.mjs";
15
15
  import defaultProcessData from "../eventFlow/defaultProcessData.mjs";
16
16
  import { getEditConfigData, cloneDeep } from "../utils/common.mjs";
@@ -20,6 +20,7 @@ import { getEditConfigData, cloneDeep } from "../utils/common.mjs";
20
20
  import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.mjs";
21
21
  import { ElDialog } from "../../../../node_modules/element-plus/es/components/dialog/index.mjs";
22
22
  import { ElContainer, ElAside, ElHeader, ElMain } from "../../../../node_modules/element-plus/es/components/container/index.mjs";
23
+ import { ElIcon } from "../../../../node_modules/element-plus/es/components/icon/index.mjs";
23
24
  import { ElTabs, ElTabPane } from "../../../../node_modules/element-plus/es/components/tabs/index.mjs";
24
25
  import { ElButton } from "../../../../node_modules/element-plus/es/components/button/index.mjs";
25
26
  import { ElMessage } from "../../../../node_modules/element-plus/es/components/message/index.mjs";
@@ -94,6 +95,9 @@ const _sfc_main = {
94
95
  throw errors;
95
96
  }
96
97
  };
98
+ const handleRemoveEvent = (index) => {
99
+ pageEvents.value[index].eventFlow = createEventFlow();
100
+ };
97
101
  const onConfirm = async () => {
98
102
  try {
99
103
  if (activeTab.value === "eventFlow") {
@@ -109,6 +113,8 @@ const _sfc_main = {
109
113
  };
110
114
  return (_ctx, _cache) => {
111
115
  const _component_el_header = ElHeader;
116
+ const _component_Delete = resolveComponent("Delete");
117
+ const _component_el_icon = ElIcon;
112
118
  const _component_el_main = ElMain;
113
119
  const _component_el_container = ElContainer;
114
120
  const _component_el_aside = ElAside;
@@ -184,7 +190,16 @@ const _sfc_main = {
184
190
  createElementVNode("span", null, toDisplayString(event.name), 1)
185
191
  ]),
186
192
  createElementVNode("span", _hoisted_4, toDisplayString(event.description), 1)
187
- ])
193
+ ]),
194
+ createVNode(_component_el_icon, {
195
+ class: "delete-icon",
196
+ onClick: ($event) => handleRemoveEvent(index)
197
+ }, {
198
+ default: withCtx(() => [
199
+ createVNode(_component_Delete)
200
+ ]),
201
+ _: 2
202
+ }, 1032, ["onClick"])
188
203
  ])
189
204
  ], 10, _hoisted_1);
190
205
  }), 128))
@@ -253,7 +268,7 @@ const _sfc_main = {
253
268
  };
254
269
  }
255
270
  };
256
- const PageEvent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-eb92bfe7"]]);
271
+ const PageEvent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-6bd0ac6f"]]);
257
272
  export {
258
273
  PageEvent as default
259
274
  };
@@ -2,24 +2,18 @@ import "../../../../../../node_modules/element-plus/es/index.mjs";
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  /* empty css */
5
- /* empty css */
6
- /* empty css */
7
- /* empty css */
8
- /* empty css */
9
- /* empty css */
10
- /* empty css */
11
5
  /* empty css */
12
6
  /* empty css */
13
7
  /* empty css */
14
- import { ref, watch, computed, createElementBlock, openBlock, Fragment, createVNode, createBlock, createCommentVNode, withCtx, createTextVNode, renderList, unref } from "vue";
8
+ import { ref, watch, computed, createElementBlock, openBlock, Fragment, createVNode, createBlock, createCommentVNode, withCtx, createTextVNode, unref } from "vue";
15
9
  import { getEditConfigData } from "../../../utils/common.mjs";
16
10
  import FieldSetMapping from "../../../../components/FieldSetMapping.vue2.mjs";
17
11
  import OnlyFLowConfigButton from "../../../../components/OnlyFLowConfigButton.vue2.mjs";
18
- import _sfc_main$1 from "../../../../components/FormulaEditorInput.vue.mjs";
12
+ import _sfc_main$2 from "../../../../components/FormulaEditorInput.vue.mjs";
19
13
  import api from "../../../../api/index.mjs";
14
+ import _sfc_main$1 from "../../../../components/DialogSelect.vue.mjs";
20
15
  import { ElFormItem } from "../../../../../../node_modules/element-plus/es/components/form/index.mjs";
21
16
  import { ElRadioGroup, ElRadioButton } from "../../../../../../node_modules/element-plus/es/components/radio/index.mjs";
22
- import { ElSelect, ElOption } from "../../../../../../node_modules/element-plus/es/components/select/index.mjs";
23
17
  import { ElInput } from "../../../../../../node_modules/element-plus/es/components/input/index.mjs";
24
18
  const _sfc_main = {
25
19
  __name: "Dialog",
@@ -120,8 +114,6 @@ const _sfc_main = {
120
114
  const _component_el_radio_button = ElRadioButton;
121
115
  const _component_el_radio_group = ElRadioGroup;
122
116
  const _component_el_form_item = ElFormItem;
123
- const _component_el_option = ElOption;
124
- const _component_el_select = ElSelect;
125
117
  const _component_el_input = ElInput;
126
118
  return openBlock(), createElementBlock(Fragment, null, [
127
119
  createVNode(_component_el_form_item, { label: "弹层来源" }, {
@@ -152,27 +144,15 @@ const _sfc_main = {
152
144
  }),
153
145
  createVNode(_component_el_form_item, { label: "选择弹层" }, {
154
146
  default: withCtx(() => [
155
- createVNode(_component_el_select, {
147
+ createVNode(_sfc_main$1, {
156
148
  modelValue: __props.formData.dialogId,
157
149
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => __props.formData.dialogId = $event),
158
- placeholder: "请选择弹层",
159
- filterable: "",
160
150
  size: "small",
161
151
  loading: loading.value,
162
- clearable: "",
163
- onChange: handleDialogChange
164
- }, {
165
- default: withCtx(() => [
166
- (openBlock(true), createElementBlock(Fragment, null, renderList(dialogOptions.value, (dialog) => {
167
- return openBlock(), createBlock(_component_el_option, {
168
- key: dialog.id,
169
- label: dialog.name,
170
- value: dialog.id
171
- }, null, 8, ["label", "value"]);
172
- }), 128))
173
- ]),
174
- _: 1
175
- }, 8, ["modelValue", "loading"])
152
+ onChange: handleDialogChange,
153
+ dialogOptions: dialogOptions.value,
154
+ isGlobal: __props.formData.dialogSource == "global"
155
+ }, null, 8, ["modelValue", "loading", "dialogOptions", "isGlobal"])
176
156
  ]),
177
157
  _: 1
178
158
  }),
@@ -220,7 +200,7 @@ const _sfc_main = {
220
200
  }),
221
201
  createVNode(_component_el_form_item, { label: "选取后反显格式" }, {
222
202
  default: withCtx(() => [
223
- createVNode(unref(_sfc_main$1), {
203
+ createVNode(unref(_sfc_main$2), {
224
204
  title: "反显格式配置",
225
205
  formulaConf: __props.formData.displayFormat,
226
206
  "onUpdate:formulaConf": _cache[4] || (_cache[4] = ($event) => __props.formData.displayFormat = $event),
@@ -4,7 +4,7 @@ import "../../../../../../node_modules/element-plus/es/index.mjs";
4
4
  /* empty css */
5
5
  import { createElementBlock, openBlock, Fragment, createVNode, withCtx } from "vue";
6
6
  import RiskSchemeSelector from "../../../../components/RiskSchemeSelector.vue2.mjs";
7
- import ValueSelector from "../../../../components/ValueSelector.vue.mjs";
7
+ import ValueSelector from "../../../../components/ValueSelector.vue2.mjs";
8
8
  import ParamsConfig from "../../../../components/ParamsConfig.vue2.mjs";
9
9
  import { ElFormItem } from "../../../../../../node_modules/element-plus/es/components/form/index.mjs";
10
10
  import { ElSwitch } from "../../../../../../node_modules/element-plus/es/components/switch/index.mjs";
@@ -102,6 +102,7 @@ const components = [
102
102
  titleMode: "none",
103
103
  dataSourceFrom: "main",
104
104
  formSource: "select",
105
+ subFormParams: [],
105
106
  ...defaultProperty
106
107
  },
107
108
  {
@@ -11,7 +11,7 @@ import "../../../../../node_modules/element-plus/es/index.mjs";
11
11
  import { computed, ref, watch, createBlock, openBlock, unref, isRef, withCtx, createVNode, createElementBlock, createCommentVNode, createTextVNode, Fragment } from "vue";
12
12
  import { getCurrentItem, getEditConfigData } from "../../utils/common.mjs";
13
13
  import emitter from "../../utils/eventBus.mjs";
14
- import ValueSelector from "../../../components/ValueSelector.vue.mjs";
14
+ import ValueSelector from "../../../components/ValueSelector.vue2.mjs";
15
15
  import { ElCollapse, ElCollapseItem } from "../../../../../node_modules/element-plus/es/components/collapse/index.mjs";
16
16
  import { ElForm, ElFormItem } from "../../../../../node_modules/element-plus/es/components/form/index.mjs";
17
17
  import { ElInput } from "../../../../../node_modules/element-plus/es/components/input/index.mjs";
@@ -17,7 +17,7 @@ import "../../../../../node_modules/element-plus/es/index.mjs";
17
17
  import { computed, ref, createBlock, openBlock, withCtx, createVNode, createTextVNode, createElementBlock, Fragment, renderList } from "vue";
18
18
  import { getCurrentItem } from "../../utils/common.mjs";
19
19
  import "../../utils/eventBus.mjs";
20
- import ValueSelector from "../../../components/ValueSelector.vue.mjs";
20
+ import ValueSelector from "../../../components/ValueSelector.vue2.mjs";
21
21
  import api from "../../../api/index.mjs";
22
22
  import ParamsConfig from "../../../components/ParamsConfig.vue2.mjs";
23
23
  /* empty css */
@@ -3,7 +3,6 @@ import "../../../../../node_modules/element-plus/es/index.mjs";
3
3
  /* empty css */
4
4
  /* empty css */
5
5
  /* empty css */
6
- /* empty css */
7
6
  /* empty css */
8
7
  /* empty css */
9
8
  /* empty css */
@@ -13,12 +12,12 @@ import { computed, ref, createBlock, openBlock, unref, isRef, withCtx, createVNo
13
12
  import { getCurrentItem, getEditConfigData } from "../../utils/common.mjs";
14
13
  import TemplateSelector from "../../../components/TemplateSelector.vue.mjs";
15
14
  import emitter from "../../utils/eventBus.mjs";
16
- import ValueSelector from "../../../components/ValueSelector.vue.mjs";
15
+ import ValueSelector from "../../../components/ValueSelector.vue2.mjs";
16
+ import ParamsConfig from "../../../components/ParamsConfig.vue2.mjs";
17
17
  import { ElCollapse, ElCollapseItem } from "../../../../../node_modules/element-plus/es/components/collapse/index.mjs";
18
18
  import { ElForm, ElFormItem } from "../../../../../node_modules/element-plus/es/components/form/index.mjs";
19
19
  import { ElInput } from "../../../../../node_modules/element-plus/es/components/input/index.mjs";
20
20
  import { ElRadioGroup, ElRadioButton } from "../../../../../node_modules/element-plus/es/components/radio/index.mjs";
21
- import { ElSwitch } from "../../../../../node_modules/element-plus/es/components/switch/index.mjs";
22
21
  const _sfc_main = {
23
22
  __name: "subForm",
24
23
  setup(__props) {
@@ -43,7 +42,6 @@ const _sfc_main = {
43
42
  const _component_el_form_item = ElFormItem;
44
43
  const _component_el_radio_button = ElRadioButton;
45
44
  const _component_el_radio_group = ElRadioGroup;
46
- const _component_el_switch = ElSwitch;
47
45
  const _component_el_form = ElForm;
48
46
  const _component_el_collapse_item = ElCollapseItem;
49
47
  const _component_el_collapse = ElCollapse;
@@ -173,10 +171,7 @@ const _sfc_main = {
173
171
  ])),
174
172
  _: 1
175
173
  }),
176
- createVNode(_component_el_radio_button, {
177
- value: "self",
178
- disabled: ""
179
- }, {
174
+ createVNode(_component_el_radio_button, { value: "self" }, {
180
175
  default: withCtx(() => _cache[20] || (_cache[20] = [
181
176
  createTextVNode("子表单自加载")
182
177
  ])),
@@ -188,15 +183,18 @@ const _sfc_main = {
188
183
  ]),
189
184
  _: 1
190
185
  }),
191
- createVNode(_component_el_form_item, { label: "执行子表单全局事件" }, {
186
+ unref(currentItem).dataSourceFrom == "self" ? (openBlock(), createBlock(_component_el_form_item, {
187
+ key: 1,
188
+ label: "表单参数"
189
+ }, {
192
190
  default: withCtx(() => [
193
- createVNode(_component_el_switch, {
194
- modelValue: unref(currentItem).triggerSubFormPageEvent,
195
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => unref(currentItem).triggerSubFormPageEvent = $event)
191
+ createVNode(ParamsConfig, {
192
+ modelValue: unref(currentItem).subFormParams,
193
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => unref(currentItem).subFormParams = $event)
196
194
  }, null, 8, ["modelValue"])
197
195
  ]),
198
196
  _: 1
199
- }),
197
+ })) : createCommentVNode("", true),
200
198
  createVNode(_component_el_form_item, { label: "权限标识" }, {
201
199
  default: withCtx(() => [
202
200
  createVNode(_component_el_input, {
@@ -233,7 +231,7 @@ const _sfc_main = {
233
231
  _: 1
234
232
  }),
235
233
  unref(currentItem).formSource == "select" ? (openBlock(), createBlock(_component_el_form_item, {
236
- key: 1,
234
+ key: 2,
237
235
  label: "选择子表单"
238
236
  }, {
239
237
  default: withCtx(() => [
@@ -249,7 +247,7 @@ const _sfc_main = {
249
247
  ]),
250
248
  _: 1
251
249
  })) : unref(currentItem).formSource == "dynamic" ? (openBlock(), createBlock(_component_el_form_item, {
252
- key: 2,
250
+ key: 3,
253
251
  label: "表单标识"
254
252
  }, {
255
253
  default: withCtx(() => [