update
This commit is contained in:
parent
534ab507ee
commit
fe012b3ad4
@ -452,6 +452,7 @@ if ($act == 'newevent') {
|
|||||||
padding: 27px 0px !important;
|
padding: 27px 0px !important;
|
||||||
color:#474747 !important;
|
color:#474747 !important;
|
||||||
border: 0px !important;
|
border: 0px !important;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<div class='datarepair' id="datarepair" onclick="datarepair()">
|
<div class='datarepair' id="datarepair" onclick="datarepair()">
|
||||||
@ -486,8 +487,8 @@ if ($act == 'newevent') {
|
|||||||
|
|
||||||
<div id="chart" class="chartbox" style="width:100%;height:400px; margin-top:90px;"></div>
|
<div id="chart" class="chartbox" style="width:100%;height:400px; margin-top:90px;"></div>
|
||||||
|
|
||||||
<div class="card-body">
|
<div class="card-body" style="margin: 0 2% 0 3%;">
|
||||||
<table class="table table-bordered table-striped" style='border:0px !important'>
|
<table class="table table-bordered table-striped" style='border:1px solid #f0f0f0 !important; text-align:center;'>
|
||||||
<thead id="thead-title" class="thead" ></thead>
|
<thead id="thead-title" class="thead" ></thead>
|
||||||
<tbody id="tbody-content"></tbody>
|
<tbody id="tbody-content"></tbody>
|
||||||
</table>
|
</table>
|
||||||
@ -816,9 +817,23 @@ if ($act == 'newevent') {
|
|||||||
<script type="text/x-dot-template" id="tbody-dot">
|
<script type="text/x-dot-template" id="tbody-dot">
|
||||||
{{ for(var i in it) { }}
|
{{ for(var i in it) { }}
|
||||||
<tr>
|
<tr>
|
||||||
|
{{? i != 1}}
|
||||||
{{ for(var k in it[i]) { }}
|
{{ for(var k in it[i]) { }}
|
||||||
<td>{{= it[i][k]}}</td>
|
{{? k !=1}}
|
||||||
|
<td style="border-top: 1px solid #f0f0f0; color:#474747; padding: 25px 0; background-color:#fff; border-bottom:0px; border-left:0px; border-right:0px; ">{{= it[i][k]}}</td>
|
||||||
|
{{??}}
|
||||||
|
<td style="border-top: 1px solid #f0f0f0; color:#474747; padding: 25px 0; background-color:#fff; border-bottom:0px; border-left:0px; border-right:0px; color:#007efa !important;">{{= it[i][k]}}</td>
|
||||||
|
{{?}}
|
||||||
{{ } }}
|
{{ } }}
|
||||||
|
{{??}}
|
||||||
|
{{ for(var k in it[i]) { }}
|
||||||
|
{{? k !=1}}
|
||||||
|
<td style="border-top: 1px solid #f0f0f0; color:#474747; padding: 25px 0; background-color:#fafafa; border-bottom:0px; border-left:0px; border-right:0px; ">{{= it[i][k]}}</td>
|
||||||
|
{{??}}
|
||||||
|
<td style="border-top: 1px solid #f0f0f0; color:#474747; padding: 25px 0; background-color:#fafafa; border-bottom:0px; border-left:0px; border-right:0px; color:#007efa !important;">{{= it[i][k]}}</td>
|
||||||
|
{{?}}
|
||||||
|
{{ } }}
|
||||||
|
{{?}}
|
||||||
</tr>
|
</tr>
|
||||||
{{ } }}
|
{{ } }}
|
||||||
</script>
|
</script>
|
||||||
@ -1329,7 +1344,7 @@ if ($act == 'newevent') {
|
|||||||
toolbox: {
|
toolbox: {
|
||||||
show: true,
|
show: true,
|
||||||
orient: 'vertical',
|
orient: 'vertical',
|
||||||
left: 'right',
|
right: '1.5%',
|
||||||
top: 'center',
|
top: 'center',
|
||||||
feature: {
|
feature: {
|
||||||
mark: {show: true},
|
mark: {show: true},
|
||||||
@ -1340,7 +1355,10 @@ if ($act == 'newevent') {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
legend: {
|
legend: {
|
||||||
left: 10
|
left: '3%',
|
||||||
|
itemHeight: 11,
|
||||||
|
itemWidth: 6,
|
||||||
|
color:"#5f5f5f"
|
||||||
},
|
},
|
||||||
tooltip: {},
|
tooltip: {},
|
||||||
grid: {
|
grid: {
|
||||||
@ -1354,16 +1372,35 @@ if ($act == 'newevent') {
|
|||||||
dataset: {
|
dataset: {
|
||||||
source: chartsdata
|
source: chartsdata
|
||||||
},
|
},
|
||||||
xAxis: {type: 'category'},
|
xAxis: {
|
||||||
|
type: 'category',
|
||||||
|
axisLabel:{
|
||||||
|
show: true,
|
||||||
|
textStyle:{
|
||||||
|
color:"#bfbfbf"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
axisLine:{
|
||||||
|
lineStyle:{
|
||||||
|
color:'#bfbfbf',
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
yAxis: {
|
yAxis: {
|
||||||
|
axisLabel:{
|
||||||
|
textStyle:{
|
||||||
|
color:"#bfbfbf"
|
||||||
|
}
|
||||||
|
},
|
||||||
"axisLine": { //y轴
|
"axisLine": { //y轴
|
||||||
"show": true
|
"show": false
|
||||||
},
|
},
|
||||||
"axisTick": { //y轴刻度线
|
"axisTick": { //y轴刻度线
|
||||||
"show": true
|
"show": false
|
||||||
},
|
},
|
||||||
"splitLine": { //网格线
|
"splitLine": { //网格线
|
||||||
"show": false
|
"show": true,
|
||||||
|
'coloe': '#bfbfbf'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// Declare several bar series, each will be mapped
|
// Declare several bar series, each will be mapped
|
||||||
@ -1371,6 +1408,7 @@ if ($act == 'newevent') {
|
|||||||
series: [
|
series: [
|
||||||
{
|
{
|
||||||
type: 'bar',
|
type: 'bar',
|
||||||
|
barCategoryGap : 60,
|
||||||
itemStyle: {
|
itemStyle: {
|
||||||
normal: {
|
normal: {
|
||||||
label: {
|
label: {
|
||||||
@ -1379,7 +1417,7 @@ if ($act == 'newevent') {
|
|||||||
distance: 15,
|
distance: 15,
|
||||||
align: 'left',
|
align: 'left',
|
||||||
verticalAlign: 'middle',
|
verticalAlign: 'middle',
|
||||||
rotate: 90,
|
rotate: 1,
|
||||||
fontSize: 16,
|
fontSize: 16,
|
||||||
textStyle: { //数值样式
|
textStyle: { //数值样式
|
||||||
color: '#000',
|
color: '#000',
|
||||||
@ -1391,6 +1429,7 @@ if ($act == 'newevent') {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'bar',
|
type: 'bar',
|
||||||
|
barCategoryGap : 60,
|
||||||
itemStyle: {
|
itemStyle: {
|
||||||
normal: {
|
normal: {
|
||||||
label: {
|
label: {
|
||||||
@ -1399,7 +1438,7 @@ if ($act == 'newevent') {
|
|||||||
distance: 15,
|
distance: 15,
|
||||||
align: 'left',
|
align: 'left',
|
||||||
verticalAlign: 'middle',
|
verticalAlign: 'middle',
|
||||||
rotate: 90,
|
rotate: 1,
|
||||||
fontSize: 16,
|
fontSize: 16,
|
||||||
textStyle: { //数值样式
|
textStyle: { //数值样式
|
||||||
color: '#000',
|
color: '#000',
|
||||||
|
Loading…
Reference in New Issue
Block a user