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
package/dist/setting.js
CHANGED
package/package.json
CHANGED
package/public/setting.js
CHANGED
|
@@ -63,8 +63,6 @@
|
|
|
63
63
|
let objProperty = groupColumn.property.substr(0, groupColumn.property.length - 2);
|
|
64
64
|
let node = findNode(nodes, objColumnExp);
|
|
65
65
|
|
|
66
|
-
console.log('xxx', objColumnExp, objProperty);
|
|
67
|
-
|
|
68
66
|
if (node != null) {
|
|
69
67
|
// 找到外键节点
|
|
70
68
|
results.push({
|
|
@@ -193,8 +191,6 @@
|
|
|
193
191
|
title: groupMethod.aggregateType + (groupMethod.aggregateType == 'Count' ? '' : ' - ' + groupMethod.columnExp) + ' (' + groupMethod.property + ')'
|
|
194
192
|
// children: convertList(item.columns, columns, isGroupBy, groupColumns)
|
|
195
193
|
});
|
|
196
|
-
|
|
197
|
-
console.log('aaa', this.data);
|
|
198
194
|
});
|
|
199
195
|
} else {
|
|
200
196
|
// 数据源
|
|
@@ -431,7 +431,7 @@
|
|
|
431
431
|
option.series = chartSeries.map((item, index) => {
|
|
432
432
|
return {
|
|
433
433
|
type: 'pie',
|
|
434
|
-
radius: (this.setting.chartItemWidth == null ? 70 : this.setting.chartItemWidth)
|
|
434
|
+
radius: (this.setting.chartItemWidth == null ? 70 : this.setting.chartItemWidth) / count,
|
|
435
435
|
center: [(100 / (count + 1)) * (index + 1) + '%', '50%'],
|
|
436
436
|
datasetIndex: index,
|
|
437
437
|
data: this.data.map(data => {
|
package/src/index.js
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
:class="{
|
|
11
11
|
'i-layout-menu-side-title-text-selected': selected,
|
|
12
12
|
'i-layout-menu-side-title-text-with-subtitle':
|
|
13
|
-
(layout.showI18n && !!($t('Permission_' + menu.code + '_SubName') || '').trim()) || (!layout.showI18n && !!(menu.
|
|
13
|
+
(layout.showI18n && !!($t('Permission_' + menu.code + '_SubName') || '').trim()) || (!layout.showI18n && !!(menu.subTitle || '').trim()),
|
|
14
14
|
'i-layout-menu-side-title-text-with-icon': withIcon
|
|
15
15
|
}"
|
|
16
16
|
v-if="!hideTitle"
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
</template>
|
|
15
15
|
<div class="ivu-ml-8 ivu-mr-8">
|
|
16
16
|
<view-form v-if="!isCustom" ref="form" :readonly="readonly"></view-form>
|
|
17
|
-
<component v-if="isCustom" ref="customComponent" :is="customComponent" :readonly="readonly"></component>
|
|
17
|
+
<component v-if="isCustom" ref="customComponent" :is="customComponent" :readonly="readonly" @on-ready="customComponentReady"></component>
|
|
18
18
|
</div>
|
|
19
19
|
<template #footer>
|
|
20
20
|
<div>
|
|
@@ -142,11 +142,11 @@
|
|
|
142
142
|
this.form.clearValidate();
|
|
143
143
|
this.readonly = !this.task.activityInst.activity.isEditable;
|
|
144
144
|
|
|
145
|
-
if (this.form.formView) {
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
}
|
|
145
|
+
// if (this.form.formView) {
|
|
146
|
+
// this.width = this.form.formView.width || '800';
|
|
147
|
+
// this.name = this.form.formView.name;
|
|
148
|
+
// this.description = this.form.formView.description;
|
|
149
|
+
// }
|
|
150
150
|
|
|
151
151
|
this.opened = true;
|
|
152
152
|
});
|
|
@@ -192,11 +192,11 @@
|
|
|
192
192
|
this.form.clearValidate();
|
|
193
193
|
this.readonly = !this.task.activityInst.activity.isEditable;
|
|
194
194
|
|
|
195
|
-
if (this.form.formView) {
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
}
|
|
195
|
+
// if (this.form.formView) {
|
|
196
|
+
// this.width = this.form.formView.width || '800';
|
|
197
|
+
// this.name = this.form.formView.name;
|
|
198
|
+
// this.description = this.form.formView.description;
|
|
199
|
+
// }
|
|
200
200
|
|
|
201
201
|
this.opened = true;
|
|
202
202
|
});
|
|
@@ -230,6 +230,12 @@
|
|
|
230
230
|
this.outcomes = res.data;
|
|
231
231
|
});
|
|
232
232
|
},
|
|
233
|
+
// 自定义组件就绪
|
|
234
|
+
customComponentReady(formView) {
|
|
235
|
+
this.width = formView.width || '800';
|
|
236
|
+
this.name = formView.name;
|
|
237
|
+
this.description = formView.description;
|
|
238
|
+
},
|
|
233
239
|
// 执行结果
|
|
234
240
|
async action(outcome) {
|
|
235
241
|
let isOK = await this.form.validate();
|
|
@@ -49,7 +49,7 @@ function convertMenu(source) {
|
|
|
49
49
|
path: reg.test(item.url) ? item.url : '/' + item.url.split('?')[0],
|
|
50
50
|
code: item.url,
|
|
51
51
|
title: item.name,
|
|
52
|
-
|
|
52
|
+
subTitle: item.subName,
|
|
53
53
|
target: item.isNewWindow ? '_blank' : null,
|
|
54
54
|
header: 'home',
|
|
55
55
|
custom: item.icon,
|