From 17899ee33a5d4c8c6e33ea3cb9b2399f587548f1 Mon Sep 17 00:00:00 2001 From: chenjingyu Date: Sat, 6 Mar 2021 16:57:02 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BF=AE=E6=94=B9]=E5=BE=85=E5=AE=A1=E6=A0=B8?= =?UTF-8?q?=E5=92=8C=E5=AE=A1=E6=A0=B8=E8=AE=B0=E5=BD=95=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E4=B8=8D=E5=85=A8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../plan-record/plan-record.component.html | 4 ++-- .../plan-record/plan-record.component.scss | 7 ++++-- .../wait-examineer.component.scss | 3 ++- .../echarts-data.service.ts | 23 ++++++++++--------- 4 files changed, 21 insertions(+), 16 deletions(-) diff --git a/src/app/plan-audit/plan-record/plan-record.component.html b/src/app/plan-audit/plan-record/plan-record.component.html index 460b2d5..6991fe5 100644 --- a/src/app/plan-audit/plan-record/plan-record.component.html +++ b/src/app/plan-audit/plan-record/plan-record.component.html @@ -4,7 +4,7 @@ * @Author: sueRimn * @Date: 2020-12-25 10:19:31 * @LastEditors: sueRimn - * @LastEditTime: 2021-03-05 14:49:01 + * @LastEditTime: 2021-03-06 16:56:07 -->
@@ -98,7 +98,7 @@
- +
{{item.contentType=='1'?'Ⅰ级预案':item.contentType=='2'?'Ⅱ级预案':item.contentType=='3'?'Ⅲ级预案':item.contentType=='4'?'Ⅳ级预案':item.contentType=='5'? diff --git a/src/app/plan-audit/plan-record/plan-record.component.scss b/src/app/plan-audit/plan-record/plan-record.component.scss index 958df3b..ed22892 100644 --- a/src/app/plan-audit/plan-record/plan-record.component.scss +++ b/src/app/plan-audit/plan-record/plan-record.component.scss @@ -34,17 +34,20 @@ .tablediv{ width: 100%; height: 70%; + padding-bottom: 20px; .tbodycss{ overflow-y: auto; - height: 600px; + height:550px; width: 100%; + .selectedTr{ + background-color: #b3d3ee; + } } table{ //margin: 20px 20px; margin-left: 10px; margin-right: 10px; width: 97.5%; - //border: 1px solid #2196F3; thead{ height:48px; diff --git a/src/app/plan-audit/wait-examineer/wait-examineer.component.scss b/src/app/plan-audit/wait-examineer/wait-examineer.component.scss index 5f58468..f3a7d52 100644 --- a/src/app/plan-audit/wait-examineer/wait-examineer.component.scss +++ b/src/app/plan-audit/wait-examineer/wait-examineer.component.scss @@ -48,7 +48,7 @@ height: 70%; .tbodycss{ overflow-y: auto; - height: 700px; + height: 94%; width: 100%; .selectedTr{ background-color: #b3d3ee; @@ -58,6 +58,7 @@ margin-left:10px; margin-right: 10px; width: 97.5%; + //margin-bottom: 10px; thead{ height:48px; color: #FFFFFF; diff --git a/src/app/statistic-analysis/echarts-data.service.ts b/src/app/statistic-analysis/echarts-data.service.ts index bd53afe..f8fa6fa 100644 --- a/src/app/statistic-analysis/echarts-data.service.ts +++ b/src/app/statistic-analysis/echarts-data.service.ts @@ -409,35 +409,36 @@ export class EchartsDataService { BuildingTypeId:datas.id } //var res - this.http.get("/api/StatisticsAnalysis/BuildingTypes",{params:paramsdata}).subscribe((data:any)=>{ + this.http.get("/api/StatisticsAnalysis",{params:paramsdata}).subscribe((data:any)=>{ this.tishiData=data console.log(this.tishiData) - this.res= '
'+datas.name+'
' + + }) + this.res= '
'+datas.name+'
' this.res+='
'; this.res+=''; - this.res+=''; + this.res+='' this.res+='' this.res+='' this.res+=''; var countall=0 - for(var i=0;i' - for(var i=0;i' - this.res+='' - this.res+='' + this.res+='' + this.res+='' + this.res+='' } this.res+='' - this.res+='' + this.res+='' this.res+='
名称数量总占比
'+this.tishiData.organizationStatistics.organizations[i].count+''+Math.round(this.tishiData.organizationStatistics.organizations[i].count/countall* 10000)/ 100.00 +'%
'+this.tishiData.companyStatistics.organizationStatistics.organizations[i].organizationName+''+this.tishiData.companyStatistics.organizationStatistics.organizations[i].count+''+Math.round(this.tishiData.companyStatistics.organizationStatistics.organizations[i].count/countall* 10000)/ 100.00 +'%
总计'+this.tishiData.totalCount+'100%
总计'+this.tishiData.companyStatistics.totalCount+'100%
' return this.res - }) } zhiNameData = ["浦东支队","黄浦支队","徐汇支队","长宁支队","静安支队","普陀支队","虹口支队","杨浦支队","闵行支队","宝山支队","嘉定支队","松江支队","金山支队","崇明支队"]