|
|
|
@ -154,6 +154,7 @@ export class verifiedComponent implements OnInit {
|
|
|
|
|
|
|
|
|
|
ngOnInit(): void { |
|
|
|
|
window.setTimeout(()=>{ |
|
|
|
|
this.qipaotishi=this.echartsData.qipao(this.qipaotishi,this.ydata,this.xdata) |
|
|
|
|
this.oneInit() |
|
|
|
|
this.twoInit() |
|
|
|
|
},0) |
|
|
|
@ -169,6 +170,9 @@ export class verifiedComponent implements OnInit {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
oneEcharts:any; |
|
|
|
|
qipaotishi |
|
|
|
|
xdata=['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月','9月','10月','11月','12月'] |
|
|
|
|
ydata=[1170, 953, 1144, 799, 789, 773, 660, 998, 790, 1004, 1345, 1245] |
|
|
|
|
oneInit () { |
|
|
|
|
this.oneEcharts = echarts.init(document.getElementById('center'),'walden'); |
|
|
|
|
var option = { |
|
|
|
@ -203,8 +207,8 @@ export class verifiedComponent implements OnInit {
|
|
|
|
|
// x轴
|
|
|
|
|
xAxis: { |
|
|
|
|
type: 'category', |
|
|
|
|
boundaryGap:true, |
|
|
|
|
data: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月','9月','10月','11月','12月'], |
|
|
|
|
boundaryGap: false, |
|
|
|
|
axisLabel:{ |
|
|
|
|
textStyle:{ |
|
|
|
|
fontSize :18, |
|
|
|
@ -243,7 +247,13 @@ export class verifiedComponent implements OnInit {
|
|
|
|
|
series: [{ |
|
|
|
|
name: '单位预案编制数量', |
|
|
|
|
type: 'line', |
|
|
|
|
markPoint: { |
|
|
|
|
|
|
|
|
|
symbolSize:[65, 65], |
|
|
|
|
data: this.qipaotishi |
|
|
|
|
}, |
|
|
|
|
data: [1170, 953, 1144, 799, 789, 773, 660, 998, 790, 1004, 1345, 1245], |
|
|
|
|
clickable:false, |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
}; |
|
|
|
@ -410,31 +420,38 @@ export class notVerifiedComponent implements OnInit {
|
|
|
|
|
oneInit () { |
|
|
|
|
this.oneEcharts = echarts.init(document.getElementById('center'), 'skinUpp'); |
|
|
|
|
var option = { |
|
|
|
|
grid: { |
|
|
|
|
left:70 |
|
|
|
|
}, |
|
|
|
|
title: { |
|
|
|
|
text: '未核查', |
|
|
|
|
subtext: '总数剩余 5850', |
|
|
|
|
left: 'center', |
|
|
|
|
textStyle:{ |
|
|
|
|
color:'#000', |
|
|
|
|
fontSize: 22, |
|
|
|
|
fontSize: 30, |
|
|
|
|
}, |
|
|
|
|
subtextStyle: {color:'#999',}
|
|
|
|
|
subtextStyle: {color:'#999',fontSize: 15}
|
|
|
|
|
}, |
|
|
|
|
tooltip: { |
|
|
|
|
trigger: 'axis', |
|
|
|
|
formatter: (params)=>{ |
|
|
|
|
return this.echartsData.tableTooltip(this.echartsData.tableDataZhi,'未核查') |
|
|
|
|
}, |
|
|
|
|
position:this.echartsData.tableTooltipNoShow |
|
|
|
|
}/* , |
|
|
|
|
position:this.echartsData.tableTooltipNoShow */ |
|
|
|
|
}, |
|
|
|
|
legend: { |
|
|
|
|
data: ['剩余未核查','总数'], |
|
|
|
|
textStyle: { color: '#000' } |
|
|
|
|
textStyle: { color: '#000',fontSize: 18} |
|
|
|
|
}, |
|
|
|
|
xAxis: { |
|
|
|
|
type: 'value', |
|
|
|
|
boundaryGap: [0, 0.01], |
|
|
|
|
axisLabel: { |
|
|
|
|
textStyle:{ |
|
|
|
|
fontSize :15, |
|
|
|
|
color:'#000000' |
|
|
|
|
}, |
|
|
|
|
color: "#000", //刻度线标签颜色
|
|
|
|
|
}, |
|
|
|
|
//设置坐标轴字体颜色和宽度
|
|
|
|
@ -449,10 +466,14 @@ export class notVerifiedComponent implements OnInit {
|
|
|
|
|
lineStyle: {color: "#000"}, |
|
|
|
|
}, |
|
|
|
|
axisLabel: { |
|
|
|
|
textStyle:{ |
|
|
|
|
fontSize :15, |
|
|
|
|
color:'#000000' |
|
|
|
|
}, |
|
|
|
|
color: "#000", //刻度线标签颜色
|
|
|
|
|
formatter: '{value}' |
|
|
|
|
}, |
|
|
|
|
data: ['浦东支队','黄浦支队','徐汇支队','长宁支队','静安支队','普陀支队','虹口支队','杨浦支队','闵行支队','宝山支队','嘉定支队','崇明支队','金山支队'], |
|
|
|
|
data: ['浦东中队','黄浦中队','徐汇中队','长宁中队','静安中队','普陀中队','虹口中队','杨浦中队','闵行中队','宝山中队','嘉定中队','崇明中队','金山中队'], |
|
|
|
|
}, |
|
|
|
|
series: [ |
|
|
|
|
{ |
|
|
|
@ -554,7 +575,7 @@ export class detailedInformationComponent implements OnInit {
|
|
|
|
|
lineStyle: {color: "#000",} |
|
|
|
|
}, |
|
|
|
|
type: 'category', |
|
|
|
|
data: ['浦东支队','黄浦支队','徐汇支队','长宁支队','静安支队','普陀支队','虹口支队','杨浦支队','闵行支队','宝山支队','嘉定支队','崇明支队','金山支队'], |
|
|
|
|
data: ['浦东中队','黄浦中队','徐汇中队','长宁中队','静安中队','普陀中队','虹口中队','杨浦中队','闵行中队','宝山中队','嘉定中队','崇明中队','金山中队'], |
|
|
|
|
axisPointer: {type: 'shadow'} |
|
|
|
|
}], |
|
|
|
|
yAxis: [ |
|
|
|
@ -579,6 +600,7 @@ export class detailedInformationComponent implements OnInit {
|
|
|
|
|
name: '已核查无需修改', |
|
|
|
|
type: 'bar', |
|
|
|
|
stack: '总数', |
|
|
|
|
barWidth :'38', |
|
|
|
|
data: [68, 56, 69, 57, 43, 79, 78, 66, 49, 34, 49, 78, 45], |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
@ -621,28 +643,38 @@ export class detailedInformationComponent implements OnInit {
|
|
|
|
|
this.example.setOption(option); |
|
|
|
|
} else { //未核查
|
|
|
|
|
var options = { |
|
|
|
|
grid: { |
|
|
|
|
left:90 |
|
|
|
|
}, |
|
|
|
|
title: { |
|
|
|
|
text: this.echartsData.scheduledUpdatesName, |
|
|
|
|
left: 'center', |
|
|
|
|
textStyle:{ |
|
|
|
|
color:'#000', |
|
|
|
|
fontSize: 18, |
|
|
|
|
fontSize: 30, |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
tooltip: { |
|
|
|
|
trigger: 'axis', |
|
|
|
|
textStyle:{ |
|
|
|
|
fontSize: 18 |
|
|
|
|
}, |
|
|
|
|
axisPointer: { |
|
|
|
|
type: 'shadow' |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
legend: { |
|
|
|
|
data: ['剩余未核查','总数'], |
|
|
|
|
textStyle: { color: '#000' } |
|
|
|
|
textStyle: { color: '#000',fontSize: 16 } |
|
|
|
|
}, |
|
|
|
|
xAxis: { |
|
|
|
|
type: 'value', |
|
|
|
|
boundaryGap: [0, 0.01], |
|
|
|
|
axisLabel: { |
|
|
|
|
textStyle:{ |
|
|
|
|
fontSize :18, |
|
|
|
|
color:'#000000' |
|
|
|
|
}, |
|
|
|
|
color: "#000", //刻度线标签颜色
|
|
|
|
|
}, |
|
|
|
|
//设置坐标轴字体颜色和宽度
|
|
|
|
@ -657,6 +689,10 @@ export class detailedInformationComponent implements OnInit {
|
|
|
|
|
lineStyle: {color: "#000"}, |
|
|
|
|
}, |
|
|
|
|
axisLabel: { |
|
|
|
|
textStyle:{ |
|
|
|
|
fontSize :18, |
|
|
|
|
color:'#000000' |
|
|
|
|
}, |
|
|
|
|
color: "#000", //刻度线标签颜色
|
|
|
|
|
formatter: '{value}' |
|
|
|
|
}, |
|
|
|
|