@fecp/designer 5.5.21 → 5.5.23
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/es/designer/package.json.mjs +1 -1
- package/es/designer/src/components/DocumentParam.vue.mjs +1 -1
- package/es/designer/src/components/ParamsConfig.vue2.mjs +1 -1
- package/es/designer/src/layout/aside/HiddenFieldDialog.vue.mjs +1 -1
- package/es/designer/src/packages/advancedFilter/ValueInput.vue2.mjs +1 -1
- package/es/designer/src/packages/dataLinkage/index.vue.mjs +1 -1
- package/es/designer/src/packages/dialogGlobal/index.vue.mjs +1 -1
- package/es/designer/src/packages/eventFlow/dialog/action/RiskSch.vue.mjs +1 -1
- package/es/designer/src/packages/form/property/approvalHistory.vue.mjs +1 -1
- package/es/designer/src/packages/form/property/contract.vue.mjs +1 -1
- package/es/designer/src/packages/form/property/subForm.vue.mjs +1 -1
- package/es/designer/src/packages/prod/index.vue.mjs +1 -1
- package/es/designer/src/packages/table/headerBtn.vue.mjs +1 -1
- package/es/packages/vue/src/utils/eventFlow/actionHandlers.mjs +1 -0
- package/lib/designer/package.json.js +1 -1
- package/lib/designer/src/components/DocumentParam.vue.js +1 -1
- package/lib/designer/src/components/ParamsConfig.vue2.js +1 -1
- package/lib/designer/src/layout/aside/HiddenFieldDialog.vue.js +1 -1
- package/lib/designer/src/packages/advancedFilter/ValueInput.vue2.js +1 -1
- package/lib/designer/src/packages/dataLinkage/index.vue.js +1 -1
- package/lib/designer/src/packages/dialogGlobal/index.vue.js +1 -1
- package/lib/designer/src/packages/eventFlow/dialog/action/RiskSch.vue.js +1 -1
- package/lib/designer/src/packages/form/property/approvalHistory.vue.js +1 -1
- package/lib/designer/src/packages/form/property/contract.vue.js +1 -1
- package/lib/designer/src/packages/form/property/subForm.vue.js +1 -1
- package/lib/designer/src/packages/prod/index.vue.js +1 -1
- package/lib/designer/src/packages/table/headerBtn.vue.js +1 -1
- package/lib/packages/vue/src/utils/eventFlow/actionHandlers.js +1 -0
- package/package.json +1 -1
|
@@ -11,7 +11,7 @@ import "../../../_virtual/dayjs.min.mjs";
|
|
|
11
11
|
/* empty css */
|
|
12
12
|
import { getCurrentInstance, computed, ref, createElementBlock, openBlock, createBlock, unref, withCtx, createTextVNode, createElementVNode, Fragment, renderList, createVNode } from "vue";
|
|
13
13
|
import { Plus as plus_default, Delete as delete_default } from "../../../node_modules/@element-plus/icons-vue/dist/index.mjs";
|
|
14
|
-
import ValueSelector from "./ValueSelector.
|
|
14
|
+
import ValueSelector from "./ValueSelector.vue.mjs";
|
|
15
15
|
import api from "../api/index.mjs";
|
|
16
16
|
/* empty css */
|
|
17
17
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
@@ -6,7 +6,7 @@ import "../../../_virtual/dayjs.min.mjs";
|
|
|
6
6
|
/* empty css */
|
|
7
7
|
import { computed, createElementBlock, openBlock, createBlock, unref, withCtx, createTextVNode, createElementVNode, Fragment, renderList, createVNode } from "vue";
|
|
8
8
|
import { Plus as plus_default, Delete as delete_default } from "../../../node_modules/@element-plus/icons-vue/dist/index.mjs";
|
|
9
|
-
import ValueSelector from "./ValueSelector.
|
|
9
|
+
import ValueSelector from "./ValueSelector.vue.mjs";
|
|
10
10
|
/* empty css */
|
|
11
11
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
12
12
|
const _hoisted_1 = { class: "params-config-container" };
|
|
@@ -21,7 +21,7 @@ import { ElMessage, ElMessageBox } from "element-plus";
|
|
|
21
21
|
import { getEditConfigData, getEditingType, cloneDeep, getEditConfigDataFields } from "../../packages/utils/common.mjs";
|
|
22
22
|
import { defaultProperty } from "../../packages/form/aside/index.mjs";
|
|
23
23
|
import { defaultProperty as defaultProperty$1 } from "../../packages/table/aside/index.mjs";
|
|
24
|
-
import ValueSelector from "../../components/ValueSelector.
|
|
24
|
+
import ValueSelector from "../../components/ValueSelector.vue.mjs";
|
|
25
25
|
/* empty css */
|
|
26
26
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
27
27
|
const _hoisted_1 = { class: "action-bar" };
|
|
@@ -18,7 +18,7 @@ import "../../../../node_modules/element-plus/theme-chalk/el-tooltip.css.mjs";
|
|
|
18
18
|
import "../../../../node_modules/element-plus/theme-chalk/el-date-picker.css.mjs";
|
|
19
19
|
import { getCurrentInstance, computed, watch, ref, createElementBlock, unref, openBlock, createBlock, isRef, createVNode, createElementVNode, withCtx, Fragment, renderList } from "vue";
|
|
20
20
|
import { useVModel } from "../../../../node_modules/@vueuse/core/dist/index.mjs";
|
|
21
|
-
import ValueSelector from "../../components/ValueSelector.
|
|
21
|
+
import ValueSelector from "../../components/ValueSelector.vue.mjs";
|
|
22
22
|
import api from "../../api/index.mjs";
|
|
23
23
|
import { getEditConfigDataSources } from "../utils/common.mjs";
|
|
24
24
|
import { createDataSource } from "../utils/datasource.mjs";
|
|
@@ -99,7 +99,7 @@ import widgets from "../table/property/widgets.vue.mjs";
|
|
|
99
99
|
import "../../../../node_modules/element-plus/theme-chalk/el-tab-pane.css.mjs";
|
|
100
100
|
/* empty css */
|
|
101
101
|
/* empty css */
|
|
102
|
-
/* empty css
|
|
102
|
+
/* empty css */
|
|
103
103
|
/* empty css */
|
|
104
104
|
/* empty css */
|
|
105
105
|
/* empty css */
|
|
@@ -6,7 +6,7 @@ import "../../../../../../_virtual/dayjs.min.mjs";
|
|
|
6
6
|
/* empty css */
|
|
7
7
|
import { createElementBlock, openBlock, Fragment, createVNode, withCtx } from "vue";
|
|
8
8
|
import RiskSchemeSelector from "../../../../components/RiskSchemeSelector.vue2.mjs";
|
|
9
|
-
import ValueSelector from "../../../../components/ValueSelector.
|
|
9
|
+
import ValueSelector from "../../../../components/ValueSelector.vue.mjs";
|
|
10
10
|
import ParamsConfig from "../../../../components/ParamsConfig.vue2.mjs";
|
|
11
11
|
const _sfc_main = {
|
|
12
12
|
__name: "RiskSch",
|
|
@@ -15,7 +15,7 @@ import "../../../../../_virtual/dayjs.min.mjs";
|
|
|
15
15
|
import { computed, ref, watch, createBlock, openBlock, unref, isRef, withCtx, createVNode, createElementBlock, createCommentVNode, createTextVNode, Fragment } from "vue";
|
|
16
16
|
import { getCurrentItem, getEditConfigData } from "../../utils/common.mjs";
|
|
17
17
|
import emitter from "../../utils/eventBus.mjs";
|
|
18
|
-
import ValueSelector from "../../../components/ValueSelector.
|
|
18
|
+
import ValueSelector from "../../../components/ValueSelector.vue.mjs";
|
|
19
19
|
const _sfc_main = {
|
|
20
20
|
__name: "approvalHistory",
|
|
21
21
|
setup(__props) {
|
|
@@ -22,7 +22,7 @@ import "../../../../../_virtual/dayjs.min.mjs";
|
|
|
22
22
|
import { getCurrentInstance, computed, ref, createBlock, openBlock, withCtx, createVNode, createTextVNode, createElementBlock, Fragment, renderList } from "vue";
|
|
23
23
|
import { getCurrentItem } from "../../utils/common.mjs";
|
|
24
24
|
import "../../utils/eventBus.mjs";
|
|
25
|
-
import ValueSelector from "../../../components/ValueSelector.
|
|
25
|
+
import ValueSelector from "../../../components/ValueSelector.vue.mjs";
|
|
26
26
|
import api from "../../../api/index.mjs";
|
|
27
27
|
import ParamsConfig from "../../../components/ParamsConfig.vue2.mjs";
|
|
28
28
|
/* empty css */
|
|
@@ -16,7 +16,7 @@ import { computed, ref, createBlock, openBlock, unref, isRef, withCtx, createVNo
|
|
|
16
16
|
import { getCurrentItem, getEditConfigData } from "../../utils/common.mjs";
|
|
17
17
|
import TemplateSelector from "../../../components/TemplateSelector.vue2.mjs";
|
|
18
18
|
import emitter from "../../utils/eventBus.mjs";
|
|
19
|
-
import ValueSelector from "../../../components/ValueSelector.
|
|
19
|
+
import ValueSelector from "../../../components/ValueSelector.vue.mjs";
|
|
20
20
|
import ParamsConfig from "../../../components/ParamsConfig.vue2.mjs";
|
|
21
21
|
const _sfc_main = {
|
|
22
22
|
__name: "subForm",
|
|
@@ -18,7 +18,7 @@ import "../../../../_virtual/dayjs.min.mjs";
|
|
|
18
18
|
import { getCurrentInstance, useModel, ref, watch, computed, createBlock, openBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, createTextVNode, unref } from "vue";
|
|
19
19
|
import { Plus as plus_default } from "../../../../node_modules/@element-plus/icons-vue/dist/index.mjs";
|
|
20
20
|
import { getEditConfigData, getEditConfigDataFields, setEditConfigData } from "../utils/common.mjs";
|
|
21
|
-
import ValueSelector from "../../components/ValueSelector.
|
|
21
|
+
import ValueSelector from "../../components/ValueSelector.vue.mjs";
|
|
22
22
|
import { ElMessage } from "element-plus";
|
|
23
23
|
import api from "../../api/index.mjs";
|
|
24
24
|
/* empty css */
|
|
@@ -543,6 +543,7 @@ async function handleFormSubmit(node, data, fields, context) {
|
|
|
543
543
|
delete formData[targetField.fieldName];
|
|
544
544
|
});
|
|
545
545
|
}
|
|
546
|
+
formData = removeEmptyValues(formData);
|
|
546
547
|
const result = await handleApiCall(node, data, fields, context, formData);
|
|
547
548
|
if (!result.success) {
|
|
548
549
|
return result;
|
|
@@ -13,7 +13,7 @@ require("../../../_virtual/dayjs.min.js");
|
|
|
13
13
|
;/* empty css */
|
|
14
14
|
const vue = require("vue");
|
|
15
15
|
const index$2 = require("../../../node_modules/@element-plus/icons-vue/dist/index.js");
|
|
16
|
-
const ValueSelector = require("./ValueSelector.
|
|
16
|
+
const ValueSelector = require("./ValueSelector.vue.js");
|
|
17
17
|
const index = require("../api/index.js");
|
|
18
18
|
;/* empty css */
|
|
19
19
|
const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
|
|
@@ -8,7 +8,7 @@ require("../../../_virtual/dayjs.min.js");
|
|
|
8
8
|
;/* empty css */
|
|
9
9
|
const vue = require("vue");
|
|
10
10
|
const index$1 = require("../../../node_modules/@element-plus/icons-vue/dist/index.js");
|
|
11
|
-
const ValueSelector = require("./ValueSelector.
|
|
11
|
+
const ValueSelector = require("./ValueSelector.vue.js");
|
|
12
12
|
;/* empty css */
|
|
13
13
|
const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
|
|
14
14
|
const _hoisted_1 = { class: "params-config-container" };
|
|
@@ -23,7 +23,7 @@ const ElementPlus = require("element-plus");
|
|
|
23
23
|
const common = require("../../packages/utils/common.js");
|
|
24
24
|
const index$5 = require("../../packages/form/aside/index.js");
|
|
25
25
|
const index$6 = require("../../packages/table/aside/index.js");
|
|
26
|
-
const ValueSelector = require("../../components/ValueSelector.
|
|
26
|
+
const ValueSelector = require("../../components/ValueSelector.vue.js");
|
|
27
27
|
;/* empty css */
|
|
28
28
|
const _pluginVue_exportHelper = require("../../../../_virtual/_plugin-vue_export-helper.js");
|
|
29
29
|
const _hoisted_1 = { class: "action-bar" };
|
|
@@ -20,7 +20,7 @@ require("../../../../node_modules/element-plus/theme-chalk/el-tooltip.css.js");
|
|
|
20
20
|
require("../../../../node_modules/element-plus/theme-chalk/el-date-picker.css.js");
|
|
21
21
|
const vue = require("vue");
|
|
22
22
|
const index = require("../../../../node_modules/@vueuse/core/dist/index.js");
|
|
23
|
-
const ValueSelector = require("../../components/ValueSelector.
|
|
23
|
+
const ValueSelector = require("../../components/ValueSelector.vue.js");
|
|
24
24
|
const index$1 = require("../../api/index.js");
|
|
25
25
|
const common = require("../utils/common.js");
|
|
26
26
|
const datasource = require("../utils/datasource.js");
|
|
@@ -40,7 +40,7 @@ require("element-plus");
|
|
|
40
40
|
;/* empty css */
|
|
41
41
|
;/* empty css */
|
|
42
42
|
const _pluginVue_exportHelper = require("../../../../_virtual/_plugin-vue_export-helper.js");
|
|
43
|
-
;/* empty css
|
|
43
|
+
;/* empty css */
|
|
44
44
|
;/* empty css */
|
|
45
45
|
;/* empty css */
|
|
46
46
|
;/* empty css */
|
|
@@ -101,7 +101,7 @@ const widgets = require("../table/property/widgets.vue.js");
|
|
|
101
101
|
require("../../../../node_modules/element-plus/theme-chalk/el-tab-pane.css.js");
|
|
102
102
|
;/* empty css */
|
|
103
103
|
;/* empty css */
|
|
104
|
-
;/* empty css
|
|
104
|
+
;/* empty css */
|
|
105
105
|
;/* empty css */
|
|
106
106
|
;/* empty css */
|
|
107
107
|
;/* empty css */
|
|
@@ -8,7 +8,7 @@ require("../../../../../../_virtual/dayjs.min.js");
|
|
|
8
8
|
;/* empty css */
|
|
9
9
|
const vue = require("vue");
|
|
10
10
|
const RiskSchemeSelector = require("../../../../components/RiskSchemeSelector.vue2.js");
|
|
11
|
-
const ValueSelector = require("../../../../components/ValueSelector.
|
|
11
|
+
const ValueSelector = require("../../../../components/ValueSelector.vue.js");
|
|
12
12
|
const ParamsConfig = require("../../../../components/ParamsConfig.vue2.js");
|
|
13
13
|
const _sfc_main = {
|
|
14
14
|
__name: "RiskSch",
|
|
@@ -17,7 +17,7 @@ require("../../../../../_virtual/dayjs.min.js");
|
|
|
17
17
|
const vue = require("vue");
|
|
18
18
|
const common = require("../../utils/common.js");
|
|
19
19
|
const eventBus = require("../../utils/eventBus.js");
|
|
20
|
-
const ValueSelector = require("../../../components/ValueSelector.
|
|
20
|
+
const ValueSelector = require("../../../components/ValueSelector.vue.js");
|
|
21
21
|
const _sfc_main = {
|
|
22
22
|
__name: "approvalHistory",
|
|
23
23
|
setup(__props) {
|
|
@@ -24,7 +24,7 @@ require("../../../../../_virtual/dayjs.min.js");
|
|
|
24
24
|
const vue = require("vue");
|
|
25
25
|
const common = require("../../utils/common.js");
|
|
26
26
|
require("../../utils/eventBus.js");
|
|
27
|
-
const ValueSelector = require("../../../components/ValueSelector.
|
|
27
|
+
const ValueSelector = require("../../../components/ValueSelector.vue.js");
|
|
28
28
|
const index = require("../../../api/index.js");
|
|
29
29
|
const ParamsConfig = require("../../../components/ParamsConfig.vue2.js");
|
|
30
30
|
;/* empty css */
|
|
@@ -18,7 +18,7 @@ const vue = require("vue");
|
|
|
18
18
|
const common = require("../../utils/common.js");
|
|
19
19
|
const TemplateSelector = require("../../../components/TemplateSelector.vue2.js");
|
|
20
20
|
const eventBus = require("../../utils/eventBus.js");
|
|
21
|
-
const ValueSelector = require("../../../components/ValueSelector.
|
|
21
|
+
const ValueSelector = require("../../../components/ValueSelector.vue.js");
|
|
22
22
|
const ParamsConfig = require("../../../components/ParamsConfig.vue2.js");
|
|
23
23
|
const _sfc_main = {
|
|
24
24
|
__name: "subForm",
|
|
@@ -20,7 +20,7 @@ require("../../../../_virtual/dayjs.min.js");
|
|
|
20
20
|
const vue = require("vue");
|
|
21
21
|
const index$5 = require("../../../../node_modules/@element-plus/icons-vue/dist/index.js");
|
|
22
22
|
const common = require("../utils/common.js");
|
|
23
|
-
const ValueSelector = require("../../components/ValueSelector.
|
|
23
|
+
const ValueSelector = require("../../components/ValueSelector.vue.js");
|
|
24
24
|
const ElementPlus = require("element-plus");
|
|
25
25
|
const index = require("../../api/index.js");
|
|
26
26
|
;/* empty css */
|
|
@@ -545,6 +545,7 @@ async function handleFormSubmit(node, data, fields, context) {
|
|
|
545
545
|
delete formData[targetField.fieldName];
|
|
546
546
|
});
|
|
547
547
|
}
|
|
548
|
+
formData = common.removeEmptyValues(formData);
|
|
548
549
|
const result = await handleApiCall(node, data, fields, context, formData);
|
|
549
550
|
if (!result.success) {
|
|
550
551
|
return result;
|