@fecp/designer 5.5.19 → 5.5.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.
- package/es/designer/index.mjs +5 -0
- 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/components/ValueSelector.vue2.mjs +1 -3
- 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 +4 -0
- package/lib/designer/index.js +5 -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/components/ValueSelector.vue2.js +2 -4
- 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 +4 -0
- package/package.json +1 -1
package/es/designer/index.mjs
CHANGED
|
@@ -3,9 +3,14 @@ import layout from "./src/layout/index.vue.mjs";
|
|
|
3
3
|
/* empty css */
|
|
4
4
|
import devStore from "./src/store/designer.mjs";
|
|
5
5
|
import fecVue from "../packages/vue/index.mjs";
|
|
6
|
+
import zh_cn_default from "../node_modules/element-plus/es/locale/lang/zh-cn.mjs";
|
|
7
|
+
import ElementPlus from "element-plus";
|
|
6
8
|
const install = (app) => {
|
|
7
9
|
app.use(fecVue);
|
|
8
10
|
app.component("fecDevDesigner", layout);
|
|
11
|
+
app.use(ElementPlus, {
|
|
12
|
+
locale: zh_cn_default
|
|
13
|
+
});
|
|
9
14
|
};
|
|
10
15
|
const index = {
|
|
11
16
|
install,
|
|
@@ -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.vue2.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.vue2.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" };
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { computed, createBlock, openBlock, resolveDynamicComponent, withCtx, createVNode } from "vue";
|
|
2
|
-
import "
|
|
2
|
+
import { ElInputTag, ElInput } from "element-plus";
|
|
3
3
|
import ValueSelectorPopover from "./ValueSelectorPopover.vue2.mjs";
|
|
4
4
|
import { getEditConfigData, getEditConfigDataFields } from "../packages/utils/common.mjs";
|
|
5
5
|
/* empty css */
|
|
6
6
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
7
|
-
import { ElInputTag } from "../../../node_modules/element-plus/es/components/input-tag/index.mjs";
|
|
8
|
-
import { ElInput } from "../../../node_modules/element-plus/es/components/input/index.mjs";
|
|
9
7
|
const _sfc_main = {
|
|
10
8
|
__name: "ValueSelector",
|
|
11
9
|
props: {
|
|
@@ -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.vue2.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.vue2.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.vue2.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.vue2.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.vue2.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.vue2.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.vue2.mjs";
|
|
22
22
|
import { ElMessage } from "element-plus";
|
|
23
23
|
import api from "../../api/index.mjs";
|
|
24
24
|
/* empty css */
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createDataSource } from "../datasource.mjs";
|
|
2
2
|
import { parseRouteParams, parseSingleParamValue } from "../parseRouteParams.mjs";
|
|
3
|
+
import { removeEmptyValues } from "../common.mjs";
|
|
3
4
|
import { ElMessage } from "element-plus";
|
|
4
5
|
import { openDialog } from "../../components/dialog/index.mjs";
|
|
5
6
|
import { openRiskSch } from "../../components/riskSch/index.mjs";
|
|
@@ -386,6 +387,8 @@ async function handleTableRowDelete(node, data, fields, context) {
|
|
|
386
387
|
"此操作将永久删除该记录, 是否继续",
|
|
387
388
|
"确认操作",
|
|
388
389
|
{
|
|
390
|
+
// confirmButtonText: "确定",
|
|
391
|
+
// cancelButtonText: "取消",
|
|
389
392
|
type: "warning",
|
|
390
393
|
draggable: true,
|
|
391
394
|
showClose: false
|
|
@@ -545,6 +548,7 @@ async function handleFormSubmit(node, data, fields, context) {
|
|
|
545
548
|
return result;
|
|
546
549
|
}
|
|
547
550
|
if (basic.returnToForm) {
|
|
551
|
+
formData = removeEmptyValues(result.data || {});
|
|
548
552
|
delete formData.pageNo;
|
|
549
553
|
delete formData.pageSize;
|
|
550
554
|
const formComponent2 = (_f = context.components) == null ? void 0 : _f.form;
|
package/lib/designer/index.js
CHANGED
|
@@ -5,9 +5,14 @@ const index$2 = ;/* empty css */
|
|
|
5
5
|
;/* empty css */
|
|
6
6
|
const designer = require("./src/store/designer.js");
|
|
7
7
|
const index$1 = require("../packages/vue/index.js");
|
|
8
|
+
const zhCn = require("../node_modules/element-plus/es/locale/lang/zh-cn.js");
|
|
9
|
+
const ElementPlus = require("element-plus");
|
|
8
10
|
const install = (app) => {
|
|
9
11
|
app.use(index$1.default);
|
|
10
12
|
app.component("fecDevDesigner", index$2.default);
|
|
13
|
+
app.use(ElementPlus, {
|
|
14
|
+
locale: zhCn.default
|
|
15
|
+
});
|
|
11
16
|
};
|
|
12
17
|
const index = {
|
|
13
18
|
install,
|
|
@@ -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.vue2.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.vue2.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" };
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const vue = require("vue");
|
|
4
|
-
require("
|
|
4
|
+
const ElementPlus = require("element-plus");
|
|
5
5
|
const ValueSelectorPopover = require("./ValueSelectorPopover.vue2.js");
|
|
6
6
|
const common = require("../packages/utils/common.js");
|
|
7
7
|
;/* empty css */
|
|
8
8
|
const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
|
|
9
|
-
const index = require("../../../node_modules/element-plus/es/components/input-tag/index.js");
|
|
10
|
-
const index$1 = require("../../../node_modules/element-plus/es/components/input/index.js");
|
|
11
9
|
const _sfc_main = {
|
|
12
10
|
__name: "ValueSelector",
|
|
13
11
|
props: {
|
|
@@ -49,7 +47,7 @@ const _sfc_main = {
|
|
|
49
47
|
const props = __props;
|
|
50
48
|
const emit = __emit;
|
|
51
49
|
const inputComponent = vue.computed(() => {
|
|
52
|
-
return props.multiple ?
|
|
50
|
+
return props.multiple ? ElementPlus.ElInputTag : ElementPlus.ElInput;
|
|
53
51
|
});
|
|
54
52
|
const hiddenFieldsData = vue.computed(() => {
|
|
55
53
|
const editConfigData = common.getEditConfigData();
|
|
@@ -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.vue2.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.vue2.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.vue2.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.vue2.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.vue2.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.vue2.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.vue2.js");
|
|
24
24
|
const ElementPlus = require("element-plus");
|
|
25
25
|
const index = require("../../api/index.js");
|
|
26
26
|
;/* empty css */
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const datasource = require("../datasource.js");
|
|
4
4
|
const parseRouteParams = require("../parseRouteParams.js");
|
|
5
|
+
const common = require("../common.js");
|
|
5
6
|
const ElementPlus = require("element-plus");
|
|
6
7
|
const index$2 = require("../../components/dialog/index.js");
|
|
7
8
|
const index = require("../../components/riskSch/index.js");
|
|
@@ -388,6 +389,8 @@ async function handleTableRowDelete(node, data, fields, context) {
|
|
|
388
389
|
"此操作将永久删除该记录, 是否继续",
|
|
389
390
|
"确认操作",
|
|
390
391
|
{
|
|
392
|
+
// confirmButtonText: "确定",
|
|
393
|
+
// cancelButtonText: "取消",
|
|
391
394
|
type: "warning",
|
|
392
395
|
draggable: true,
|
|
393
396
|
showClose: false
|
|
@@ -547,6 +550,7 @@ async function handleFormSubmit(node, data, fields, context) {
|
|
|
547
550
|
return result;
|
|
548
551
|
}
|
|
549
552
|
if (basic.returnToForm) {
|
|
553
|
+
formData = common.removeEmptyValues(result.data || {});
|
|
550
554
|
delete formData.pageNo;
|
|
551
555
|
delete formData.pageSize;
|
|
552
556
|
const formComponent2 = (_f = context.components) == null ? void 0 : _f.form;
|