Browse Source

[修改]维护更新统计数据改为0

zhuzhou
chenjingyu 4 years ago
parent
commit
2bdae3e40a
  1. 2
      src/app/pages/login/login.component.html
  2. 6
      src/app/statistic-analysis/deleteUnit/delete-four/delete-four.component.ts
  3. 14
      src/app/statistic-analysis/deleteUnit/delete-there-line-details/delete-there-line-details.component.ts
  4. 8
      src/app/statistic-analysis/deleteUnit/delete-there/delete-there.component.ts
  5. 6
      src/app/statistic-analysis/deleteUnit/delete-two-newadd/delete-two-newadd.component.ts
  6. 12
      src/app/statistic-analysis/deleteUnit/delete-two/delete-two.component.ts
  7. 15
      src/app/statistic-analysis/echarts-data.service.ts
  8. 106
      src/app/statistic-analysis/scheduled-updates/scheduled-updates.component.ts
  9. 0
      src/assets/images/xiaofang.png

2
src/app/pages/login/login.component.html

@ -3,7 +3,7 @@
<div class="intro"> <div class="intro">
<div style="display: flex; margin-top: 20%;margin-left: 12%"> <div style="display: flex; margin-top: 20%;margin-left: 12%">
<div class="logo"> <div class="logo">
<img style="width: 230px;height: 234px;" src="../../../assets/images/消防徽.png" alt=""> <img style="width: 230px;height: 234px;" src="../../../assets/images/xiaofang.png" alt="">
</div> </div>
<div class="text"> <div class="text">
<span style="font-size: 36px;color: white; display: block;margin-bottom: 35px;">数字化预案编制管理平台</span> <span style="font-size: 36px;color: white; display: block;margin-bottom: 35px;">数字化预案编制管理平台</span>

6
src/app/statistic-analysis/deleteUnit/delete-four/delete-four.component.ts

