mooho-base-admin-plus 0.4.27 → 0.4.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mooho-base-admin-plus.min.esm.js +45 -25
- package/dist/mooho-base-admin-plus.min.js +4 -4
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/view/column-edit.vue +5 -0
- package/src/components/view/view-form-draggable.vue +1 -1
- package/src/components/view/view-form.vue +1 -1
- package/src/components/view/view-table.vue +1 -1
|
@@ -33440,10 +33440,10 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33440
33440
|
value: "__Other"
|
|
33441
33441
|
}, {
|
|
33442
33442
|
default: withCtx(() => [
|
|
33443
|
-
createTextVNode(toDisplayString$1(_ctx.$t("Front_Label_Others")), 1)
|
|
33443
|
+
createTextVNode(toDisplayString$1(!!(column.pattern || "").trim() ? column.pattern : _ctx.$t("Front_Label_Others")), 1)
|
|
33444
33444
|
]),
|
|
33445
|
-
_:
|
|
33446
|
-
})
|
|
33445
|
+
_: 2
|
|
33446
|
+
}, 1024)
|
|
33447
33447
|
]),
|
|
33448
33448
|
_: 2
|
|
33449
33449
|
}, 1032, ["model-value", "onUpdate:modelValue", "disabled", "style", "placeholder", "onOnChange"]),
|
|
@@ -33959,7 +33959,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33959
33959
|
return openBlock(), createElementBlock("div", null, [
|
|
33960
33960
|
createVNode$1(_component_Modal, {
|
|
33961
33961
|
modelValue: $data.opened,
|
|
33962
|
-
"onUpdate:modelValue": _cache[
|
|
33962
|
+
"onUpdate:modelValue": _cache[52] || (_cache[52] = ($event) => $data.opened = $event),
|
|
33963
33963
|
scrollable: "",
|
|
33964
33964
|
"mask-closable": _ctx.layout.maskClosable,
|
|
33965
33965
|
draggable: _ctx.layout.draggable,
|
|
@@ -34006,7 +34006,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34006
34006
|
"label-colon": "\uFF1A",
|
|
34007
34007
|
class: "ivu-mt",
|
|
34008
34008
|
rules: $data.rules,
|
|
34009
|
-
onSubmit: _cache[
|
|
34009
|
+
onSubmit: _cache[51] || (_cache[51] = withModifiers(() => {
|
|
34010
34010
|
}, ["prevent"]))
|
|
34011
34011
|
}, {
|
|
34012
34012
|
default: withCtx(() => [
|
|
@@ -34889,10 +34889,10 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34889
34889
|
]),
|
|
34890
34890
|
_: 1
|
|
34891
34891
|
}, 16)) : createCommentVNode("", true),
|
|
34892
|
-
$data.data.controlType == "
|
|
34892
|
+
$data.data.controlType == "SelectWithOther" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 25 }, _ctx.grid8)), {
|
|
34893
34893
|
default: withCtx(() => [
|
|
34894
34894
|
createVNode$1(_component_FormItem, {
|
|
34895
|
-
label: "\
|
|
34895
|
+
label: "\u5176\u4ED6\u6587\u672C",
|
|
34896
34896
|
key: "pattern",
|
|
34897
34897
|
prop: "pattern"
|
|
34898
34898
|
}, {
|
|
@@ -34909,7 +34909,27 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34909
34909
|
]),
|
|
34910
34910
|
_: 1
|
|
34911
34911
|
}, 16)) : createCommentVNode("", true),
|
|
34912
|
-
$
|
|
34912
|
+
$data.data.controlType == "Attachment" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 26 }, _ctx.grid8)), {
|
|
34913
|
+
default: withCtx(() => [
|
|
34914
|
+
createVNode$1(_component_FormItem, {
|
|
34915
|
+
label: "\u63A5\u53D7\u7684\u6587\u4EF6\u7C7B\u578B",
|
|
34916
|
+
key: "pattern",
|
|
34917
|
+
prop: "pattern"
|
|
34918
|
+
}, {
|
|
34919
|
+
default: withCtx(() => [
|
|
34920
|
+
createVNode$1(_component_Input, {
|
|
34921
|
+
type: "text",
|
|
34922
|
+
modelValue: $data.data.pattern,
|
|
34923
|
+
"onUpdate:modelValue": _cache[48] || (_cache[48] = ($event) => $data.data.pattern = $event),
|
|
34924
|
+
maxlength: "100"
|
|
34925
|
+
}, null, 8, ["modelValue"])
|
|
34926
|
+
]),
|
|
34927
|
+
_: 1
|
|
34928
|
+
})
|
|
34929
|
+
]),
|
|
34930
|
+
_: 1
|
|
34931
|
+
}, 16)) : createCommentVNode("", true),
|
|
34932
|
+
$props.viewType == "FormView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 27 }, _ctx.grid8)), {
|
|
34913
34933
|
default: withCtx(() => [
|
|
34914
34934
|
createVNode$1(_component_FormItem, {
|
|
34915
34935
|
label: "\u9009\u9879\u5361\u5E8F\u53F7",
|
|
@@ -34922,7 +34942,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34922
34942
|
style: { "width": "100px" },
|
|
34923
34943
|
number: "",
|
|
34924
34944
|
modelValue: $data.data.tabIndex,
|
|
34925
|
-
"onUpdate:modelValue": _cache[
|
|
34945
|
+
"onUpdate:modelValue": _cache[49] || (_cache[49] = ($event) => $data.data.tabIndex = $event)
|
|
34926
34946
|
}, null, 8, ["modelValue"])
|
|
34927
34947
|
]),
|
|
34928
34948
|
_: 1
|
|
@@ -34941,7 +34961,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34941
34961
|
createVNode$1(_component_Input, {
|
|
34942
34962
|
type: "text",
|
|
34943
34963
|
modelValue: $data.data.calculate,
|
|
34944
|
-
"onUpdate:modelValue": _cache[
|
|
34964
|
+
"onUpdate:modelValue": _cache[50] || (_cache[50] = ($event) => $data.data.calculate = $event),
|
|
34945
34965
|
maxlength: "500"
|
|
34946
34966
|
}, null, 8, ["modelValue"])
|
|
34947
34967
|
]),
|
|
@@ -34962,7 +34982,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34962
34982
|
}, 8, ["modelValue", "mask-closable", "draggable"]),
|
|
34963
34983
|
createVNode$1(_component_Modal, {
|
|
34964
34984
|
modelValue: $data.paramOpened,
|
|
34965
|
-
"onUpdate:modelValue": _cache[
|
|
34985
|
+
"onUpdate:modelValue": _cache[54] || (_cache[54] = ($event) => $data.paramOpened = $event),
|
|
34966
34986
|
scrollable: "",
|
|
34967
34987
|
"mask-closable": _ctx.layout.maskClosable,
|
|
34968
34988
|
draggable: _ctx.layout.draggable,
|
|
@@ -34984,7 +35004,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34984
35004
|
type: "primary",
|
|
34985
35005
|
ghost: "",
|
|
34986
35006
|
"custom-icon": "fa fa-plus",
|
|
34987
|
-
onClick: _cache[
|
|
35007
|
+
onClick: _cache[53] || (_cache[53] = ($event) => $options.paramEdit())
|
|
34988
35008
|
}, {
|
|
34989
35009
|
default: withCtx(() => [
|
|
34990
35010
|
createTextVNode(toDisplayString$1(_ctx.$t("Front_Btn_Add")), 1)
|
|
@@ -35053,7 +35073,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35053
35073
|
}, 8, ["modelValue", "mask-closable", "draggable"]),
|
|
35054
35074
|
createVNode$1(_component_Modal, {
|
|
35055
35075
|
modelValue: $data.paramItemOpened,
|
|
35056
|
-
"onUpdate:modelValue": _cache[
|
|
35076
|
+
"onUpdate:modelValue": _cache[61] || (_cache[61] = ($event) => $data.paramItemOpened = $event),
|
|
35057
35077
|
scrollable: "",
|
|
35058
35078
|
"mask-closable": _ctx.layout.maskClosable,
|
|
35059
35079
|
draggable: _ctx.layout.draggable,
|
|
@@ -35097,7 +35117,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35097
35117
|
"label-position": "top",
|
|
35098
35118
|
"label-colon": "\uFF1A",
|
|
35099
35119
|
class: "ivu-mt",
|
|
35100
|
-
onSubmit: _cache[
|
|
35120
|
+
onSubmit: _cache[60] || (_cache[60] = withModifiers(() => {
|
|
35101
35121
|
}, ["prevent"]))
|
|
35102
35122
|
}, {
|
|
35103
35123
|
default: withCtx(() => [
|
|
@@ -35117,12 +35137,12 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35117
35137
|
createVNode$1(_component_Input, {
|
|
35118
35138
|
type: "text",
|
|
35119
35139
|
modelValue: $data.paramData.code,
|
|
35120
|
-
"onUpdate:modelValue": _cache[
|
|
35140
|
+
"onUpdate:modelValue": _cache[56] || (_cache[56] = ($event) => $data.paramData.code = $event)
|
|
35121
35141
|
}, {
|
|
35122
35142
|
prepend: withCtx(() => [
|
|
35123
35143
|
createVNode$1(_component_Button, {
|
|
35124
35144
|
"custom-icon": "fa fa-search",
|
|
35125
|
-
onClick: _cache[
|
|
35145
|
+
onClick: _cache[55] || (_cache[55] = ($event) => $options.openColumnSelect($data.paramData, "code"))
|
|
35126
35146
|
})
|
|
35127
35147
|
]),
|
|
35128
35148
|
_: 1
|
|
@@ -35143,7 +35163,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35143
35163
|
default: withCtx(() => [
|
|
35144
35164
|
createVNode$1(_component_RadioGroup, {
|
|
35145
35165
|
modelValue: $data.paramData.keyType,
|
|
35146
|
-
"onUpdate:modelValue": _cache[
|
|
35166
|
+
"onUpdate:modelValue": _cache[57] || (_cache[57] = ($event) => $data.paramData.keyType = $event),
|
|
35147
35167
|
onOnChange: $options.keyTypeChange
|
|
35148
35168
|
}, {
|
|
35149
35169
|
default: withCtx(() => [
|
|
@@ -35169,7 +35189,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35169
35189
|
createVNode$1(_component_Input, {
|
|
35170
35190
|
type: "text",
|
|
35171
35191
|
modelValue: $data.paramData.val,
|
|
35172
|
-
"onUpdate:modelValue": _cache[
|
|
35192
|
+
"onUpdate:modelValue": _cache[58] || (_cache[58] = ($event) => $data.paramData.val = $event)
|
|
35173
35193
|
}, null, 8, ["modelValue"])
|
|
35174
35194
|
]),
|
|
35175
35195
|
_: 1
|
|
@@ -35188,7 +35208,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35188
35208
|
createVNode$1(_component_Input, {
|
|
35189
35209
|
type: "text",
|
|
35190
35210
|
modelValue: $data.paramData.val,
|
|
35191
|
-
"onUpdate:modelValue": _cache[
|
|
35211
|
+
"onUpdate:modelValue": _cache[59] || (_cache[59] = ($event) => $data.paramData.val = $event)
|
|
35192
35212
|
}, {
|
|
35193
35213
|
prepend: withCtx(() => [
|
|
35194
35214
|
createVNode$1(_component_Button, {
|
|
@@ -37392,7 +37412,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37392
37412
|
]);
|
|
37393
37413
|
}
|
|
37394
37414
|
var tableFilter = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$r]]);
|
|
37395
|
-
var viewTable_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".image-group[data-v-
|
|
37415
|
+
var viewTable_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".image-group[data-v-5f3af814]{display:flex}.image-group .image[data-v-5f3af814]{border:solid 1px #ccc;width:75px;height:75px;margin:2px 1px;cursor:pointer}.image-group .image img[data-v-5f3af814]{width:75px;height:75px}\n")();
|
|
37396
37416
|
var getColumns = (view, item) => {
|
|
37397
37417
|
let children = view.viewColumns.filter((i2) => {
|
|
37398
37418
|
return i2.parentCode == item.code;
|
|
@@ -37608,7 +37628,7 @@ const _sfc_main$q = {
|
|
|
37608
37628
|
if (typeof onFail === "function") {
|
|
37609
37629
|
onFail();
|
|
37610
37630
|
} else {
|
|
37611
|
-
this.error("Front_Msg_View_Code_Not_Exist" + viewCode);
|
|
37631
|
+
this.error("Front_Msg_View_Code_Not_Exist|" + viewCode);
|
|
37612
37632
|
}
|
|
37613
37633
|
return;
|
|
37614
37634
|
}
|
|
@@ -39390,7 +39410,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39390
39410
|
], 2)
|
|
39391
39411
|
], 2);
|
|
39392
39412
|
}
|
|
39393
|
-
var ViewTable = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$q], ["__scopeId", "data-v-
|
|
39413
|
+
var ViewTable = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$q], ["__scopeId", "data-v-5f3af814"]]);
|
|
39394
39414
|
const _sfc_main$p = {
|
|
39395
39415
|
mixins: [mixinPage],
|
|
39396
39416
|
components: { columnSelect, columnEdit },
|
|
@@ -46624,10 +46644,10 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
46624
46644
|
value: "__Other"
|
|
46625
46645
|
}, {
|
|
46626
46646
|
default: withCtx(() => [
|
|
46627
|
-
createTextVNode(toDisplayString$1(_ctx.$t("Front_Label_Others")), 1)
|
|
46647
|
+
createTextVNode(toDisplayString$1(!!(column.pattern || "").trim() ? column.pattern : _ctx.$t("Front_Label_Others")), 1)
|
|
46628
46648
|
]),
|
|
46629
|
-
_:
|
|
46630
|
-
})
|
|
46649
|
+
_: 2
|
|
46650
|
+
}, 1024)
|
|
46631
46651
|
]),
|
|
46632
46652
|
_: 2
|
|
46633
46653
|
}, 1032, ["model-value", "onUpdate:modelValue", "disabled", "style", "placeholder", "onOnChange"]),
|