@fecp/designer 5.5.18 → 5.5.20
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/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/components/DefaultValueEditor.vue.mjs +3 -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/designer.css +8 -8
- package/es/packages/vue/src/utils/eventFlow/actionHandlers.mjs +2 -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/components/DefaultValueEditor.vue.js +3 -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/designer.css +8 -8
- package/lib/packages/vue/src/utils/eventFlow/actionHandlers.js +2 -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.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",
|
|
@@ -22,6 +22,8 @@ const _sfc_main = {
|
|
|
22
22
|
},
|
|
23
23
|
emits: ["update:modelValue", "change"],
|
|
24
24
|
setup(__props, { emit: __emit }) {
|
|
25
|
+
const currentInstance = getCurrentInstance();
|
|
26
|
+
const ctx = currentInstance.proxy;
|
|
25
27
|
const props = __props;
|
|
26
28
|
const emit = __emit;
|
|
27
29
|
const instance = getCurrentInstance();
|
|
@@ -83,7 +85,7 @@ const _sfc_main = {
|
|
|
83
85
|
};
|
|
84
86
|
}
|
|
85
87
|
};
|
|
86
|
-
const DefaultValueEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
88
|
+
const DefaultValueEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-7742453a"]]);
|
|
87
89
|
export {
|
|
88
90
|
DefaultValueEditor as default
|
|
89
91
|
};
|
|
@@ -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 */
|
package/es/designer.css
CHANGED
|
@@ -3236,16 +3236,16 @@ to {
|
|
|
3236
3236
|
.dev-root-header .opt-btn-content {
|
|
3237
3237
|
height: 100%;
|
|
3238
3238
|
}
|
|
3239
|
-
.default-value-editor[data-v-
|
|
3239
|
+
.default-value-editor[data-v-7742453a] {
|
|
3240
3240
|
width: 100%;
|
|
3241
3241
|
}
|
|
3242
|
-
.default-value-editor[data-v-
|
|
3243
|
-
.default-value-editor[data-v-
|
|
3244
|
-
.default-value-editor[data-v-
|
|
3245
|
-
.default-value-editor[data-v-
|
|
3246
|
-
.default-value-editor[data-v-
|
|
3247
|
-
.default-value-editor[data-v-
|
|
3248
|
-
.default-value-editor[data-v-
|
|
3242
|
+
.default-value-editor[data-v-7742453a] .el-input,
|
|
3243
|
+
.default-value-editor[data-v-7742453a] .el-textarea,
|
|
3244
|
+
.default-value-editor[data-v-7742453a] .el-date-editor,
|
|
3245
|
+
.default-value-editor[data-v-7742453a] .el-select,
|
|
3246
|
+
.default-value-editor[data-v-7742453a] .el-radio-group,
|
|
3247
|
+
.default-value-editor[data-v-7742453a] .el-checkbox-group,
|
|
3248
|
+
.default-value-editor[data-v-7742453a] .el-switch {
|
|
3249
3249
|
width: 100%;
|
|
3250
3250
|
}
|
|
3251
3251
|
|
|
@@ -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";
|
|
@@ -545,6 +546,7 @@ async function handleFormSubmit(node, data, fields, context) {
|
|
|
545
546
|
return result;
|
|
546
547
|
}
|
|
547
548
|
if (basic.returnToForm) {
|
|
549
|
+
formData = removeEmptyValues(result.data || {});
|
|
548
550
|
delete formData.pageNo;
|
|
549
551
|
delete formData.pageSize;
|
|
550
552
|
const formComponent2 = (_f = context.components) == null ? void 0 : _f.form;
|
|
@@ -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",
|
|
@@ -24,6 +24,8 @@ const _sfc_main = {
|
|
|
24
24
|
},
|
|
25
25
|
emits: ["update:modelValue", "change"],
|
|
26
26
|
setup(__props, { emit: __emit }) {
|
|
27
|
+
const currentInstance = vue.getCurrentInstance();
|
|
28
|
+
const ctx = currentInstance.proxy;
|
|
27
29
|
const props = __props;
|
|
28
30
|
const emit = __emit;
|
|
29
31
|
const instance = vue.getCurrentInstance();
|
|
@@ -85,5 +87,5 @@ const _sfc_main = {
|
|
|
85
87
|
};
|
|
86
88
|
}
|
|
87
89
|
};
|
|
88
|
-
const DefaultValueEditor = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
90
|
+
const DefaultValueEditor = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-7742453a"]]);
|
|
89
91
|
exports.default = DefaultValueEditor;
|
|
@@ -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 */
|
package/lib/designer.css
CHANGED
|
@@ -3236,16 +3236,16 @@ to {
|
|
|
3236
3236
|
.dev-root-header .opt-btn-content {
|
|
3237
3237
|
height: 100%;
|
|
3238
3238
|
}
|
|
3239
|
-
.default-value-editor[data-v-
|
|
3239
|
+
.default-value-editor[data-v-7742453a] {
|
|
3240
3240
|
width: 100%;
|
|
3241
3241
|
}
|
|
3242
|
-
.default-value-editor[data-v-
|
|
3243
|
-
.default-value-editor[data-v-
|
|
3244
|
-
.default-value-editor[data-v-
|
|
3245
|
-
.default-value-editor[data-v-
|
|
3246
|
-
.default-value-editor[data-v-
|
|
3247
|
-
.default-value-editor[data-v-
|
|
3248
|
-
.default-value-editor[data-v-
|
|
3242
|
+
.default-value-editor[data-v-7742453a] .el-input,
|
|
3243
|
+
.default-value-editor[data-v-7742453a] .el-textarea,
|
|
3244
|
+
.default-value-editor[data-v-7742453a] .el-date-editor,
|
|
3245
|
+
.default-value-editor[data-v-7742453a] .el-select,
|
|
3246
|
+
.default-value-editor[data-v-7742453a] .el-radio-group,
|
|
3247
|
+
.default-value-editor[data-v-7742453a] .el-checkbox-group,
|
|
3248
|
+
.default-value-editor[data-v-7742453a] .el-switch {
|
|
3249
3249
|
width: 100%;
|
|
3250
3250
|
}
|
|
3251
3251
|
|
|
@@ -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");
|
|
@@ -547,6 +548,7 @@ async function handleFormSubmit(node, data, fields, context) {
|
|
|
547
548
|
return result;
|
|
548
549
|
}
|
|
549
550
|
if (basic.returnToForm) {
|
|
551
|
+
formData = common.removeEmptyValues(result.data || {});
|
|
550
552
|
delete formData.pageNo;
|
|
551
553
|
delete formData.pageSize;
|
|
552
554
|
const formComponent2 = (_f = context.components) == null ? void 0 : _f.form;
|