mooho-base-admin-plus 2.2.6 → 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 +2 -0
- package/package/mooho-base-admin-plus.min.esm.js +204 -101
- package/package/mooho-base-admin-plus.min.js +11 -10
- 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/table-filter.vue +32 -8
- package/src/components/view/view-form-draggable.vue +32 -8
- package/src/components/view/view-form.vue +35 -8
- 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,
|
|
@@ -37071,15 +37078,39 @@ const _sfc_main$w = {
|
|
|
37071
37078
|
if (item.split(":").length > 1) {
|
|
37072
37079
|
let key = item.split(":")[0];
|
|
37073
37080
|
let value = item.split(":")[1];
|
|
37074
|
-
column.
|
|
37075
|
-
|
|
37076
|
-
|
|
37077
|
-
|
|
37081
|
+
if (column.dataType == "Integer" || column.dataType == "BigInteger") {
|
|
37082
|
+
column.dataSource.push({
|
|
37083
|
+
id: parseInt(key),
|
|
37084
|
+
name: value
|
|
37085
|
+
});
|
|
37086
|
+
} else if (column.dataType == "Decimal" || column.dataType == "Float" || column.dataType == "Double") {
|
|
37087
|
+
column.dataSource.push({
|
|
37088
|
+
id: parseFloat(key),
|
|
37089
|
+
name: value
|
|
37090
|
+
});
|
|
37091
|
+
} else {
|
|
37092
|
+
column.dataSource.push({
|
|
37093
|
+
id: key,
|
|
37094
|
+
name: value
|
|
37095
|
+
});
|
|
37096
|
+
}
|
|
37078
37097
|
} else {
|
|
37079
|
-
column.
|
|
37080
|
-
|
|
37081
|
-
|
|
37082
|
-
|
|
37098
|
+
if (column.dataType == "Integer" || column.dataType == "BigInteger") {
|
|
37099
|
+
column.dataSource.push({
|
|
37100
|
+
id: parseInt(item),
|
|
37101
|
+
name: item
|
|
37102
|
+
});
|
|
37103
|
+
} else if (column.dataType == "Decimal" || column.dataType == "Float" || column.dataType == "Double") {
|
|
37104
|
+
column.dataSource.push({
|
|
37105
|
+
id: parseFloat(item),
|
|
37106
|
+
name: item
|
|
37107
|
+
});
|
|
37108
|
+
} else {
|
|
37109
|
+
column.dataSource.push({
|
|
37110
|
+
id: item,
|
|
37111
|
+
name: item
|
|
37112
|
+
});
|
|
37113
|
+
}
|
|
37083
37114
|
}
|
|
37084
37115
|
}
|
|
37085
37116
|
});
|
|
@@ -37476,9 +37507,10 @@ const _hoisted_3$i = { key: 3 };
|
|
|
37476
37507
|
const _hoisted_4$a = { class: "title" };
|
|
37477
37508
|
const _hoisted_5$9 = ["title"];
|
|
37478
37509
|
const _hoisted_6$6 = ["innerHTML"];
|
|
37479
|
-
const _hoisted_7$6 = ["
|
|
37480
|
-
const _hoisted_8$6 = ["
|
|
37481
|
-
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"];
|
|
37482
37514
|
function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
37483
37515
|
const _component_Divider = resolveComponent("Divider");
|
|
37484
37516
|
const _component_view_table = resolveComponent("view-table");
|
|
@@ -37636,17 +37668,20 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37636
37668
|
class: normalizeClass({ error: $data.compareData != null && _ctx.parseData($data.data, column.code) != _ctx.parseData($data.compareData, column.code) }),
|
|
37637
37669
|
innerHTML: _ctx.showData($data.data, column)
|
|
37638
37670
|
}, null, 10, _hoisted_6$6)
|
|
37639
|
-
], 8, _hoisted_5$9)) :
|
|
37640
|
-
column.controlType === "Hyperlink" ? (openBlock(), createElementBlock("a", {
|
|
37671
|
+
], 8, _hoisted_5$9)) : column.controlType === "Description" ? (openBlock(), createElementBlock("div", {
|
|
37641
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,
|
|
37642
37677
|
href: _ctx.getHyperlink($data.data, column.hyperlink),
|
|
37643
37678
|
target: column.isNewWindow ? "_blank" : ""
|
|
37644
37679
|
}, [
|
|
37645
37680
|
createElementVNode("span", {
|
|
37646
37681
|
innerHTML: _ctx.showData($data.data, column)
|
|
37647
|
-
}, null, 8,
|
|
37648
|
-
], 8,
|
|
37649
|
-
key:
|
|
37682
|
+
}, null, 8, _hoisted_9$4)
|
|
37683
|
+
], 8, _hoisted_8$6)) : column.controlType === "TextInput" ? (openBlock(), createBlock(_component_Input, {
|
|
37684
|
+
key: 4,
|
|
37650
37685
|
type: "text",
|
|
37651
37686
|
"model-value": _ctx.parseData($data.data, column.code),
|
|
37652
37687
|
"onUpdate:modelValue": ($event) => _ctx.setData($data.data, column.code, $event),
|
|
@@ -37657,7 +37692,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37657
37692
|
onOnChange: ($event) => $options.onDataChange(column),
|
|
37658
37693
|
onOnBlur: ($event) => $options.onBlur(column)
|
|
37659
37694
|
}, null, 8, ["model-value", "onUpdate:modelValue", "readonly", "style", "maxlength", "placeholder", "onOnChange", "onOnBlur"])) : column.controlType === "NumberInput" ? (openBlock(), createBlock(_component_Input, {
|
|
37660
|
-
key:
|
|
37695
|
+
key: 5,
|
|
37661
37696
|
type: "number",
|
|
37662
37697
|
number: "",
|
|
37663
37698
|
"model-value": _ctx.parseData($data.data, column.code),
|
|
@@ -37670,7 +37705,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37670
37705
|
onOnChange: ($event) => $options.onDataChange(column),
|
|
37671
37706
|
onOnBlur: ($event) => $options.onBlur(column)
|
|
37672
37707
|
}, null, 8, ["model-value", "onUpdate:modelValue", "readonly", "style", "placeholder", "max", "min", "onOnChange", "onOnBlur"])) : column.controlType === "Select" ? (openBlock(), createBlock(_component_Select, {
|
|
37673
|
-
key:
|
|
37708
|
+
key: 6,
|
|
37674
37709
|
"model-value": _ctx.parseData($data.data, column.code),
|
|
37675
37710
|
"onUpdate:modelValue": ($event) => _ctx.setData($data.data, column.code, $event),
|
|
37676
37711
|
disabled: $props.readonly || column.isReadonly,
|
|
@@ -37698,7 +37733,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37698
37733
|
]),
|
|
37699
37734
|
_: 2
|
|
37700
37735
|
}, 1032, ["model-value", "onUpdate:modelValue", "disabled", "style", "placeholder", "onOnChange"])) : column.controlType === "MultiSelect" ? (openBlock(), createBlock(_component_Select, {
|
|
37701
|
-
key:
|
|
37736
|
+
key: 7,
|
|
37702
37737
|
"model-value": _ctx.parseArrayData($data.data, column.code),
|
|
37703
37738
|
"onUpdate:modelValue": ($event) => _ctx.setArrayData($data.data, column.code, $event),
|
|
37704
37739
|
disabled: $props.readonly || column.isReadonly,
|
|
@@ -37724,7 +37759,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37724
37759
|
]),
|
|
37725
37760
|
_: 2
|
|
37726
37761
|
}, 1032, ["model-value", "onUpdate:modelValue", "disabled", "style", "placeholder", "onOnChange"])) : column.controlType === "TreeSelect" ? (openBlock(), createBlock(_component_TreeSelect, {
|
|
37727
|
-
key:
|
|
37762
|
+
key: 8,
|
|
37728
37763
|
"model-value": $options.parseTreeData($data.data, column.code),
|
|
37729
37764
|
"onUpdate:modelValue": ($event) => _ctx.setData($data.data, column.code, $event),
|
|
37730
37765
|
data: $options.getDataSource($data.data, column),
|
|
@@ -37735,7 +37770,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37735
37770
|
transfer: true,
|
|
37736
37771
|
onOnChange: (selected) => $options.onSelectDataChange(column, selected)
|
|
37737
37772
|
}, null, 8, ["model-value", "onUpdate:modelValue", "data", "disabled", "style", "placeholder", "onOnChange"])) : column.controlType === "MultiTreeSelect" ? (openBlock(), createBlock(_component_TreeSelect, {
|
|
37738
|
-
key:
|
|
37773
|
+
key: 9,
|
|
37739
37774
|
"model-value": _ctx.parseArrayData($data.data, column.code),
|
|
37740
37775
|
"onUpdate:modelValue": ($event) => _ctx.setArrayData($data.data, column.code, $event),
|
|
37741
37776
|
data: $options.getDataSource($data.data, column),
|
|
@@ -37747,7 +37782,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37747
37782
|
placeholder: column.description,
|
|
37748
37783
|
transfer: true,
|
|
37749
37784
|
onOnChange: (selected) => $options.onSelectDataChange(column, selected)
|
|
37750
|
-
}, 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 }, [
|
|
37751
37786
|
createCommentVNode(` <template v-else-if="column.controlType === 'AutoComplete'">\r
|
|
37752
37787
|
<AutoComplete :value="parseData(data, column.code) ? parseData(data, column.code) : ''"\r
|
|
37753
37788
|
@update:model-value="$event => setData(data, column.code, $event)"\r
|
|
@@ -37791,7 +37826,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37791
37826
|
_: 2
|
|
37792
37827
|
}, 1032, ["model-value", "onUpdate:modelValue", "disabled", "style", "placeholder", "onOnChange"])
|
|
37793
37828
|
], 64)) : column.controlType === "DialogSelect" ? (openBlock(), createBlock(_component_dialog_select, {
|
|
37794
|
-
key:
|
|
37829
|
+
key: 11,
|
|
37795
37830
|
"model-value": _ctx.parseData($data.data, column.code),
|
|
37796
37831
|
"onUpdate:modelValue": ($event) => _ctx.setData($data.data, column.code, $event),
|
|
37797
37832
|
readonly: $props.readonly || column.isReadonly,
|
|
@@ -37802,7 +37837,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37802
37837
|
controlWidth: column.controlWidth,
|
|
37803
37838
|
onOnChange: (selected) => $options.onSelectDataChange(column, selected)
|
|
37804
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, {
|
|
37805
|
-
key:
|
|
37840
|
+
key: 12,
|
|
37806
37841
|
"model-value": _ctx.parseData($data.data, column.code),
|
|
37807
37842
|
"onUpdate:modelValue": ($event) => _ctx.setData($data.data, column.code, $event),
|
|
37808
37843
|
multi: true,
|
|
@@ -37813,7 +37848,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37813
37848
|
param: _ctx.getParam($data.data, column),
|
|
37814
37849
|
controlWidth: column.controlWidth,
|
|
37815
37850
|
onOnChange: (selected) => $options.onSelectDataChange(column, selected)
|
|
37816
|
-
}, 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 }, [
|
|
37817
37852
|
createVNode$1(_component_Select, {
|
|
37818
37853
|
"model-value": $options.parseDataWithOther($data.data, column),
|
|
37819
37854
|
"onUpdate:modelValue": ($event) => $options.setDataWithOther($data.data, column.code, $event),
|
|
@@ -37862,7 +37897,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37862
37897
|
[vShow, $options.parseDataWithOther($data.data, column) == "__Other"]
|
|
37863
37898
|
])
|
|
37864
37899
|
], 64)) : column.controlType === "Date" || column.controlType === "DateTime" || column.controlType === "Year" || column.controlType === "Month" ? (openBlock(), createBlock(_component_DatePicker, {
|
|
37865
|
-
key:
|
|
37900
|
+
key: 14,
|
|
37866
37901
|
type: column.controlType.toLowerCase(),
|
|
37867
37902
|
"model-value": _ctx.parseDateTimeData($data.data, column.code),
|
|
37868
37903
|
readonly: $props.readonly || column.isReadonly,
|
|
@@ -37874,7 +37909,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37874
37909
|
$options.onDataChange(column);
|
|
37875
37910
|
}
|
|
37876
37911
|
}, null, 8, ["type", "model-value", "readonly", "placeholder", "style", "onOnChange"])) : column.controlType === "DateRange" ? (openBlock(), createBlock(_component_DatePicker, {
|
|
37877
|
-
key:
|
|
37912
|
+
key: 15,
|
|
37878
37913
|
type: column.controlType.toLowerCase(),
|
|
37879
37914
|
"model-value": _ctx.parseDateRangeData($data.data, column.code),
|
|
37880
37915
|
"onUpdate:modelValue": ($event) => _ctx.setArrayData($data.data, column.code, $event),
|
|
@@ -37884,7 +37919,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37884
37919
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
37885
37920
|
onOnChange: ($event) => $options.onDataChange(column)
|
|
37886
37921
|
}, null, 8, ["type", "model-value", "onUpdate:modelValue", "readonly", "placeholder", "style", "onOnChange"])) : column.controlType === "Time" ? (openBlock(), createBlock(_component_TimePicker, {
|
|
37887
|
-
key:
|
|
37922
|
+
key: 16,
|
|
37888
37923
|
type: "time",
|
|
37889
37924
|
"model-value": _ctx.parseData($data.data, column.code),
|
|
37890
37925
|
readonly: $props.readonly || column.isReadonly,
|
|
@@ -37896,20 +37931,20 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37896
37931
|
$options.onDataChange(column);
|
|
37897
37932
|
}
|
|
37898
37933
|
}, null, 8, ["model-value", "readonly", "placeholder", "style", "onOnChange"])) : column.controlType === "Check" ? (openBlock(), createBlock(_component_Checkbox, {
|
|
37899
|
-
key:
|
|
37934
|
+
key: 17,
|
|
37900
37935
|
"model-value": !!_ctx.parseData($data.data, column.code),
|
|
37901
37936
|
"onUpdate:modelValue": ($event) => _ctx.setData($data.data, column.code, $event),
|
|
37902
37937
|
disabled: $props.readonly || column.isReadonly,
|
|
37903
37938
|
size: "large",
|
|
37904
37939
|
onOnChange: ($event) => $options.onDataChange(column)
|
|
37905
37940
|
}, null, 8, ["model-value", "onUpdate:modelValue", "disabled", "onOnChange"])) : column.controlType === "Switch" ? (openBlock(), createBlock(_component_Switch, {
|
|
37906
|
-
key:
|
|
37941
|
+
key: 18,
|
|
37907
37942
|
"model-value": !!_ctx.parseData($data.data, column.code),
|
|
37908
37943
|
"onUpdate:modelValue": ($event) => _ctx.setData($data.data, column.code, $event),
|
|
37909
37944
|
disabled: $props.readonly || column.isReadonly,
|
|
37910
37945
|
onOnChange: ($event) => $options.onDataChange(column)
|
|
37911
37946
|
}, null, 8, ["model-value", "onUpdate:modelValue", "disabled", "onOnChange"])) : column.controlType === "Radio" ? (openBlock(), createBlock(_component_RadioGroup, {
|
|
37912
|
-
key:
|
|
37947
|
+
key: 19,
|
|
37913
37948
|
"model-value": _ctx.parseData($data.data, column.code),
|
|
37914
37949
|
"onUpdate:modelValue": ($event) => _ctx.setData($data.data, column.code, $event),
|
|
37915
37950
|
onOnChange: (selected) => $options.onSelectDataChange(column, selected)
|
|
@@ -37929,7 +37964,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37929
37964
|
}), 128))
|
|
37930
37965
|
]),
|
|
37931
37966
|
_: 2
|
|
37932
|
-
}, 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 }, [
|
|
37933
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> '),
|
|
37934
37969
|
createVNode$1(_component_check_group, {
|
|
37935
37970
|
"model-value": _ctx.parseData($data.data, column.code),
|
|
@@ -37941,7 +37976,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37941
37976
|
onOnChange: () => $options.onSelectDataChange(column)
|
|
37942
37977
|
}, null, 8, ["model-value", "onUpdate:modelValue", "dataSource", "readonly", "onOnChange"])
|
|
37943
37978
|
], 64)) : column.controlType === "TextArea" ? (openBlock(), createBlock(_component_Input, {
|
|
37944
|
-
key:
|
|
37979
|
+
key: 21,
|
|
37945
37980
|
type: "textarea",
|
|
37946
37981
|
"model-value": _ctx.parseData($data.data, column.code),
|
|
37947
37982
|
"onUpdate:modelValue": ($event) => _ctx.setData($data.data, column.code, $event),
|
|
@@ -37951,13 +37986,13 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37951
37986
|
maxlength: column.maxLength,
|
|
37952
37987
|
placeholder: column.description
|
|
37953
37988
|
}, null, 8, ["model-value", "onUpdate:modelValue", "readonly", "style", "rows", "maxlength", "placeholder"])) : column.controlType === "RichEditor" ? (openBlock(), createBlock(_component_rich_editor, {
|
|
37954
|
-
key:
|
|
37989
|
+
key: 22,
|
|
37955
37990
|
"model-value": _ctx.parseData($data.data, column.code),
|
|
37956
37991
|
"onUpdate:modelValue": ($event) => _ctx.setData($data.data, column.code, $event),
|
|
37957
37992
|
readonly: $props.readonly || column.isReadonly,
|
|
37958
37993
|
height: column.controlHeight,
|
|
37959
37994
|
width: column.controlWidth
|
|
37960
|
-
}, 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 }, [
|
|
37961
37996
|
!$props.readonly && !column.isReadonly ? (openBlock(), createBlock(_component_upload_attachment, {
|
|
37962
37997
|
key: 0,
|
|
37963
37998
|
ref_for: true,
|
|
@@ -37977,17 +38012,17 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37977
38012
|
createVNode$1(_component_Icon, { type: "ios-document" }),
|
|
37978
38013
|
createTextVNode(" " + toDisplayString$1(attachment.name), 1)
|
|
37979
38014
|
])
|
|
37980
|
-
], 8,
|
|
38015
|
+
], 8, _hoisted_10$3);
|
|
37981
38016
|
}), 128)) : createCommentVNode("v-if", true)
|
|
37982
38017
|
], 64)) : column.controlType === "Image" ? (openBlock(), createBlock(_component_upload_image, {
|
|
37983
|
-
key:
|
|
38018
|
+
key: 24,
|
|
37984
38019
|
"model-value": _ctx.parseData($data.data, column.code),
|
|
37985
38020
|
"onUpdate:modelValue": ($event) => _ctx.setData($data.data, column.code, $event),
|
|
37986
38021
|
readonly: $props.readonly || column.isReadonly,
|
|
37987
38022
|
maxCount: column.maxLength,
|
|
37988
38023
|
height: column.controlHeight,
|
|
37989
38024
|
width: column.controlWidth
|
|
37990
|
-
}, 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 }, [
|
|
37991
38026
|
!$props.readonly && !column.isReadonly ? (openBlock(), createBlock(_component_Slider, {
|
|
37992
38027
|
key: 0,
|
|
37993
38028
|
"model-value": _ctx.parseData($data.data, column.code),
|
|
@@ -38008,7 +38043,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38008
38043
|
}, null, 8, ["model-value", "style", "placeholder"])) : createCommentVNode("v-if", true)
|
|
38009
38044
|
], 64)) : createCommentVNode("v-if", true),
|
|
38010
38045
|
!!(column.tooltip || "").trim() ? (openBlock(), createBlock(_component_Button, {
|
|
38011
|
-
key:
|
|
38046
|
+
key: 26,
|
|
38012
38047
|
type: "primary",
|
|
38013
38048
|
style: { "margin-left": "4px" },
|
|
38014
38049
|
size: "small",
|
|
@@ -38384,7 +38419,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38384
38419
|
return openBlock(), createElementBlock("div", null, [
|
|
38385
38420
|
createVNode$1(_component_Modal, {
|
|
38386
38421
|
modelValue: $data.opened,
|
|
38387
|
-
"onUpdate:modelValue": _cache[
|
|
38422
|
+
"onUpdate:modelValue": _cache[59] || (_cache[59] = ($event) => $data.opened = $event),
|
|
38388
38423
|
scrollable: "",
|
|
38389
38424
|
"mask-closable": _ctx.layout.maskClosable,
|
|
38390
38425
|
draggable: _ctx.layout.draggable,
|
|
@@ -38431,7 +38466,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38431
38466
|
"label-colon": "\uFF1A",
|
|
38432
38467
|
class: "ivu-mt",
|
|
38433
38468
|
rules: $data.rules,
|
|
38434
|
-
onSubmit: _cache[
|
|
38469
|
+
onSubmit: _cache[58] || (_cache[58] = withModifiers(() => {
|
|
38435
38470
|
}, ["prevent"]))
|
|
38436
38471
|
}, {
|
|
38437
38472
|
default: withCtx(() => [
|
|
@@ -39221,7 +39256,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39221
39256
|
]),
|
|
39222
39257
|
_: 1
|
|
39223
39258
|
}, 16),
|
|
39224
|
-
|
|
39259
|
+
$data.data.controlType != "Description" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 21 }, _ctx.grid8)), {
|
|
39225
39260
|
default: withCtx(() => [
|
|
39226
39261
|
createVNode$1(_component_FormItem, {
|
|
39227
39262
|
label: "\u63CF\u8FF0",
|
|
@@ -39240,8 +39275,28 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39240
39275
|
})
|
|
39241
39276
|
]),
|
|
39242
39277
|
_: 1
|
|
39243
|
-
}, 16),
|
|
39244
|
-
$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)), {
|
|
39245
39300
|
default: withCtx(() => [
|
|
39246
39301
|
createVNode$1(_component_FormItem, {
|
|
39247
39302
|
label: "\u6700\u5927\u5B57\u7B26\u6570\u91CF",
|
|
@@ -39254,7 +39309,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39254
39309
|
style: { "width": "100px" },
|
|
39255
39310
|
number: "",
|
|
39256
39311
|
modelValue: $data.data.maxLength,
|
|
39257
|
-
"onUpdate:modelValue": _cache[
|
|
39312
|
+
"onUpdate:modelValue": _cache[42] || (_cache[42] = ($event) => $data.data.maxLength = $event)
|
|
39258
39313
|
}, null, 8, ["modelValue"])
|
|
39259
39314
|
]),
|
|
39260
39315
|
_: 1
|
|
@@ -39262,7 +39317,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39262
39317
|
]),
|
|
39263
39318
|
_: 1
|
|
39264
39319
|
}, 16)) : createCommentVNode("v-if", true),
|
|
39265
|
-
$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)), {
|
|
39266
39321
|
default: withCtx(() => [
|
|
39267
39322
|
createVNode$1(_component_FormItem, {
|
|
39268
39323
|
label: "\u6700\u5927\u6587\u4EF6\u6570\u91CF",
|
|
@@ -39275,7 +39330,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39275
39330
|
style: { "width": "100px" },
|
|
39276
39331
|
number: "",
|
|
39277
39332
|
modelValue: $data.data.maxLength,
|
|
39278
|
-
"onUpdate:modelValue": _cache[
|
|
39333
|
+
"onUpdate:modelValue": _cache[43] || (_cache[43] = ($event) => $data.data.maxLength = $event)
|
|
39279
39334
|
}, null, 8, ["modelValue"])
|
|
39280
39335
|
]),
|
|
39281
39336
|
_: 1
|
|
@@ -39283,7 +39338,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39283
39338
|
]),
|
|
39284
39339
|
_: 1
|
|
39285
39340
|
}, 16)) : createCommentVNode("v-if", true),
|
|
39286
|
-
$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)), {
|
|
39287
39342
|
default: withCtx(() => [
|
|
39288
39343
|
createVNode$1(_component_FormItem, { label: "\u8F93\u5165\u8303\u56F4" }, {
|
|
39289
39344
|
default: withCtx(() => [
|
|
@@ -39292,7 +39347,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39292
39347
|
style: { "width": "60px" },
|
|
39293
39348
|
number: "",
|
|
39294
39349
|
modelValue: $data.data.minValue,
|
|
39295
|
-
"onUpdate:modelValue": _cache[
|
|
39350
|
+
"onUpdate:modelValue": _cache[44] || (_cache[44] = ($event) => $data.data.minValue = $event)
|
|
39296
39351
|
}, null, 8, ["modelValue"]),
|
|
39297
39352
|
createTextVNode(" - "),
|
|
39298
39353
|
createVNode$1(_component_Input, {
|
|
@@ -39300,7 +39355,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39300
39355
|
style: { "width": "60px" },
|
|
39301
39356
|
number: "",
|
|
39302
39357
|
modelValue: $data.data.maxValue,
|
|
39303
|
-
"onUpdate:modelValue": _cache[
|
|
39358
|
+
"onUpdate:modelValue": _cache[45] || (_cache[45] = ($event) => $data.data.maxValue = $event)
|
|
39304
39359
|
}, null, 8, ["modelValue"])
|
|
39305
39360
|
]),
|
|
39306
39361
|
_: 1
|
|
@@ -39321,7 +39376,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39321
39376
|
style: { "width": "100px" },
|
|
39322
39377
|
number: "",
|
|
39323
39378
|
modelValue: $data.data.digit,
|
|
39324
|
-
"onUpdate:modelValue": _cache[
|
|
39379
|
+
"onUpdate:modelValue": _cache[46] || (_cache[46] = ($event) => $data.data.digit = $event)
|
|
39325
39380
|
}, null, 8, ["modelValue"])
|
|
39326
39381
|
]),
|
|
39327
39382
|
_: 1
|
|
@@ -39339,7 +39394,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39339
39394
|
default: withCtx(() => [
|
|
39340
39395
|
createVNode$1(_component_Switch, {
|
|
39341
39396
|
"model-value": !!$data.data.fixedDigit,
|
|
39342
|
-
"onUpdate:modelValue": _cache[
|
|
39397
|
+
"onUpdate:modelValue": _cache[47] || (_cache[47] = ($event) => {
|
|
39343
39398
|
$data.data.fixedDigit = $event;
|
|
39344
39399
|
})
|
|
39345
39400
|
}, null, 8, ["model-value"])
|
|
@@ -39349,7 +39404,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39349
39404
|
]),
|
|
39350
39405
|
_: 1
|
|
39351
39406
|
}, 16),
|
|
39352
|
-
$props.viewType == "FormView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key:
|
|
39407
|
+
$props.viewType == "FormView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 26 }, _ctx.grid8)), {
|
|
39353
39408
|
default: withCtx(() => [
|
|
39354
39409
|
createVNode$1(_component_FormItem, {
|
|
39355
39410
|
label: "\u5F3A\u5236\u6362\u884C",
|
|
@@ -39359,7 +39414,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39359
39414
|
default: withCtx(() => [
|
|
39360
39415
|
createVNode$1(_component_Switch, {
|
|
39361
39416
|
"model-value": !!$data.data.newLine,
|
|
39362
|
-
"onUpdate:modelValue": _cache[
|
|
39417
|
+
"onUpdate:modelValue": _cache[48] || (_cache[48] = ($event) => {
|
|
39363
39418
|
$data.data.newLine = $event;
|
|
39364
39419
|
})
|
|
39365
39420
|
}, null, 8, ["model-value"])
|
|
@@ -39369,7 +39424,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39369
39424
|
]),
|
|
39370
39425
|
_: 1
|
|
39371
39426
|
}, 16)) : createCommentVNode("v-if", true),
|
|
39372
|
-
$props.viewType == "TableView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key:
|
|
39427
|
+
$props.viewType == "TableView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 27 }, _ctx.grid8)), {
|
|
39373
39428
|
default: withCtx(() => [
|
|
39374
39429
|
createVNode$1(_component_FormItem, {
|
|
39375
39430
|
label: "\u7236\u5355\u5143\u683C\u4EE3\u7801",
|
|
@@ -39380,7 +39435,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39380
39435
|
createVNode$1(_component_Input, {
|
|
39381
39436
|
type: "text",
|
|
39382
39437
|
modelValue: $data.data.parentCode,
|
|
39383
|
-
"onUpdate:modelValue": _cache[
|
|
39438
|
+
"onUpdate:modelValue": _cache[49] || (_cache[49] = ($event) => $data.data.parentCode = $event),
|
|
39384
39439
|
maxlength: "200"
|
|
39385
39440
|
}, null, 8, ["modelValue"])
|
|
39386
39441
|
]),
|
|
@@ -39389,7 +39444,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39389
39444
|
]),
|
|
39390
39445
|
_: 1
|
|
39391
39446
|
}, 16)) : createCommentVNode("v-if", true),
|
|
39392
|
-
$props.viewType == "TableView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key:
|
|
39447
|
+
$props.viewType == "TableView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 28 }, _ctx.grid8)), {
|
|
39393
39448
|
default: withCtx(() => [
|
|
39394
39449
|
createVNode$1(_component_FormItem, {
|
|
39395
39450
|
label: "\u5408\u5E76\u5355\u5143\u683C",
|
|
@@ -39399,7 +39454,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39399
39454
|
default: withCtx(() => [
|
|
39400
39455
|
createVNode$1(_component_Switch, {
|
|
39401
39456
|
"model-value": !!$data.data.mergeSame,
|
|
39402
|
-
"onUpdate:modelValue": _cache[
|
|
39457
|
+
"onUpdate:modelValue": _cache[50] || (_cache[50] = ($event) => {
|
|
39403
39458
|
$data.data.mergeSame = $event;
|
|
39404
39459
|
})
|
|
39405
39460
|
}, null, 8, ["model-value"])
|
|
@@ -39409,7 +39464,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39409
39464
|
]),
|
|
39410
39465
|
_: 1
|
|
39411
39466
|
}, 16)) : createCommentVNode("v-if", true),
|
|
39412
|
-
$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)), {
|
|
39413
39468
|
default: withCtx(() => [
|
|
39414
39469
|
createVNode$1(_component_FormItem, {
|
|
39415
39470
|
label: "\u62D6\u62FD\u4E0A\u4F20",
|
|
@@ -39419,7 +39474,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39419
39474
|
default: withCtx(() => [
|
|
39420
39475
|
createVNode$1(_component_Switch, {
|
|
39421
39476
|
"model-value": !!$data.data.mergeSame,
|
|
39422
|
-
"onUpdate:modelValue": _cache[
|
|
39477
|
+
"onUpdate:modelValue": _cache[51] || (_cache[51] = ($event) => {
|
|
39423
39478
|
$data.data.mergeSame = $event;
|
|
39424
39479
|
})
|
|
39425
39480
|
}, null, 8, ["model-value"])
|
|
@@ -39429,7 +39484,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39429
39484
|
]),
|
|
39430
39485
|
_: 1
|
|
39431
39486
|
}, 16)) : createCommentVNode("v-if", true),
|
|
39432
|
-
$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)), {
|
|
39433
39488
|
default: withCtx(() => [
|
|
39434
39489
|
createVNode$1(_component_FormItem, {
|
|
39435
39490
|
label: "\u9A8C\u8BC1\u8868\u8FBE\u5F0F",
|
|
@@ -39440,7 +39495,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39440
39495
|
createVNode$1(_component_Input, {
|
|
39441
39496
|
type: "text",
|
|
39442
39497
|
modelValue: $data.data.pattern,
|
|
39443
|
-
"onUpdate:modelValue": _cache[
|
|
39498
|
+
"onUpdate:modelValue": _cache[52] || (_cache[52] = ($event) => $data.data.pattern = $event),
|
|
39444
39499
|
maxlength: "100"
|
|
39445
39500
|
}, null, 8, ["modelValue"])
|
|
39446
39501
|
]),
|
|
@@ -39449,7 +39504,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39449
39504
|
]),
|
|
39450
39505
|
_: 1
|
|
39451
39506
|
}, 16)) : createCommentVNode("v-if", true),
|
|
39452
|
-
$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)), {
|
|
39453
39508
|
default: withCtx(() => [
|
|
39454
39509
|
createVNode$1(_component_FormItem, {
|
|
39455
39510
|
label: "\u5176\u4ED6\u6587\u672C",
|
|
@@ -39460,7 +39515,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39460
39515
|
createVNode$1(_component_Input, {
|
|
39461
39516
|
type: "text",
|
|
39462
39517
|
modelValue: $data.data.pattern,
|
|
39463
|
-
"onUpdate:modelValue": _cache[
|
|
39518
|
+
"onUpdate:modelValue": _cache[53] || (_cache[53] = ($event) => $data.data.pattern = $event),
|
|
39464
39519
|
maxlength: "100"
|
|
39465
39520
|
}, null, 8, ["modelValue"])
|
|
39466
39521
|
]),
|
|
@@ -39469,7 +39524,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39469
39524
|
]),
|
|
39470
39525
|
_: 1
|
|
39471
39526
|
}, 16)) : createCommentVNode("v-if", true),
|
|
39472
|
-
$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)), {
|
|
39473
39528
|
default: withCtx(() => [
|
|
39474
39529
|
createVNode$1(_component_FormItem, {
|
|
39475
39530
|
label: "\u63A5\u53D7\u7684\u6587\u4EF6\u7C7B\u578B",
|
|
@@ -39480,7 +39535,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39480
39535
|
createVNode$1(_component_Input, {
|
|
39481
39536
|
type: "text",
|
|
39482
39537
|
modelValue: $data.data.pattern,
|
|
39483
|
-
"onUpdate:modelValue": _cache[
|
|
39538
|
+
"onUpdate:modelValue": _cache[54] || (_cache[54] = ($event) => $data.data.pattern = $event),
|
|
39484
39539
|
maxlength: "100"
|
|
39485
39540
|
}, null, 8, ["modelValue"])
|
|
39486
39541
|
]),
|
|
@@ -39489,7 +39544,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39489
39544
|
]),
|
|
39490
39545
|
_: 1
|
|
39491
39546
|
}, 16)) : createCommentVNode("v-if", true),
|
|
39492
|
-
$props.viewType == "FormView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key:
|
|
39547
|
+
$props.viewType == "FormView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 33 }, _ctx.grid8)), {
|
|
39493
39548
|
default: withCtx(() => [
|
|
39494
39549
|
createVNode$1(_component_FormItem, {
|
|
39495
39550
|
label: "\u9009\u9879\u5361\u5E8F\u53F7",
|
|
@@ -39502,7 +39557,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39502
39557
|
style: { "width": "100px" },
|
|
39503
39558
|
number: "",
|
|
39504
39559
|
modelValue: $data.data.tabIndex,
|
|
39505
|
-
"onUpdate:modelValue": _cache[
|
|
39560
|
+
"onUpdate:modelValue": _cache[55] || (_cache[55] = ($event) => $data.data.tabIndex = $event)
|
|
39506
39561
|
}, null, 8, ["modelValue"])
|
|
39507
39562
|
]),
|
|
39508
39563
|
_: 1
|
|
@@ -39521,7 +39576,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39521
39576
|
createVNode$1(_component_Input, {
|
|
39522
39577
|
type: "text",
|
|
39523
39578
|
modelValue: $data.data.calculate,
|
|
39524
|
-
"onUpdate:modelValue": _cache[
|
|
39579
|
+
"onUpdate:modelValue": _cache[56] || (_cache[56] = ($event) => $data.data.calculate = $event),
|
|
39525
39580
|
maxlength: "500"
|
|
39526
39581
|
}, null, 8, ["modelValue"])
|
|
39527
39582
|
]),
|
|
@@ -39530,7 +39585,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39530
39585
|
]),
|
|
39531
39586
|
_: 1
|
|
39532
39587
|
}, 16),
|
|
39533
|
-
$props.viewType == "FormView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key:
|
|
39588
|
+
$props.viewType == "FormView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 34 }, _ctx.grid24)), {
|
|
39534
39589
|
default: withCtx(() => [
|
|
39535
39590
|
createVNode$1(_component_FormItem, {
|
|
39536
39591
|
label: "\u6587\u5B57\u63D0\u793A",
|
|
@@ -39542,7 +39597,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39542
39597
|
type: "textarea",
|
|
39543
39598
|
autosize: true,
|
|
39544
39599
|
modelValue: $data.data.tooltip,
|
|
39545
|
-
"onUpdate:modelValue": _cache[
|
|
39600
|
+
"onUpdate:modelValue": _cache[57] || (_cache[57] = ($event) => $data.data.tooltip = $event),
|
|
39546
39601
|
maxlength: "500"
|
|
39547
39602
|
}, null, 8, ["modelValue"])
|
|
39548
39603
|
]),
|
|
@@ -39563,7 +39618,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39563
39618
|
}, 8, ["modelValue", "mask-closable", "draggable"]),
|
|
39564
39619
|
createVNode$1(_component_Modal, {
|
|
39565
39620
|
modelValue: $data.paramOpened,
|
|
39566
|
-
"onUpdate:modelValue": _cache[
|
|
39621
|
+
"onUpdate:modelValue": _cache[61] || (_cache[61] = ($event) => $data.paramOpened = $event),
|
|
39567
39622
|
scrollable: "",
|
|
39568
39623
|
"mask-closable": _ctx.layout.maskClosable,
|
|
39569
39624
|
draggable: _ctx.layout.draggable,
|
|
@@ -39585,7 +39640,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39585
39640
|
type: "primary",
|
|
39586
39641
|
ghost: "",
|
|
39587
39642
|
"custom-icon": "fa fa-plus",
|
|
39588
|
-
onClick: _cache[
|
|
39643
|
+
onClick: _cache[60] || (_cache[60] = ($event) => $options.paramEdit())
|
|
39589
39644
|
}, {
|
|
39590
39645
|
default: withCtx(() => [
|
|
39591
39646
|
createTextVNode(toDisplayString$1(_ctx.$t("Front_Btn_Add")), 1)
|
|
@@ -39654,7 +39709,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39654
39709
|
}, 8, ["modelValue", "mask-closable", "draggable"]),
|
|
39655
39710
|
createVNode$1(_component_Modal, {
|
|
39656
39711
|
modelValue: $data.paramItemOpened,
|
|
39657
|
-
"onUpdate:modelValue": _cache[
|
|
39712
|
+
"onUpdate:modelValue": _cache[68] || (_cache[68] = ($event) => $data.paramItemOpened = $event),
|
|
39658
39713
|
scrollable: "",
|
|
39659
39714
|
"mask-closable": _ctx.layout.maskClosable,
|
|
39660
39715
|
draggable: _ctx.layout.draggable,
|
|
@@ -39698,7 +39753,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39698
39753
|
"label-position": "top",
|
|
39699
39754
|
"label-colon": "\uFF1A",
|
|
39700
39755
|
class: "ivu-mt",
|
|
39701
|
-
onSubmit: _cache[
|
|
39756
|
+
onSubmit: _cache[67] || (_cache[67] = withModifiers(() => {
|
|
39702
39757
|
}, ["prevent"]))
|
|
39703
39758
|
}, {
|
|
39704
39759
|
default: withCtx(() => [
|
|
@@ -39718,12 +39773,12 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39718
39773
|
createVNode$1(_component_Input, {
|
|
39719
39774
|
type: "text",
|
|
39720
39775
|
modelValue: $data.paramData.code,
|
|
39721
|
-
"onUpdate:modelValue": _cache[
|
|
39776
|
+
"onUpdate:modelValue": _cache[63] || (_cache[63] = ($event) => $data.paramData.code = $event)
|
|
39722
39777
|
}, {
|
|
39723
39778
|
prepend: withCtx(() => [
|
|
39724
39779
|
createVNode$1(_component_Button, {
|
|
39725
39780
|
"custom-icon": "fa fa-search",
|
|
39726
|
-
onClick: _cache[
|
|
39781
|
+
onClick: _cache[62] || (_cache[62] = ($event) => $options.openColumnSelect($data.paramData, "code"))
|
|
39727
39782
|
})
|
|
39728
39783
|
]),
|
|
39729
39784
|
_: 1
|
|
@@ -39744,7 +39799,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39744
39799
|
default: withCtx(() => [
|
|
39745
39800
|
createVNode$1(_component_RadioGroup, {
|
|
39746
39801
|
modelValue: $data.paramData.keyType,
|
|
39747
|
-
"onUpdate:modelValue": _cache[
|
|
39802
|
+
"onUpdate:modelValue": _cache[64] || (_cache[64] = ($event) => $data.paramData.keyType = $event),
|
|
39748
39803
|
onOnChange: $options.keyTypeChange
|
|
39749
39804
|
}, {
|
|
39750
39805
|
default: withCtx(() => [
|
|
@@ -39770,7 +39825,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39770
39825
|
createVNode$1(_component_Input, {
|
|
39771
39826
|
type: "text",
|
|
39772
39827
|
modelValue: $data.paramData.val,
|
|
39773
|
-
"onUpdate:modelValue": _cache[
|
|
39828
|
+
"onUpdate:modelValue": _cache[65] || (_cache[65] = ($event) => $data.paramData.val = $event)
|
|
39774
39829
|
}, null, 8, ["modelValue"])
|
|
39775
39830
|
]),
|
|
39776
39831
|
_: 1
|
|
@@ -39789,7 +39844,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39789
39844
|
createVNode$1(_component_Input, {
|
|
39790
39845
|
type: "text",
|
|
39791
39846
|
modelValue: $data.paramData.val,
|
|
39792
|
-
"onUpdate:modelValue": _cache[
|
|
39847
|
+
"onUpdate:modelValue": _cache[66] || (_cache[66] = ($event) => $data.paramData.val = $event)
|
|
39793
39848
|
}, {
|
|
39794
39849
|
prepend: withCtx(() => [
|
|
39795
39850
|
createVNode$1(_component_Button, {
|
|
@@ -41412,15 +41467,39 @@ const _sfc_main$r = {
|
|
|
41412
41467
|
if (item.split(":").length > 1) {
|
|
41413
41468
|
let key = item.split(":")[0];
|
|
41414
41469
|
let value = item.split(":")[1];
|
|
41415
|
-
column.
|
|
41416
|
-
|
|
41417
|
-
|
|
41418
|
-
|
|
41470
|
+
if (column.dataType == "Integer" || column.dataType == "BigInteger") {
|
|
41471
|
+
column.dataSource.push({
|
|
41472
|
+
id: parseInt(key),
|
|
41473
|
+
name: value
|
|
41474
|
+
});
|
|
41475
|
+
} else if (column.dataType == "Decimal" || column.dataType == "Float" || column.dataType == "Double") {
|
|
41476
|
+
column.dataSource.push({
|
|
41477
|
+
id: parseFloat(key),
|
|
41478
|
+
name: value
|
|
41479
|
+
});
|
|
41480
|
+
} else {
|
|
41481
|
+
column.dataSource.push({
|
|
41482
|
+
id: key,
|
|
41483
|
+
name: value
|
|
41484
|
+
});
|
|
41485
|
+
}
|
|
41419
41486
|
} else {
|
|
41420
|
-
column.
|
|
41421
|
-
|
|
41422
|
-
|
|
41423
|
-
|
|
41487
|
+
if (column.dataType == "Integer" || column.dataType == "BigInteger") {
|
|
41488
|
+
column.dataSource.push({
|
|
41489
|
+
id: parseInt(item),
|
|
41490
|
+
name: item
|
|
41491
|
+
});
|
|
41492
|
+
} else if (column.dataType == "Decimal" || column.dataType == "Float" || column.dataType == "Double") {
|
|
41493
|
+
column.dataSource.push({
|
|
41494
|
+
id: parseFloat(item),
|
|
41495
|
+
name: item
|
|
41496
|
+
});
|
|
41497
|
+
} else {
|
|
41498
|
+
column.dataSource.push({
|
|
41499
|
+
id: item,
|
|
41500
|
+
name: item
|
|
41501
|
+
});
|
|
41502
|
+
}
|
|
41424
41503
|
}
|
|
41425
41504
|
}
|
|
41426
41505
|
});
|
|
@@ -50993,15 +51072,39 @@ const _sfc_main$o = {
|
|
|
50993
51072
|
if (item.split(":").length > 1) {
|
|
50994
51073
|
let key = item.split(":")[0];
|
|
50995
51074
|
let value = item.split(":")[1];
|
|
50996
|
-
column.
|
|
50997
|
-
|
|
50998
|
-
|
|
50999
|
-
|
|
51075
|
+
if (column.dataType == "Integer" || column.dataType == "BigInteger") {
|
|
51076
|
+
column.dataSource.push({
|
|
51077
|
+
id: parseInt(key),
|
|
51078
|
+
name: value
|
|
51079
|
+
});
|
|
51080
|
+
} else if (column.dataType == "Decimal" || column.dataType == "Float" || column.dataType == "Double") {
|
|
51081
|
+
column.dataSource.push({
|
|
51082
|
+
id: parseFloat(key),
|
|
51083
|
+
name: value
|
|
51084
|
+
});
|
|
51085
|
+
} else {
|
|
51086
|
+
column.dataSource.push({
|
|
51087
|
+
id: key,
|
|
51088
|
+
name: value
|
|
51089
|
+
});
|
|
51090
|
+
}
|
|
51000
51091
|
} else {
|
|
51001
|
-
column.
|
|
51002
|
-
|
|
51003
|
-
|
|
51004
|
-
|
|
51092
|
+
if (column.dataType == "Integer" || column.dataType == "BigInteger") {
|
|
51093
|
+
column.dataSource.push({
|
|
51094
|
+
id: parseInt(item),
|
|
51095
|
+
name: item
|
|
51096
|
+
});
|
|
51097
|
+
} else if (column.dataType == "Decimal" || column.dataType == "Float" || column.dataType == "Double") {
|
|
51098
|
+
column.dataSource.push({
|
|
51099
|
+
id: parseFloat(item),
|
|
51100
|
+
name: item
|
|
51101
|
+
});
|
|
51102
|
+
} else {
|
|
51103
|
+
column.dataSource.push({
|
|
51104
|
+
id: item,
|
|
51105
|
+
name: item
|
|
51106
|
+
});
|
|
51107
|
+
}
|
|
51005
51108
|
}
|
|
51006
51109
|
}
|
|
51007
51110
|
});
|
|
@@ -51895,7 +51998,7 @@ const _sfc_main$n = {
|
|
|
51895
51998
|
this.componentGroups.find((componentGroup) => componentGroup.key == "Datasource").components.push(component);
|
|
51896
51999
|
} else if (item.id == "Date" || item.id == "Time" || item.id == "DateTime" || item.id == "Year" || item.id == "Month" || item.id == "DateRange") {
|
|
51897
52000
|
this.componentGroups.find((componentGroup) => componentGroup.key == "DateTime").components.push(component);
|
|
51898
|
-
} 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") {
|
|
51899
52002
|
this.componentGroups.find((componentGroup) => componentGroup.key == "Other").components.push(component);
|
|
51900
52003
|
}
|
|
51901
52004
|
});
|