@ -4,7 +4,7 @@
* @Author: sueRimn * @Author: sueRimn
* @Date: 2020-09-02 16:22:58 * @Date: 2020-09-02 16:22:58
* @LastEditors: sueRimn * @LastEditors: sueRimn
* @LastEditTime: 2020-11-10 14:33:29 * @LastEditTime: 2021-04-30 15:53:07
*/ */
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import { ActivatedRoute } from '@angular/router'; import { ActivatedRoute } from '@angular/router';
@ -22,7 +22,7 @@ export class DeleteFourComponent implements OnInit {
constructor(public route: ActivatedRoute,public data: EchartsDataService,public snackBar: MatSnackBar,private adapter: DateAdapter<any>) { } constructor(public route: ActivatedRoute,public data: EchartsDataService,public snackBar: MatSnackBar,private adapter: DateAdapter<any>) { }
zhongNameData = ["浦东中队","黄浦中队","徐汇中队","长宁中队","静安中队","普陀中队","虹口中队","杨浦中队","闵行中队","宝山中队","嘉定中队"] zhongNameData = ["浦东中队","黄浦中队","徐汇中队","长宁中队","静安中队","普陀中队","虹口中队","杨浦中队","闵行中队","宝山中队","嘉定中队"]
zhongNumData = [200,190,180,170,160,150,140,130,120,110,100] zhongNumData = [0,0,0,0,0,0,0,0,0,0,0]
tiaoshiPao:any//气泡传入数据 tiaoshiPao:any//气泡传入数据
level:string; level:string;
ngOnInit(): void { ngOnInit(): void {
@ -45,7 +45,7 @@ export class DeleteFourComponent implements OnInit {
var detailPlanEchart = echarts.init(document.getElementById('detailBox'),'walden'); var detailPlanEchart = echarts.init(document.getElementById('detailBox'),'walden');
var option = { var option = {
title: { title: {
text: level+':总数(666)', text: level+':总数(0)',
left: "center", left: "center",
top:"0", top:"0",
textStyle: { textStyle: {

14
src/app/statistic-analysis/deleteUnit/delete-there-line-details/delete-there-line-details.component.ts

@ -1,3 +1,11 @@
/*
* @Descripttion:
* @version:
* @Author: sueRimn
* @Date: 2020-12-24 10:59:48
* @LastEditors: sueRimn
* @LastEditTime: 2021-04-30 15:56:47
*/
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router'; import { Router } from '@angular/router';
import {MatDialog, MatDialogRef, MAT_DIALOG_DATA} from '@angular/material/dialog'; import {MatDialog, MatDialogRef, MAT_DIALOG_DATA} from '@angular/material/dialog';
@ -68,10 +76,10 @@ export class DeleteThereLineDetailsComponent implements OnInit {
} }
}//柱状图数值顶部显示 }//柱状图数值顶部显示
zhongNameData = ["浦东中队","黄浦中队","徐汇中队","长宁中队","静安中队","普陀中队","虹口中队","杨浦中队","闵行中队","宝山中队","嘉定中队"] zhongNameData = ["浦东中队","黄浦中队","徐汇中队","长宁中队","静安中队","普陀中队","虹口中队","杨浦中队","闵行中队","宝山中队","嘉定中队"]
zhongNumData = [200,190,180,170,160,150,140,130,120,110,100] zhongNumData = [0,0,0,0,0,0,0,0,0,0,0]
zhiNameData = ["浦东支队","黄浦支队","徐汇支队","长宁支队","静安支队","普陀支队","虹口支队","杨浦支队","闵行支队","宝山支队","嘉定支队"] zhiNameData = ["浦东支队","黄浦支队","徐汇支队","长宁支队","静安支队","普陀支队","虹口支队","杨浦支队","闵行支队","宝山支队","嘉定支队"]
zhiNumData = [300,290,280,270,260,250,240,230,220,210,200] zhiNumData = [0,0,0,0,0,0,0,0,0,0,0]
tiaoshiPao:any tiaoshiPao:any
//气泡提示数据获取 //气泡提示数据获取
bianli(){ bianli(){
@ -93,7 +101,7 @@ export class DeleteThereLineDetailsComponent implements OnInit {
detailPlanEchart detailPlanEchart
option option
date = ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月','9月'] date = ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月','9月']
dateNum = [270, 253, 244, 199, 189, 173, 160, 198,200] dateNum = [0, 0, 0, 0, 0, 0, 0, 0,0]
detailEcharts(){ detailEcharts(){
this.detailPlanEchart = echarts.init(document.getElementById('barEchart'), 'skinUpp'); this.detailPlanEchart = echarts.init(document.getElementById('barEchart'), 'skinUpp');

8
src/app/statistic-analysis/deleteUnit/delete-there/delete-there.component.ts

@ -87,7 +87,7 @@ export class DeleteThereComponent implements OnInit {
} }
}//柱状图数值顶部显示 }//柱状图数值顶部显示
zhiNameData = ["浦东支队","黄浦支队","徐汇支队","长宁支队","静安支队","普陀支队","虹口支队","杨浦支队","闵行支队","宝山支队","嘉定支队","松江支队","金山支队","崇明支队"] zhiNameData = ["浦东支队","黄浦支队","徐汇支队","长宁支队","静安支队","普陀支队","虹口支队","杨浦支队","闵行支队","宝山支队","嘉定支队","松江支队","金山支队","崇明支队"]
zhiNumData = [200,190,180,170,160,150,140,130,120,110,100,90,80,70] zhiNumData = [0,0,0,0,0,0,0,0,0,0,0,0,0,0]
zhongNameData = ["浦东中队","黄浦中队","徐汇中队","长宁中队","静安中队","普陀中队","虹口中队","杨浦中队","闵行中队","宝山中队","嘉定中队","松江中队","金山中队","崇明中队"] zhongNameData = ["浦东中队","黄浦中队","徐汇中队","长宁中队","静安中队","普陀中队","虹口中队","杨浦中队","闵行中队","宝山中队","嘉定中队","松江中队","金山中队","崇明中队"]
tiaoshiPao:any tiaoshiPao:any
//气泡提示数据获取 //气泡提示数据获取
@ -102,7 +102,7 @@ export class DeleteThereComponent implements OnInit {
//return tishiPao //return tishiPao
} }
date = ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月','九月'] date = ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月','九月']
dateNum = [270, 253, 244, 199, 189, 173, 160, 198,200] dateNum = [0, 0, 0, 0, 0, 0, 0, 0,0]
//返回 //返回
goBack () { goBack () {
history.go(-1) history.go(-1)
@ -140,7 +140,7 @@ export class DeleteThereComponent implements OnInit {
this.zhutu = ec.init(document.getElementById('zhidui'),'walden'); this.zhutu = ec.init(document.getElementById('zhidui'),'walden');
this.option = { this.option = {
title: { title: {
text: headName+':总数(666)', text: headName+':总数(0)',
left: "center", left: "center",
top: "0", top: "0",
textStyle: { textStyle: {
@ -177,7 +177,7 @@ export class DeleteThereComponent implements OnInit {
tooltip: { tooltip: {
trigger: 'item', trigger: 'item',
formatter: (params)=>{ formatter: (params)=>{
return this.echartsData.biaogeTishi(params.name) return this.echartsData.tableTooltip('',headName)
}, },
position: this.echartsData.tableTooltipNoShowq position: this.echartsData.tableTooltipNoShowq
/* backgroundColor:'rgba(255,255,255,1)', /* backgroundColor:'rgba(255,255,255,1)',

6
src/app/statistic-analysis/deleteUnit/delete-two-newadd/delete-two-newadd.component.ts

@ -66,10 +66,10 @@ export class DeleteTwoNewaddComponent implements OnInit {
} }
}//柱状图数值顶部显示 }//柱状图数值顶部显示
zhongNameData = ["浦东中队","黄浦中队","徐汇中队","长宁中队","静安中队","普陀中队","虹口中队","杨浦中队","闵行中队","宝山中队","嘉定中队"] zhongNameData = ["浦东中队","黄浦中队","徐汇中队","长宁中队","静安中队","普陀中队","虹口中队","杨浦中队","闵行中队","宝山中队","嘉定中队"]
zhongNumData = [200,190,180,170,160,150,140,130,120,110,100] zhongNumData = [0,0,0,0,0,0,0,0,0,0,0]
zhiNameData = ["浦东支队","黄浦支队","徐汇支队","长宁支队","静安支队","普陀支队","虹口支队","杨浦支队","闵行支队","宝山支队","嘉定支队"] zhiNameData = ["浦东支队","黄浦支队","徐汇支队","长宁支队","静安支队","普陀支队","虹口支队","杨浦支队","闵行支队","宝山支队","嘉定支队"]
zhiNumData = [300,290,280,270,260,250,240,230,220,210,200] zhiNumData = [0,0,0,0,0,0,0,0,0,0,0]
tiaoshiPao:any tiaoshiPao:any
//气泡提示数据获取 //气泡提示数据获取
bianli(){ bianli(){
@ -91,7 +91,7 @@ export class DeleteTwoNewaddComponent implements OnInit {
detailPlanEchart detailPlanEchart
option option
date = ['高层', '轨道交通', '储罐类', '古建筑', '地下', '化工生产', '厂房', '商市场'] date = ['高层', '轨道交通', '储罐类', '古建筑', '地下', '化工生产', '厂房', '商市场']
dateNum = [270, 253, 244, 199, 189, 173, 160, 198] dateNum = [0, 0, 0, 0, 0, 0, 0, 0]
detailEcharts(){ detailEcharts(){
this.detailPlanEchart = echarts.init(document.getElementById('barEchart'), 'skinUpp'); this.detailPlanEchart = echarts.init(document.getElementById('barEchart'), 'skinUpp');

12
src/app/statistic-analysis/deleteUnit/delete-two/delete-two.component.ts

@ -4,7 +4,7 @@
* @Author: sueRimn * @Author: sueRimn
* @Date: 2020-09-02 16:21:18 * @Date: 2020-09-02 16:21:18
* @LastEditors: sueRimn * @LastEditors: sueRimn
* @LastEditTime: 2020-11-17 14:13:12 * @LastEditTime: 2021-04-30 15:51:42
*/ */
import { Component, OnInit, ViewChild } from '@angular/core'; import { Component, OnInit, ViewChild } from '@angular/core';
import { Router } from '@angular/router'; import { Router } from '@angular/router';
@ -22,9 +22,9 @@ declare var echarts: any;
export class DeleteTwoComponent implements OnInit { export class DeleteTwoComponent implements OnInit {
options:any; options:any;
datayuex=['一月', '二月', '三月', '四月', '五月', '六月', '七月','八月','九月']; datayuex=['一月', '二月', '三月', '四月', '五月', '六月', '七月','八月','九月'];
datayuey=[210, 160, 150, 140, 130, 120, 110,120,150]; datayuey=[0, 0, 0, 0, 0, 0, 0,0,0];
datanianx=[2019,2020]; datanianx=[2020,2021];
dataniany=[201,174] dataniany=[0,0]
tiaoshiPao:any//气泡 tiaoshiPao:any//气泡
constructor(private router: Router,public snackBar: MatSnackBar,private adapter: DateAdapter<any>,public echartsData:EchartsDataService) { } constructor(private router: Router,public snackBar: MatSnackBar,private adapter: DateAdapter<any>,public echartsData:EchartsDataService) { }
@ -71,7 +71,7 @@ export class DeleteTwoComponent implements OnInit {
headZx//echarts实例 headZx//echarts实例
zhiNameData = ["浦东支队","黄浦支队","徐汇支队","长宁支队","静安支队","普陀支队","虹口支队","杨浦支队","闵行支队","宝山支队","嘉定支队","松江支队","金山支队","崇明支队"] zhiNameData = ["浦东支队","黄浦支队","徐汇支队","长宁支队","静安支队","普陀支队","虹口支队","杨浦支队","闵行支队","宝山支队","嘉定支队","松江支队","金山支队","崇明支队"]
zhiNumData = [200,190,180,170,160,150,140,130,120,110,100,90,80,70] zhiNumData = [0,0,0,0,0,0,0,0,0,0,0,0,0,0]
//查询数据 //查询数据
@ -223,7 +223,7 @@ export class DeleteTwoComponent implements OnInit {
}, },
// 标题 // 标题
title: { title: {
text: `${headtext}`+':总数(1024)', text: `${headtext}`+':总数(0)',
left:'center', left:'center',
top: -4, top: -4,
//副标题文本样式 //副标题文本样式

15
src/app/statistic-analysis/echarts-data.service.ts

@ -122,9 +122,9 @@ export class EchartsDataService {
//提示框表格 //提示框表格
tableTooltip(dataArr,title:string){ tableTooltip(dataArr,title:string){
let data = dataArr //let data = dataArr
//console.log(data) //console.log(data)
var res = '<div class="tishi" style=" backgroundColor:rgba(255,255,255,1);width:100%;height:100%;"><div style="padding:10px 0 5px 0"><span style="color:#FFFFFF;font-size:26px;text-align: center;display:block;">'+title+'</span></div>' /* var res = '<div class="tishi" style=" backgroundColor:rgba(255,255,255,1);width:100%;height:100%;"><div style="padding:10px 0 5px 0"><span style="color:#FFFFFF;font-size:26px;text-align: center;display:block;">'+title+'</span></div>'
res+='</br><div style="width:300px;height:100%;padding:0 20px 15px 20px"><table style="width:300px;font-size:16px; color:#FFFFFF;border-collapse:collapse;"cellspacing="0"; >'; res+='</br><div style="width:300px;height:100%;padding:0 20px 15px 20px"><table style="width:300px;font-size:16px; color:#FFFFFF;border-collapse:collapse;"cellspacing="0"; >';
res+='<thead><tr>'; res+='<thead><tr>';
res+='<td style="text-align:center;width:30%;">名称</td>'; res+='<td style="text-align:center;width:30%;">名称</td>';
@ -139,8 +139,15 @@ export class EchartsDataService {
res+='<td style="text-align:center;">'+data[i].zhanbi+'</td></tr>' res+='<td style="text-align:center;">'+data[i].zhanbi+'</td></tr>'
} }
res+='</tbody>' res+='</tbody>' */
res+='<tfoot style="font-size:18px;"><td style="text-align:center;">总计</td><td style="text-align:center;">1356</td><td style="text-align:center;">19%</td></tfoot>' var res = '<div class="tishi" style=" backgroundColor:rgba(255,255,255,1);width:100%;height:100%;"><div style="padding:10px 0 5px 0"><span style="color:#FFFFFF;font-size:26px;text-align: center;display:block;">'+title+'</span></div>'
res+='</br><div style="width:300px;height:100%;padding:0 20px 15px 20px"><table style="width:300px;font-size:16px; color:#FFFFFF;border-collapse:collapse;"cellspacing="0"; >';
res+='<thead><tr>';
res+='<td style="text-align:center;width:30%;">名称</td>';
res+='<td style="text-align:center;width:30%;">数量</td>'
res+='<td style="text-align:center;width:30%;">总占比</td>'
res+='</tr></thead>'
res+='<tfoot style="font-size:18px;"><td style="text-align:center;">总计</td><td style="text-align:center;">0</td><td style="text-align:center;">0%</td></tfoot>'
res+='</table></div></div>' res+='</table></div></div>'
return res return res
} }

106
src/app/statistic-analysis/scheduled-updates/scheduled-updates.component.ts

@ -58,7 +58,7 @@ export class ScheduledUpdatesComponent implements OnInit {
this.example= echarts.init(document.getElementById(pieid),'walden'); this.example= echarts.init(document.getElementById(pieid),'walden');
var options={ var options={
title: { title: {
text: pieid=="pie"?'已维护统计(7100家)':'计划维护统计(7100家)', text: pieid=="pie"?'已维护统计(0家)':'计划维护统计(0家)',
top: "3%", top: "3%",
left: 'center', left: 'center',
textStyle:{ textStyle:{
@ -103,13 +103,13 @@ export class ScheduledUpdatesComponent implements OnInit {
}, },
}}, }},
data:pieid=="pie"? [ data:pieid=="pie"? [
{value: 2000, name: '维护无需修改'}, {value: 0, name: '维护无需修改'},
{value: 2500, name: '维护修改',itemStyle:{color:'#02A7F0'}}, {value: 0, name: '维护修改',itemStyle:{color:'#02A7F0'}},
{value: 1900, name: '维护删除',itemStyle:{color:'#87cebb'}}, {value: 0, name: '维护删除',itemStyle:{color:'#87cebb'}},
]:[ ]:[
{value: 2000, name: '未维护'}, {value: 0, name: '未维护'},
{value: 2500, name: '维护通过审核',itemStyle:{color:'#02A7F0'}}, {value: 0, name: '维护通过审核',itemStyle:{color:'#02A7F0'}},
{value: 1900, name: '维护中',itemStyle:{color:'#87cebb'}}, {value: 0, name: '维护中',itemStyle:{color:'#87cebb'}},
], ],
emphasis: { emphasis: {
itemStyle: { itemStyle: {
@ -345,9 +345,9 @@ export class verifiedComponent implements OnInit {
oneEcharts:any; oneEcharts:any;
qipaotishi qipaotishi
xdatayue=['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月','9月','10月','11月','12月'] 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'] xdataYear=['2020','2021']
ydataYear=['2','5'] ydataYear=['0','0']
//提示框表格 //提示框表格
tableTooltip(dataArr,title:string){ tableTooltip(dataArr,title:string){
let data = dataArr let data = dataArr
@ -386,7 +386,7 @@ export class verifiedComponent implements OnInit {
}, },
// 标题 // 标题
title: { title: {
text: '已核查'+'总数:(1024)', text: '已核查'+'总数:(0)',
top: -4, top: -4,
left: 'center', left: 'center',
textStyle:{ textStyle:{
@ -402,7 +402,7 @@ export class verifiedComponent implements OnInit {
borderWidth:'1', borderWidth:'1',
borderRadius :'0', */ borderRadius :'0', */
formatter: (params)=>{ 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 position:this.echartsData.tableTooltipNoShow2
}, },
@ -650,7 +650,7 @@ export class notVerifiedComponent implements OnInit {
}, },
title: { title: {
text: '未核查', text: '未核查',
subtext: '总数剩余 5850', subtext: '总数剩余 0',
left: 'center', left: 'center',
textStyle:{ textStyle:{
color:'#000', color:'#000',
@ -705,7 +705,7 @@ export class notVerifiedComponent implements OnInit {
name: '剩余未核查', name: '剩余未核查',
type: 'bar', type: 'bar',
stack: '差值', 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'}, itemStyle:{color:'#C80000'},
label: { label: {
show: true, show: true,
@ -717,7 +717,7 @@ export class notVerifiedComponent implements OnInit {
name: '总数', name: '总数',
type: 'bar', type: 'bar',
stack: '差值', 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'}, itemStyle:{color:'#999'},
label: { label: {
show: true, show: true,
@ -773,7 +773,7 @@ export class yueDateComponent implements OnInit {
this.oneEcharts = echarts.init(document.getElementById("center"), 'skinUpp'); this.oneEcharts = echarts.init(document.getElementById("center"), 'skinUpp');
var option = { var option = {
title: { title: {
text: this.echartsData.scheduledUpdatesXName+'已核查总数:(500)', text: this.echartsData.scheduledUpdatesXName+'已核查总数:(0)',
top: -4, top: -4,
left: '35%', left: '35%',
textStyle:{ textStyle:{
@ -845,43 +845,43 @@ export class yueDateComponent implements OnInit {
name: this.echartsData.zhuXname[1], name: this.echartsData.zhuXname[1],
type: 'bar', type: 'bar',
stack: '总数', 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', barWidth :'38',
}, },
{ {
name: this.echartsData.zhuXname[2], name: this.echartsData.zhuXname[2],
type: 'bar', type: 'bar',
stack: '总数', 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'} itemStyle:{color: '#626c91'}
}, },
{ {
name: this.echartsData.zhuXname[3], name: this.echartsData.zhuXname[3],
type: 'bar', type: 'bar',
stack: '总数', 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'} itemStyle:{color:'#c4ebad'}
}, },
{ {
name: this.echartsData.zhuXname[0], name: this.echartsData.zhuXname[0],
type: 'line', type: 'line',
// yAxisIndex: 1, // 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'} itemStyle:{color: '#FFDC35'}
}, },
{ {
//name: '与上个月环比', //name: '与上个月环比',
type: 'line', type: 'line',
// yAxisIndex: 1, // 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'}, //itemStyle:{color: '#6be6c1'},
}, },
{ /* {
//name: '警报', //name: '警报',
type: 'effectScatter', type: 'effectScatter',
//coordinateSystem: 'cartesian2d', //coordinateSystem: 'cartesian2d',
data: [[4,24]], data: [[0,0]],
symbolSize:30, symbolSize:30,
itemStyle: { itemStyle: {
normal: { normal: {
@ -890,20 +890,8 @@ export class yueDateComponent implements OnInit {
shadowColor: '#333' shadowColor: '#333'
} }
}, },
/* showEffectOn: 'render',
rippleEffect: { }, */
brushType: 'stroke'
},
hoverAnimation: true,
itemStyle: {
normal: {
color: 'red',
shadowBlur: 10,
shadowColor: '#333'
}
},
zlevel: 1 */
},
/* { /* {
name: '平均值2倍', name: '平均值2倍',
@ -985,7 +973,7 @@ export class yuebuildingDateComponent implements OnInit {
this.oneEcharts = echarts.init(document.getElementById("center"), 'skinUpp'); this.oneEcharts = echarts.init(document.getElementById("center"), 'skinUpp');
var option = { var option = {
title: { title: {
text: this.echartsData.scheduledUpdatesXName+'已核查总数:(500)', text: this.echartsData.scheduledUpdatesXName+'已核查总数:(0)',
top: -4, top: -4,
left: '35%', left: '35%',
textStyle:{ textStyle:{
@ -1057,28 +1045,28 @@ export class yuebuildingDateComponent implements OnInit {
name: this.echartsData.zhuXname[1], name: this.echartsData.zhuXname[1],
type: 'bar', type: 'bar',
stack: '总数', 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', barWidth :'38',
}, },
{ {
name: this.echartsData.zhuXname[2], name: this.echartsData.zhuXname[2],
type: 'bar', type: 'bar',
stack: '总数', 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'} itemStyle:{color: '#626c91'}
}, },
{ {
name: this.echartsData.zhuXname[3], name: this.echartsData.zhuXname[3],
type: 'bar', type: 'bar',
stack: '总数', 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'} itemStyle:{color:'#c4ebad'}
}, },
{ {
name: this.echartsData.zhuXname[0], name: this.echartsData.zhuXname[0],
type: 'line', type: 'line',
// yAxisIndex: 1, // 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'} itemStyle:{color: '#FFDC35'}
}, },
/* { /* {
@ -1157,7 +1145,7 @@ export class detailedInformationComponent implements OnInit {
if (this.echartsData.scheduledUpdatesType ===0) { //已核查 if (this.echartsData.scheduledUpdatesType ===0) { //已核查
var option = { var option = {
title: { title: {
text: `${this.echartsData.scheduledUpdatesName}${this.echartsData.scheduledUpdatesXName}总数(699`, text: `${this.echartsData.scheduledUpdatesName}${this.echartsData.scheduledUpdatesXName}总数(0`,
top: -2, top: -2,
right: 655, right: 655,
textStyle:{ textStyle:{
@ -1216,42 +1204,42 @@ export class detailedInformationComponent implements OnInit {
type: 'bar', type: 'bar',
stack: '总数', stack: '总数',
barWidth :'38', 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], name: this.echartsData.zhuXname[2],
type: 'bar', type: 'bar',
stack: '总数', 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'} itemStyle:{color: '#626c91'}
}, },
{ {
name: this.echartsData.zhuXname[3], name: this.echartsData.zhuXname[3],
type: 'bar', type: 'bar',
stack: '总数', 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'} itemStyle:{color:'#c4ebad'}
}, },
{ {
name: this.echartsData.zhuXname[0], name: this.echartsData.zhuXname[0],
type: 'line', type: 'line',
// yAxisIndex: 1, // 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'} itemStyle:{color: '#FFDC35'}
}, },
{ {
//name: '与上个月环比', //name: '与上个月环比',
type: 'line', type: 'line',
// yAxisIndex: 1, // 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'}, //itemStyle:{color: '#6be6c1'},
}, },
{ /* {
//name: '警报', //name: '警报',
type: 'effectScatter', type: 'effectScatter',
//coordinateSystem: 'cartesian2d', //coordinateSystem: 'cartesian2d',
data: [[1,35],[9,30],[12,40]], //2d坐标系 data: [[0,0],[0,0],[0,0]], //2d坐标系
symbolSize:30, symbolSize:30,
itemStyle: { itemStyle: {
normal: { normal: {
@ -1260,20 +1248,8 @@ export class detailedInformationComponent implements OnInit {
shadowColor: '#333' shadowColor: '#333'
} }
}, },
/* showEffectOn: 'render',
rippleEffect: { }, */
brushType: 'stroke'
},
hoverAnimation: true,
itemStyle: {
normal: {
color: 'red',
shadowBlur: 10,
shadowColor: '#333'
}
},
zlevel: 1 */
},
/* { /* {
name: '平均值2倍', name: '平均值2倍',
type: 'line', type: 'line',
@ -1353,7 +1329,7 @@ export class detailedInformationComponent implements OnInit {
name: '剩余未核查', name: '剩余未核查',
type: 'bar', type: 'bar',
stack: '差值', 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'}, itemStyle:{color:'#C80000'},
label: { label: {
show: true, show: true,
@ -1365,7 +1341,7 @@ export class detailedInformationComponent implements OnInit {
name: '总数', name: '总数',
type: 'bar', type: 'bar',
stack: '差值', 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'}, itemStyle:{color:'#999'},
label: { label: {
show: true, show: true,

0
src/assets/images/消防徽.png → src/assets/images/xiaofang.png

Before

Width:  |  Height:  |  Size: 1020 KiB

After

Width:  |  Height:  |  Size: 1020 KiB

Loading…
Cancel
Save