super-page-designer 2.0.79 → 2.0.83
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/dist/es/components/design/utils/assemblys-config.js +24 -24
- package/dist/es/components/design/utils/form-design-util.d.ts +17 -1
- package/dist/es/components/design/utils/form-design-util.js +112 -4
- package/dist/es/components/design/utils/interfaces/page-design-types.d.ts +2 -1
- package/dist/es/components/design/utils/page-design-util.d.ts +1 -0
- package/dist/es/components/design/utils/page-design-util.js +27 -0
- package/dist/es/components/design/utils/page-table-util.js +31 -10
- package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +9 -13
- package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-design.vue2.js +3 -18
- package/dist/es/components/design/views/assemblys/button/component/combination.vue.js +15 -13
- package/dist/es/components/design/views/assemblys/button/component/set-dialog.vue.js +13 -6
- package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-advanced.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-advanced.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/column-line/column-line-design.vue2.js +2 -0
- package/dist/es/components/design/views/assemblys/common/common-advanced-basic-showcondition.vue.js +8 -7
- package/dist/es/components/design/views/assemblys/common/common-variable-bind-option.js +4 -0
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.d.ts +1 -1
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue3.js +6 -3
- package/dist/es/components/design/views/assemblys/container/card/card-design.vue2.js +3 -20
- package/dist/es/components/design/views/assemblys/container/collapse/collapse-design.vue2.js +3 -20
- package/dist/es/components/design/views/assemblys/container/container/container-design.vue2.js +3 -20
- package/dist/es/components/design/views/assemblys/container/flex/flex-design.vue2.js +3 -20
- package/dist/es/components/design/views/assemblys/container/form/form-design.vue2.js +3 -20
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue2.js +4 -20
- package/dist/es/components/design/views/assemblys/container/tools/tools-design.vue2.js +3 -20
- package/dist/es/components/design/views/assemblys/data/component/column-config.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +2 -3
- package/dist/es/components/design/views/assemblys/data/component/dynamic-column.vue.js +3 -5
- package/dist/es/components/design/views/assemblys/data/table/table-attr.vue2.js +16 -16
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +5 -3
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue.js +5 -1560
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +1908 -1
- package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-attr-base.vue.js +9 -12
- package/dist/es/components/design/views/assemblys/form/common/condition.vue.js +11 -7
- package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/data-origin.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/data-origin.vue2.js +36 -92
- package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue.js +1 -152
- package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js +152 -1
- package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +2 -1
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-base.vue.js +13 -14
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-design.vue2.js +5 -0
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +9 -12
- package/dist/es/components/design/views/assemblys/form/divider/divider-attr-base.vue.js +2 -1
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js +5 -10
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +7 -11
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +13 -11
- package/dist/es/components/design/views/assemblys/form/label/label-attr-base.vue.js +7 -11
- package/dist/es/components/design/views/assemblys/form/link/link-attr-base.vue.js +7 -11
- package/dist/es/components/design/views/assemblys/form/placeholder/placeholder-attr-base.vue.js +5 -10
- package/dist/es/components/design/views/assemblys/form/radio/radio-attr-base.vue.js +7 -11
- package/dist/es/components/design/views/assemblys/form/rich-text/richtext-attr-base.vue.js +7 -11
- package/dist/es/components/design/views/assemblys/form/select/select-attr-base.vue.js +7 -11
- package/dist/es/components/design/views/assemblys/form/switch/switch-attr-base.vue.js +7 -11
- package/dist/es/components/design/views/assemblys/form/tag/tag-attr-base.vue.js +7 -11
- package/dist/es/components/design/views/assemblys/form/textarea/textarea-attr-base.vue.js +7 -11
- package/dist/es/components/design/views/assemblys/object-design.vue.js +14 -2
- package/dist/es/components/design/views/assemblys/page/component/setting-form-rule-base-input.vue.d.ts +9 -0
- package/dist/es/components/design/views/assemblys/page/component/setting-form-rule-base-input.vue.js +21 -10
- package/dist/es/components/design/views/assemblys/page/page-attr-advanced.vue.js +8 -3
- package/dist/es/components/design/views/assemblys/workflow/component/combination.vue.js +9 -7
- package/dist/es/components/design/views/design/page-design.vue.js +4 -0
- package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +32 -3
- package/dist/es/components/design/views/design/view/attr-container.vue.js +1 -1
- package/dist/es/components/design/views/design/view/page-switch.vue.js +1 -1
- package/dist/es/components/design/views/design/view/page-switch.vue2.js +1 -3
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +3 -20
- package/dist/es/style.css +17 -12
- package/package.json +4 -4
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, unref, createCommentVNode, createTextVNode, withDirectives, vShow } from "vue";
|
|
2
2
|
import _sfc_main$3 from "../common/suffixmodule.vue.js";
|
|
3
3
|
import { getFormComponentOptions } from "../../../../utils/assemblys-config.js";
|
|
4
|
-
import {
|
|
4
|
+
import { componentNameChange } from "../../../../utils/form-design-util.js";
|
|
5
5
|
import IconSetDialog from "../common/icon-set-dialog.vue.js";
|
|
6
6
|
import _sfc_main$4 from "../../common/common-attr-size.vue.js";
|
|
7
7
|
import BindVariable from "../../common/common-variable-bind.vue.js";
|
|
8
8
|
import _sfc_main$2 from "../common/condition.vue.js";
|
|
9
9
|
import _sfc_main$1 from "../../common/common-function-code.vue.js";
|
|
10
|
-
import { tableResetConfigIndo } from "../../../../utils/page-table-util.js";
|
|
11
10
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
12
11
|
const _hoisted_2 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
13
12
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -19,6 +18,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
19
18
|
emits: ["changeAssembly"],
|
|
20
19
|
setup(__props, { emit: __emit }) {
|
|
21
20
|
const props = __props;
|
|
21
|
+
const componentName = ref(props.configure.name);
|
|
22
22
|
const emit = __emit;
|
|
23
23
|
if (!props.configure.props) {
|
|
24
24
|
props.configure.props = {};
|
|
@@ -32,12 +32,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
32
32
|
isTable.value = true;
|
|
33
33
|
}
|
|
34
34
|
function nameChange(val) {
|
|
35
|
-
|
|
36
|
-
tableResetConfigIndo(props.configure, val);
|
|
37
|
-
} else {
|
|
38
|
-
resetConfigIndo(props.configure, val);
|
|
39
|
-
}
|
|
40
|
-
emit("changeAssembly", props.configure);
|
|
35
|
+
componentNameChange(props.configure, val, emit);
|
|
41
36
|
}
|
|
42
37
|
function afterBindVariable(modelValue, alias) {
|
|
43
38
|
props.configure.props.base.prop = modelValue;
|
|
@@ -84,8 +79,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
84
79
|
}, {
|
|
85
80
|
default: withCtx(() => [
|
|
86
81
|
createVNode(_component_el_select, {
|
|
87
|
-
modelValue:
|
|
88
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) =>
|
|
82
|
+
modelValue: componentName.value,
|
|
83
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => componentName.value = $event),
|
|
89
84
|
onChange: nameChange,
|
|
90
85
|
placeholder: "请选择"
|
|
91
86
|
}, {
|
|
@@ -138,10 +133,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
138
133
|
}, {
|
|
139
134
|
default: withCtx(() => [
|
|
140
135
|
(openBlock(), createBlock(BindVariable, {
|
|
136
|
+
isTable: _ctx.configure.isTable,
|
|
141
137
|
key: _ctx.configure.uuid,
|
|
142
138
|
modelValue: _ctx.configure.props.base.defaultValue,
|
|
143
139
|
"onUpdate:modelValue": afterBindDefaultValue
|
|
144
|
-
}, null, 8, ["modelValue"]))
|
|
140
|
+
}, null, 8, ["isTable", "modelValue"]))
|
|
145
141
|
]),
|
|
146
142
|
_: 1
|
|
147
143
|
}),
|
package/dist/es/components/design/views/assemblys/form/placeholder/placeholder-attr-base.vue.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, unref, createCommentVNode } from "vue";
|
|
2
2
|
import { getFormComponentOptions } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import _sfc_main$1 from "../../common/common-attr-size.vue.js";
|
|
4
|
-
import {
|
|
5
|
-
import { resetConfigIndo } from "../../../../utils/form-design-util.js";
|
|
4
|
+
import { componentNameChange } from "../../../../utils/form-design-util.js";
|
|
6
5
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
7
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
7
|
__name: "placeholder-attr-base",
|
|
@@ -16,6 +15,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
16
15
|
emits: ["changeAssembly"],
|
|
17
16
|
setup(__props, { emit: __emit }) {
|
|
18
17
|
const props = __props;
|
|
18
|
+
const componentName = ref(props.configure.name);
|
|
19
19
|
const emit = __emit;
|
|
20
20
|
const openCollapseItems = ref(["base"]);
|
|
21
21
|
const isTable = ref(false);
|
|
@@ -23,12 +23,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
23
23
|
isTable.value = true;
|
|
24
24
|
}
|
|
25
25
|
function nameChange(val) {
|
|
26
|
-
|
|
27
|
-
tableResetConfigIndo(props.configure, val);
|
|
28
|
-
} else {
|
|
29
|
-
resetConfigIndo(props.configure, val);
|
|
30
|
-
}
|
|
31
|
-
emit("changeAssembly", props.configure);
|
|
26
|
+
componentNameChange(props.configure, val, emit);
|
|
32
27
|
}
|
|
33
28
|
return (_ctx, _cache) => {
|
|
34
29
|
const _component_el_option = resolveComponent("el-option");
|
|
@@ -62,8 +57,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
62
57
|
}, {
|
|
63
58
|
default: withCtx(() => [
|
|
64
59
|
createVNode(_component_el_select, {
|
|
65
|
-
modelValue:
|
|
66
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) =>
|
|
60
|
+
modelValue: componentName.value,
|
|
61
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => componentName.value = $event),
|
|
67
62
|
onChange: nameChange,
|
|
68
63
|
placeholder: "请选择"
|
|
69
64
|
}, {
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, unref, createCommentVNode, createTextVNode, withDirectives, vShow } from "vue";
|
|
2
2
|
import { getFormComponentOptions } from "../../../../utils/assemblys-config.js";
|
|
3
|
-
import {
|
|
3
|
+
import { componentNameChange } from "../../../../utils/form-design-util.js";
|
|
4
4
|
import _sfc_main$4 from "../../common/common-attr-size.vue.js";
|
|
5
5
|
import DataOrigin from "../common/data-origin.vue.js";
|
|
6
6
|
import _sfc_main$2 from "../common/data-linkage.vue.js";
|
|
7
7
|
import BindVariable from "../../common/common-variable-bind.vue.js";
|
|
8
8
|
import _sfc_main$1 from "../../common/common-function-code.vue.js";
|
|
9
|
-
import { tableResetConfigIndo } from "../../../../utils/page-table-util.js";
|
|
10
9
|
import _sfc_main$3 from "../common/verification-custom.vue.js";
|
|
11
10
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
12
11
|
const _hoisted_2 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
@@ -24,6 +23,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
24
23
|
emits: ["changeAssembly"],
|
|
25
24
|
setup(__props, { emit: __emit }) {
|
|
26
25
|
const props = __props;
|
|
26
|
+
const componentName = ref(props.configure.name);
|
|
27
27
|
const emit = __emit;
|
|
28
28
|
const openCollapseItems = ref("base");
|
|
29
29
|
const isTable = ref(false);
|
|
@@ -40,12 +40,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
40
40
|
props.configure.props.base.defaultValue = modelValue;
|
|
41
41
|
}
|
|
42
42
|
function nameChange(val) {
|
|
43
|
-
|
|
44
|
-
tableResetConfigIndo(props.configure, val);
|
|
45
|
-
} else {
|
|
46
|
-
resetConfigIndo(props.configure, val);
|
|
47
|
-
}
|
|
48
|
-
emit("changeAssembly", props.configure);
|
|
43
|
+
componentNameChange(props.configure, val, emit);
|
|
49
44
|
}
|
|
50
45
|
return (_ctx, _cache) => {
|
|
51
46
|
const _component_el_option = resolveComponent("el-option");
|
|
@@ -83,8 +78,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
83
78
|
}, {
|
|
84
79
|
default: withCtx(() => [
|
|
85
80
|
createVNode(_component_el_select, {
|
|
86
|
-
modelValue:
|
|
87
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) =>
|
|
81
|
+
modelValue: componentName.value,
|
|
82
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => componentName.value = $event),
|
|
88
83
|
onChange: nameChange,
|
|
89
84
|
placeholder: "请选择"
|
|
90
85
|
}, {
|
|
@@ -137,10 +132,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
137
132
|
}, {
|
|
138
133
|
default: withCtx(() => [
|
|
139
134
|
(openBlock(), createBlock(BindVariable, {
|
|
135
|
+
isTable: __props.configure.isTable,
|
|
140
136
|
key: __props.configure.uuid,
|
|
141
137
|
modelValue: __props.configure.props.base.defaultValue,
|
|
142
138
|
"onUpdate:modelValue": afterBindDefaultValue
|
|
143
|
-
}, null, 8, ["modelValue"]))
|
|
139
|
+
}, null, 8, ["isTable", "modelValue"]))
|
|
144
140
|
]),
|
|
145
141
|
_: 1
|
|
146
142
|
}),
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, unref, createCommentVNode, createTextVNode, withDirectives, vShow } from "vue";
|
|
2
2
|
import { getFormComponentOptions } from "../../../../utils/assemblys-config.js";
|
|
3
|
-
import {
|
|
3
|
+
import { componentNameChange } from "../../../../utils/form-design-util.js";
|
|
4
4
|
import _sfc_main$2 from "../../common/common-attr-size.vue.js";
|
|
5
5
|
import BindVariable from "../../common/common-variable-bind.vue.js";
|
|
6
6
|
import _sfc_main$1 from "../../common/common-function-code.vue.js";
|
|
7
|
-
import { tableResetConfigIndo } from "../../../../utils/page-table-util.js";
|
|
8
7
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
9
8
|
const _hoisted_2 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
10
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -19,6 +18,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
19
18
|
emits: ["changeAssembly"],
|
|
20
19
|
setup(__props, { emit: __emit }) {
|
|
21
20
|
const props = __props;
|
|
21
|
+
const componentName = ref(props.configure.name);
|
|
22
22
|
const openCollapseItems = ref(["base"]);
|
|
23
23
|
const emit = __emit;
|
|
24
24
|
const isTable = ref(false);
|
|
@@ -32,12 +32,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
function nameChange(val) {
|
|
35
|
-
|
|
36
|
-
tableResetConfigIndo(props.configure, val);
|
|
37
|
-
} else {
|
|
38
|
-
resetConfigIndo(props.configure, val);
|
|
39
|
-
}
|
|
40
|
-
emit("changeAssembly", props.configure);
|
|
35
|
+
componentNameChange(props.configure, val, emit);
|
|
41
36
|
}
|
|
42
37
|
function afterBindDefaultValue(modelValue) {
|
|
43
38
|
props.configure.props.base.defaultValue = modelValue;
|
|
@@ -80,8 +75,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
80
75
|
}, {
|
|
81
76
|
default: withCtx(() => [
|
|
82
77
|
createVNode(_component_el_select, {
|
|
83
|
-
modelValue:
|
|
84
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) =>
|
|
78
|
+
modelValue: componentName.value,
|
|
79
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => componentName.value = $event),
|
|
85
80
|
onChange: nameChange,
|
|
86
81
|
placeholder: "请选择"
|
|
87
82
|
}, {
|
|
@@ -134,10 +129,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
134
129
|
}, {
|
|
135
130
|
default: withCtx(() => [
|
|
136
131
|
(openBlock(), createBlock(BindVariable, {
|
|
132
|
+
isTable: __props.configure.isTable,
|
|
137
133
|
key: __props.configure.uuid,
|
|
138
134
|
modelValue: __props.configure.props.base.defaultValue,
|
|
139
135
|
"onUpdate:modelValue": afterBindDefaultValue
|
|
140
|
-
}, null, 8, ["modelValue"]))
|
|
136
|
+
}, null, 8, ["isTable", "modelValue"]))
|
|
141
137
|
]),
|
|
142
138
|
_: 1
|
|
143
139
|
}),
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, unref, createCommentVNode, createTextVNode, withDirectives, vShow } from "vue";
|
|
2
2
|
import { getFormComponentOptions } from "../../../../utils/assemblys-config.js";
|
|
3
|
-
import {
|
|
3
|
+
import { componentNameChange } from "../../../../utils/form-design-util.js";
|
|
4
4
|
import _sfc_main$5 from "../../common/common-attr-size.vue.js";
|
|
5
5
|
import DataOrigin from "../common/data-origin.vue.js";
|
|
6
6
|
import _sfc_main$2 from "../common/data-linkage.vue.js";
|
|
7
7
|
import BindVariable from "../../common/common-variable-bind.vue.js";
|
|
8
8
|
import _sfc_main$1 from "../../common/common-function-code.vue.js";
|
|
9
9
|
import _sfc_main$3 from "../common/title-suffix.vue.js";
|
|
10
|
-
import { tableResetConfigIndo } from "../../../../utils/page-table-util.js";
|
|
11
10
|
import _sfc_main$4 from "../common/verification-custom.vue.js";
|
|
12
11
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
13
12
|
const _hoisted_2 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
@@ -28,6 +27,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
28
27
|
emits: ["changeAssembly"],
|
|
29
28
|
setup(__props, { emit: __emit }) {
|
|
30
29
|
const props = __props;
|
|
30
|
+
const componentName = ref(props.configure.name);
|
|
31
31
|
const emit = __emit;
|
|
32
32
|
const openCollapseItems = ref(["base"]);
|
|
33
33
|
const isTable = ref(false);
|
|
@@ -47,12 +47,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
47
47
|
props.configure.props.base.defaultValue = modelValue;
|
|
48
48
|
}
|
|
49
49
|
function nameChange(val) {
|
|
50
|
-
|
|
51
|
-
tableResetConfigIndo(props.configure, val);
|
|
52
|
-
} else {
|
|
53
|
-
resetConfigIndo(props.configure, val);
|
|
54
|
-
}
|
|
55
|
-
emit("changeAssembly", props.configure);
|
|
50
|
+
componentNameChange(props.configure, val, emit);
|
|
56
51
|
}
|
|
57
52
|
return (_ctx, _cache) => {
|
|
58
53
|
const _component_el_option = resolveComponent("el-option");
|
|
@@ -90,8 +85,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
90
85
|
}, {
|
|
91
86
|
default: withCtx(() => [
|
|
92
87
|
createVNode(_component_el_select, {
|
|
93
|
-
modelValue:
|
|
94
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) =>
|
|
88
|
+
modelValue: componentName.value,
|
|
89
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => componentName.value = $event),
|
|
95
90
|
onChange: nameChange,
|
|
96
91
|
placeholder: "请选择"
|
|
97
92
|
}, {
|
|
@@ -172,10 +167,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
172
167
|
}, {
|
|
173
168
|
default: withCtx(() => [
|
|
174
169
|
(openBlock(), createBlock(BindVariable, {
|
|
170
|
+
isTable: __props.configure.isTable,
|
|
175
171
|
key: __props.configure.uuid,
|
|
176
172
|
modelValue: __props.configure.props.base.defaultValue,
|
|
177
173
|
"onUpdate:modelValue": afterBindDefaultValue
|
|
178
|
-
}, null, 8, ["modelValue"]))
|
|
174
|
+
}, null, 8, ["isTable", "modelValue"]))
|
|
179
175
|
]),
|
|
180
176
|
_: 1
|
|
181
177
|
}),
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, unref, createCommentVNode, createTextVNode, withDirectives, vShow } from "vue";
|
|
2
2
|
import { getFormComponentOptions } from "../../../../utils/assemblys-config.js";
|
|
3
|
-
import {
|
|
3
|
+
import { componentNameChange } from "../../../../utils/form-design-util.js";
|
|
4
4
|
import _sfc_main$2 from "../../common/common-attr-size.vue.js";
|
|
5
5
|
import BindVariable from "../../common/common-variable-bind.vue.js";
|
|
6
6
|
import _sfc_main$1 from "../../common/common-function-code.vue.js";
|
|
7
|
-
import { tableResetConfigIndo } from "../../../../utils/page-table-util.js";
|
|
8
7
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
9
8
|
const _hoisted_2 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
10
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -19,6 +18,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
19
18
|
emits: ["changeAssembly"],
|
|
20
19
|
setup(__props, { emit: __emit }) {
|
|
21
20
|
const props = __props;
|
|
21
|
+
const componentName = ref(props.configure.name);
|
|
22
22
|
const emit = __emit;
|
|
23
23
|
const openCollapseItems = ref(["base"]);
|
|
24
24
|
const isTable = ref(false);
|
|
@@ -35,12 +35,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
35
35
|
props.configure.props.base.defaultValue = modelValue;
|
|
36
36
|
}
|
|
37
37
|
function nameChange(val) {
|
|
38
|
-
|
|
39
|
-
tableResetConfigIndo(props.configure, val);
|
|
40
|
-
} else {
|
|
41
|
-
resetConfigIndo(props.configure, val);
|
|
42
|
-
}
|
|
43
|
-
emit("changeAssembly", props.configure);
|
|
38
|
+
componentNameChange(props.configure, val, emit);
|
|
44
39
|
}
|
|
45
40
|
return (_ctx, _cache) => {
|
|
46
41
|
const _component_el_option = resolveComponent("el-option");
|
|
@@ -81,8 +76,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
81
76
|
}, {
|
|
82
77
|
default: withCtx(() => [
|
|
83
78
|
createVNode(_component_el_select, {
|
|
84
|
-
modelValue:
|
|
85
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) =>
|
|
79
|
+
modelValue: componentName.value,
|
|
80
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => componentName.value = $event),
|
|
86
81
|
onChange: nameChange,
|
|
87
82
|
placeholder: "请选择"
|
|
88
83
|
}, {
|
|
@@ -135,10 +130,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
135
130
|
}, {
|
|
136
131
|
default: withCtx(() => [
|
|
137
132
|
(openBlock(), createBlock(BindVariable, {
|
|
133
|
+
isTable: __props.configure.isTable,
|
|
138
134
|
key: __props.configure.uuid,
|
|
139
135
|
modelValue: __props.configure.props.base.defaultValue,
|
|
140
136
|
"onUpdate:modelValue": afterBindDefaultValue
|
|
141
|
-
}, null, 8, ["modelValue"]))
|
|
137
|
+
}, null, 8, ["isTable", "modelValue"]))
|
|
142
138
|
]),
|
|
143
139
|
_: 1
|
|
144
140
|
}),
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, unref, createCommentVNode, createTextVNode, withDirectives, vShow } from "vue";
|
|
2
2
|
import { getFormComponentOptions } from "../../../../utils/assemblys-config.js";
|
|
3
|
-
import {
|
|
3
|
+
import { componentNameChange } from "../../../../utils/form-design-util.js";
|
|
4
4
|
import _sfc_main$2 from "../../common/common-attr-size.vue.js";
|
|
5
5
|
import BindVariable from "../../common/common-variable-bind.vue.js";
|
|
6
6
|
import _sfc_main$1 from "../../common/common-function-code.vue.js";
|
|
7
|
-
import { tableResetConfigIndo } from "../../../../utils/page-table-util.js";
|
|
8
7
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
9
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
9
|
__name: "tag-attr-base",
|
|
@@ -18,6 +17,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
18
17
|
emits: ["changeAssembly"],
|
|
19
18
|
setup(__props, { emit: __emit }) {
|
|
20
19
|
const props = __props;
|
|
20
|
+
const componentName = ref(props.configure.name);
|
|
21
21
|
const openCollapseItems = ref(["base"]);
|
|
22
22
|
const emit = __emit;
|
|
23
23
|
const isTable = ref(false);
|
|
@@ -34,12 +34,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
34
34
|
props.configure.props.base.defaultValue = modelValue;
|
|
35
35
|
}
|
|
36
36
|
function nameChange(val) {
|
|
37
|
-
|
|
38
|
-
tableResetConfigIndo(props.configure, val);
|
|
39
|
-
} else {
|
|
40
|
-
resetConfigIndo(props.configure, val);
|
|
41
|
-
}
|
|
42
|
-
emit("changeAssembly", props.configure);
|
|
37
|
+
componentNameChange(props.configure, val, emit);
|
|
43
38
|
}
|
|
44
39
|
return (_ctx, _cache) => {
|
|
45
40
|
const _component_el_option = resolveComponent("el-option");
|
|
@@ -77,8 +72,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
77
72
|
}, {
|
|
78
73
|
default: withCtx(() => [
|
|
79
74
|
createVNode(_component_el_select, {
|
|
80
|
-
modelValue:
|
|
81
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) =>
|
|
75
|
+
modelValue: componentName.value,
|
|
76
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => componentName.value = $event),
|
|
82
77
|
onChange: nameChange,
|
|
83
78
|
placeholder: "请选择"
|
|
84
79
|
}, {
|
|
@@ -131,10 +126,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
131
126
|
}, {
|
|
132
127
|
default: withCtx(() => [
|
|
133
128
|
(openBlock(), createBlock(BindVariable, {
|
|
129
|
+
isTable: __props.configure.isTable,
|
|
134
130
|
key: __props.configure.uuid,
|
|
135
131
|
modelValue: __props.configure.props.base.defaultValue,
|
|
136
132
|
"onUpdate:modelValue": afterBindDefaultValue
|
|
137
|
-
}, null, 8, ["modelValue"]))
|
|
133
|
+
}, null, 8, ["isTable", "modelValue"]))
|
|
138
134
|
]),
|
|
139
135
|
_: 1
|
|
140
136
|
}),
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, unref, createCommentVNode, createTextVNode, withDirectives, vShow } from "vue";
|
|
2
2
|
import { getFormComponentOptions } from "../../../../utils/assemblys-config.js";
|
|
3
|
-
import {
|
|
3
|
+
import { componentNameChange } from "../../../../utils/form-design-util.js";
|
|
4
4
|
import _sfc_main$4 from "../../common/common-attr-size.vue.js";
|
|
5
5
|
import BindVariable from "../../common/common-variable-bind.vue.js";
|
|
6
6
|
import _sfc_main$1 from "../../common/common-function-code.vue.js";
|
|
7
7
|
import _sfc_main$2 from "../common/title-suffix.vue.js";
|
|
8
|
-
import { tableResetConfigIndo } from "../../../../utils/page-table-util.js";
|
|
9
8
|
import _sfc_main$3 from "../common/verification-custom.vue.js";
|
|
10
9
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
11
10
|
const _hoisted_2 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
@@ -26,6 +25,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
26
25
|
emits: ["changeAssembly"],
|
|
27
26
|
setup(__props, { emit: __emit }) {
|
|
28
27
|
const props = __props;
|
|
28
|
+
const componentName = ref(props.configure.name);
|
|
29
29
|
const emit = __emit;
|
|
30
30
|
const openCollapseItems = ref(["base"]);
|
|
31
31
|
const isTable = ref(false);
|
|
@@ -42,12 +42,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
42
42
|
props.configure.props.base.defaultValue = modelValue;
|
|
43
43
|
}
|
|
44
44
|
function nameChange(val) {
|
|
45
|
-
|
|
46
|
-
tableResetConfigIndo(props.configure, val);
|
|
47
|
-
} else {
|
|
48
|
-
resetConfigIndo(props.configure, val);
|
|
49
|
-
}
|
|
50
|
-
emit("changeAssembly", props.configure);
|
|
45
|
+
componentNameChange(props.configure, val, emit);
|
|
51
46
|
}
|
|
52
47
|
return (_ctx, _cache) => {
|
|
53
48
|
const _component_el_option = resolveComponent("el-option");
|
|
@@ -87,8 +82,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
87
82
|
}, {
|
|
88
83
|
default: withCtx(() => [
|
|
89
84
|
createVNode(_component_el_select, {
|
|
90
|
-
modelValue:
|
|
91
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) =>
|
|
85
|
+
modelValue: componentName.value,
|
|
86
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => componentName.value = $event),
|
|
92
87
|
onChange: nameChange,
|
|
93
88
|
placeholder: "请选择"
|
|
94
89
|
}, {
|
|
@@ -141,10 +136,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
141
136
|
}, {
|
|
142
137
|
default: withCtx(() => [
|
|
143
138
|
(openBlock(), createBlock(BindVariable, {
|
|
139
|
+
isTable: __props.configure.isTable,
|
|
144
140
|
key: __props.configure.uuid,
|
|
145
141
|
modelValue: __props.configure.props.base.defaultValue,
|
|
146
142
|
"onUpdate:modelValue": afterBindDefaultValue
|
|
147
|
-
}, null, 8, ["modelValue"]))
|
|
143
|
+
}, null, 8, ["isTable", "modelValue"]))
|
|
148
144
|
]),
|
|
149
145
|
_: 1
|
|
150
146
|
}),
|
|
@@ -5,8 +5,9 @@ import { getDesignComponentByName } from "../../utils/assemblys-config.js";
|
|
|
5
5
|
import { caculateCommonStyle } from "../../utils/container-design-util.js";
|
|
6
6
|
import { PageDimensions } from "../../utils/interfaces/page-design-types.js";
|
|
7
7
|
import { batchUpdatePermissions, batchRemovePermissions } from "../../utils/page-permission-util.js";
|
|
8
|
-
import { watchValidate } from "../../utils/form-design-util.js";
|
|
8
|
+
import { watchValidate, getRefrencePropMap, removePropFromRefrencePropMap } from "../../utils/form-design-util.js";
|
|
9
9
|
import { usePageContextStore } from "../../../../stores/page-store.js";
|
|
10
|
+
import "uuid";
|
|
10
11
|
const _hoisted_1 = { class: "amb-widget-item-tool" };
|
|
11
12
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
12
13
|
__name: "object-design",
|
|
@@ -143,10 +144,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
143
144
|
if (props.configure.props.base && props.configure.props.base.prop) {
|
|
144
145
|
watch(
|
|
145
146
|
() => props.configure.props.base.prop,
|
|
146
|
-
(newVal) => {
|
|
147
|
+
(newVal, oldVal) => {
|
|
147
148
|
watchValidate(props.configure, props.configure.props.verification, fieldInfo);
|
|
149
|
+
if (!props.pageDesign.runtime) {
|
|
150
|
+
props.pageDesign.runtime = {};
|
|
151
|
+
}
|
|
152
|
+
if (!props.pageDesign.runtime.refercePropMap) {
|
|
153
|
+
props.pageDesign.runtime.refercePropMap = {};
|
|
154
|
+
}
|
|
155
|
+
getRefrencePropMap(newVal, oldVal, props.pageDesign.runtime.refercePropMap);
|
|
148
156
|
}
|
|
149
157
|
);
|
|
158
|
+
onUnmounted(() => {
|
|
159
|
+
var _a;
|
|
160
|
+
removePropFromRefrencePropMap(props.configure.props.base.prop, (_a = props.pageDesign.runtime) == null ? void 0 : _a.refercePropMap);
|
|
161
|
+
});
|
|
150
162
|
}
|
|
151
163
|
watch(props.configure.props.verification, (newValue, oldValue) => {
|
|
152
164
|
watchValidate(props.configure, newValue, fieldInfo);
|
|
@@ -11,6 +11,10 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
11
11
|
type: NumberConstructor;
|
|
12
12
|
default: any;
|
|
13
13
|
};
|
|
14
|
+
systemCode: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: any;
|
|
17
|
+
};
|
|
14
18
|
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
19
|
close: (...args: any[]) => void;
|
|
16
20
|
open: (...args: any[]) => void;
|
|
@@ -29,12 +33,17 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
29
33
|
type: NumberConstructor;
|
|
30
34
|
default: any;
|
|
31
35
|
};
|
|
36
|
+
systemCode: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: any;
|
|
39
|
+
};
|
|
32
40
|
}>> & {
|
|
33
41
|
onClose?: (...args: any[]) => any;
|
|
34
42
|
onOpen?: (...args: any[]) => any;
|
|
35
43
|
onOpend?: (...args: any[]) => any;
|
|
36
44
|
onClosed?: (...args: any[]) => any;
|
|
37
45
|
}, {
|
|
46
|
+
systemCode: string;
|
|
38
47
|
code: string;
|
|
39
48
|
rowId: number;
|
|
40
49
|
publishVersion: number;
|
package/dist/es/components/design/views/assemblys/page/component/setting-form-rule-base-input.vue.js
CHANGED
|
@@ -26,6 +26,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
26
26
|
publishVersion: {
|
|
27
27
|
type: Number,
|
|
28
28
|
default: null
|
|
29
|
+
},
|
|
30
|
+
systemCode: {
|
|
31
|
+
type: String,
|
|
32
|
+
default: null
|
|
29
33
|
}
|
|
30
34
|
},
|
|
31
35
|
emits: ["open", "opend", "closed", "close"],
|
|
@@ -55,17 +59,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
55
59
|
differentDataReset: false,
|
|
56
60
|
continuousMatch: false,
|
|
57
61
|
publishVersion: "",
|
|
62
|
+
systemCode: "",
|
|
58
63
|
enerationMode: "whenSaving"
|
|
59
64
|
});
|
|
60
65
|
const form = ref({});
|
|
61
66
|
onMounted(() => {
|
|
62
67
|
settingFormNoRuleBase.value.publishVersion = props.publishVersion;
|
|
68
|
+
settingFormNoRuleBase.value.systemCode = props.systemCode;
|
|
63
69
|
});
|
|
64
70
|
function create(data) {
|
|
65
71
|
return http.post(window["$vueApp"].config.globalProperties.baseAPI + "/mms/setting-form-rule-base", data);
|
|
66
72
|
}
|
|
67
73
|
function update(id, data) {
|
|
68
|
-
return http.put(window["$vueApp"].config.globalProperties.baseAPI + `/mms/setting-form-rule-base/${id}
|
|
74
|
+
return http.put(window["$vueApp"].config.globalProperties.baseAPI + `/mms/setting-form-rule-base/${id}`, data);
|
|
69
75
|
}
|
|
70
76
|
function preview(data) {
|
|
71
77
|
return http.post(window["$vueApp"].config.globalProperties.baseAPI + "/mms/setting-form-rule-base/preview", data);
|
|
@@ -83,15 +89,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
83
89
|
var _a;
|
|
84
90
|
(_a = form.value) == null ? void 0 : _a.validate((valid) => {
|
|
85
91
|
if (valid) {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
92
|
+
const fieldDbName = settingFormNoRuleBase.value["field"];
|
|
93
|
+
if (fieldDbName) {
|
|
94
|
+
const column = tableColumnData.value.filter((item) => item.dbColumnName && item.dbColumnName === fieldDbName);
|
|
95
|
+
if (column && column.length > 0) {
|
|
96
|
+
settingFormNoRuleBase.value["fieldName"] = column[0]["name"];
|
|
97
|
+
}
|
|
90
98
|
}
|
|
91
99
|
if (settingFormNoRuleBase.value["id"]) {
|
|
100
|
+
console.log("修改表单编号规则---settingFormNoRuleBase.value===", settingFormNoRuleBase.value);
|
|
92
101
|
update(settingFormNoRuleBase.value["id"], settingFormNoRuleBase.value).then((data) => {
|
|
93
102
|
settingFormNoRuleBase.value = data;
|
|
94
|
-
settingFormNoRuleBase.value["field"] = settingFormNoRuleBase.value["field"] + "," + settingFormNoRuleBase.value["fieldName"];
|
|
95
103
|
ElMessage({
|
|
96
104
|
showClose: true,
|
|
97
105
|
message: "保存成功",
|
|
@@ -99,9 +107,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
99
107
|
});
|
|
100
108
|
});
|
|
101
109
|
} else {
|
|
110
|
+
settingFormNoRuleBase.value.systemCode = props.systemCode;
|
|
111
|
+
console.log("创建表单编号规则---settingFormNoRuleBase.value===", settingFormNoRuleBase.value);
|
|
102
112
|
create(settingFormNoRuleBase.value).then((data) => {
|
|
103
113
|
settingFormNoRuleBase.value = data;
|
|
104
|
-
settingFormNoRuleBase.value["field"] = settingFormNoRuleBase.value["field"] + "," + settingFormNoRuleBase.value["fieldName"];
|
|
105
114
|
ElMessage({
|
|
106
115
|
showClose: true,
|
|
107
116
|
message: "保存成功",
|
|
@@ -115,7 +124,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
115
124
|
});
|
|
116
125
|
}
|
|
117
126
|
function goback() {
|
|
118
|
-
$emit("close");
|
|
127
|
+
$emit("close", settingFormNoRuleBase.value.ruleCode);
|
|
119
128
|
}
|
|
120
129
|
function clickBasic(value) {
|
|
121
130
|
if (settingFormNoRuleBase.value["ruleSet"]) {
|
|
@@ -133,13 +142,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
133
142
|
tableColumnData.value = [];
|
|
134
143
|
}
|
|
135
144
|
function onSelectTable(tableInfo) {
|
|
145
|
+
const initSystemCode = settingFormNoRuleBase.value.systemCode ? settingFormNoRuleBase.value.systemCode : "";
|
|
136
146
|
settingFormNoRuleBase.value.entityTableAlias = tableInfo.alias;
|
|
137
147
|
let hisKey = settingFormNoRuleBase.value.entityTableCode ? settingFormNoRuleBase.value.entityTableCode : "";
|
|
138
148
|
hisKey += "_";
|
|
139
|
-
hisKey +=
|
|
149
|
+
hisKey += initSystemCode;
|
|
140
150
|
let newKey = tableInfo.name ? tableInfo.name : "";
|
|
141
151
|
newKey += "_";
|
|
142
|
-
newKey += tableInfo.systemCode ? tableInfo.systemCode :
|
|
152
|
+
newKey += tableInfo.systemCode ? tableInfo.systemCode : initSystemCode;
|
|
153
|
+
console.log("onSelectTable----newKey=", newKey, "hisKey=", hisKey);
|
|
143
154
|
if (newKey != hisKey) {
|
|
144
155
|
settingFormNoRuleBase.value.entityTableCode = tableInfo.name;
|
|
145
156
|
settingFormNoRuleBase.value.systemCode = tableInfo.systemCode;
|
|
@@ -72,7 +72,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
72
72
|
props.configure.props["judgeHeavyList"] = tabValue;
|
|
73
73
|
WeightFieldInputClose();
|
|
74
74
|
}
|
|
75
|
-
function getRuleClose() {
|
|
75
|
+
function getRuleClose(formNoRuleCode) {
|
|
76
|
+
if (formNoRuleCode && !props.configure.props.formNoRuleCode) {
|
|
77
|
+
props.configure.props.formNoRuleCode = formNoRuleCode;
|
|
78
|
+
}
|
|
79
|
+
initFormNoRules();
|
|
76
80
|
settingFormRuleBaseInputVisile.value = false;
|
|
77
81
|
}
|
|
78
82
|
function trimString(event) {
|
|
@@ -239,10 +243,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
239
243
|
}, 8, ["modelValue"]),
|
|
240
244
|
settingFormRuleBaseInputVisile.value ? (openBlock(), createBlock(_sfc_main$2, {
|
|
241
245
|
key: 0,
|
|
242
|
-
code: _ctx.configure.
|
|
246
|
+
code: _ctx.configure.props.formNoRuleCode,
|
|
243
247
|
publishVersion: _ctx.configure.systemVersion,
|
|
248
|
+
systemCode: _ctx.configure.systemCode,
|
|
244
249
|
onClose: getRuleClose
|
|
245
|
-
}, null, 8, ["code", "publishVersion"])) : createCommentVNode("", true),
|
|
250
|
+
}, null, 8, ["code", "publishVersion", "systemCode"])) : createCommentVNode("", true),
|
|
246
251
|
WeightFieldInputVisile.value ? (openBlock(), createBlock(_sfc_main$3, {
|
|
247
252
|
key: 1,
|
|
248
253
|
judgeHeavyList: _ctx.configure.props.judgeHeavyList,
|