mooho-base-admin-plus 2.2.7 → 2.2.8
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/history.md +1 -0
- package/package/mooho-base-admin-plus.min.esm.js +108 -77
- package/package/mooho-base-admin-plus.min.js +10 -9
- package/package.json +1 -1
- package/src/components/view/column-edit.vue +6 -1
- package/src/components/view/form-setting-layout.vue +1 -0
- package/src/components/view/view-form.vue +3 -0
- package/src/mixins/page.js +7 -0
|
@@ -23032,6 +23032,13 @@ var mixinPage = {
|
|
|
23032
23032
|
return value;
|
|
23033
23033
|
}
|
|
23034
23034
|
},
|
|
23035
|
+
showDataMultiLine(content) {
|
|
23036
|
+
if (content == null) {
|
|
23037
|
+
return null;
|
|
23038
|
+
} else {
|
|
23039
|
+
return content.replaceAll(" ", " ").replaceAll("\n", "<br/>");
|
|
23040
|
+
}
|
|
23041
|
+
},
|
|
23035
23042
|
parseData(model2, expression2) {
|
|
23036
23043
|
return lodash$1.exports.get(model2, expression2);
|
|
23037
23044
|
},
|
|
@@ -23883,7 +23890,7 @@ const _hoisted_7$b = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEl
|
|
|
23883
23890
|
], -1));
|
|
23884
23891
|
const _hoisted_8$a = { class: "stat" };
|
|
23885
23892
|
const _hoisted_9$8 = { class: "icon" };
|
|
23886
|
-
const _hoisted_10$
|
|
23893
|
+
const _hoisted_10$5 = { class: "content" };
|
|
23887
23894
|
const _hoisted_11$3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "value1" }, "\u5F85\u5206\u6D3E", -1));
|
|
23888
23895
|
const _hoisted_12$3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "value2" }, "\u5DF2\u5206\u6D3E", -1));
|
|
23889
23896
|
const _hoisted_13$3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", null, [
|
|
@@ -23991,7 +23998,7 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23991
23998
|
color: "rgb(250, 173, 20)"
|
|
23992
23999
|
})
|
|
23993
24000
|
]),
|
|
23994
|
-
createElementVNode("div", _hoisted_10$
|
|
24001
|
+
createElementVNode("div", _hoisted_10$5, [
|
|
23995
24002
|
createElementVNode("div", null, [
|
|
23996
24003
|
withDirectives(createVNode$1(_component_Numeral, {
|
|
23997
24004
|
value: "85",
|
|
@@ -28184,7 +28191,7 @@ const _hoisted_7$a = /* @__PURE__ */ createElementVNode("marker", {
|
|
|
28184
28191
|
], -1);
|
|
28185
28192
|
const _hoisted_8$9 = ["id", "d"];
|
|
28186
28193
|
const _hoisted_9$7 = ["width"];
|
|
28187
|
-
const _hoisted_10$
|
|
28194
|
+
const _hoisted_10$4 = ["x", "y", "width", "height"];
|
|
28188
28195
|
const _hoisted_11$2 = ["x", "y", "font-size"];
|
|
28189
28196
|
const _hoisted_12$2 = ["x", "y", "width", "height", "onMousedown", "onMouseup", "onDblclick"];
|
|
28190
28197
|
const _hoisted_13$2 = ["x", "y", "width", "height"];
|
|
@@ -28324,7 +28331,7 @@ function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
28324
28331
|
y: item.y - $data.setting.rectHeight / 2,
|
|
28325
28332
|
width: $data.setting.rectWidth,
|
|
28326
28333
|
height: $data.setting.rectHeight
|
|
28327
|
-
}, null, 8, _hoisted_10$
|
|
28334
|
+
}, null, 8, _hoisted_10$4),
|
|
28328
28335
|
createElementVNode("text", {
|
|
28329
28336
|
fill: "#000",
|
|
28330
28337
|
x: item.x,
|
|
@@ -37500,9 +37507,10 @@ const _hoisted_3$i = { key: 3 };
|
|
|
37500
37507
|
const _hoisted_4$a = { class: "title" };
|
|
37501
37508
|
const _hoisted_5$9 = ["title"];
|
|
37502
37509
|
const _hoisted_6$6 = ["innerHTML"];
|
|
37503
|
-
const _hoisted_7$6 = ["
|
|
37504
|
-
const _hoisted_8$6 = ["
|
|
37505
|
-
const _hoisted_9$4 = ["
|
|
37510
|
+
const _hoisted_7$6 = ["innerHTML"];
|
|
37511
|
+
const _hoisted_8$6 = ["href", "target"];
|
|
37512
|
+
const _hoisted_9$4 = ["innerHTML"];
|
|
37513
|
+
const _hoisted_10$3 = ["href"];
|
|
37506
37514
|
function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
37507
37515
|
const _component_Divider = resolveComponent("Divider");
|
|
37508
37516
|
const _component_view_table = resolveComponent("view-table");
|
|
@@ -37660,17 +37668,20 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37660
37668
|
class: normalizeClass({ error: $data.compareData != null && _ctx.parseData($data.data, column.code) != _ctx.parseData($data.compareData, column.code) }),
|
|
37661
37669
|
innerHTML: _ctx.showData($data.data, column)
|
|
37662
37670
|
}, null, 10, _hoisted_6$6)
|
|
37663
|
-
], 8, _hoisted_5$9)) :
|
|
37664
|
-
column.controlType === "Hyperlink" ? (openBlock(), createElementBlock("a", {
|
|
37671
|
+
], 8, _hoisted_5$9)) : column.controlType === "Description" ? (openBlock(), createElementBlock("div", {
|
|
37665
37672
|
key: 2,
|
|
37673
|
+
innerHTML: _ctx.showDataMultiLine(column.description)
|
|
37674
|
+
}, null, 8, _hoisted_7$6)) : createCommentVNode("v-if", true),
|
|
37675
|
+
column.controlType === "Hyperlink" ? (openBlock(), createElementBlock("a", {
|
|
37676
|
+
key: 3,
|
|
37666
37677
|
href: _ctx.getHyperlink($data.data, column.hyperlink),
|
|
37667
37678
|
target: column.isNewWindow ? "_blank" : ""
|
|
37668
37679
|
}, [
|
|
37669
37680
|
createElementVNode("span", {
|
|
37670
37681
|
innerHTML: _ctx.showData($data.data, column)
|
|
37671
|
-
}, null, 8,
|
|
37672
|
-
], 8,
|
|
37673
|
-
key:
|
|
37682
|
+
}, null, 8, _hoisted_9$4)
|
|
37683
|
+
], 8, _hoisted_8$6)) : column.controlType === "TextInput" ? (openBlock(), createBlock(_component_Input, {
|
|
37684
|
+
key: 4,
|
|
37674
37685
|
type: "text",
|
|
37675
37686
|
"model-value": _ctx.parseData($data.data, column.code),
|
|
37676
37687
|
"onUpdate:modelValue": ($event) => _ctx.setData($data.data, column.code, $event),
|
|
@@ -37681,7 +37692,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37681
37692
|
onOnChange: ($event) => $options.onDataChange(column),
|
|
37682
37693
|
onOnBlur: ($event) => $options.onBlur(column)
|
|
37683
37694
|
}, null, 8, ["model-value", "onUpdate:modelValue", "readonly", "style", "maxlength", "placeholder", "onOnChange", "onOnBlur"])) : column.controlType === "NumberInput" ? (openBlock(), createBlock(_component_Input, {
|
|
37684
|
-
key:
|
|
37695
|
+
key: 5,
|
|
37685
37696
|
type: "number",
|
|
37686
37697
|
number: "",
|
|
37687
37698
|
"model-value": _ctx.parseData($data.data, column.code),
|
|
@@ -37694,7 +37705,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37694
37705
|
onOnChange: ($event) => $options.onDataChange(column),
|
|
37695
37706
|
onOnBlur: ($event) => $options.onBlur(column)
|
|
37696
37707
|
}, null, 8, ["model-value", "onUpdate:modelValue", "readonly", "style", "placeholder", "max", "min", "onOnChange", "onOnBlur"])) : column.controlType === "Select" ? (openBlock(), createBlock(_component_Select, {
|
|
37697
|
-
key:
|
|
37708
|
+
key: 6,
|
|
37698
37709
|
"model-value": _ctx.parseData($data.data, column.code),
|
|
37699
37710
|
"onUpdate:modelValue": ($event) => _ctx.setData($data.data, column.code, $event),
|
|
37700
37711
|
disabled: $props.readonly || column.isReadonly,
|
|
@@ -37722,7 +37733,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37722
37733
|
]),
|
|
37723
37734
|
_: 2
|
|
37724
37735
|
}, 1032, ["model-value", "onUpdate:modelValue", "disabled", "style", "placeholder", "onOnChange"])) : column.controlType === "MultiSelect" ? (openBlock(), createBlock(_component_Select, {
|
|
37725
|
-
key:
|
|
37736
|
+
key: 7,
|
|
37726
37737
|
"model-value": _ctx.parseArrayData($data.data, column.code),
|
|
37727
37738
|
"onUpdate:modelValue": ($event) => _ctx.setArrayData($data.data, column.code, $event),
|
|
37728
37739
|
disabled: $props.readonly || column.isReadonly,
|
|
@@ -37748,7 +37759,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37748
37759
|
]),
|
|
37749
37760
|
_: 2
|
|
37750
37761
|
}, 1032, ["model-value", "onUpdate:modelValue", "disabled", "style", "placeholder", "onOnChange"])) : column.controlType === "TreeSelect" ? (openBlock(), createBlock(_component_TreeSelect, {
|
|
37751
|
-
key:
|
|
37762
|
+
key: 8,
|
|
37752
37763
|
"model-value": $options.parseTreeData($data.data, column.code),
|
|
37753
37764
|
"onUpdate:modelValue": ($event) => _ctx.setData($data.data, column.code, $event),
|
|
37754
37765
|
data: $options.getDataSource($data.data, column),
|
|
@@ -37759,7 +37770,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37759
37770
|
transfer: true,
|
|
37760
37771
|
onOnChange: (selected) => $options.onSelectDataChange(column, selected)
|
|
37761
37772
|
}, null, 8, ["model-value", "onUpdate:modelValue", "data", "disabled", "style", "placeholder", "onOnChange"])) : column.controlType === "MultiTreeSelect" ? (openBlock(), createBlock(_component_TreeSelect, {
|
|
37762
|
-
key:
|
|
37773
|
+
key: 9,
|
|
37763
37774
|
"model-value": _ctx.parseArrayData($data.data, column.code),
|
|
37764
37775
|
"onUpdate:modelValue": ($event) => _ctx.setArrayData($data.data, column.code, $event),
|
|
37765
37776
|
data: $options.getDataSource($data.data, column),
|
|
@@ -37771,7 +37782,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37771
37782
|
placeholder: column.description,
|
|
37772
37783
|
transfer: true,
|
|
37773
37784
|
onOnChange: (selected) => $options.onSelectDataChange(column, selected)
|
|
37774
|
-
}, null, 8, ["model-value", "onUpdate:modelValue", "data", "disabled", "style", "placeholder", "onOnChange"])) : column.controlType === "ComboSelect" ? (openBlock(), createElementBlock(Fragment, { key:
|
|
37785
|
+
}, null, 8, ["model-value", "onUpdate:modelValue", "data", "disabled", "style", "placeholder", "onOnChange"])) : column.controlType === "ComboSelect" ? (openBlock(), createElementBlock(Fragment, { key: 10 }, [
|
|
37775
37786
|
createCommentVNode(` <template v-else-if="column.controlType === 'AutoComplete'">\r
|
|
37776
37787
|
<AutoComplete :value="parseData(data, column.code) ? parseData(data, column.code) : ''"\r
|
|
37777
37788
|
@update:model-value="$event => setData(data, column.code, $event)"\r
|
|
@@ -37815,7 +37826,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37815
37826
|
_: 2
|
|
37816
37827
|
}, 1032, ["model-value", "onUpdate:modelValue", "disabled", "style", "placeholder", "onOnChange"])
|
|
37817
37828
|
], 64)) : column.controlType === "DialogSelect" ? (openBlock(), createBlock(_component_dialog_select, {
|
|
37818
|
-
key:
|
|
37829
|
+
key: 11,
|
|
37819
37830
|
"model-value": _ctx.parseData($data.data, column.code),
|
|
37820
37831
|
"onUpdate:modelValue": ($event) => _ctx.setData($data.data, column.code, $event),
|
|
37821
37832
|
readonly: $props.readonly || column.isReadonly,
|
|
@@ -37826,7 +37837,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37826
37837
|
controlWidth: column.controlWidth,
|
|
37827
37838
|
onOnChange: (selected) => $options.onSelectDataChange(column, selected)
|
|
37828
37839
|
}, null, 8, ["model-value", "onUpdate:modelValue", "readonly", "source", "source-data-code", "source-display-code", "param", "controlWidth", "onOnChange"])) : column.controlType === "MultiDialogSelect" ? (openBlock(), createBlock(_component_dialog_select, {
|
|
37829
|
-
key:
|
|
37840
|
+
key: 12,
|
|
37830
37841
|
"model-value": _ctx.parseData($data.data, column.code),
|
|
37831
37842
|
"onUpdate:modelValue": ($event) => _ctx.setData($data.data, column.code, $event),
|
|
37832
37843
|
multi: true,
|
|
@@ -37837,7 +37848,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37837
37848
|
param: _ctx.getParam($data.data, column),
|
|
37838
37849
|
controlWidth: column.controlWidth,
|
|
37839
37850
|
onOnChange: (selected) => $options.onSelectDataChange(column, selected)
|
|
37840
|
-
}, null, 8, ["model-value", "onUpdate:modelValue", "readonly", "source", "source-data-code", "source-display-code", "param", "controlWidth", "onOnChange"])) : column.controlType === "SelectWithOther" ? (openBlock(), createElementBlock(Fragment, { key:
|
|
37851
|
+
}, null, 8, ["model-value", "onUpdate:modelValue", "readonly", "source", "source-data-code", "source-display-code", "param", "controlWidth", "onOnChange"])) : column.controlType === "SelectWithOther" ? (openBlock(), createElementBlock(Fragment, { key: 13 }, [
|
|
37841
37852
|
createVNode$1(_component_Select, {
|
|
37842
37853
|
"model-value": $options.parseDataWithOther($data.data, column),
|
|
37843
37854
|
"onUpdate:modelValue": ($event) => $options.setDataWithOther($data.data, column.code, $event),
|
|
@@ -37886,7 +37897,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37886
37897
|
[vShow, $options.parseDataWithOther($data.data, column) == "__Other"]
|
|
37887
37898
|
])
|
|
37888
37899
|
], 64)) : column.controlType === "Date" || column.controlType === "DateTime" || column.controlType === "Year" || column.controlType === "Month" ? (openBlock(), createBlock(_component_DatePicker, {
|
|
37889
|
-
key:
|
|
37900
|
+
key: 14,
|
|
37890
37901
|
type: column.controlType.toLowerCase(),
|
|
37891
37902
|
"model-value": _ctx.parseDateTimeData($data.data, column.code),
|
|
37892
37903
|
readonly: $props.readonly || column.isReadonly,
|
|
@@ -37898,7 +37909,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37898
37909
|
$options.onDataChange(column);
|
|
37899
37910
|
}
|
|
37900
37911
|
}, null, 8, ["type", "model-value", "readonly", "placeholder", "style", "onOnChange"])) : column.controlType === "DateRange" ? (openBlock(), createBlock(_component_DatePicker, {
|
|
37901
|
-
key:
|
|
37912
|
+
key: 15,
|
|
37902
37913
|
type: column.controlType.toLowerCase(),
|
|
37903
37914
|
"model-value": _ctx.parseDateRangeData($data.data, column.code),
|
|
37904
37915
|
"onUpdate:modelValue": ($event) => _ctx.setArrayData($data.data, column.code, $event),
|
|
@@ -37908,7 +37919,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37908
37919
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
37909
37920
|
onOnChange: ($event) => $options.onDataChange(column)
|
|
37910
37921
|
}, null, 8, ["type", "model-value", "onUpdate:modelValue", "readonly", "placeholder", "style", "onOnChange"])) : column.controlType === "Time" ? (openBlock(), createBlock(_component_TimePicker, {
|
|
37911
|
-
key:
|
|
37922
|
+
key: 16,
|
|
37912
37923
|
type: "time",
|
|
37913
37924
|
"model-value": _ctx.parseData($data.data, column.code),
|
|
37914
37925
|
readonly: $props.readonly || column.isReadonly,
|
|
@@ -37920,20 +37931,20 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37920
37931
|
$options.onDataChange(column);
|
|
37921
37932
|
}
|
|
37922
37933
|
}, null, 8, ["model-value", "readonly", "placeholder", "style", "onOnChange"])) : column.controlType === "Check" ? (openBlock(), createBlock(_component_Checkbox, {
|
|
37923
|
-
key:
|
|
37934
|
+
key: 17,
|
|
37924
37935
|
"model-value": !!_ctx.parseData($data.data, column.code),
|
|
37925
37936
|
"onUpdate:modelValue": ($event) => _ctx.setData($data.data, column.code, $event),
|
|
37926
37937
|
disabled: $props.readonly || column.isReadonly,
|
|
37927
37938
|
size: "large",
|
|
37928
37939
|
onOnChange: ($event) => $options.onDataChange(column)
|
|
37929
37940
|
}, null, 8, ["model-value", "onUpdate:modelValue", "disabled", "onOnChange"])) : column.controlType === "Switch" ? (openBlock(), createBlock(_component_Switch, {
|
|
37930
|
-
key:
|
|
37941
|
+
key: 18,
|
|
37931
37942
|
"model-value": !!_ctx.parseData($data.data, column.code),
|
|
37932
37943
|
"onUpdate:modelValue": ($event) => _ctx.setData($data.data, column.code, $event),
|
|
37933
37944
|
disabled: $props.readonly || column.isReadonly,
|
|
37934
37945
|
onOnChange: ($event) => $options.onDataChange(column)
|
|
37935
37946
|
}, null, 8, ["model-value", "onUpdate:modelValue", "disabled", "onOnChange"])) : column.controlType === "Radio" ? (openBlock(), createBlock(_component_RadioGroup, {
|
|
37936
|
-
key:
|
|
37947
|
+
key: 19,
|
|
37937
37948
|
"model-value": _ctx.parseData($data.data, column.code),
|
|
37938
37949
|
"onUpdate:modelValue": ($event) => _ctx.setData($data.data, column.code, $event),
|
|
37939
37950
|
onOnChange: (selected) => $options.onSelectDataChange(column, selected)
|
|
@@ -37953,7 +37964,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37953
37964
|
}), 128))
|
|
37954
37965
|
]),
|
|
37955
37966
|
_: 2
|
|
37956
|
-
}, 1032, ["model-value", "onUpdate:modelValue", "onOnChange"])) : column.controlType === "CheckGroup" ? (openBlock(), createElementBlock(Fragment, { key:
|
|
37967
|
+
}, 1032, ["model-value", "onUpdate:modelValue", "onOnChange"])) : column.controlType === "CheckGroup" ? (openBlock(), createElementBlock(Fragment, { key: 20 }, [
|
|
37957
37968
|
createCommentVNode(' <CheckboxGroup\r\n :model-value="parseArrayData(data, column.code)"\r\n @update:model-value="$event => setArrayData(data, column.code, $event)"\r\n @on-change="selected => onSelectDataChange(column, selected)"\r\n >\r\n <Checkbox v-for="item in getDataSource(data, column)" :key="item.id" :label="item.name" :disabled="readonly || column.isReadonly">\r\n <span>{{ item.name }}</span>\r\n </Checkbox>\r\n </CheckboxGroup> '),
|
|
37958
37969
|
createVNode$1(_component_check_group, {
|
|
37959
37970
|
"model-value": _ctx.parseData($data.data, column.code),
|
|
@@ -37965,7 +37976,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37965
37976
|
onOnChange: () => $options.onSelectDataChange(column)
|
|
37966
37977
|
}, null, 8, ["model-value", "onUpdate:modelValue", "dataSource", "readonly", "onOnChange"])
|
|
37967
37978
|
], 64)) : column.controlType === "TextArea" ? (openBlock(), createBlock(_component_Input, {
|
|
37968
|
-
key:
|
|
37979
|
+
key: 21,
|
|
37969
37980
|
type: "textarea",
|
|
37970
37981
|
"model-value": _ctx.parseData($data.data, column.code),
|
|
37971
37982
|
"onUpdate:modelValue": ($event) => _ctx.setData($data.data, column.code, $event),
|
|
@@ -37975,13 +37986,13 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37975
37986
|
maxlength: column.maxLength,
|
|
37976
37987
|
placeholder: column.description
|
|
37977
37988
|
}, null, 8, ["model-value", "onUpdate:modelValue", "readonly", "style", "rows", "maxlength", "placeholder"])) : column.controlType === "RichEditor" ? (openBlock(), createBlock(_component_rich_editor, {
|
|
37978
|
-
key:
|
|
37989
|
+
key: 22,
|
|
37979
37990
|
"model-value": _ctx.parseData($data.data, column.code),
|
|
37980
37991
|
"onUpdate:modelValue": ($event) => _ctx.setData($data.data, column.code, $event),
|
|
37981
37992
|
readonly: $props.readonly || column.isReadonly,
|
|
37982
37993
|
height: column.controlHeight,
|
|
37983
37994
|
width: column.controlWidth
|
|
37984
|
-
}, null, 8, ["model-value", "onUpdate:modelValue", "readonly", "height", "width"])) : column.controlType === "Attachment" ? (openBlock(), createElementBlock(Fragment, { key:
|
|
37995
|
+
}, null, 8, ["model-value", "onUpdate:modelValue", "readonly", "height", "width"])) : column.controlType === "Attachment" ? (openBlock(), createElementBlock(Fragment, { key: 23 }, [
|
|
37985
37996
|
!$props.readonly && !column.isReadonly ? (openBlock(), createBlock(_component_upload_attachment, {
|
|
37986
37997
|
key: 0,
|
|
37987
37998
|
ref_for: true,
|
|
@@ -38001,17 +38012,17 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38001
38012
|
createVNode$1(_component_Icon, { type: "ios-document" }),
|
|
38002
38013
|
createTextVNode(" " + toDisplayString$1(attachment.name), 1)
|
|
38003
38014
|
])
|
|
38004
|
-
], 8,
|
|
38015
|
+
], 8, _hoisted_10$3);
|
|
38005
38016
|
}), 128)) : createCommentVNode("v-if", true)
|
|
38006
38017
|
], 64)) : column.controlType === "Image" ? (openBlock(), createBlock(_component_upload_image, {
|
|
38007
|
-
key:
|
|
38018
|
+
key: 24,
|
|
38008
38019
|
"model-value": _ctx.parseData($data.data, column.code),
|
|
38009
38020
|
"onUpdate:modelValue": ($event) => _ctx.setData($data.data, column.code, $event),
|
|
38010
38021
|
readonly: $props.readonly || column.isReadonly,
|
|
38011
38022
|
maxCount: column.maxLength,
|
|
38012
38023
|
height: column.controlHeight,
|
|
38013
38024
|
width: column.controlWidth
|
|
38014
|
-
}, null, 8, ["model-value", "onUpdate:modelValue", "readonly", "maxCount", "height", "width"])) : column.controlType === "Slider" ? (openBlock(), createElementBlock(Fragment, { key:
|
|
38025
|
+
}, null, 8, ["model-value", "onUpdate:modelValue", "readonly", "maxCount", "height", "width"])) : column.controlType === "Slider" ? (openBlock(), createElementBlock(Fragment, { key: 25 }, [
|
|
38015
38026
|
!$props.readonly && !column.isReadonly ? (openBlock(), createBlock(_component_Slider, {
|
|
38016
38027
|
key: 0,
|
|
38017
38028
|
"model-value": _ctx.parseData($data.data, column.code),
|
|
@@ -38032,7 +38043,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38032
38043
|
}, null, 8, ["model-value", "style", "placeholder"])) : createCommentVNode("v-if", true)
|
|
38033
38044
|
], 64)) : createCommentVNode("v-if", true),
|
|
38034
38045
|
!!(column.tooltip || "").trim() ? (openBlock(), createBlock(_component_Button, {
|
|
38035
|
-
key:
|
|
38046
|
+
key: 26,
|
|
38036
38047
|
type: "primary",
|
|
38037
38048
|
style: { "margin-left": "4px" },
|
|
38038
38049
|
size: "small",
|
|
@@ -38408,7 +38419,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38408
38419
|
return openBlock(), createElementBlock("div", null, [
|
|
38409
38420
|
createVNode$1(_component_Modal, {
|
|
38410
38421
|
modelValue: $data.opened,
|
|
38411
|
-
"onUpdate:modelValue": _cache[
|
|
38422
|
+
"onUpdate:modelValue": _cache[59] || (_cache[59] = ($event) => $data.opened = $event),
|
|
38412
38423
|
scrollable: "",
|
|
38413
38424
|
"mask-closable": _ctx.layout.maskClosable,
|
|
38414
38425
|
draggable: _ctx.layout.draggable,
|
|
@@ -38455,7 +38466,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38455
38466
|
"label-colon": "\uFF1A",
|
|
38456
38467
|
class: "ivu-mt",
|
|
38457
38468
|
rules: $data.rules,
|
|
38458
|
-
onSubmit: _cache[
|
|
38469
|
+
onSubmit: _cache[58] || (_cache[58] = withModifiers(() => {
|
|
38459
38470
|
}, ["prevent"]))
|
|
38460
38471
|
}, {
|
|
38461
38472
|
default: withCtx(() => [
|
|
@@ -39245,7 +39256,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39245
39256
|
]),
|
|
39246
39257
|
_: 1
|
|
39247
39258
|
}, 16),
|
|
39248
|
-
|
|
39259
|
+
$data.data.controlType != "Description" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 21 }, _ctx.grid8)), {
|
|
39249
39260
|
default: withCtx(() => [
|
|
39250
39261
|
createVNode$1(_component_FormItem, {
|
|
39251
39262
|
label: "\u63CF\u8FF0",
|
|
@@ -39264,8 +39275,28 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39264
39275
|
})
|
|
39265
39276
|
]),
|
|
39266
39277
|
_: 1
|
|
39267
|
-
}, 16),
|
|
39268
|
-
$data.data.controlType == "
|
|
39278
|
+
}, 16)) : createCommentVNode("v-if", true),
|
|
39279
|
+
$data.data.controlType == "Description" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 22 }, _ctx.grid24)), {
|
|
39280
|
+
default: withCtx(() => [
|
|
39281
|
+
createVNode$1(_component_FormItem, {
|
|
39282
|
+
label: "\u63CF\u8FF0",
|
|
39283
|
+
key: "description",
|
|
39284
|
+
prop: "description"
|
|
39285
|
+
}, {
|
|
39286
|
+
default: withCtx(() => [
|
|
39287
|
+
createVNode$1(_component_Input, {
|
|
39288
|
+
type: "textarea",
|
|
39289
|
+
rows: 5,
|
|
39290
|
+
modelValue: $data.data.description,
|
|
39291
|
+
"onUpdate:modelValue": _cache[41] || (_cache[41] = ($event) => $data.data.description = $event)
|
|
39292
|
+
}, null, 8, ["modelValue"])
|
|
39293
|
+
]),
|
|
39294
|
+
_: 1
|
|
39295
|
+
})
|
|
39296
|
+
]),
|
|
39297
|
+
_: 1
|
|
39298
|
+
}, 16)) : createCommentVNode("v-if", true),
|
|
39299
|
+
$data.data.controlType == "TextInput" || $data.data.controlType == "TextArea" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 23 }, _ctx.grid8)), {
|
|
39269
39300
|
default: withCtx(() => [
|
|
39270
39301
|
createVNode$1(_component_FormItem, {
|
|
39271
39302
|
label: "\u6700\u5927\u5B57\u7B26\u6570\u91CF",
|
|
@@ -39278,7 +39309,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39278
39309
|
style: { "width": "100px" },
|
|
39279
39310
|
number: "",
|
|
39280
39311
|
modelValue: $data.data.maxLength,
|
|
39281
|
-
"onUpdate:modelValue": _cache[
|
|
39312
|
+
"onUpdate:modelValue": _cache[42] || (_cache[42] = ($event) => $data.data.maxLength = $event)
|
|
39282
39313
|
}, null, 8, ["modelValue"])
|
|
39283
39314
|
]),
|
|
39284
39315
|
_: 1
|
|
@@ -39286,7 +39317,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39286
39317
|
]),
|
|
39287
39318
|
_: 1
|
|
39288
39319
|
}, 16)) : createCommentVNode("v-if", true),
|
|
39289
|
-
$data.data.controlType == "Attachment" || $data.data.controlType == "Image" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key:
|
|
39320
|
+
$data.data.controlType == "Attachment" || $data.data.controlType == "Image" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 24 }, _ctx.grid8)), {
|
|
39290
39321
|
default: withCtx(() => [
|
|
39291
39322
|
createVNode$1(_component_FormItem, {
|
|
39292
39323
|
label: "\u6700\u5927\u6587\u4EF6\u6570\u91CF",
|
|
@@ -39299,7 +39330,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39299
39330
|
style: { "width": "100px" },
|
|
39300
39331
|
number: "",
|
|
39301
39332
|
modelValue: $data.data.maxLength,
|
|
39302
|
-
"onUpdate:modelValue": _cache[
|
|
39333
|
+
"onUpdate:modelValue": _cache[43] || (_cache[43] = ($event) => $data.data.maxLength = $event)
|
|
39303
39334
|
}, null, 8, ["modelValue"])
|
|
39304
39335
|
]),
|
|
39305
39336
|
_: 1
|
|
@@ -39307,7 +39338,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39307
39338
|
]),
|
|
39308
39339
|
_: 1
|
|
39309
39340
|
}, 16)) : createCommentVNode("v-if", true),
|
|
39310
|
-
$data.data.controlType == "NumberInput" || $data.data.controlType == "Slider" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key:
|
|
39341
|
+
$data.data.controlType == "NumberInput" || $data.data.controlType == "Slider" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 25 }, _ctx.grid8)), {
|
|
39311
39342
|
default: withCtx(() => [
|
|
39312
39343
|
createVNode$1(_component_FormItem, { label: "\u8F93\u5165\u8303\u56F4" }, {
|
|
39313
39344
|
default: withCtx(() => [
|
|
@@ -39316,7 +39347,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39316
39347
|
style: { "width": "60px" },
|
|
39317
39348
|
number: "",
|
|
39318
39349
|
modelValue: $data.data.minValue,
|
|
39319
|
-
"onUpdate:modelValue": _cache[
|
|
39350
|
+
"onUpdate:modelValue": _cache[44] || (_cache[44] = ($event) => $data.data.minValue = $event)
|
|
39320
39351
|
}, null, 8, ["modelValue"]),
|
|
39321
39352
|
createTextVNode(" - "),
|
|
39322
39353
|
createVNode$1(_component_Input, {
|
|
@@ -39324,7 +39355,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39324
39355
|
style: { "width": "60px" },
|
|
39325
39356
|
number: "",
|
|
39326
39357
|
modelValue: $data.data.maxValue,
|
|
39327
|
-
"onUpdate:modelValue": _cache[
|
|
39358
|
+
"onUpdate:modelValue": _cache[45] || (_cache[45] = ($event) => $data.data.maxValue = $event)
|
|
39328
39359
|
}, null, 8, ["modelValue"])
|
|
39329
39360
|
]),
|
|
39330
39361
|
_: 1
|
|
@@ -39345,7 +39376,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39345
39376
|
style: { "width": "100px" },
|
|
39346
39377
|
number: "",
|
|
39347
39378
|
modelValue: $data.data.digit,
|
|
39348
|
-
"onUpdate:modelValue": _cache[
|
|
39379
|
+
"onUpdate:modelValue": _cache[46] || (_cache[46] = ($event) => $data.data.digit = $event)
|
|
39349
39380
|
}, null, 8, ["modelValue"])
|
|
39350
39381
|
]),
|
|
39351
39382
|
_: 1
|
|
@@ -39363,7 +39394,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39363
39394
|
default: withCtx(() => [
|
|
39364
39395
|
createVNode$1(_component_Switch, {
|
|
39365
39396
|
"model-value": !!$data.data.fixedDigit,
|
|
39366
|
-
"onUpdate:modelValue": _cache[
|
|
39397
|
+
"onUpdate:modelValue": _cache[47] || (_cache[47] = ($event) => {
|
|
39367
39398
|
$data.data.fixedDigit = $event;
|
|
39368
39399
|
})
|
|
39369
39400
|
}, null, 8, ["model-value"])
|
|
@@ -39373,7 +39404,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39373
39404
|
]),
|
|
39374
39405
|
_: 1
|
|
39375
39406
|
}, 16),
|
|
39376
|
-
$props.viewType == "FormView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key:
|
|
39407
|
+
$props.viewType == "FormView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 26 }, _ctx.grid8)), {
|
|
39377
39408
|
default: withCtx(() => [
|
|
39378
39409
|
createVNode$1(_component_FormItem, {
|
|
39379
39410
|
label: "\u5F3A\u5236\u6362\u884C",
|
|
@@ -39383,7 +39414,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39383
39414
|
default: withCtx(() => [
|
|
39384
39415
|
createVNode$1(_component_Switch, {
|
|
39385
39416
|
"model-value": !!$data.data.newLine,
|
|
39386
|
-
"onUpdate:modelValue": _cache[
|
|
39417
|
+
"onUpdate:modelValue": _cache[48] || (_cache[48] = ($event) => {
|
|
39387
39418
|
$data.data.newLine = $event;
|
|
39388
39419
|
})
|
|
39389
39420
|
}, null, 8, ["model-value"])
|
|
@@ -39393,7 +39424,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39393
39424
|
]),
|
|
39394
39425
|
_: 1
|
|
39395
39426
|
}, 16)) : createCommentVNode("v-if", true),
|
|
39396
|
-
$props.viewType == "TableView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key:
|
|
39427
|
+
$props.viewType == "TableView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 27 }, _ctx.grid8)), {
|
|
39397
39428
|
default: withCtx(() => [
|
|
39398
39429
|
createVNode$1(_component_FormItem, {
|
|
39399
39430
|
label: "\u7236\u5355\u5143\u683C\u4EE3\u7801",
|
|
@@ -39404,7 +39435,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39404
39435
|
createVNode$1(_component_Input, {
|
|
39405
39436
|
type: "text",
|
|
39406
39437
|
modelValue: $data.data.parentCode,
|
|
39407
|
-
"onUpdate:modelValue": _cache[
|
|
39438
|
+
"onUpdate:modelValue": _cache[49] || (_cache[49] = ($event) => $data.data.parentCode = $event),
|
|
39408
39439
|
maxlength: "200"
|
|
39409
39440
|
}, null, 8, ["modelValue"])
|
|
39410
39441
|
]),
|
|
@@ -39413,7 +39444,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39413
39444
|
]),
|
|
39414
39445
|
_: 1
|
|
39415
39446
|
}, 16)) : createCommentVNode("v-if", true),
|
|
39416
|
-
$props.viewType == "TableView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key:
|
|
39447
|
+
$props.viewType == "TableView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 28 }, _ctx.grid8)), {
|
|
39417
39448
|
default: withCtx(() => [
|
|
39418
39449
|
createVNode$1(_component_FormItem, {
|
|
39419
39450
|
label: "\u5408\u5E76\u5355\u5143\u683C",
|
|
@@ -39423,7 +39454,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39423
39454
|
default: withCtx(() => [
|
|
39424
39455
|
createVNode$1(_component_Switch, {
|
|
39425
39456
|
"model-value": !!$data.data.mergeSame,
|
|
39426
|
-
"onUpdate:modelValue": _cache[
|
|
39457
|
+
"onUpdate:modelValue": _cache[50] || (_cache[50] = ($event) => {
|
|
39427
39458
|
$data.data.mergeSame = $event;
|
|
39428
39459
|
})
|
|
39429
39460
|
}, null, 8, ["model-value"])
|
|
@@ -39433,7 +39464,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39433
39464
|
]),
|
|
39434
39465
|
_: 1
|
|
39435
39466
|
}, 16)) : createCommentVNode("v-if", true),
|
|
39436
|
-
$props.viewType == "FormView" && $data.data.controlType == "Attachment" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key:
|
|
39467
|
+
$props.viewType == "FormView" && $data.data.controlType == "Attachment" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 29 }, _ctx.grid8)), {
|
|
39437
39468
|
default: withCtx(() => [
|
|
39438
39469
|
createVNode$1(_component_FormItem, {
|
|
39439
39470
|
label: "\u62D6\u62FD\u4E0A\u4F20",
|
|
@@ -39443,7 +39474,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39443
39474
|
default: withCtx(() => [
|
|
39444
39475
|
createVNode$1(_component_Switch, {
|
|
39445
39476
|
"model-value": !!$data.data.mergeSame,
|
|
39446
|
-
"onUpdate:modelValue": _cache[
|
|
39477
|
+
"onUpdate:modelValue": _cache[51] || (_cache[51] = ($event) => {
|
|
39447
39478
|
$data.data.mergeSame = $event;
|
|
39448
39479
|
})
|
|
39449
39480
|
}, null, 8, ["model-value"])
|
|
@@ -39453,7 +39484,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39453
39484
|
]),
|
|
39454
39485
|
_: 1
|
|
39455
39486
|
}, 16)) : createCommentVNode("v-if", true),
|
|
39456
|
-
$data.data.controlType == "TextInput" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key:
|
|
39487
|
+
$data.data.controlType == "TextInput" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 30 }, _ctx.grid8)), {
|
|
39457
39488
|
default: withCtx(() => [
|
|
39458
39489
|
createVNode$1(_component_FormItem, {
|
|
39459
39490
|
label: "\u9A8C\u8BC1\u8868\u8FBE\u5F0F",
|
|
@@ -39464,7 +39495,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39464
39495
|
createVNode$1(_component_Input, {
|
|
39465
39496
|
type: "text",
|
|
39466
39497
|
modelValue: $data.data.pattern,
|
|
39467
|
-
"onUpdate:modelValue": _cache[
|
|
39498
|
+
"onUpdate:modelValue": _cache[52] || (_cache[52] = ($event) => $data.data.pattern = $event),
|
|
39468
39499
|
maxlength: "100"
|
|
39469
39500
|
}, null, 8, ["modelValue"])
|
|
39470
39501
|
]),
|
|
@@ -39473,7 +39504,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39473
39504
|
]),
|
|
39474
39505
|
_: 1
|
|
39475
39506
|
}, 16)) : createCommentVNode("v-if", true),
|
|
39476
|
-
$data.data.controlType == "SelectWithOther" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key:
|
|
39507
|
+
$data.data.controlType == "SelectWithOther" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 31 }, _ctx.grid8)), {
|
|
39477
39508
|
default: withCtx(() => [
|
|
39478
39509
|
createVNode$1(_component_FormItem, {
|
|
39479
39510
|
label: "\u5176\u4ED6\u6587\u672C",
|
|
@@ -39484,7 +39515,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39484
39515
|
createVNode$1(_component_Input, {
|
|
39485
39516
|
type: "text",
|
|
39486
39517
|
modelValue: $data.data.pattern,
|
|
39487
|
-
"onUpdate:modelValue": _cache[
|
|
39518
|
+
"onUpdate:modelValue": _cache[53] || (_cache[53] = ($event) => $data.data.pattern = $event),
|
|
39488
39519
|
maxlength: "100"
|
|
39489
39520
|
}, null, 8, ["modelValue"])
|
|
39490
39521
|
]),
|
|
@@ -39493,7 +39524,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39493
39524
|
]),
|
|
39494
39525
|
_: 1
|
|
39495
39526
|
}, 16)) : createCommentVNode("v-if", true),
|
|
39496
|
-
$data.data.controlType == "Attachment" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key:
|
|
39527
|
+
$data.data.controlType == "Attachment" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 32 }, _ctx.grid8)), {
|
|
39497
39528
|
default: withCtx(() => [
|
|
39498
39529
|
createVNode$1(_component_FormItem, {
|
|
39499
39530
|
label: "\u63A5\u53D7\u7684\u6587\u4EF6\u7C7B\u578B",
|
|
@@ -39504,7 +39535,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39504
39535
|
createVNode$1(_component_Input, {
|
|
39505
39536
|
type: "text",
|
|
39506
39537
|
modelValue: $data.data.pattern,
|
|
39507
|
-
"onUpdate:modelValue": _cache[
|
|
39538
|
+
"onUpdate:modelValue": _cache[54] || (_cache[54] = ($event) => $data.data.pattern = $event),
|
|
39508
39539
|
maxlength: "100"
|
|
39509
39540
|
}, null, 8, ["modelValue"])
|
|
39510
39541
|
]),
|
|
@@ -39513,7 +39544,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39513
39544
|
]),
|
|
39514
39545
|
_: 1
|
|
39515
39546
|
}, 16)) : createCommentVNode("v-if", true),
|
|
39516
|
-
$props.viewType == "FormView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key:
|
|
39547
|
+
$props.viewType == "FormView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 33 }, _ctx.grid8)), {
|
|
39517
39548
|
default: withCtx(() => [
|
|
39518
39549
|
createVNode$1(_component_FormItem, {
|
|
39519
39550
|
label: "\u9009\u9879\u5361\u5E8F\u53F7",
|
|
@@ -39526,7 +39557,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39526
39557
|
style: { "width": "100px" },
|
|
39527
39558
|
number: "",
|
|
39528
39559
|
modelValue: $data.data.tabIndex,
|
|
39529
|
-
"onUpdate:modelValue": _cache[
|
|
39560
|
+
"onUpdate:modelValue": _cache[55] || (_cache[55] = ($event) => $data.data.tabIndex = $event)
|
|
39530
39561
|
}, null, 8, ["modelValue"])
|
|
39531
39562
|
]),
|
|
39532
39563
|
_: 1
|
|
@@ -39545,7 +39576,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39545
39576
|
createVNode$1(_component_Input, {
|
|
39546
39577
|
type: "text",
|
|
39547
39578
|
modelValue: $data.data.calculate,
|
|
39548
|
-
"onUpdate:modelValue": _cache[
|
|
39579
|
+
"onUpdate:modelValue": _cache[56] || (_cache[56] = ($event) => $data.data.calculate = $event),
|
|
39549
39580
|
maxlength: "500"
|
|
39550
39581
|
}, null, 8, ["modelValue"])
|
|
39551
39582
|
]),
|
|
@@ -39554,7 +39585,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39554
39585
|
]),
|
|
39555
39586
|
_: 1
|
|
39556
39587
|
}, 16),
|
|
39557
|
-
$props.viewType == "FormView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key:
|
|
39588
|
+
$props.viewType == "FormView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 34 }, _ctx.grid24)), {
|
|
39558
39589
|
default: withCtx(() => [
|
|
39559
39590
|
createVNode$1(_component_FormItem, {
|
|
39560
39591
|
label: "\u6587\u5B57\u63D0\u793A",
|
|
@@ -39566,7 +39597,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39566
39597
|
type: "textarea",
|
|
39567
39598
|
autosize: true,
|
|
39568
39599
|
modelValue: $data.data.tooltip,
|
|
39569
|
-
"onUpdate:modelValue": _cache[
|
|
39600
|
+
"onUpdate:modelValue": _cache[57] || (_cache[57] = ($event) => $data.data.tooltip = $event),
|
|
39570
39601
|
maxlength: "500"
|
|
39571
39602
|
}, null, 8, ["modelValue"])
|
|
39572
39603
|
]),
|
|
@@ -39587,7 +39618,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39587
39618
|
}, 8, ["modelValue", "mask-closable", "draggable"]),
|
|
39588
39619
|
createVNode$1(_component_Modal, {
|
|
39589
39620
|
modelValue: $data.paramOpened,
|
|
39590
|
-
"onUpdate:modelValue": _cache[
|
|
39621
|
+
"onUpdate:modelValue": _cache[61] || (_cache[61] = ($event) => $data.paramOpened = $event),
|
|
39591
39622
|
scrollable: "",
|
|
39592
39623
|
"mask-closable": _ctx.layout.maskClosable,
|
|
39593
39624
|
draggable: _ctx.layout.draggable,
|
|
@@ -39609,7 +39640,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39609
39640
|
type: "primary",
|
|
39610
39641
|
ghost: "",
|
|
39611
39642
|
"custom-icon": "fa fa-plus",
|
|
39612
|
-
onClick: _cache[
|
|
39643
|
+
onClick: _cache[60] || (_cache[60] = ($event) => $options.paramEdit())
|
|
39613
39644
|
}, {
|
|
39614
39645
|
default: withCtx(() => [
|
|
39615
39646
|
createTextVNode(toDisplayString$1(_ctx.$t("Front_Btn_Add")), 1)
|
|
@@ -39678,7 +39709,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39678
39709
|
}, 8, ["modelValue", "mask-closable", "draggable"]),
|
|
39679
39710
|
createVNode$1(_component_Modal, {
|
|
39680
39711
|
modelValue: $data.paramItemOpened,
|
|
39681
|
-
"onUpdate:modelValue": _cache[
|
|
39712
|
+
"onUpdate:modelValue": _cache[68] || (_cache[68] = ($event) => $data.paramItemOpened = $event),
|
|
39682
39713
|
scrollable: "",
|
|
39683
39714
|
"mask-closable": _ctx.layout.maskClosable,
|
|
39684
39715
|
draggable: _ctx.layout.draggable,
|
|
@@ -39722,7 +39753,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39722
39753
|
"label-position": "top",
|
|
39723
39754
|
"label-colon": "\uFF1A",
|
|
39724
39755
|
class: "ivu-mt",
|
|
39725
|
-
onSubmit: _cache[
|
|
39756
|
+
onSubmit: _cache[67] || (_cache[67] = withModifiers(() => {
|
|
39726
39757
|
}, ["prevent"]))
|
|
39727
39758
|
}, {
|
|
39728
39759
|
default: withCtx(() => [
|
|
@@ -39742,12 +39773,12 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39742
39773
|
createVNode$1(_component_Input, {
|
|
39743
39774
|
type: "text",
|
|
39744
39775
|
modelValue: $data.paramData.code,
|
|
39745
|
-
"onUpdate:modelValue": _cache[
|
|
39776
|
+
"onUpdate:modelValue": _cache[63] || (_cache[63] = ($event) => $data.paramData.code = $event)
|
|
39746
39777
|
}, {
|
|
39747
39778
|
prepend: withCtx(() => [
|
|
39748
39779
|
createVNode$1(_component_Button, {
|
|
39749
39780
|
"custom-icon": "fa fa-search",
|
|
39750
|
-
onClick: _cache[
|
|
39781
|
+
onClick: _cache[62] || (_cache[62] = ($event) => $options.openColumnSelect($data.paramData, "code"))
|
|
39751
39782
|
})
|
|
39752
39783
|
]),
|
|
39753
39784
|
_: 1
|
|
@@ -39768,7 +39799,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39768
39799
|
default: withCtx(() => [
|
|
39769
39800
|
createVNode$1(_component_RadioGroup, {
|
|
39770
39801
|
modelValue: $data.paramData.keyType,
|
|
39771
|
-
"onUpdate:modelValue": _cache[
|
|
39802
|
+
"onUpdate:modelValue": _cache[64] || (_cache[64] = ($event) => $data.paramData.keyType = $event),
|
|
39772
39803
|
onOnChange: $options.keyTypeChange
|
|
39773
39804
|
}, {
|
|
39774
39805
|
default: withCtx(() => [
|
|
@@ -39794,7 +39825,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39794
39825
|
createVNode$1(_component_Input, {
|
|
39795
39826
|
type: "text",
|
|
39796
39827
|
modelValue: $data.paramData.val,
|
|
39797
|
-
"onUpdate:modelValue": _cache[
|
|
39828
|
+
"onUpdate:modelValue": _cache[65] || (_cache[65] = ($event) => $data.paramData.val = $event)
|
|
39798
39829
|
}, null, 8, ["modelValue"])
|
|
39799
39830
|
]),
|
|
39800
39831
|
_: 1
|
|
@@ -39813,7 +39844,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39813
39844
|
createVNode$1(_component_Input, {
|
|
39814
39845
|
type: "text",
|
|
39815
39846
|
modelValue: $data.paramData.val,
|
|
39816
|
-
"onUpdate:modelValue": _cache[
|
|
39847
|
+
"onUpdate:modelValue": _cache[66] || (_cache[66] = ($event) => $data.paramData.val = $event)
|
|
39817
39848
|
}, {
|
|
39818
39849
|
prepend: withCtx(() => [
|
|
39819
39850
|
createVNode$1(_component_Button, {
|
|
@@ -51967,7 +51998,7 @@ const _sfc_main$n = {
|
|
|
51967
51998
|
this.componentGroups.find((componentGroup) => componentGroup.key == "Datasource").components.push(component);
|
|
51968
51999
|
} else if (item.id == "Date" || item.id == "Time" || item.id == "DateTime" || item.id == "Year" || item.id == "Month" || item.id == "DateRange") {
|
|
51969
52000
|
this.componentGroups.find((componentGroup) => componentGroup.key == "DateTime").components.push(component);
|
|
51970
|
-
} else if (item.id == "Title" || item.id == "Table" || item.id == "List" || item.id == "Attachment" || item.id == "Image" || item.id == "RichEditor" || item.id == "Custom" || item.id == "Placeholder") {
|
|
52001
|
+
} else if (item.id == "Title" || item.id == "Description" || item.id == "Table" || item.id == "List" || item.id == "Attachment" || item.id == "Image" || item.id == "RichEditor" || item.id == "Custom" || item.id == "Placeholder") {
|
|
51971
52002
|
this.componentGroups.find((componentGroup) => componentGroup.key == "Other").components.push(component);
|
|
51972
52003
|
}
|
|
51973
52004
|
});
|