mooho-base-admin-plus 0.4.57 → 0.4.59
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 +11 -17
- package/dist/mooho-base-admin-plus.min.js +3 -3
- package/dist/setting.js +1 -1
- package/package.json +1 -1
- package/public/setting.js +1 -1
- package/src/components/view/column-check.vue +0 -4
- package/src/components/view/view-chart.vue +1 -1
- package/src/index.js +0 -1
- package/src/layouts/basic-layout/menu-side/menu-title.vue +1 -1
- package/src/pages/common/task-form.vue +17 -11
- package/src/store/modules/admin/modules/menu.js +1 -1
|
@@ -18430,7 +18430,7 @@ function convertMenu(source2) {
|
|
|
18430
18430
|
path: reg.test(item.url) ? item.url : "/" + item.url.split("?")[0],
|
|
18431
18431
|
code: item.url,
|
|
18432
18432
|
title: item.name,
|
|
18433
|
-
|
|
18433
|
+
subTitle: item.subName,
|
|
18434
18434
|
target: item.isNewWindow ? "_blank" : null,
|
|
18435
18435
|
header: "home",
|
|
18436
18436
|
custom: item.icon,
|
|
@@ -20938,11 +20938,6 @@ const _sfc_main$1l = {
|
|
|
20938
20938
|
this.form.onDataChange();
|
|
20939
20939
|
this.form.clearValidate();
|
|
20940
20940
|
this.readonly = !this.task.activityInst.activity.isEditable;
|
|
20941
|
-
if (this.form.formView) {
|
|
20942
|
-
this.width = this.form.formView.width || "800";
|
|
20943
|
-
this.name = this.form.formView.name;
|
|
20944
|
-
this.description = this.form.formView.description;
|
|
20945
|
-
}
|
|
20946
20941
|
this.opened = true;
|
|
20947
20942
|
});
|
|
20948
20943
|
} else if (this.task.activityInst.activity.pageMode == "Form") {
|
|
@@ -20981,11 +20976,6 @@ const _sfc_main$1l = {
|
|
|
20981
20976
|
this.form.onDataChange();
|
|
20982
20977
|
this.form.clearValidate();
|
|
20983
20978
|
this.readonly = !this.task.activityInst.activity.isEditable;
|
|
20984
|
-
if (this.form.formView) {
|
|
20985
|
-
this.width = this.form.formView.width || "800";
|
|
20986
|
-
this.name = this.form.formView.name;
|
|
20987
|
-
this.description = this.form.formView.description;
|
|
20988
|
-
}
|
|
20989
20979
|
this.opened = true;
|
|
20990
20980
|
});
|
|
20991
20981
|
} else if (applicationType2.pageMode == "Form") {
|
|
@@ -21015,6 +21005,11 @@ const _sfc_main$1l = {
|
|
|
21015
21005
|
this.outcomes = res2.data;
|
|
21016
21006
|
});
|
|
21017
21007
|
},
|
|
21008
|
+
customComponentReady(formView2) {
|
|
21009
|
+
this.width = formView2.width || "800";
|
|
21010
|
+
this.name = formView2.name;
|
|
21011
|
+
this.description = formView2.description;
|
|
21012
|
+
},
|
|
21018
21013
|
async action(outcome) {
|
|
21019
21014
|
let isOK = await this.form.validate();
|
|
21020
21015
|
if (!isOK) {
|
|
@@ -21245,8 +21240,9 @@ function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
21245
21240
|
$data.isCustom ? (openBlock(), createBlock(resolveDynamicComponent($data.customComponent), {
|
|
21246
21241
|
key: 1,
|
|
21247
21242
|
ref: "customComponent",
|
|
21248
|
-
readonly: $data.readonly
|
|
21249
|
-
|
|
21243
|
+
readonly: $data.readonly,
|
|
21244
|
+
onOnReady: $options.customComponentReady
|
|
21245
|
+
}, null, 40, ["readonly", "onOnReady"])) : createCommentVNode("", true)
|
|
21250
21246
|
])
|
|
21251
21247
|
]),
|
|
21252
21248
|
_: 3
|
|
@@ -21608,7 +21604,6 @@ var convertGroup$1 = (nodes, groupColumns) => {
|
|
|
21608
21604
|
let objColumnExp = groupColumn2.columnExp.substr(0, groupColumn2.columnExp.length - 2);
|
|
21609
21605
|
let objProperty = groupColumn2.property.substr(0, groupColumn2.property.length - 2);
|
|
21610
21606
|
let node = findNode$1(nodes, objColumnExp);
|
|
21611
|
-
console.log("xxx", objColumnExp, objProperty);
|
|
21612
21607
|
if (node != null) {
|
|
21613
21608
|
results.push({
|
|
21614
21609
|
column: {
|
|
@@ -21708,7 +21703,6 @@ const _sfc_main$1i = {
|
|
|
21708
21703
|
},
|
|
21709
21704
|
title: groupMethod2.aggregateType + (groupMethod2.aggregateType == "Count" ? "" : " - " + groupMethod2.columnExp) + " (" + groupMethod2.property + ")"
|
|
21710
21705
|
});
|
|
21711
|
-
console.log("aaa", this.data);
|
|
21712
21706
|
});
|
|
21713
21707
|
} else {
|
|
21714
21708
|
let res2 = await dataViewApi.queryColumnByDataSource(dataView2.dataSource);
|
|
@@ -30626,7 +30620,7 @@ const _sfc_main$J = {
|
|
|
30626
30620
|
option2.series = chartSeries.map((item, index2) => {
|
|
30627
30621
|
return {
|
|
30628
30622
|
type: "pie",
|
|
30629
|
-
radius: (this.setting.chartItemWidth == null ? 70 : this.setting.chartItemWidth)
|
|
30623
|
+
radius: (this.setting.chartItemWidth == null ? 70 : this.setting.chartItemWidth) / count2,
|
|
30630
30624
|
center: [100 / (count2 + 1) * (index2 + 1) + "%", "50%"],
|
|
30631
30625
|
datasetIndex: index2,
|
|
30632
30626
|
data: this.data.map((data3) => {
|
|
@@ -48565,7 +48559,7 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
48565
48559
|
key: 1,
|
|
48566
48560
|
class: normalizeClass(["i-layout-menu-side-title-text", {
|
|
48567
48561
|
"i-layout-menu-side-title-text-selected": $props.selected,
|
|
48568
|
-
"i-layout-menu-side-title-text-with-subtitle": _ctx.layout.showI18n && !!(_ctx.$t("Permission_" + $props.menu.code + "_SubName") || "").trim() || !_ctx.layout.showI18n && !!($props.menu.
|
|
48562
|
+
"i-layout-menu-side-title-text-with-subtitle": _ctx.layout.showI18n && !!(_ctx.$t("Permission_" + $props.menu.code + "_SubName") || "").trim() || !_ctx.layout.showI18n && !!($props.menu.subTitle || "").trim(),
|
|
48569
48563
|
"i-layout-menu-side-title-text-with-icon": $options.withIcon
|
|
48570
48564
|
}])
|
|
48571
48565
|
}, [
|