@fecp/designer 5.5.72 → 5.5.73
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/OptionConfig.vue.mjs +2 -2
- 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/dialog/useDialogDialog.mjs +1 -1
- package/es/designer/src/packages/dialogGlobal/index.vue2.mjs +1 -1
- package/es/designer/src/packages/dialogGlobal/useDialogGlobalDialog.mjs +1 -1
- package/es/designer/src/packages/eventFlow/dialog/action/FormSubmit.vue2.mjs +17 -8
- package/es/designer/src/packages/eventFlow/dialog/action/RiskSch.vue.mjs +14 -5
- 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/form/property/widgets.vue.mjs +2 -2
- package/es/designer/src/packages/formulaEditor/core/calculate.mjs +0 -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 +186 -63
- package/es/packages/mobile/src/components/base/card/Card.vue.mjs +2 -2
- package/es/packages/mobile/src/components/navigation/actionBar/ActionBar.vue.mjs +4 -4
- package/es/packages/vue/src/components/bus/contract/Contract.vue.mjs +6 -1
- package/es/packages/vue/src/components/bus/document/Document.vue.mjs +15 -1
- package/es/packages/vue/src/components/details/main/Main.vue.mjs +1 -1
- package/es/packages/vue/src/components/forms/form/Form.vue.mjs +46 -30
- package/es/packages/vue/src/utils/eventFlow/actionHandlers.mjs +32 -4
- package/lib/designer/package.json.js +1 -1
- package/lib/designer/src/components/DocumentParam.vue.js +1 -1
- package/lib/designer/src/components/OptionConfig.vue.js +2 -2
- 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/dialog/useDialogDialog.js +1 -1
- package/lib/designer/src/packages/dialogGlobal/index.vue2.js +1 -1
- package/lib/designer/src/packages/dialogGlobal/useDialogGlobalDialog.js +1 -1
- package/lib/designer/src/packages/eventFlow/dialog/action/FormSubmit.vue2.js +17 -8
- package/lib/designer/src/packages/eventFlow/dialog/action/RiskSch.vue.js +14 -5
- 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/form/property/widgets.vue.js +2 -2
- package/lib/designer/src/packages/formulaEditor/core/calculate.js +0 -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 +186 -63
- package/lib/packages/mobile/src/components/base/card/Card.vue.js +2 -2
- package/lib/packages/mobile/src/components/navigation/actionBar/ActionBar.vue.js +3 -3
- package/lib/packages/vue/src/components/bus/contract/Contract.vue.js +6 -1
- package/lib/packages/vue/src/components/bus/document/Document.vue.js +15 -1
- package/lib/packages/vue/src/components/details/main/Main.vue.js +1 -1
- package/lib/packages/vue/src/components/forms/form/Form.vue.js +45 -29
- package/lib/packages/vue/src/utils/eventFlow/actionHandlers.js +32 -4
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@ import "../../../../../../node_modules/element-plus/es/index.mjs";
|
|
|
7
7
|
/* empty css */
|
|
8
8
|
/* empty css */
|
|
9
9
|
/* empty css */
|
|
10
|
-
import { getCurrentInstance, ref, watch, onMounted, onBeforeUnmount, computed, provide, resolveDirective, withDirectives, createCommentVNode, createBlock, openBlock, withCtx, createVNode, normalizeStyle, unref,
|
|
10
|
+
import { getCurrentInstance, ref, watch, onMounted, onBeforeUnmount, computed, provide, resolveDirective, withDirectives, createCommentVNode, createBlock, openBlock, normalizeClass, withCtx, createVNode, normalizeStyle, unref, createElementBlock, Fragment, renderList } from "vue";
|
|
11
11
|
import "../../../../../../node_modules/grid-layout-plus/es/index.mjs";
|
|
12
12
|
import { getCurrentVueInstance } from "../../../utils/getInstance.mjs";
|
|
13
13
|
import getJsonAsyncUtil from "../../../utils/getJsonAsyncUtil.mjs";
|
|
@@ -96,6 +96,10 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
96
96
|
isApproval: {
|
|
97
97
|
type: Boolean,
|
|
98
98
|
default: false
|
|
99
|
+
},
|
|
100
|
+
class: {
|
|
101
|
+
type: String,
|
|
102
|
+
default: ""
|
|
99
103
|
}
|
|
100
104
|
},
|
|
101
105
|
emits: [
|
|
@@ -658,6 +662,15 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
658
662
|
subFormPromises.push((_a = formRef.value) == null ? void 0 : _a.validate());
|
|
659
663
|
return Promise.all(subFormPromises).then(() => getFormData());
|
|
660
664
|
};
|
|
665
|
+
const docValidate = () => {
|
|
666
|
+
const documentComps = gridLayoutFieldsData.value.filter((item) => item.component.fieldType == "document").map((item) => item.component);
|
|
667
|
+
const compPromises = documentComps.map((comp) => {
|
|
668
|
+
var _a;
|
|
669
|
+
const compRef = getFormItemRef(String(comp.id));
|
|
670
|
+
return ((_a = compRef == null ? void 0 : compRef.validate) == null ? void 0 : _a.call(compRef)) || Promise.resolve();
|
|
671
|
+
});
|
|
672
|
+
return Promise.all(compPromises);
|
|
673
|
+
};
|
|
661
674
|
const resetFields = () => {
|
|
662
675
|
var _a, _b;
|
|
663
676
|
(_a = formRef.value) == null ? void 0 : _a.clearValidate();
|
|
@@ -849,10 +862,6 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
849
862
|
};
|
|
850
863
|
const applyLinkageEffectsForChangedFields = (changedFieldNames) => {
|
|
851
864
|
var _a;
|
|
852
|
-
console.log(
|
|
853
|
-
"🚀 ~ applyLinkageEffectsForChangedFields ~ 变化的字段:",
|
|
854
|
-
changedFieldNames
|
|
855
|
-
);
|
|
856
865
|
const linkedConfig = localConfig.value.linkedConfig || {};
|
|
857
866
|
const fields = [...fieldsData.value, ...hiddenFields.value];
|
|
858
867
|
const relevantConfigs = filterRelevantLinkageConfigs(
|
|
@@ -928,40 +937,46 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
928
937
|
rules[fieldName] = prodRules.value[fieldName];
|
|
929
938
|
}
|
|
930
939
|
formRules.value = rules;
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
const layoutFieldItem = updatedLayoutData.find((g) => g.id == fieldId);
|
|
935
|
-
if (layoutFieldItem) {
|
|
936
|
-
layoutFieldItem.component.readOnly = false;
|
|
937
|
-
}
|
|
938
|
-
});
|
|
939
|
-
if (checkFilterMatch(item.filterConfig, formData.value, fields)) {
|
|
940
|
+
if (formMode.value != "query") {
|
|
941
|
+
relevantConfigs.readonly.forEach((item) => {
|
|
942
|
+
const dataLinkFieldList = item.dataLinkFieldList || [];
|
|
940
943
|
dataLinkFieldList.forEach((fieldId) => {
|
|
941
944
|
const layoutFieldItem = updatedLayoutData.find((g) => g.id == fieldId);
|
|
942
945
|
if (layoutFieldItem) {
|
|
943
|
-
layoutFieldItem.component.readOnly =
|
|
946
|
+
layoutFieldItem.component.readOnly = false;
|
|
944
947
|
}
|
|
945
948
|
});
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
949
|
+
if (checkFilterMatch(item.filterConfig, formData.value, fields)) {
|
|
950
|
+
dataLinkFieldList.forEach((fieldId) => {
|
|
951
|
+
const layoutFieldItem = updatedLayoutData.find(
|
|
952
|
+
(g) => g.id == fieldId
|
|
953
|
+
);
|
|
954
|
+
if (layoutFieldItem) {
|
|
955
|
+
layoutFieldItem.component.readOnly = true;
|
|
956
|
+
}
|
|
957
|
+
});
|
|
954
958
|
}
|
|
955
959
|
});
|
|
956
|
-
|
|
960
|
+
relevantConfigs.disabled.forEach((item) => {
|
|
961
|
+
const dataLinkFieldList = item.dataLinkFieldList || [];
|
|
957
962
|
dataLinkFieldList.forEach((fieldId) => {
|
|
958
963
|
const layoutFieldItem = updatedLayoutData.find((g) => g.id == fieldId);
|
|
959
964
|
if (layoutFieldItem) {
|
|
960
|
-
layoutFieldItem.component.disabled =
|
|
965
|
+
layoutFieldItem.component.disabled = false;
|
|
961
966
|
}
|
|
962
967
|
});
|
|
963
|
-
|
|
964
|
-
|
|
968
|
+
if (checkFilterMatch(item.filterConfig, formData.value, fields)) {
|
|
969
|
+
dataLinkFieldList.forEach((fieldId) => {
|
|
970
|
+
const layoutFieldItem = updatedLayoutData.find(
|
|
971
|
+
(g) => g.id == fieldId
|
|
972
|
+
);
|
|
973
|
+
if (layoutFieldItem) {
|
|
974
|
+
layoutFieldItem.component.disabled = true;
|
|
975
|
+
}
|
|
976
|
+
});
|
|
977
|
+
}
|
|
978
|
+
});
|
|
979
|
+
}
|
|
965
980
|
const fieldsConfigArr = updatedLayoutData.filter((item) => !item.hidden);
|
|
966
981
|
gridLayoutFieldsData.value = sortLayoutItems(fieldsConfigArr);
|
|
967
982
|
(_a = gridLayout == null ? void 0 : gridLayout.value) == null ? void 0 : _a.resizeEvent();
|
|
@@ -1077,6 +1092,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
1077
1092
|
provide("getFormData", getFormData);
|
|
1078
1093
|
__expose({
|
|
1079
1094
|
validate,
|
|
1095
|
+
docValidate,
|
|
1080
1096
|
resetFields,
|
|
1081
1097
|
getFormData,
|
|
1082
1098
|
setFormData,
|
|
@@ -1093,7 +1109,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
1093
1109
|
const _directive_fec_layout = resolveDirective("fec-layout");
|
|
1094
1110
|
return !configLoading.value ? withDirectives((openBlock(), createBlock(_component_el_container, {
|
|
1095
1111
|
key: 0,
|
|
1096
|
-
class: "fec-form",
|
|
1112
|
+
class: normalizeClass(["fec-form", __props.class]),
|
|
1097
1113
|
"data-id": localConfig.value.templateKey,
|
|
1098
1114
|
"data-name": localConfig.value.templateName,
|
|
1099
1115
|
"data-pkId": localConfig.value.pkId,
|
|
@@ -1207,13 +1223,13 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
1207
1223
|
})) : createCommentVNode("", true)
|
|
1208
1224
|
]),
|
|
1209
1225
|
_: 1
|
|
1210
|
-
}, 8, ["data-id", "data-name", "data-pkId"])), [
|
|
1226
|
+
}, 8, ["class", "data-id", "data-name", "data-pkId"])), [
|
|
1211
1227
|
[_directive_fec_layout]
|
|
1212
1228
|
]) : createCommentVNode("", true);
|
|
1213
1229
|
};
|
|
1214
1230
|
}
|
|
1215
1231
|
});
|
|
1216
|
-
const _Form = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
1232
|
+
const _Form = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d3057435"]]);
|
|
1217
1233
|
export {
|
|
1218
1234
|
_Form as default
|
|
1219
1235
|
};
|
|
@@ -498,7 +498,7 @@ async function handleFormSetValue(node, data, fields, context) {
|
|
|
498
498
|
}
|
|
499
499
|
}
|
|
500
500
|
async function handleFormSubmit(node, data, fields, context) {
|
|
501
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
501
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
|
|
502
502
|
const basic = node.basic || {};
|
|
503
503
|
if (!(basic == null ? void 0 : basic.dataSourceId)) {
|
|
504
504
|
console.error("form-setValue: 缺少 dataSourceId 配置");
|
|
@@ -527,6 +527,27 @@ async function handleFormSubmit(node, data, fields, context) {
|
|
|
527
527
|
};
|
|
528
528
|
}
|
|
529
529
|
}
|
|
530
|
+
if (basic == null ? void 0 : basic.docValidate) {
|
|
531
|
+
const docValidateMethod = (_g = (_f = formComponent == null ? void 0 : formComponent.$) == null ? void 0 : _f.exposed) == null ? void 0 : _g.docValidate;
|
|
532
|
+
try {
|
|
533
|
+
if (typeof docValidateMethod === "function") {
|
|
534
|
+
await docValidateMethod();
|
|
535
|
+
} else {
|
|
536
|
+
console.error("未找到表单组件的 docValidate 方法");
|
|
537
|
+
return {
|
|
538
|
+
success: false,
|
|
539
|
+
message: "表单组件未正确配置或 docValidate 方法未暴露",
|
|
540
|
+
shouldShowError: true
|
|
541
|
+
};
|
|
542
|
+
}
|
|
543
|
+
} catch (error) {
|
|
544
|
+
return {
|
|
545
|
+
success: false,
|
|
546
|
+
message: "要件校验失败!",
|
|
547
|
+
shouldShowError: false
|
|
548
|
+
};
|
|
549
|
+
}
|
|
550
|
+
}
|
|
530
551
|
if (typeof getFormDataMethod === "function") {
|
|
531
552
|
try {
|
|
532
553
|
let formData = getFormDataMethod();
|
|
@@ -553,8 +574,8 @@ async function handleFormSubmit(node, data, fields, context) {
|
|
|
553
574
|
formData = removeEmptyValues(result.data || {});
|
|
554
575
|
delete formData.pageNo;
|
|
555
576
|
delete formData.pageSize;
|
|
556
|
-
const formComponent2 = (
|
|
557
|
-
const setFormDataMethod = (
|
|
577
|
+
const formComponent2 = (_h = context.components) == null ? void 0 : _h.form;
|
|
578
|
+
const setFormDataMethod = (_j = (_i = formComponent2 == null ? void 0 : formComponent2.$) == null ? void 0 : _i.exposed) == null ? void 0 : _j.setFormData;
|
|
558
579
|
if (typeof setFormDataMethod === "function") {
|
|
559
580
|
setFormDataMethod(formData);
|
|
560
581
|
} else {
|
|
@@ -640,7 +661,7 @@ async function handleDialog(node, data, fields, context) {
|
|
|
640
661
|
}
|
|
641
662
|
}
|
|
642
663
|
async function handleRiskSchDialog(node, data, fields, context) {
|
|
643
|
-
var _a, _b, _c;
|
|
664
|
+
var _a, _b, _c, _d, _e, _f;
|
|
644
665
|
const basic = node.basic || {};
|
|
645
666
|
if (!(basic == null ? void 0 : basic.schNo)) {
|
|
646
667
|
console.error("风险拦截校验: 缺少 schNo 配置");
|
|
@@ -657,6 +678,13 @@ async function handleRiskSchDialog(node, data, fields, context) {
|
|
|
657
678
|
await validateMethod();
|
|
658
679
|
}
|
|
659
680
|
}
|
|
681
|
+
if (basic == null ? void 0 : basic.docValidate) {
|
|
682
|
+
const formComponent = (_d = context.components) == null ? void 0 : _d.form;
|
|
683
|
+
const docValidateMethod = (_f = (_e = formComponent == null ? void 0 : formComponent.$) == null ? void 0 : _e.exposed) == null ? void 0 : _f.docValidate;
|
|
684
|
+
if (typeof docValidateMethod === "function") {
|
|
685
|
+
await docValidateMethod();
|
|
686
|
+
}
|
|
687
|
+
}
|
|
660
688
|
const schNo = basic.schNo;
|
|
661
689
|
const paramList = parseRouteParams(basic == null ? void 0 : basic.params, data, fields);
|
|
662
690
|
const busNo = parseSingleParamValue(basic.busNo, data, fields);
|
|
@@ -11,7 +11,7 @@ require("../../../node_modules/element-plus/es/index.js");
|
|
|
11
11
|
;/* empty css */
|
|
12
12
|
const Vue = require("vue");
|
|
13
13
|
const index$2 = require("../../../node_modules/@element-plus/icons-vue/dist/index.js");
|
|
14
|
-
const ValueSelector = require("./ValueSelector.
|
|
14
|
+
const ValueSelector = require("./ValueSelector.vue2.js");
|
|
15
15
|
const index = require("../api/index.js");
|
|
16
16
|
;/* empty css */
|
|
17
17
|
const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
|
|
@@ -39,7 +39,7 @@ const _sfc_main = {
|
|
|
39
39
|
modelValue: {
|
|
40
40
|
type: Object,
|
|
41
41
|
default: () => ({
|
|
42
|
-
optionSource: "
|
|
42
|
+
optionSource: "dictionary",
|
|
43
43
|
options: [
|
|
44
44
|
{
|
|
45
45
|
id: 1769067474103,
|
|
@@ -295,5 +295,5 @@ const _sfc_main = {
|
|
|
295
295
|
};
|
|
296
296
|
}
|
|
297
297
|
};
|
|
298
|
-
const OptionConfig = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
298
|
+
const OptionConfig = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-fe7440f2"]]);
|
|
299
299
|
exports.default = OptionConfig;
|
|
@@ -6,7 +6,7 @@ require("../../../node_modules/element-plus/es/index.js");
|
|
|
6
6
|
;/* empty css */
|
|
7
7
|
const Vue = require("vue");
|
|
8
8
|
const index$1 = require("../../../node_modules/@element-plus/icons-vue/dist/index.js");
|
|
9
|
-
const ValueSelector = require("./ValueSelector.
|
|
9
|
+
const ValueSelector = require("./ValueSelector.vue2.js");
|
|
10
10
|
;/* empty css */
|
|
11
11
|
const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
|
|
12
12
|
const index = require("../../../node_modules/element-plus/es/components/button/index.js");
|
|
@@ -18,7 +18,7 @@ const index$2 = require("../../../../node_modules/@element-plus/icons-vue/dist/i
|
|
|
18
18
|
const common = require("../../packages/utils/common.js");
|
|
19
19
|
const index$5 = require("../../packages/form/aside/index.js");
|
|
20
20
|
const index$6 = require("../../packages/table/aside/index.js");
|
|
21
|
-
const ValueSelector = require("../../components/ValueSelector.
|
|
21
|
+
const ValueSelector = require("../../components/ValueSelector.vue2.js");
|
|
22
22
|
;/* empty css */
|
|
23
23
|
const _pluginVue_exportHelper = require("../../../../_virtual/_plugin-vue_export-helper.js");
|
|
24
24
|
const index = require("../../../../node_modules/element-plus/es/components/dialog/index.js");
|
|
@@ -16,7 +16,7 @@ require("../../../../node_modules/element-plus/theme-chalk/el-tooltip.css.js");
|
|
|
16
16
|
require("../../../../node_modules/element-plus/theme-chalk/el-date-picker.css.js");
|
|
17
17
|
const Vue = require("vue");
|
|
18
18
|
const index = require("../../../../node_modules/@vueuse/core/dist/index.js");
|
|
19
|
-
const ValueSelector = require("../../components/ValueSelector.
|
|
19
|
+
const ValueSelector = require("../../components/ValueSelector.vue2.js");
|
|
20
20
|
const index$1 = require("../../api/index.js");
|
|
21
21
|
const common = require("../utils/common.js");
|
|
22
22
|
const datasource = require("../utils/datasource.js");
|
|
@@ -32,7 +32,7 @@ require("../../../../node_modules/element-plus/theme-chalk/el-date-picker.css.js
|
|
|
32
32
|
;/* empty css */
|
|
33
33
|
;/* empty css */
|
|
34
34
|
const _pluginVue_exportHelper = require("../../../../_virtual/_plugin-vue_export-helper.js");
|
|
35
|
-
;/* empty css
|
|
35
|
+
;/* empty css */
|
|
36
36
|
;/* empty css */
|
|
37
37
|
;/* empty css */
|
|
38
38
|
;/* empty css */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("./index.
|
|
3
|
+
const index = require("./index.vue2.js");
|
|
4
4
|
const Vue = require("vue");
|
|
5
5
|
function useDialogDialog() {
|
|
6
6
|
const dialogDialogVisible = Vue.ref(false);
|
|
@@ -86,7 +86,7 @@ const widgets = require("../table/property/widgets.vue.js");
|
|
|
86
86
|
require("../../../../node_modules/element-plus/theme-chalk/el-tab-pane.css.js");
|
|
87
87
|
;/* empty css */
|
|
88
88
|
;/* empty css */
|
|
89
|
-
;/* empty css
|
|
89
|
+
;/* empty css */
|
|
90
90
|
;/* empty css */
|
|
91
91
|
;/* empty css */
|
|
92
92
|
;/* empty css */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("./index.
|
|
3
|
+
const index = require("./index.vue2.js");
|
|
4
4
|
const Vue = require("vue");
|
|
5
5
|
function useDialogGlobalDialog() {
|
|
6
6
|
const dialogGlobalDialogVisible = Vue.ref(false);
|
|
@@ -35,11 +35,20 @@ const _sfc_main = {
|
|
|
35
35
|
]),
|
|
36
36
|
_: 1
|
|
37
37
|
}),
|
|
38
|
+
Vue.createVNode(_component_el_form_item, { label: "要件必传校验" }, {
|
|
39
|
+
default: Vue.withCtx(() => [
|
|
40
|
+
Vue.createVNode(_component_el_switch, {
|
|
41
|
+
modelValue: __props.formData.docValidate,
|
|
42
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => __props.formData.docValidate = $event)
|
|
43
|
+
}, null, 8, ["modelValue"])
|
|
44
|
+
]),
|
|
45
|
+
_: 1
|
|
46
|
+
}),
|
|
38
47
|
Vue.createVNode(_component_el_form_item, { label: "选择数据源" }, {
|
|
39
48
|
default: Vue.withCtx(() => [
|
|
40
49
|
Vue.createVNode(DataSourceSelect.default, {
|
|
41
50
|
modelValue: __props.formData.dataSourceId,
|
|
42
|
-
"onUpdate:modelValue": _cache[
|
|
51
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => __props.formData.dataSourceId = $event)
|
|
43
52
|
}, null, 8, ["modelValue"])
|
|
44
53
|
]),
|
|
45
54
|
_: 1
|
|
@@ -47,10 +56,10 @@ const _sfc_main = {
|
|
|
47
56
|
Vue.createVNode(_component_el_form_item, { label: "扩展参数" }, {
|
|
48
57
|
default: Vue.withCtx(() => [
|
|
49
58
|
Vue.createElementVNode("div", _hoisted_1, [
|
|
50
|
-
_cache[
|
|
59
|
+
_cache[6] || (_cache[6] = Vue.createElementVNode("div", { class: "condition-desc" }, " 配置额外的请求参数,用于补充表单上没有的字段。 ", -1)),
|
|
51
60
|
Vue.createVNode(ParamsConfig.default, {
|
|
52
61
|
modelValue: __props.formData.extraParams,
|
|
53
|
-
"onUpdate:modelValue": _cache[
|
|
62
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => __props.formData.extraParams = $event)
|
|
54
63
|
}, null, 8, ["modelValue"])
|
|
55
64
|
])
|
|
56
65
|
]),
|
|
@@ -59,10 +68,10 @@ const _sfc_main = {
|
|
|
59
68
|
Vue.createVNode(_component_el_form_item, { label: "字段映射" }, {
|
|
60
69
|
default: Vue.withCtx(() => [
|
|
61
70
|
Vue.createElementVNode("div", _hoisted_2, [
|
|
62
|
-
_cache[
|
|
71
|
+
_cache[7] || (_cache[7] = Vue.createElementVNode("div", { class: "condition-desc" }, " 当提交的字段与表单字段不一致时,可通过此配置进行映射。 ", -1)),
|
|
63
72
|
Vue.createVNode(FieldMapping.default, {
|
|
64
73
|
modelValue: __props.formData.fieldMapping,
|
|
65
|
-
"onUpdate:modelValue": _cache[
|
|
74
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => __props.formData.fieldMapping = $event)
|
|
66
75
|
}, null, 8, ["modelValue"])
|
|
67
76
|
])
|
|
68
77
|
]),
|
|
@@ -73,10 +82,10 @@ const _sfc_main = {
|
|
|
73
82
|
Vue.createElementVNode("div", _hoisted_3, [
|
|
74
83
|
Vue.createVNode(_component_el_switch, {
|
|
75
84
|
modelValue: __props.formData.returnToForm,
|
|
76
|
-
"onUpdate:modelValue": _cache[
|
|
85
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => __props.formData.returnToForm = $event),
|
|
77
86
|
style: { "width": "100%" }
|
|
78
87
|
}, null, 8, ["modelValue"]),
|
|
79
|
-
_cache[
|
|
88
|
+
_cache[8] || (_cache[8] = Vue.createElementVNode("div", { class: "condition-desc" }, " 当开启后,将返回的数据赋值到表单字段及隐藏域中。 ", -1))
|
|
80
89
|
])
|
|
81
90
|
]),
|
|
82
91
|
_: 1
|
|
@@ -85,5 +94,5 @@ const _sfc_main = {
|
|
|
85
94
|
};
|
|
86
95
|
}
|
|
87
96
|
};
|
|
88
|
-
const FormSubmit = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
97
|
+
const FormSubmit = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-1e21f9d9"]]);
|
|
89
98
|
exports.default = FormSubmit;
|
|
@@ -6,7 +6,7 @@ require("../../../../../../node_modules/element-plus/es/index.js");
|
|
|
6
6
|
;/* empty css */
|
|
7
7
|
const Vue = require("vue");
|
|
8
8
|
const RiskSchemeSelector = require("../../../../components/RiskSchemeSelector.vue2.js");
|
|
9
|
-
const ValueSelector = require("../../../../components/ValueSelector.
|
|
9
|
+
const ValueSelector = require("../../../../components/ValueSelector.vue2.js");
|
|
10
10
|
const ParamsConfig = require("../../../../components/ParamsConfig.vue2.js");
|
|
11
11
|
const index = require("../../../../../../node_modules/element-plus/es/components/form/index.js");
|
|
12
12
|
const index$1 = require("../../../../../../node_modules/element-plus/es/components/switch/index.js");
|
|
@@ -29,13 +29,22 @@ const _sfc_main = {
|
|
|
29
29
|
]),
|
|
30
30
|
_: 1
|
|
31
31
|
}),
|
|
32
|
+
Vue.createVNode(_component_el_form_item, { label: "要件必传校验" }, {
|
|
33
|
+
default: Vue.withCtx(() => [
|
|
34
|
+
Vue.createVNode(_component_el_switch, {
|
|
35
|
+
modelValue: __props.formData.docValidate,
|
|
36
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => __props.formData.docValidate = $event)
|
|
37
|
+
}, null, 8, ["modelValue"])
|
|
38
|
+
]),
|
|
39
|
+
_: 1
|
|
40
|
+
}),
|
|
32
41
|
Vue.createVNode(_component_el_form_item, { label: "风险方案" }, {
|
|
33
42
|
default: Vue.withCtx(() => [
|
|
34
43
|
Vue.createVNode(RiskSchemeSelector.default, {
|
|
35
44
|
modelValue: __props.formData.schName,
|
|
36
|
-
"onUpdate:modelValue": _cache[
|
|
45
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => __props.formData.schName = $event),
|
|
37
46
|
schNo: __props.formData.schNo,
|
|
38
|
-
"onUpdate:schNo": _cache[
|
|
47
|
+
"onUpdate:schNo": _cache[3] || (_cache[3] = ($event) => __props.formData.schNo = $event)
|
|
39
48
|
}, null, 8, ["modelValue", "schNo"])
|
|
40
49
|
]),
|
|
41
50
|
_: 1
|
|
@@ -44,7 +53,7 @@ const _sfc_main = {
|
|
|
44
53
|
default: Vue.withCtx(() => [
|
|
45
54
|
Vue.createVNode(ValueSelector.default, {
|
|
46
55
|
modelValue: __props.formData.busNo,
|
|
47
|
-
"onUpdate:modelValue": _cache[
|
|
56
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => __props.formData.busNo = $event),
|
|
48
57
|
multiple: false,
|
|
49
58
|
placeholder: "选择业务主键"
|
|
50
59
|
}, null, 8, ["modelValue"])
|
|
@@ -55,7 +64,7 @@ const _sfc_main = {
|
|
|
55
64
|
default: Vue.withCtx(() => [
|
|
56
65
|
Vue.createVNode(ParamsConfig.default, {
|
|
57
66
|
modelValue: __props.formData.params,
|
|
58
|
-
"onUpdate:modelValue": _cache[
|
|
67
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => __props.formData.params = $event)
|
|
59
68
|
}, null, 8, ["modelValue"])
|
|
60
69
|
]),
|
|
61
70
|
_: 1
|
|
@@ -13,7 +13,7 @@ require("../../../../../node_modules/element-plus/es/index.js");
|
|
|
13
13
|
const Vue = require("vue");
|
|
14
14
|
const common = require("../../utils/common.js");
|
|
15
15
|
const eventBus = require("../../utils/eventBus.js");
|
|
16
|
-
const ValueSelector = require("../../../components/ValueSelector.
|
|
16
|
+
const ValueSelector = require("../../../components/ValueSelector.vue2.js");
|
|
17
17
|
const index = require("../../../../../node_modules/element-plus/es/components/collapse/index.js");
|
|
18
18
|
const index$1 = require("../../../../../node_modules/element-plus/es/components/form/index.js");
|
|
19
19
|
const index$2 = require("../../../../../node_modules/element-plus/es/components/input/index.js");
|
|
@@ -19,7 +19,7 @@ require("../../../../../node_modules/element-plus/es/index.js");
|
|
|
19
19
|
const Vue = require("vue");
|
|
20
20
|
const common = require("../../utils/common.js");
|
|
21
21
|
require("../../utils/eventBus.js");
|
|
22
|
-
const ValueSelector = require("../../../components/ValueSelector.
|
|
22
|
+
const ValueSelector = require("../../../components/ValueSelector.vue2.js");
|
|
23
23
|
const index = require("../../../api/index.js");
|
|
24
24
|
const ParamsConfig = require("../../../components/ParamsConfig.vue2.js");
|
|
25
25
|
;/* empty css */
|
|
@@ -14,7 +14,7 @@ const Vue = require("vue");
|
|
|
14
14
|
const common = require("../../utils/common.js");
|
|
15
15
|
const TemplateSelector = require("../../../components/TemplateSelector.vue2.js");
|
|
16
16
|
const eventBus = require("../../utils/eventBus.js");
|
|
17
|
-
const ValueSelector = require("../../../components/ValueSelector.
|
|
17
|
+
const ValueSelector = require("../../../components/ValueSelector.vue2.js");
|
|
18
18
|
const ParamsConfig = require("../../../components/ParamsConfig.vue2.js");
|
|
19
19
|
const index = require("../../../../../node_modules/element-plus/es/components/collapse/index.js");
|
|
20
20
|
const index$1 = require("../../../../../node_modules/element-plus/es/components/form/index.js");
|
|
@@ -54,8 +54,8 @@ const _pluginVue_exportHelper = require("../../../../../_virtual/_plugin-vue_exp
|
|
|
54
54
|
require("../../../components/TemplateSelector.vue.js");
|
|
55
55
|
require("../../table/default.js");
|
|
56
56
|
;/* empty css */
|
|
57
|
-
;/* empty css
|
|
58
|
-
;/* empty css
|
|
57
|
+
;/* empty css */
|
|
58
|
+
;/* empty css */
|
|
59
59
|
require("../../../store/index.js");
|
|
60
60
|
;/* empty css */
|
|
61
61
|
const index$2 = require("../../../../../node_modules/element-plus/es/components/collapse/index.js");
|
|
@@ -16,7 +16,7 @@ require("../../../../node_modules/element-plus/es/index.js");
|
|
|
16
16
|
const Vue = require("vue");
|
|
17
17
|
const index$6 = require("../../../../node_modules/@element-plus/icons-vue/dist/index.js");
|
|
18
18
|
const common = require("../utils/common.js");
|
|
19
|
-
const ValueSelector = require("../../components/ValueSelector.
|
|
19
|
+
const ValueSelector = require("../../components/ValueSelector.vue2.js");
|
|
20
20
|
const index = require("../../api/index.js");
|
|
21
21
|
;/* empty css */
|
|
22
22
|
const _pluginVue_exportHelper = require("../../../../_virtual/_plugin-vue_export-helper.js");
|