mooho-base-admin-plus 2.0.11 → 2.0.13
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/package/mooho-base-admin-plus.min.esm.js +117 -5
- package/package/mooho-base-admin-plus.min.js +45 -45
- package/package.json +1 -1
- package/src/components/view/column-edit.vue +18 -1
- package/src/components/view/filter-edit.vue +18 -1
- package/src/components/view/view-form.vue +1 -1
- package/src/components/view/view-table.vue +3 -3
|
@@ -29986,6 +29986,9 @@ const _sfc_main$T = {
|
|
|
29986
29986
|
"type.code": "[" + this.data.dictTypeCode + "]",
|
|
29987
29987
|
isDisabled: "[false]"
|
|
29988
29988
|
});
|
|
29989
|
+
},
|
|
29990
|
+
async selectDefault(name) {
|
|
29991
|
+
this.data.defaultValue = "{" + name + "}";
|
|
29989
29992
|
}
|
|
29990
29993
|
}
|
|
29991
29994
|
};
|
|
@@ -30011,6 +30014,10 @@ function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
30011
30014
|
const _component_Select = resolveComponent("Select");
|
|
30012
30015
|
const _component_Switch = resolveComponent("Switch");
|
|
30013
30016
|
const _component_dialog_select = resolveComponent("dialog-select");
|
|
30017
|
+
const _component_Icon = resolveComponent("Icon");
|
|
30018
|
+
const _component_DropdownItem = resolveComponent("DropdownItem");
|
|
30019
|
+
const _component_DropdownMenu = resolveComponent("DropdownMenu");
|
|
30020
|
+
const _component_Dropdown = resolveComponent("Dropdown");
|
|
30014
30021
|
const _component_Row = resolveComponent("Row");
|
|
30015
30022
|
const _component_Form = resolveComponent("Form");
|
|
30016
30023
|
const _component_Modal = resolveComponent("Modal");
|
|
@@ -30589,8 +30596,57 @@ function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
30589
30596
|
type: "text",
|
|
30590
30597
|
modelValue: $data.data.defaultValue,
|
|
30591
30598
|
"onUpdate:modelValue": _cache[27] || (_cache[27] = ($event) => $data.data.defaultValue = $event),
|
|
30592
|
-
maxlength: "200"
|
|
30593
|
-
|
|
30599
|
+
maxlength: "200",
|
|
30600
|
+
style: { "width": "150px" }
|
|
30601
|
+
}, null, 8, ["modelValue"]),
|
|
30602
|
+
createVNode$1(_component_Dropdown, {
|
|
30603
|
+
style: { "margin-left": "8px" },
|
|
30604
|
+
onOnClick: $options.selectDefault
|
|
30605
|
+
}, {
|
|
30606
|
+
list: withCtx(() => [
|
|
30607
|
+
createVNode$1(_component_DropdownMenu, null, {
|
|
30608
|
+
default: withCtx(() => [
|
|
30609
|
+
createVNode$1(_component_DropdownItem, { name: "today" }, {
|
|
30610
|
+
default: withCtx(() => [
|
|
30611
|
+
createTextVNode("\u5F53\u524D\u65E5\u671F")
|
|
30612
|
+
]),
|
|
30613
|
+
_: 1
|
|
30614
|
+
}),
|
|
30615
|
+
createVNode$1(_component_DropdownItem, { name: "today(yyyy-MM-dd)" }, {
|
|
30616
|
+
default: withCtx(() => [
|
|
30617
|
+
createTextVNode("\u683C\u5F0F\u5316\u5F53\u524D\u65E5\u671F")
|
|
30618
|
+
]),
|
|
30619
|
+
_: 1
|
|
30620
|
+
}),
|
|
30621
|
+
createVNode$1(_component_DropdownItem, { name: "currentUser" }, {
|
|
30622
|
+
default: withCtx(() => [
|
|
30623
|
+
createTextVNode("\u5F53\u524D\u7528\u6237ID")
|
|
30624
|
+
]),
|
|
30625
|
+
_: 1
|
|
30626
|
+
}),
|
|
30627
|
+
createVNode$1(_component_DropdownItem, { name: "currentUserName" }, {
|
|
30628
|
+
default: withCtx(() => [
|
|
30629
|
+
createTextVNode("\u5F53\u524D\u7528\u6237\u59D3\u540D")
|
|
30630
|
+
]),
|
|
30631
|
+
_: 1
|
|
30632
|
+
})
|
|
30633
|
+
]),
|
|
30634
|
+
_: 1
|
|
30635
|
+
})
|
|
30636
|
+
]),
|
|
30637
|
+
default: withCtx(() => [
|
|
30638
|
+
createVNode$1(_component_Button, {
|
|
30639
|
+
type: "primary",
|
|
30640
|
+
size: "small"
|
|
30641
|
+
}, {
|
|
30642
|
+
default: withCtx(() => [
|
|
30643
|
+
createVNode$1(_component_Icon, { type: "ios-arrow-down" })
|
|
30644
|
+
]),
|
|
30645
|
+
_: 1
|
|
30646
|
+
})
|
|
30647
|
+
]),
|
|
30648
|
+
_: 1
|
|
30649
|
+
}, 8, ["onOnClick"])
|
|
30594
30650
|
]),
|
|
30595
30651
|
_: 1
|
|
30596
30652
|
})
|
|
@@ -37014,6 +37070,9 @@ const _sfc_main$v = {
|
|
|
37014
37070
|
"type.code": "[" + this.data.dictTypeCode + "]",
|
|
37015
37071
|
isDisabled: "[false]"
|
|
37016
37072
|
});
|
|
37073
|
+
},
|
|
37074
|
+
async selectDefault(name) {
|
|
37075
|
+
this.data.defaultValue = "{" + name + "}";
|
|
37017
37076
|
}
|
|
37018
37077
|
}
|
|
37019
37078
|
};
|
|
@@ -37039,6 +37098,10 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37039
37098
|
const _component_Radio = resolveComponent("Radio");
|
|
37040
37099
|
const _component_RadioGroup = resolveComponent("RadioGroup");
|
|
37041
37100
|
const _component_dialog_select = resolveComponent("dialog-select");
|
|
37101
|
+
const _component_Icon = resolveComponent("Icon");
|
|
37102
|
+
const _component_DropdownItem = resolveComponent("DropdownItem");
|
|
37103
|
+
const _component_DropdownMenu = resolveComponent("DropdownMenu");
|
|
37104
|
+
const _component_Dropdown = resolveComponent("Dropdown");
|
|
37042
37105
|
const _component_Row = resolveComponent("Row");
|
|
37043
37106
|
const _component_Form = resolveComponent("Form");
|
|
37044
37107
|
const _component_Modal = resolveComponent("Modal");
|
|
@@ -37828,8 +37891,57 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37828
37891
|
type: "text",
|
|
37829
37892
|
modelValue: $data.data.defaultValue,
|
|
37830
37893
|
"onUpdate:modelValue": _cache[39] || (_cache[39] = ($event) => $data.data.defaultValue = $event),
|
|
37831
|
-
maxlength: "200"
|
|
37832
|
-
|
|
37894
|
+
maxlength: "200",
|
|
37895
|
+
style: { "width": "150px" }
|
|
37896
|
+
}, null, 8, ["modelValue"]),
|
|
37897
|
+
createVNode$1(_component_Dropdown, {
|
|
37898
|
+
style: { "margin-left": "8px" },
|
|
37899
|
+
onOnClick: $options.selectDefault
|
|
37900
|
+
}, {
|
|
37901
|
+
list: withCtx(() => [
|
|
37902
|
+
createVNode$1(_component_DropdownMenu, null, {
|
|
37903
|
+
default: withCtx(() => [
|
|
37904
|
+
createVNode$1(_component_DropdownItem, { name: "today" }, {
|
|
37905
|
+
default: withCtx(() => [
|
|
37906
|
+
createTextVNode("\u5F53\u524D\u65E5\u671F")
|
|
37907
|
+
]),
|
|
37908
|
+
_: 1
|
|
37909
|
+
}),
|
|
37910
|
+
createVNode$1(_component_DropdownItem, { name: "today(yyyy-MM-dd)" }, {
|
|
37911
|
+
default: withCtx(() => [
|
|
37912
|
+
createTextVNode("\u683C\u5F0F\u5316\u5F53\u524D\u65E5\u671F")
|
|
37913
|
+
]),
|
|
37914
|
+
_: 1
|
|
37915
|
+
}),
|
|
37916
|
+
createVNode$1(_component_DropdownItem, { name: "currentUser" }, {
|
|
37917
|
+
default: withCtx(() => [
|
|
37918
|
+
createTextVNode("\u5F53\u524D\u7528\u6237ID")
|
|
37919
|
+
]),
|
|
37920
|
+
_: 1
|
|
37921
|
+
}),
|
|
37922
|
+
createVNode$1(_component_DropdownItem, { name: "currentUserName" }, {
|
|
37923
|
+
default: withCtx(() => [
|
|
37924
|
+
createTextVNode("\u5F53\u524D\u7528\u6237\u59D3\u540D")
|
|
37925
|
+
]),
|
|
37926
|
+
_: 1
|
|
37927
|
+
})
|
|
37928
|
+
]),
|
|
37929
|
+
_: 1
|
|
37930
|
+
})
|
|
37931
|
+
]),
|
|
37932
|
+
default: withCtx(() => [
|
|
37933
|
+
createVNode$1(_component_Button, {
|
|
37934
|
+
type: "primary",
|
|
37935
|
+
size: "small"
|
|
37936
|
+
}, {
|
|
37937
|
+
default: withCtx(() => [
|
|
37938
|
+
createVNode$1(_component_Icon, { type: "ios-arrow-down" })
|
|
37939
|
+
]),
|
|
37940
|
+
_: 1
|
|
37941
|
+
})
|
|
37942
|
+
]),
|
|
37943
|
+
_: 1
|
|
37944
|
+
}, 8, ["onOnClick"])
|
|
37833
37945
|
]),
|
|
37834
37946
|
_: 1
|
|
37835
37947
|
})
|
|
@@ -41483,8 +41595,8 @@ const _sfc_main$q = {
|
|
|
41483
41595
|
},
|
|
41484
41596
|
onDataChange(data2, sender, selected) {
|
|
41485
41597
|
this.setShowStatus(data2);
|
|
41486
|
-
this.$emit("on-change", data2, sender, selected);
|
|
41487
41598
|
this.calc(data2, sender);
|
|
41599
|
+
this.$emit("on-change", data2, sender, selected);
|
|
41488
41600
|
if (sender == null || sender.triggers !== []) {
|
|
41489
41601
|
this.columns.forEach(function(column) {
|
|
41490
41602
|
if (!column.isStaticItem && !!(column.source || "").trim() && (sender == null || sender.triggers.some((item) => {
|