super-page-designer 2.0.48 → 2.0.51-beta2
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 +1 -2
- package/dist/es/components/design/utils/chart-design-util.js +1 -2
- package/dist/es/components/design/utils/data-table-util.js +3 -3
- package/dist/es/components/design/utils/form-design-util.js +1 -2
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/dropdown/dropdown-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-groupby.vue.js +2 -4
- package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-axislabel.vue.js +1 -2
- package/dist/es/components/design/views/assemblys/common/common-advanced-basic-showcondition.vue.js +1 -2
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.d.ts +9 -0
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue3.js +18 -12
- package/dist/es/components/design/views/assemblys/common/page-permission-select.vue.js +5 -9
- package/dist/es/components/design/views/assemblys/common/state-button.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/bar-code/barcode-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/column-config.vue.js +1 -2
- package/dist/es/components/design/views/assemblys/data/component/composite-header.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/configuration-value.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +3 -2
- package/dist/es/components/design/views/assemblys/data/component/querySetting.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/row-backgroud-color.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/table-children-column.vue.js +3 -1
- package/dist/es/components/design/views/assemblys/data/component/variate-select.vue.js +1 -2
- package/dist/es/components/design/views/assemblys/data/table/table-attr-advanced.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +2 -1
- package/dist/es/components/design/views/assemblys/data/table/table-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +16 -5
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue.js +52 -37
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-base.vue.js +2 -5
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/tree/tree-design.vue2.js +12 -5
- package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/attr-event.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/attr-header.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +25 -32
- package/dist/es/components/design/views/assemblys/form/common/data-origin.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/form/common/data-origin.vue2.js +20 -30
- package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +1 -0
- package/dist/es/components/design/views/assemblys/form/custom/custom-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/custom/custom-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/custom/custom-design.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-autoset.vue.js +6 -1
- package/dist/es/components/design/views/assemblys/form/divider/divider-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js +12 -10
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/label/label-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/link/link-attr-base.vue.js +27 -2
- package/dist/es/components/design/views/assemblys/form/link/link-design.vue2.js +20 -14
- package/dist/es/components/design/views/assemblys/form/placeholder/placeholder-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/radio/radio-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/select/select-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/select/select-design.vue2.js +4 -1
- package/dist/es/components/design/views/assemblys/form/switch/switch-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/tag/tag-attr-base.vue.js +14 -1
- package/dist/es/components/design/views/assemblys/form/tag/tag-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/textarea/textarea-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/object-design.vue.js +0 -1
- package/dist/es/components/design/views/assemblys/page/component/weight-field-input.vue.js +1 -2
- package/dist/es/components/design/views/assemblys/workflow/picture-flow/pictureflow-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/workflow/picture-flow/pictureflow-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/workflow/text-history/texthistory-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/workflow/text-history/texthistory-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-attr.vue.js +1 -1
- package/dist/es/components/design/views/design/page-design.vue.js +6 -7
- package/dist/es/components/design/views/design/page-event/config.vue.js +1 -1
- package/dist/es/components/design/views/design/page-event/config.vue3.js +1 -2
- package/dist/es/components/design/views/design/view/page-switch.vue.js +1 -1
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +1 -1
- package/dist/es/index.js +2 -2
- package/dist/es/stores/page-store.js +1 -2
- package/dist/es/stores/table-store.d.ts +10 -0
- package/dist/es/stores/table-store.js +20 -0
- package/dist/es/style.css +177 -177
- package/package.json +4 -4
- package/dist/es/assets/design-attr.css.js +0 -1
- package/dist/es/assets/fonts/iconfont.css.js +0 -1
- package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-attr.vue3.js +0 -1
- package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue3.js +0 -1
- package/dist/es/components/design/views/assemblys/button/dropdown/dropdown-attr.vue3.js +0 -1
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr.vue3.js +0 -1
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue2.js +0 -1
- package/dist/es/components/design/views/assemblys/common/state-button.vue3.js +0 -1
- package/dist/es/components/design/views/assemblys/data/bar-code/barcode-attr.vue3.js +0 -1
- package/dist/es/components/design/views/assemblys/data/component/composite-header.vue3.js +0 -1
- package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue3.js +0 -1
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue3.js +0 -1
- package/dist/es/components/design/views/assemblys/data/component/row-backgroud-color.vue3.js +0 -1
- package/dist/es/components/design/views/assemblys/data/table/table-attr.vue3.js +0 -1
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue3.js +0 -1
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue4.js +0 -1
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr.vue3.js +0 -1
- package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-attr.vue3.js +0 -1
- package/dist/es/components/design/views/assemblys/form/common/attr-event.vue3.js +0 -1
- package/dist/es/components/design/views/assemblys/form/common/attr-header.vue3.js +0 -1
- package/dist/es/components/design/views/assemblys/form/common/data-origin.vue3.js +0 -1
- package/dist/es/components/design/views/assemblys/form/common/dimension-input.vue.js +0 -1
- package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue3.js +0 -1
- package/dist/es/components/design/views/assemblys/form/custom/custom-attr.vue3.js +0 -1
- package/dist/es/components/design/views/assemblys/form/custom/custom-design.vue3.js +0 -1
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr.vue3.js +0 -1
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr.vue3.js +0 -1
- package/dist/es/components/design/views/assemblys/form/divider/divider-attr.vue3.js +0 -1
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr.vue3.js +0 -1
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr.vue3.js +0 -1
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr.vue3.js +0 -1
- package/dist/es/components/design/views/assemblys/form/label/label-attr.vue3.js +0 -1
- package/dist/es/components/design/views/assemblys/form/placeholder/placeholder-attr.vue3.js +0 -1
- package/dist/es/components/design/views/assemblys/form/radio/radio-attr.vue3.js +0 -1
- package/dist/es/components/design/views/assemblys/form/select/select-attr.vue3.js +0 -1
- package/dist/es/components/design/views/assemblys/form/switch/switch-attr.vue3.js +0 -1
- package/dist/es/components/design/views/assemblys/form/tag/tag-attr.vue3.js +0 -1
- package/dist/es/components/design/views/assemblys/form/textarea/textarea-attr.vue3.js +0 -1
- package/dist/es/components/design/views/assemblys/workflow/picture-flow/pictureflow-attr.vue3.js +0 -1
- package/dist/es/components/design/views/assemblys/workflow/text-history/texthistory-attr.vue3.js +0 -1
- package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-attr.vue3.js +0 -1
- package/dist/es/components/design/views/design/page-event/config.vue2.js +0 -1
- package/dist/es/components/design/views/design/view/page-switch.vue3.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createCommentVNode, createTextVNode, unref, createElementBlock, Fragment, renderList } from "vue";
|
|
1
|
+
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createCommentVNode, createTextVNode, unref, createElementBlock, Fragment, renderList, withDirectives, vShow } from "vue";
|
|
2
2
|
import { Setting, Search, Close } from "@element-plus/icons-vue";
|
|
3
3
|
import { getFormComponentOptions, getDesignEvents } from "../../../../utils/assemblys-config.js";
|
|
4
4
|
import _sfc_main$6 from "../component/querySetting.vue.js";
|
|
@@ -208,7 +208,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
208
208
|
default: withCtx(() => [
|
|
209
209
|
createVNode(_component_el_collapse, {
|
|
210
210
|
modelValue: openCollapseItems.value,
|
|
211
|
-
"onUpdate:modelValue": _cache[
|
|
211
|
+
"onUpdate:modelValue": _cache[52] || (_cache[52] = ($event) => openCollapseItems.value = $event),
|
|
212
212
|
style: { "margin-top": "6px" }
|
|
213
213
|
}, {
|
|
214
214
|
default: withCtx(() => [
|
|
@@ -646,7 +646,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
646
646
|
}, 8, ["modelValue"])
|
|
647
647
|
]),
|
|
648
648
|
_: 1
|
|
649
|
-
})) : createCommentVNode("", true)
|
|
649
|
+
})) : createCommentVNode("", true),
|
|
650
|
+
withDirectives(createVNode(_component_el_form_item, {
|
|
651
|
+
label: "文件uuid",
|
|
652
|
+
class: "amb-design-attr-item"
|
|
653
|
+
}, {
|
|
654
|
+
default: withCtx(() => [
|
|
655
|
+
createVNode(_sfc_main$1, {
|
|
656
|
+
prop: __props.configure.props.format.fileUuid,
|
|
657
|
+
"onUpdate:prop": _cache[17] || (_cache[17] = ($event) => __props.configure.props.format.fileUuid = $event),
|
|
658
|
+
tableConfigure: __props.tableConfigure
|
|
659
|
+
}, null, 8, ["prop", "tableConfigure"])
|
|
660
|
+
]),
|
|
661
|
+
_: 1
|
|
662
|
+
}, 512), [
|
|
663
|
+
[vShow, __props.configure.props.editLine.editable && __props.configure.name === "file-upload"]
|
|
664
|
+
])
|
|
650
665
|
])
|
|
651
666
|
]),
|
|
652
667
|
_: 1
|
|
@@ -666,7 +681,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
666
681
|
default: withCtx(() => [
|
|
667
682
|
createVNode(_component_el_select, {
|
|
668
683
|
modelValue: __props.configure.props.format.type,
|
|
669
|
-
"onUpdate:modelValue": _cache[
|
|
684
|
+
"onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => __props.configure.props.format.type = $event),
|
|
670
685
|
clearable: "",
|
|
671
686
|
placeholder: "请选择"
|
|
672
687
|
}, {
|
|
@@ -733,7 +748,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
733
748
|
default: withCtx(() => [
|
|
734
749
|
createVNode(_component_el_input, {
|
|
735
750
|
modelValue: __props.configure.props.format.decimalDigit,
|
|
736
|
-
"onUpdate:modelValue": _cache[
|
|
751
|
+
"onUpdate:modelValue": _cache[19] || (_cache[19] = ($event) => __props.configure.props.format.decimalDigit = $event)
|
|
737
752
|
}, null, 8, ["modelValue"])
|
|
738
753
|
]),
|
|
739
754
|
_: 1
|
|
@@ -746,7 +761,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
746
761
|
default: withCtx(() => [
|
|
747
762
|
createVNode(_component_el_switch, {
|
|
748
763
|
modelValue: __props.configure.props.format.scientific,
|
|
749
|
-
"onUpdate:modelValue": _cache[
|
|
764
|
+
"onUpdate:modelValue": _cache[20] || (_cache[20] = ($event) => __props.configure.props.format.scientific = $event),
|
|
750
765
|
"active-text": "使用",
|
|
751
766
|
"inactive-text": "不使用"
|
|
752
767
|
}, null, 8, ["modelValue"])
|
|
@@ -761,7 +776,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
761
776
|
default: withCtx(() => [
|
|
762
777
|
createVNode(_component_el_input, {
|
|
763
778
|
modelValue: __props.configure.props.format.scientificNum,
|
|
764
|
-
"onUpdate:modelValue": _cache[
|
|
779
|
+
"onUpdate:modelValue": _cache[21] || (_cache[21] = ($event) => __props.configure.props.format.scientificNum = $event)
|
|
765
780
|
}, null, 8, ["modelValue"])
|
|
766
781
|
]),
|
|
767
782
|
_: 1
|
|
@@ -774,7 +789,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
774
789
|
default: withCtx(() => [
|
|
775
790
|
createVNode(_component_el_switch, {
|
|
776
791
|
modelValue: __props.configure.props.format.thousandsSeparator,
|
|
777
|
-
"onUpdate:modelValue": _cache[
|
|
792
|
+
"onUpdate:modelValue": _cache[22] || (_cache[22] = ($event) => __props.configure.props.format.thousandsSeparator = $event),
|
|
778
793
|
"active-text": "使用",
|
|
779
794
|
"inactive-text": "不使用"
|
|
780
795
|
}, null, 8, ["modelValue"])
|
|
@@ -789,7 +804,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
789
804
|
default: withCtx(() => [
|
|
790
805
|
createVNode(_component_el_input, {
|
|
791
806
|
modelValue: __props.configure.props.format.symbol,
|
|
792
|
-
"onUpdate:modelValue": _cache[
|
|
807
|
+
"onUpdate:modelValue": _cache[23] || (_cache[23] = ($event) => __props.configure.props.format.symbol = $event)
|
|
793
808
|
}, null, 8, ["modelValue"])
|
|
794
809
|
]),
|
|
795
810
|
_: 1
|
|
@@ -802,7 +817,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
802
817
|
default: withCtx(() => [
|
|
803
818
|
createVNode(_component_el_select, {
|
|
804
819
|
modelValue: __props.configure.props.format.currencySymbol,
|
|
805
|
-
"onUpdate:modelValue": _cache[
|
|
820
|
+
"onUpdate:modelValue": _cache[24] || (_cache[24] = ($event) => __props.configure.props.format.currencySymbol = $event),
|
|
806
821
|
placeholder: "Select"
|
|
807
822
|
}, {
|
|
808
823
|
default: withCtx(() => [
|
|
@@ -828,7 +843,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
828
843
|
default: withCtx(() => [
|
|
829
844
|
createVNode(_component_el_select, {
|
|
830
845
|
modelValue: __props.configure.props.format.dataType,
|
|
831
|
-
"onUpdate:modelValue": _cache[
|
|
846
|
+
"onUpdate:modelValue": _cache[25] || (_cache[25] = ($event) => __props.configure.props.format.dataType = $event),
|
|
832
847
|
placeholder: "Select"
|
|
833
848
|
}, {
|
|
834
849
|
default: withCtx(() => [
|
|
@@ -882,7 +897,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
882
897
|
default: withCtx(() => [
|
|
883
898
|
createVNode(_component_el_select, {
|
|
884
899
|
modelValue: __props.configure.props.format.timeType,
|
|
885
|
-
"onUpdate:modelValue": _cache[
|
|
900
|
+
"onUpdate:modelValue": _cache[26] || (_cache[26] = ($event) => __props.configure.props.format.timeType = $event),
|
|
886
901
|
placeholder: "Select"
|
|
887
902
|
}, {
|
|
888
903
|
default: withCtx(() => [
|
|
@@ -932,7 +947,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
932
947
|
default: withCtx(() => [
|
|
933
948
|
createVNode(_component_el_input, {
|
|
934
949
|
modelValue: __props.configure.props.format.customControl,
|
|
935
|
-
"onUpdate:modelValue": _cache[
|
|
950
|
+
"onUpdate:modelValue": _cache[27] || (_cache[27] = ($event) => __props.configure.props.format.customControl = $event)
|
|
936
951
|
}, null, 8, ["modelValue"])
|
|
937
952
|
]),
|
|
938
953
|
_: 1
|
|
@@ -951,7 +966,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
951
966
|
default: withCtx(() => [
|
|
952
967
|
createVNode(IconSetDialog, {
|
|
953
968
|
modelValue: __props.configure.props.format.icon,
|
|
954
|
-
"onUpdate:modelValue": _cache[
|
|
969
|
+
"onUpdate:modelValue": _cache[28] || (_cache[28] = ($event) => __props.configure.props.format.icon = $event)
|
|
955
970
|
}, null, 8, ["modelValue"])
|
|
956
971
|
]),
|
|
957
972
|
_: 1
|
|
@@ -964,7 +979,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
964
979
|
default: withCtx(() => [
|
|
965
980
|
createVNode(_component_el_switch, {
|
|
966
981
|
modelValue: __props.configure.props.format.position,
|
|
967
|
-
"onUpdate:modelValue": _cache[
|
|
982
|
+
"onUpdate:modelValue": _cache[29] || (_cache[29] = ($event) => __props.configure.props.format.position = $event),
|
|
968
983
|
"active-text": "后缀",
|
|
969
984
|
"inactive-text": "前缀",
|
|
970
985
|
"active-value": "suf",
|
|
@@ -981,7 +996,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
981
996
|
default: withCtx(() => [
|
|
982
997
|
createVNode(_component_el_input, {
|
|
983
998
|
modelValue: __props.configure.props.format.event,
|
|
984
|
-
"onUpdate:modelValue": _cache[
|
|
999
|
+
"onUpdate:modelValue": _cache[30] || (_cache[30] = ($event) => __props.configure.props.format.event = $event)
|
|
985
1000
|
}, null, 8, ["modelValue"])
|
|
986
1001
|
]),
|
|
987
1002
|
_: 1
|
|
@@ -994,7 +1009,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
994
1009
|
default: withCtx(() => [
|
|
995
1010
|
createVNode(_component_el_input, {
|
|
996
1011
|
modelValue: __props.configure.props.format.customControl,
|
|
997
|
-
"onUpdate:modelValue": _cache[
|
|
1012
|
+
"onUpdate:modelValue": _cache[31] || (_cache[31] = ($event) => __props.configure.props.format.customControl = $event)
|
|
998
1013
|
}, null, 8, ["modelValue"])
|
|
999
1014
|
]),
|
|
1000
1015
|
_: 1
|
|
@@ -1007,7 +1022,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1007
1022
|
default: withCtx(() => [
|
|
1008
1023
|
createVNode(_component_el_switch, {
|
|
1009
1024
|
modelValue: __props.configure.props.format.multiple,
|
|
1010
|
-
"onUpdate:modelValue": _cache[
|
|
1025
|
+
"onUpdate:modelValue": _cache[32] || (_cache[32] = ($event) => __props.configure.props.format.multiple = $event)
|
|
1011
1026
|
}, null, 8, ["modelValue"])
|
|
1012
1027
|
]),
|
|
1013
1028
|
_: 1
|
|
@@ -1020,7 +1035,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1020
1035
|
default: withCtx(() => [
|
|
1021
1036
|
createVNode(_component_el_input, {
|
|
1022
1037
|
modelValue: __props.configure.props.format.accept,
|
|
1023
|
-
"onUpdate:modelValue": _cache[
|
|
1038
|
+
"onUpdate:modelValue": _cache[33] || (_cache[33] = ($event) => __props.configure.props.format.accept = $event)
|
|
1024
1039
|
}, null, 8, ["modelValue"])
|
|
1025
1040
|
]),
|
|
1026
1041
|
_: 1
|
|
@@ -1033,7 +1048,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1033
1048
|
default: withCtx(() => [
|
|
1034
1049
|
createVNode(_component_el_input_number, {
|
|
1035
1050
|
modelValue: __props.configure.props.format.limitFileSize,
|
|
1036
|
-
"onUpdate:modelValue": _cache[
|
|
1051
|
+
"onUpdate:modelValue": _cache[34] || (_cache[34] = ($event) => __props.configure.props.format.limitFileSize = $event),
|
|
1037
1052
|
min: 1
|
|
1038
1053
|
}, null, 8, ["modelValue"])
|
|
1039
1054
|
]),
|
|
@@ -1046,7 +1061,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1046
1061
|
default: withCtx(() => [
|
|
1047
1062
|
createVNode(_component_el_input, {
|
|
1048
1063
|
modelValue: __props.configure.props.format.childAnnexDataTableCode,
|
|
1049
|
-
"onUpdate:modelValue": _cache[
|
|
1064
|
+
"onUpdate:modelValue": _cache[35] || (_cache[35] = ($event) => __props.configure.props.format.childAnnexDataTableCode = $event),
|
|
1050
1065
|
onClick: _ctx.openSelectDataTable,
|
|
1051
1066
|
clearable: ""
|
|
1052
1067
|
}, {
|
|
@@ -1069,7 +1084,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1069
1084
|
default: withCtx(() => [
|
|
1070
1085
|
createVNode(_sfc_main$1, {
|
|
1071
1086
|
prop: __props.configure.props.format.showName,
|
|
1072
|
-
"onUpdate:prop": _cache[
|
|
1087
|
+
"onUpdate:prop": _cache[36] || (_cache[36] = ($event) => __props.configure.props.format.showName = $event),
|
|
1073
1088
|
tableConfigure: __props.tableConfigure
|
|
1074
1089
|
}, null, 8, ["prop", "tableConfigure"])
|
|
1075
1090
|
]),
|
|
@@ -1083,7 +1098,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1083
1098
|
default: withCtx(() => [
|
|
1084
1099
|
createVNode(_sfc_main$1, {
|
|
1085
1100
|
prop: __props.configure.props.format.serverName,
|
|
1086
|
-
"onUpdate:prop": _cache[
|
|
1101
|
+
"onUpdate:prop": _cache[37] || (_cache[37] = ($event) => __props.configure.props.format.serverName = $event),
|
|
1087
1102
|
tableConfigure: __props.tableConfigure
|
|
1088
1103
|
}, null, 8, ["prop", "tableConfigure"])
|
|
1089
1104
|
]),
|
|
@@ -1107,7 +1122,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1107
1122
|
default: withCtx(() => [
|
|
1108
1123
|
createVNode(_component_el_radio_group, {
|
|
1109
1124
|
modelValue: __props.configure.props.base.listColumnFixed,
|
|
1110
|
-
"onUpdate:modelValue": _cache[
|
|
1125
|
+
"onUpdate:modelValue": _cache[38] || (_cache[38] = ($event) => __props.configure.props.base.listColumnFixed = $event),
|
|
1111
1126
|
class: "ml-4"
|
|
1112
1127
|
}, {
|
|
1113
1128
|
default: withCtx(() => [
|
|
@@ -1143,7 +1158,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1143
1158
|
default: withCtx(() => [
|
|
1144
1159
|
createVNode(_component_el_radio_group, {
|
|
1145
1160
|
modelValue: __props.configure.props.base.sortable,
|
|
1146
|
-
"onUpdate:modelValue": _cache[
|
|
1161
|
+
"onUpdate:modelValue": _cache[39] || (_cache[39] = ($event) => __props.configure.props.base.sortable = $event),
|
|
1147
1162
|
class: "ml-4"
|
|
1148
1163
|
}, {
|
|
1149
1164
|
default: withCtx(() => [
|
|
@@ -1173,7 +1188,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1173
1188
|
createVNode(_component_el_input_number, {
|
|
1174
1189
|
style: { "width": "100%" },
|
|
1175
1190
|
modelValue: __props.configure.props.base.columnWidth,
|
|
1176
|
-
"onUpdate:modelValue": _cache[
|
|
1191
|
+
"onUpdate:modelValue": _cache[40] || (_cache[40] = ($event) => __props.configure.props.base.columnWidth = $event),
|
|
1177
1192
|
precision: 1
|
|
1178
1193
|
}, null, 8, ["modelValue"])
|
|
1179
1194
|
]),
|
|
@@ -1186,7 +1201,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1186
1201
|
default: withCtx(() => [
|
|
1187
1202
|
createVNode(_component_el_radio_group, {
|
|
1188
1203
|
modelValue: __props.configure.props.base.alignTittle,
|
|
1189
|
-
"onUpdate:modelValue": _cache[
|
|
1204
|
+
"onUpdate:modelValue": _cache[41] || (_cache[41] = ($event) => __props.configure.props.base.alignTittle = $event),
|
|
1190
1205
|
class: "ml-4"
|
|
1191
1206
|
}, {
|
|
1192
1207
|
default: withCtx(() => [
|
|
@@ -1221,7 +1236,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1221
1236
|
default: withCtx(() => [
|
|
1222
1237
|
createVNode(_component_el_radio_group, {
|
|
1223
1238
|
modelValue: __props.configure.props.base.alignContent,
|
|
1224
|
-
"onUpdate:modelValue": _cache[
|
|
1239
|
+
"onUpdate:modelValue": _cache[42] || (_cache[42] = ($event) => __props.configure.props.base.alignContent = $event),
|
|
1225
1240
|
class: "ml-4"
|
|
1226
1241
|
}, {
|
|
1227
1242
|
default: withCtx(() => [
|
|
@@ -1268,7 +1283,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1268
1283
|
default: withCtx(() => [
|
|
1269
1284
|
createVNode(_component_el_checkbox, {
|
|
1270
1285
|
modelValue: __props.configure.props.verification.required,
|
|
1271
|
-
"onUpdate:modelValue": _cache[
|
|
1286
|
+
"onUpdate:modelValue": _cache[43] || (_cache[43] = ($event) => __props.configure.props.verification.required = $event),
|
|
1272
1287
|
label: "必填"
|
|
1273
1288
|
}, null, 8, ["modelValue"])
|
|
1274
1289
|
]),
|
|
@@ -1276,7 +1291,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1276
1291
|
}),
|
|
1277
1292
|
createVNode(_component_el_checkbox_group, {
|
|
1278
1293
|
modelValue: __props.configure.props.verification.type,
|
|
1279
|
-
"onUpdate:modelValue": _cache[
|
|
1294
|
+
"onUpdate:modelValue": _cache[44] || (_cache[44] = ($event) => __props.configure.props.verification.type = $event)
|
|
1280
1295
|
}, {
|
|
1281
1296
|
default: withCtx(() => [
|
|
1282
1297
|
createVNode(_component_el_form_item, {
|
|
@@ -1347,7 +1362,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1347
1362
|
default: withCtx(() => [
|
|
1348
1363
|
createVNode(_component_el_checkbox, {
|
|
1349
1364
|
modelValue: __props.configure.props.verification.verifyRegex,
|
|
1350
|
-
"onUpdate:modelValue": _cache[
|
|
1365
|
+
"onUpdate:modelValue": _cache[45] || (_cache[45] = ($event) => __props.configure.props.verification.verifyRegex = $event),
|
|
1351
1366
|
label: "正则",
|
|
1352
1367
|
value: "regex"
|
|
1353
1368
|
}, null, 8, ["modelValue"])
|
|
@@ -1358,7 +1373,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1358
1373
|
default: withCtx(() => [
|
|
1359
1374
|
createVNode(_component_el_input, {
|
|
1360
1375
|
modelValue: __props.configure.props.verification.regex,
|
|
1361
|
-
"onUpdate:modelValue": _cache[
|
|
1376
|
+
"onUpdate:modelValue": _cache[46] || (_cache[46] = ($event) => __props.configure.props.verification.regex = $event),
|
|
1362
1377
|
class: "mx-4",
|
|
1363
1378
|
"controls-position": "right",
|
|
1364
1379
|
placeholder: "请输入"
|
|
@@ -1420,7 +1435,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1420
1435
|
default: withCtx(() => [
|
|
1421
1436
|
createVNode(_component_el_radio_group, {
|
|
1422
1437
|
modelValue: __props.configure.props.definition.defined,
|
|
1423
|
-
"onUpdate:modelValue": _cache[
|
|
1438
|
+
"onUpdate:modelValue": _cache[47] || (_cache[47] = ($event) => __props.configure.props.definition.defined = $event),
|
|
1424
1439
|
class: "ml-4"
|
|
1425
1440
|
}, {
|
|
1426
1441
|
default: withCtx(() => [
|
|
@@ -1449,7 +1464,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1449
1464
|
default: withCtx(() => [
|
|
1450
1465
|
createVNode(_component_el_radio_group, {
|
|
1451
1466
|
modelValue: __props.configure.props.definition.definedExport,
|
|
1452
|
-
"onUpdate:modelValue": _cache[
|
|
1467
|
+
"onUpdate:modelValue": _cache[48] || (_cache[48] = ($event) => __props.configure.props.definition.definedExport = $event),
|
|
1453
1468
|
class: "ml-4"
|
|
1454
1469
|
}, {
|
|
1455
1470
|
default: withCtx(() => [
|
|
@@ -1478,7 +1493,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1478
1493
|
default: withCtx(() => [
|
|
1479
1494
|
createVNode(_component_el_radio_group, {
|
|
1480
1495
|
modelValue: __props.configure.props.definition.definedMerge,
|
|
1481
|
-
"onUpdate:modelValue": _cache[
|
|
1496
|
+
"onUpdate:modelValue": _cache[49] || (_cache[49] = ($event) => __props.configure.props.definition.definedMerge = $event),
|
|
1482
1497
|
class: "ml-4"
|
|
1483
1498
|
}, {
|
|
1484
1499
|
default: withCtx(() => [
|
|
@@ -1507,7 +1522,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1507
1522
|
default: withCtx(() => [
|
|
1508
1523
|
createVNode(_component_el_radio_group, {
|
|
1509
1524
|
modelValue: __props.configure.props.definition.definedPosition,
|
|
1510
|
-
"onUpdate:modelValue": _cache[
|
|
1525
|
+
"onUpdate:modelValue": _cache[50] || (_cache[50] = ($event) => __props.configure.props.definition.definedPosition = $event),
|
|
1511
1526
|
class: "ml-4"
|
|
1512
1527
|
}, {
|
|
1513
1528
|
default: withCtx(() => [
|
|
@@ -1536,7 +1551,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1536
1551
|
default: withCtx(() => [
|
|
1537
1552
|
createVNode(_component_el_radio_group, {
|
|
1538
1553
|
modelValue: __props.configure.props.definition.definedFixed,
|
|
1539
|
-
"onUpdate:modelValue": _cache[
|
|
1554
|
+
"onUpdate:modelValue": _cache[51] || (_cache[51] = ($event) => __props.configure.props.definition.definedFixed = $event),
|
|
1540
1555
|
class: "ml-4"
|
|
1541
1556
|
}, {
|
|
1542
1557
|
default: withCtx(() => [
|
|
@@ -48,12 +48,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
48
48
|
props.configure.props.base.prop = modelValue;
|
|
49
49
|
}
|
|
50
50
|
function afterBindIcon(iconType, iconValue, fieldType) {
|
|
51
|
-
|
|
51
|
+
{
|
|
52
52
|
props.configure.props.base.iconType = iconType;
|
|
53
53
|
props.configure.props.base.iconType = iconValue;
|
|
54
|
-
} else {
|
|
55
|
-
props.configure.props.base.iconType = iconType;
|
|
56
|
-
props.configure.props.base.icon = iconValue;
|
|
57
54
|
}
|
|
58
55
|
}
|
|
59
56
|
return (_ctx, _cache) => {
|
|
@@ -332,7 +329,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
332
329
|
createVNode(_sfc_main$1, {
|
|
333
330
|
iconType: __props.configure.props.base.iconType,
|
|
334
331
|
iconValue: __props.configure.props.base.icon,
|
|
335
|
-
"onUpdate:modelValue": _cache[9] || (_cache[9] = (iconType, iconValue) => afterBindIcon(iconType, iconValue
|
|
332
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = (iconType, iconValue) => afterBindIcon(iconType, iconValue))
|
|
336
333
|
}, null, 8, ["iconType", "iconValue"])
|
|
337
334
|
]),
|
|
338
335
|
_: 1
|
|
@@ -5,7 +5,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
5
5
|
props: {
|
|
6
6
|
configure: Object
|
|
7
7
|
},
|
|
8
|
-
|
|
8
|
+
emits: ["handleSelect"],
|
|
9
|
+
setup(__props, { emit: __emit }) {
|
|
9
10
|
const props = __props;
|
|
10
11
|
if (props.configure.title == void 0) {
|
|
11
12
|
props.configure.title = "";
|
|
@@ -24,8 +25,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
24
25
|
if (props.configure.props.preSuffix) {
|
|
25
26
|
defineProps = props.configure.props;
|
|
26
27
|
}
|
|
27
|
-
if (defineProps["base"]["showCheckbox"]) {
|
|
28
|
-
tempProps["showCheckbox"] =
|
|
28
|
+
if (defineProps["base"]["showCheckbox"] && defineProps["base"]["showCheckbox"] === "no") {
|
|
29
|
+
tempProps["showCheckbox"] = false;
|
|
30
|
+
} else {
|
|
31
|
+
tempProps["showCheckbox"] = true;
|
|
29
32
|
}
|
|
30
33
|
if (defineProps["base"]["defaultExpandAll"]) {
|
|
31
34
|
tempProps["defaultExpandAll"] = defineProps["base"]["defaultExpandAll"];
|
|
@@ -56,10 +59,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
56
59
|
watch(props.configure.style, () => {
|
|
57
60
|
caculateDetailComponentStyle(props.configure, designStyle, designClass, designHeaderStyle);
|
|
58
61
|
console.log("%c描述-193327", "color:#2E3435;background:#F8BB07;padding:3px;border-radius:2px", designStyle.value);
|
|
62
|
+
props.configure.runtime.style = designStyle.value;
|
|
63
|
+
props.configure.runtime.class = designClass.value;
|
|
64
|
+
props.configure.runtime.headerStyle = designHeaderStyle.value;
|
|
59
65
|
}, { immediate: true });
|
|
60
66
|
watch(props.configure.props, () => {
|
|
61
67
|
caculateComponentProps(props.configure, designProperty);
|
|
62
68
|
getRestsParameter();
|
|
69
|
+
props.configure.runtime.props = designProperty.value;
|
|
63
70
|
}, { immediate: true });
|
|
64
71
|
return (_ctx, _cache) => {
|
|
65
72
|
const _component_el_tree = resolveComponent("el-tree");
|
|
@@ -67,12 +74,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
67
74
|
class: normalizeClass(designClass.value)
|
|
68
75
|
}, [
|
|
69
76
|
createVNode(_component_el_tree, {
|
|
70
|
-
style: normalizeStyle(designStyle.value),
|
|
77
|
+
style: normalizeStyle([designStyle.value, { "width": "fit-content" }]),
|
|
71
78
|
data: designProperty.value.staticData,
|
|
72
79
|
"default-expand-all": designProperty.value.defaultExpandAll,
|
|
73
80
|
"expand-on-click-node": designProperty.value.expandOnClickNode,
|
|
74
81
|
indent: designProperty.value.retractWidth ? designProperty.value.retractWidth : 18,
|
|
75
|
-
accordion: designProperty.value.
|
|
82
|
+
accordion: designProperty.value.accordion,
|
|
76
83
|
"show-checkbox": designProperty.value.showCheckbox,
|
|
77
84
|
props: defaultProps
|
|
78
85
|
}, null, 8, ["style", "data", "default-expand-all", "expand-on-click-node", "indent", "accordion", "show-checkbox"])
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./attr-event.vue2.js";
|
|
2
|
-
|
|
2
|
+
/* empty css */
|
|
3
3
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const AttrEvent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c7ab7527"]]);
|
|
5
5
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./attr-header.vue2.js";
|
|
2
|
-
|
|
2
|
+
/* empty css */
|
|
3
3
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const AttrHeader = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-226997f7"]]);
|
|
5
5
|
export {
|
|
@@ -6,7 +6,8 @@ import "uuid";
|
|
|
6
6
|
import "@element-plus/icons-vue";
|
|
7
7
|
import http from "agilebuilder-ui/src/utils/request";
|
|
8
8
|
import { usePageContextStore } from "../../../../../../stores/page-store.js";
|
|
9
|
-
import "
|
|
9
|
+
import "../../../../../../stores/table-store.js";
|
|
10
|
+
/* empty css */
|
|
10
11
|
import _sfc_main$4 from "./data-origin-service-in.vue.js";
|
|
11
12
|
import { queryTableFields } from "../../../../utils/page-table-util.js";
|
|
12
13
|
import _sfc_main$5 from "../../common/common-select-table.vue.js";
|
|
@@ -50,42 +51,32 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
50
51
|
const queryOptionGroupLoading = ref(false);
|
|
51
52
|
const optionGroups = ref([]);
|
|
52
53
|
function queryOptionGroups(query) {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
http.post(window["$vueApp"].config.globalProperties.baseAPI + "/component/option-groups/query", param).then((result) => {
|
|
59
|
-
queryOptionGroupLoading.value = false;
|
|
60
|
-
optionGroups.value = result;
|
|
61
|
-
}).catch((error) => {
|
|
62
|
-
queryOptionGroupLoading.value = false;
|
|
63
|
-
console.log("查询选项组出错", error);
|
|
64
|
-
});
|
|
65
|
-
} else {
|
|
66
|
-
optionGroups.value = [];
|
|
54
|
+
queryOptionGroupLoading.value = true;
|
|
55
|
+
const param = {
|
|
56
|
+
query
|
|
57
|
+
};
|
|
58
|
+
http.post(window["$vueApp"].config.globalProperties.baseAPI + "/component/option-groups/query", param).then((result) => {
|
|
67
59
|
queryOptionGroupLoading.value = false;
|
|
68
|
-
|
|
60
|
+
optionGroups.value = result;
|
|
61
|
+
}).catch((error) => {
|
|
62
|
+
queryOptionGroupLoading.value = false;
|
|
63
|
+
console.log("查询选项组出错", error);
|
|
64
|
+
});
|
|
69
65
|
}
|
|
70
66
|
const queryDynamicSourceLoading = ref(false);
|
|
71
67
|
const dynamicSources = ref([]);
|
|
72
68
|
function queryDynamicSources(query) {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
http.post(window["$vueApp"].config.globalProperties.baseAPI + "/component/dynamic-options/query", param).then((result) => {
|
|
79
|
-
queryDynamicSourceLoading.value = false;
|
|
80
|
-
dynamicSources.value = result;
|
|
81
|
-
}).catch((error) => {
|
|
82
|
-
queryDynamicSourceLoading.value = false;
|
|
83
|
-
console.log("查询动态数据源出错", error);
|
|
84
|
-
});
|
|
85
|
-
} else {
|
|
86
|
-
dynamicSources.value = [];
|
|
69
|
+
queryDynamicSourceLoading.value = true;
|
|
70
|
+
const param = {
|
|
71
|
+
query
|
|
72
|
+
};
|
|
73
|
+
http.post(window["$vueApp"].config.globalProperties.baseAPI + "/component/dynamic-options/query", param).then((result) => {
|
|
87
74
|
queryDynamicSourceLoading.value = false;
|
|
88
|
-
|
|
75
|
+
dynamicSources.value = result;
|
|
76
|
+
}).catch((error) => {
|
|
77
|
+
queryDynamicSourceLoading.value = false;
|
|
78
|
+
console.log("查询动态数据源出错", error);
|
|
79
|
+
});
|
|
89
80
|
}
|
|
90
81
|
function dynamicSourceChange(value) {
|
|
91
82
|
const selectedItem = dynamicSources.value.find((item) => item.code === value);
|
|
@@ -608,7 +599,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
608
599
|
return openBlock(), createElementBlock("div", {
|
|
609
600
|
key: index,
|
|
610
601
|
onClick: ($event) => seleteSort(index),
|
|
611
|
-
class: normalizeClass(
|
|
602
|
+
class: normalizeClass(
|
|
603
|
+
atPresentSortIndex.value === index ? "amb-design-attr-item-inline seleteSort" : "amb-design-attr-item-inline"
|
|
604
|
+
)
|
|
612
605
|
}, [
|
|
613
606
|
createVNode(_component_el_select, {
|
|
614
607
|
modelValue: item.name,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./data-origin.vue2.js";
|
|
2
|
-
|
|
2
|
+
/* empty css */
|
|
3
3
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const DataOrigin = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const DataOrigin = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-0ac2eace"]]);
|
|
5
5
|
export {
|
|
6
6
|
DataOrigin as default
|
|
7
7
|
};
|
|
@@ -64,42 +64,32 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
64
64
|
const queryOptionGroupLoading = ref(false);
|
|
65
65
|
const optionGroups = ref([]);
|
|
66
66
|
function queryOptionGroups(query) {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/option-groups/query", param).then((result) => {
|
|
73
|
-
queryOptionGroupLoading.value = false;
|
|
74
|
-
optionGroups.value = result;
|
|
75
|
-
}).catch((error) => {
|
|
76
|
-
queryOptionGroupLoading.value = false;
|
|
77
|
-
console.log("查询选项组出错", error);
|
|
78
|
-
});
|
|
79
|
-
} else {
|
|
80
|
-
optionGroups.value = [];
|
|
67
|
+
queryOptionGroupLoading.value = true;
|
|
68
|
+
const param = {
|
|
69
|
+
query
|
|
70
|
+
};
|
|
71
|
+
http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/option-groups/query", param).then((result) => {
|
|
81
72
|
queryOptionGroupLoading.value = false;
|
|
82
|
-
|
|
73
|
+
optionGroups.value = result;
|
|
74
|
+
}).catch((error) => {
|
|
75
|
+
queryOptionGroupLoading.value = false;
|
|
76
|
+
console.log("查询选项组出错", error);
|
|
77
|
+
});
|
|
83
78
|
}
|
|
84
79
|
const queryDynamicSourceLoading = ref(false);
|
|
85
80
|
const dynamicSources = ref([]);
|
|
86
81
|
function queryDynamicSources(query) {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/dynamic-options/query", param).then((result) => {
|
|
93
|
-
queryDynamicSourceLoading.value = false;
|
|
94
|
-
dynamicSources.value = result;
|
|
95
|
-
}).catch((error) => {
|
|
96
|
-
queryDynamicSourceLoading.value = false;
|
|
97
|
-
console.log("查询动态数据源出错", error);
|
|
98
|
-
});
|
|
99
|
-
} else {
|
|
100
|
-
dynamicSources.value = [];
|
|
82
|
+
queryDynamicSourceLoading.value = true;
|
|
83
|
+
const param = {
|
|
84
|
+
query
|
|
85
|
+
};
|
|
86
|
+
http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/dynamic-options/query", param).then((result) => {
|
|
101
87
|
queryDynamicSourceLoading.value = false;
|
|
102
|
-
|
|
88
|
+
dynamicSources.value = result;
|
|
89
|
+
}).catch((error) => {
|
|
90
|
+
queryDynamicSourceLoading.value = false;
|
|
91
|
+
console.log("查询动态数据源出错", error);
|
|
92
|
+
});
|
|
103
93
|
}
|
|
104
94
|
function dynamicSourceChange(value) {
|
|
105
95
|
const selectedItem = dynamicSources.value.find((item) => item.code === value);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./icon-set-dialog.vue2.js";
|
|
2
|
-
|
|
2
|
+
/* empty css */
|
|
3
3
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const IconSetDialog = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-4aa5ce08"]]);
|
|
5
5
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, unref, createTextVNode } from "vue";
|
|
2
2
|
import { getFormComponentOptions } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import _sfc_main$2 from "../../common/common-attr-size.vue.js";
|
|
4
|
-
|
|
4
|
+
/* empty css */
|
|
5
5
|
import "@element-plus/icons-vue";
|
|
6
6
|
import "uuid";
|
|
7
7
|
import _sfc_main$1 from "../common/parameter-table.vue.js";
|