|
|
|
@ -58,7 +58,7 @@ export class ScheduledUpdatesComponent implements OnInit {
|
|
|
|
|
this.example= echarts.init(document.getElementById(pieid),'walden'); |
|
|
|
|
var options={ |
|
|
|
|
title: { |
|
|
|
|
text: pieid=="pie"?'已维护统计(7100家)':'计划维护统计(7100家)', |
|
|
|
|
text: pieid=="pie"?'已维护统计(0家)':'计划维护统计(0家)', |
|
|
|
|
top: "3%", |
|
|
|
|
left: 'center', |
|
|
|
|
textStyle:{ |
|
|
|
@ -103,13 +103,13 @@ export class ScheduledUpdatesComponent implements OnInit {
|
|
|
|
|
}, |
|
|
|
|
}}, |
|
|
|
|
data:pieid=="pie"? [ |
|
|
|
|
{value: 2000, name: '维护无需修改'}, |
|
|
|
|
{value: 2500, name: '维护修改',itemStyle:{color:'#02A7F0'}}, |
|
|
|
|
{value: 1900, name: '维护删除',itemStyle:{color:'#87cebb'}}, |
|
|
|
|
{value: 0, name: '维护无需修改'}, |
|
|
|
|
{value: 0, name: '维护修改',itemStyle:{color:'#02A7F0'}}, |
|
|
|
|
{value: 0, name: '维护删除',itemStyle:{color:'#87cebb'}}, |
|
|
|
|
]:[ |
|
|
|
|
{value: 2000, name: '未维护'}, |
|
|
|
|
{value: 2500, name: '维护通过审核',itemStyle:{color:'#02A7F0'}}, |
|
|
|
|
{value: 1900, name: '维护中',itemStyle:{color:'#87cebb'}}, |
|
|
|
|
{value: 0, name: '未维护'}, |
|
|
|
|
{value: 0, name: '维护通过审核',itemStyle:{color:'#02A7F0'}}, |
|
|
|
|
{value: 0, name: '维护中',itemStyle:{color:'#87cebb'}}, |
|
|
|
|
], |
|
|
|
|
emphasis: { |
|
|
|
|
itemStyle: { |
|
|
|
@ -345,9 +345,9 @@ export class verifiedComponent implements OnInit {
|
|
|
|
|
oneEcharts:any; |
|
|
|
|
qipaotishi |
|
|
|
|
xdatayue=['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月','9月','10月','11月','12月'] |
|
|
|
|
ydatayue=[1170, 953, 1144, 799, 789, 773, 660, 998, 790, 1004, 1345, 1345] |
|
|
|
|
ydatayue=[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] |
|
|
|
|
xdataYear=['2020','2021'] |
|
|
|
|
ydataYear=['2','5'] |
|
|
|
|
ydataYear=['0','0'] |
|
|
|
|
//提示框表格
|
|
|
|
|
tableTooltip(dataArr,title:string){ |
|
|
|
|
let data = dataArr |
|
|
|
@ -386,7 +386,7 @@ export class verifiedComponent implements OnInit {
|
|
|
|
|
}, |
|
|
|
|
// 标题
|
|
|
|
|
title: { |
|
|
|
|
text: '已核查'+'总数:(1024)', |
|
|
|
|
text: '已核查'+'总数:(0)', |
|
|
|
|
top: -4, |
|
|
|
|
left: 'center', |
|
|
|
|
textStyle:{ |
|
|
|
@ -402,7 +402,7 @@ export class verifiedComponent implements OnInit {
|
|
|
|
|
borderWidth:'1', |
|
|
|
|
borderRadius :'0', */ |
|
|
|
|
formatter: (params)=>{ |
|
|
|
|
return this.echartsData.zhiorBuinding=="zhi"?this.tableTooltip(this.echartsData.tableDataZhi,params[0].name):this.tableTooltip(this.echartsData.buildingType,params[0].name) |
|
|
|
|
return this.echartsData.zhiorBuinding=="zhi"?this.echartsData.tableTooltip(this.echartsData.tableDataZhi,params[0].name):this.echartsData.tableTooltip(this.echartsData.buildingType,params[0].name) |
|
|
|
|
}, |
|
|
|
|
position:this.echartsData.tableTooltipNoShow2 |
|
|
|
|
}, |
|
|
|
@ -650,7 +650,7 @@ export class notVerifiedComponent implements OnInit {
|
|
|
|
|
}, |
|
|
|
|
title: { |
|
|
|
|
text: '未核查', |
|
|
|
|
subtext: '总数剩余 5850', |
|
|
|
|
subtext: '总数剩余 0', |
|
|
|
|
left: 'center', |
|
|
|
|
textStyle:{ |
|
|
|
|
color:'#000', |
|
|
|
@ -705,7 +705,7 @@ export class notVerifiedComponent implements OnInit {
|
|
|
|
|
name: '剩余未核查', |
|
|
|
|
type: 'bar', |
|
|
|
|
stack: '差值', |
|
|
|
|
data: [289, 307, 334, 356, 389, 413, 456, 477, 489, 503, 540, 570, 599], |
|
|
|
|
data: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
|
|
|
|
itemStyle:{color:'#C80000'}, |
|
|
|
|
label: { |
|
|
|
|
show: true, |
|
|
|
@ -717,7 +717,7 @@ export class notVerifiedComponent implements OnInit {
|
|
|
|
|
name: '总数', |
|
|
|
|
type: 'bar', |
|
|
|
|
stack: '差值', |
|
|
|
|
data: [1520, 1430, 1170, 1441, 1094, 1147, 1098, 1142, 1274, 1400, 1265, 1341, 1200], |
|
|
|
|
data: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
|
|
|
|
itemStyle:{color:'#999'}, |
|
|
|
|
label: { |
|
|
|
|
show: true, |
|
|
|
@ -773,7 +773,7 @@ export class yueDateComponent implements OnInit {
|
|
|
|
|
this.oneEcharts = echarts.init(document.getElementById("center"), 'skinUpp'); |
|
|
|
|
var option = { |
|
|
|
|
title: { |
|
|
|
|
text: this.echartsData.scheduledUpdatesXName+'已核查总数:(500)', |
|
|
|
|
text: this.echartsData.scheduledUpdatesXName+'已核查总数:(0)', |
|
|
|
|
top: -4, |
|
|
|
|
left: '35%', |
|
|
|
|
textStyle:{ |
|
|
|
@ -845,43 +845,43 @@ export class yueDateComponent implements OnInit {
|
|
|
|
|
name: this.echartsData.zhuXname[1], |
|
|
|
|
type: 'bar', |
|
|
|
|
stack: '总数', |
|
|
|
|
data: this.echartsData.zhiorBuinding=="zhi"?[68, 56, 69, 57, 15, 79, 78, 66, 49, 34, 49, 78, 45,78]:[68, 56, 69, 57, 15, 79, 78, 66, 49, 34, 49, 78, 45, 49, 78, 45], |
|
|
|
|
data: this.echartsData.zhiorBuinding=="zhi"?[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,0]:[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
|
|
|
|
barWidth :'38', |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
name: this.echartsData.zhuXname[2], |
|
|
|
|
type: 'bar', |
|
|
|
|
stack: '总数', |
|
|
|
|
data: this.echartsData.zhiorBuinding=="zhi"?[39, 3, 4, 7, 3, 2, 3, 4, 29, 40, 40, 2, 4,2]:[39, 3, 4, 7, 3, 2, 3, 4, 29, 40, 40, 2, 4,40,2,4], |
|
|
|
|
data: this.echartsData.zhiorBuinding=="zhi"?[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,0]:[0, 0, 0, 0, 0,0, 0, 0, 0, 0, 0, 0, 0,0,0,0], |
|
|
|
|
itemStyle:{color: '#626c91'} |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
name: this.echartsData.zhuXname[3], |
|
|
|
|
type: 'bar', |
|
|
|
|
stack: '总数', |
|
|
|
|
data: this.echartsData.zhiorBuinding=="zhi"?[48, 2, 3, 3, 4, 3, 2, 26, 4, 3, 3, 24, 14,24]:[48, 2, 3, 3, 4, 3, 2, 26, 4, 3, 3, 24, 14,3,22,4], |
|
|
|
|
data: this.echartsData.zhiorBuinding=="zhi"?[0, 0, 0,0, 0, 0, 0, 0, 0, 0, 0, 0, 0,0]:[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,0,0,0], |
|
|
|
|
itemStyle:{color:'#c4ebad'} |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
name: this.echartsData.zhuXname[0], |
|
|
|
|
type: 'line', |
|
|
|
|
// yAxisIndex: 1,
|
|
|
|
|
data: [49, 45, 53, 47, 49, 43, 48, 41, 38, 39, 41, 43, 37,43], |
|
|
|
|
data: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,0], |
|
|
|
|
itemStyle:{color: '#FFDC35'} |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
//name: '与上个月环比',
|
|
|
|
|
type: 'line', |
|
|
|
|
// yAxisIndex: 1,
|
|
|
|
|
data: [25, 23, 27, 24, 25, 22, 24, 20, 19,20, 20, 22, 19,22], |
|
|
|
|
data: [0, 0, 0, 0, 0, 0, 0, 0, 0,0, 0, 0, 0,0], |
|
|
|
|
//itemStyle:{color: '#6be6c1'},
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
/* { |
|
|
|
|
//name: '警报',
|
|
|
|
|
type: 'effectScatter', |
|
|
|
|
//coordinateSystem: 'cartesian2d',
|
|
|
|
|
data: [[4,24]],
|
|
|
|
|
data: [[0,0]],
|
|
|
|
|
symbolSize:30, |
|
|
|
|
itemStyle: { |
|
|
|
|
normal: { |
|
|
|
@ -890,20 +890,8 @@ export class yueDateComponent implements OnInit {
|
|
|
|
|
shadowColor: '#333' |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
/* showEffectOn: 'render', |
|
|
|
|
rippleEffect: { |
|
|
|
|
brushType: 'stroke' |
|
|
|
|
}, |
|
|
|
|
hoverAnimation: true, |
|
|
|
|
itemStyle: { |
|
|
|
|
normal: { |
|
|
|
|
color: 'red', |
|
|
|
|
shadowBlur: 10, |
|
|
|
|
shadowColor: '#333' |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
zlevel: 1 */ |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
}, */ |
|
|
|
|
|
|
|
|
|
/* { |
|
|
|
|
name: '平均值2倍', |
|
|
|
@ -985,7 +973,7 @@ export class yuebuildingDateComponent implements OnInit {
|
|
|
|
|
this.oneEcharts = echarts.init(document.getElementById("center"), 'skinUpp'); |
|
|
|
|
var option = { |
|
|
|
|
title: { |
|
|
|
|
text: this.echartsData.scheduledUpdatesXName+'已核查总数:(500)', |
|
|
|
|
text: this.echartsData.scheduledUpdatesXName+'已核查总数:(0)', |
|
|
|
|
top: -4, |
|
|
|
|
left: '35%', |
|
|
|
|
textStyle:{ |
|
|
|
@ -1057,28 +1045,28 @@ export class yuebuildingDateComponent implements OnInit {
|
|
|
|
|
name: this.echartsData.zhuXname[1], |
|
|
|
|
type: 'bar', |
|
|
|
|
stack: '总数', |
|
|
|
|
data: [68, 56, 69, 57, 43, 79, 78, 66, 49, 34, 49, 78, 45, 49, 78, 45], |
|
|
|
|
data: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
|
|
|
|
barWidth :'38', |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
name: this.echartsData.zhuXname[2], |
|
|
|
|
type: 'bar', |
|
|
|
|
stack: '总数', |
|
|
|
|
data: [39, 3, 4, 7, 3, 2, 3, 4, 29, 40, 40, 2, 4,40,2,4], |
|
|
|
|
data: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,0,0,0], |
|
|
|
|
itemStyle:{color: '#626c91'} |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
name: this.echartsData.zhuXname[3], |
|
|
|
|
type: 'bar', |
|
|
|
|
stack: '总数', |
|
|
|
|
data:[48, 2, 3, 3, 4, 3, 2, 26, 4, 3, 3, 24, 14,3,22,4], |
|
|
|
|
data:[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,0,0,0], |
|
|
|
|
itemStyle:{color:'#c4ebad'} |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
name: this.echartsData.zhuXname[0], |
|
|
|
|
type: 'line', |
|
|
|
|
// yAxisIndex: 1,
|
|
|
|
|
data: [49, 45, 53, 47, 49, 43, 48, 41, 38, 39, 41, 43, 37,41,43,7], |
|
|
|
|
data: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,0,0,0], |
|
|
|
|
itemStyle:{color: '#FFDC35'} |
|
|
|
|
}, |
|
|
|
|
/* { |
|
|
|
@ -1157,7 +1145,7 @@ export class detailedInformationComponent implements OnInit {
|
|
|
|
|
if (this.echartsData.scheduledUpdatesType ===0) { //已核查
|
|
|
|
|
var option = { |
|
|
|
|
title: { |
|
|
|
|
text: `${this.echartsData.scheduledUpdatesName}${this.echartsData.scheduledUpdatesXName}总数(699)`, |
|
|
|
|
text: `${this.echartsData.scheduledUpdatesName}${this.echartsData.scheduledUpdatesXName}总数(0)`, |
|
|
|
|
top: -2, |
|
|
|
|
right: 655, |
|
|
|
|
textStyle:{ |
|
|
|
@ -1216,42 +1204,42 @@ export class detailedInformationComponent implements OnInit {
|
|
|
|
|
type: 'bar', |
|
|
|
|
stack: '总数', |
|
|
|
|
barWidth :'38', |
|
|
|
|
data: [68, 15, 69, 57, 43, 79, 78, 66, 49, 9, 49, 78, 15], |
|
|
|
|
data: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
name: this.echartsData.zhuXname[2], |
|
|
|
|
type: 'bar', |
|
|
|
|
stack: '总数', |
|
|
|
|
data: [39, 8, 49, 27, 53, 29, 38, 49, 29, 10, 40, 27, 24], |
|
|
|
|
data: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
|
|
|
|
itemStyle:{color: '#626c91'} |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
name: this.echartsData.zhuXname[3], |
|
|
|
|
type: 'bar', |
|
|
|
|
stack: '总数', |
|
|
|
|
data: [48, 8, 43, 53, 47, 39, 25, 26, 54, 9, 39, 24, 6], |
|
|
|
|
data: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
|
|
|
|
itemStyle:{color:'#c4ebad'} |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
name: this.echartsData.zhuXname[0], |
|
|
|
|
type: 'line', |
|
|
|
|
// yAxisIndex: 1,
|
|
|
|
|
data: [49, 60, 53, 47, 49, 43, 48, 41, 38, 56, 41, 43, 60], |
|
|
|
|
data: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
|
|
|
|
itemStyle:{color: '#FFDC35'} |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
//name: '与上个月环比',
|
|
|
|
|
type: 'line', |
|
|
|
|
// yAxisIndex: 1,
|
|
|
|
|
data: [25, 35, 27, 24, 25, 22, 24, 20, 19,30, 20, 22, 40], |
|
|
|
|
data: [0, 0, 0, 0, 0, 0, 0, 0, 0,0, 0, 0, 0], |
|
|
|
|
//itemStyle:{color: '#6be6c1'},
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
/* { |
|
|
|
|
//name: '警报',
|
|
|
|
|
type: 'effectScatter', |
|
|
|
|
//coordinateSystem: 'cartesian2d',
|
|
|
|
|
data: [[1,35],[9,30],[12,40]], //2d坐标系
|
|
|
|
|
data: [[0,0],[0,0],[0,0]], //2d坐标系
|
|
|
|
|
symbolSize:30, |
|
|
|
|
itemStyle: { |
|
|
|
|
normal: { |
|
|
|
@ -1260,20 +1248,8 @@ export class detailedInformationComponent implements OnInit {
|
|
|
|
|
shadowColor: '#333' |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
/* showEffectOn: 'render', |
|
|
|
|
rippleEffect: { |
|
|
|
|
brushType: 'stroke' |
|
|
|
|
}, |
|
|
|
|
hoverAnimation: true, |
|
|
|
|
itemStyle: { |
|
|
|
|
normal: { |
|
|
|
|
color: 'red', |
|
|
|
|
shadowBlur: 10, |
|
|
|
|
shadowColor: '#333' |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
zlevel: 1 */ |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
}, */ |
|
|
|
|
/* { |
|
|
|
|
name: '平均值2倍', |
|
|
|
|
type: 'line', |
|
|
|
@ -1353,7 +1329,7 @@ export class detailedInformationComponent implements OnInit {
|
|
|
|
|
name: '剩余未核查', |
|
|
|
|
type: 'bar', |
|
|
|
|
stack: '差值', |
|
|
|
|
data: [13, 19, 21, 27, 35, 39, 41, 43, 47, 47, 49, 50, 51], |
|
|
|
|
data: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
|
|
|
|
itemStyle:{color:'#C80000'}, |
|
|
|
|
label: { |
|
|
|
|
show: true, |
|
|
|
@ -1365,7 +1341,7 @@ export class detailedInformationComponent implements OnInit {
|
|
|
|
|
name: '总数', |
|
|
|
|
type: 'bar', |
|
|
|
|
stack: '差值', |
|
|
|
|
data: [120, 130, 170, 141, 194, 147, 109, 142, 174, 100, 125, 131, 120], |
|
|
|
|
data: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
|
|
|
|
itemStyle:{color:'#999'}, |
|
|
|
|
label: { |
|
|
|
|
show: true, |
|
|
|
|