修改报表

This commit is contained in:
Anyon 2021-04-10 03:37:58 +08:00
parent 48d5709fd1
commit 9658d4a665
5 changed files with 8 additions and 12 deletions

View File

@ -10,7 +10,7 @@
<!--{/if}-->
<!--{if auth("clean")}-->
<button data-queue='{:url("clean")}' class='layui-btn layui-btn-sm layui-btn-primary'>定时维护清理</button>
<button data-queue='{:url("clean")}' class='layui-btn layui-btn-sm layui-btn-primary'>定时清理数据</button>
<!--{/if}-->
<!--{if auth("remove")}-->

View File

@ -138,19 +138,14 @@
});
chart2.setOption({
title: {text: '用户等级分布统计', left: 'center'},
legend: {orient: 'vertical', left: 'left'},
tooltip: {trigger: 'item', formatter: '{a} <br/>{b} : {c} 人 ( {d}% )'},
legend: {
type: 'scroll', orient: 'vertical', right: 10, top: 20, bottom: 20, data: data2.map(function (item) {
return item.title;
})
},
grid: [{'top': '30%'}],
series: [
{
name: '等级',
name: '用户等级',
type: 'pie',
radius: '55%',
center: ['40%', '50%'],
radius: '60%',
center: ['50%', '55%'],
data: data2.map(function (item) {
return {name: item.name, value: item.count}
}),

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -24,6 +24,7 @@ fieldset {
border-top-right-radius: @boxBorderRadius;
> li:first-child {
padding:0 15px 0 17px;
margin-left: 0 !important;
border-top-left-radius: @boxBorderRadius;