|
|
|
@ -26,9 +26,11 @@
|
|
|
|
|
<div class="echart">
|
|
|
|
|
<div class="children_echarts left_echarts">
|
|
|
|
|
<div id="leftMain" style="width: 800px;height:310px"></div>
|
|
|
|
|
<h2 style="text-align: center;margin-top: -14px;font-weight: bold">自行制作</h2>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="children_echarts right_echarts">
|
|
|
|
|
<div id="rightMain" style="width: 500px;height:300px"></div>
|
|
|
|
|
<h2 style="text-align: center;margin-top: -7px;font-weight: bold">上级下发</h2>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-12 search-collapse">
|
|
|
|
@ -193,21 +195,25 @@
|
|
|
|
|
if (response.data.code == web_status.SUCCESS){
|
|
|
|
|
myChart.setOption({
|
|
|
|
|
title: {
|
|
|
|
|
text: '载体类型统计'
|
|
|
|
|
text: '载体数量'
|
|
|
|
|
},
|
|
|
|
|
tooltip: {},
|
|
|
|
|
legend: {
|
|
|
|
|
data:['载体类型']
|
|
|
|
|
data:['数量']
|
|
|
|
|
},
|
|
|
|
|
xAxis: {
|
|
|
|
|
data: response.data.data.xAxisData,
|
|
|
|
|
axisLabel: {
|
|
|
|
|
rotate: 45, // 旋转标签的角度
|
|
|
|
|
margin: 10, // 标签与坐标轴的间距
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
yAxis: {
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
series: [
|
|
|
|
|
{
|
|
|
|
|
name: '载体类型',
|
|
|
|
|
name: '数量',
|
|
|
|
|
type: 'bar',
|
|
|
|
|
data: response.data.data.yAxisData,
|
|
|
|
|
itemStyle: {
|
|
|
|
@ -224,13 +230,13 @@
|
|
|
|
|
if (response.data.code == web_status.SUCCESS){
|
|
|
|
|
rightMain.setOption({
|
|
|
|
|
title: {
|
|
|
|
|
text: '载体密级统计'
|
|
|
|
|
text: '载体数量'
|
|
|
|
|
},
|
|
|
|
|
tooltip: {},
|
|
|
|
|
legend: {
|
|
|
|
|
orient: 'vertical',
|
|
|
|
|
x: 'right',
|
|
|
|
|
data: ['秘密', '机密', '绝密']
|
|
|
|
|
data: response.data.data,
|
|
|
|
|
},
|
|
|
|
|
series: [
|
|
|
|
|
{
|
|
|
|
|