审批结果
@@ -18,7 +18,7 @@
初审时间:{{data.element.firstAudittedTime| date:'yyyy-MM-dd HH:mm:ss'}}
初审机构:{{data.element.firstAuditorOrganizationName}}
初审意见:{{data.element.firstAuditOpinion}}
-
初审结果:{{data.element.auditStatus==16?'待终审':data.element.auditStatus==32?'初审退回':''}}
+
初审结果:{{data.element.auditStatus==16?'待终审':data.element.auditStatus==32?'初审退回':data.element.auditStatus==2||4?'初审通过':''}}
终审时间:{{data.element.audittedTime| date:'yyyy-MM-dd HH:mm:ss'}}
终审机构:{{data.element.auditorOrganizationName}}
diff --git a/src/app/plan-management/entry-plan-look/entry-plan-look.component.ts b/src/app/plan-management/entry-plan-look/entry-plan-look.component.ts
index ab4927a..c23bacc 100644
--- a/src/app/plan-management/entry-plan-look/entry-plan-look.component.ts
+++ b/src/app/plan-management/entry-plan-look/entry-plan-look.component.ts
@@ -244,16 +244,17 @@ export class EntryPlanLookComponent implements OnInit {
}
//删除预案
deletePlan(plandata){
-
+ const config = new MatSnackBarConfig();
+ config.verticalPosition = 'top';
+ config.duration = 3000
let isTrue = confirm('您确定要删除吗')
if (isTrue) {
if(plandata.planType == 1){//如果删除的是二维预案
this.http.delete(`/api/PlanComponents2D/${plandata.id}`).subscribe(data=>{
- const config = new MatSnackBarConfig();
- config.verticalPosition = 'top';
- config.duration = 3000
this.snackBar.open('删除成功!','确定',config);
this.getAllPlanComponents()
+ },err => {
+ this.snackBar.open(err,'确定',config);
})
}else{
this.http.delete(`/api/PlanComponents/${plandata.id}`).subscribe(data=>{
@@ -262,6 +263,8 @@ export class EntryPlanLookComponent implements OnInit {
config.duration = 3000
this.snackBar.open('删除成功!','确定',config);
this.getAllPlanComponents()
+ },err => {
+ this.snackBar.open(err,'确定',config);
})
}
}
@@ -269,20 +272,23 @@ export class EntryPlanLookComponent implements OnInit {
}
//提交审核
submitAudit(element){
- // console.log(element)
+ const config = new MatSnackBarConfig();
+ config.verticalPosition = 'top';
+ config.duration = 3000
if(element.auditStatus == 4){
- const config = new MatSnackBarConfig();
- config.verticalPosition = 'top';
- config.duration = 3000
this.snackBar.open('审核退回的预案需要修改后方可再次提交审核!','确定',config);
}else{
if(element.planType == 1){//如果提交审核的是二维预案
this.http.put(`/api/PlanComponents2D/${element.id}/Commit`,"").subscribe(data=>{
this.getAllPlanComponents()
+ },err => {
+ this.snackBar.open(err,'确定',config);
})
}else{
this.http.put(`/api/PlanComponents/${element.id}/Commit`,"").subscribe(data=>{
this.getAllPlanComponents()
+ },err => {
+ this.snackBar.open(err,'确定',config);
})
}
}
diff --git a/src/app/plan-management/meet-plan/meet-plan.component.ts b/src/app/plan-management/meet-plan/meet-plan.component.ts
index 0f15262..af8ed46 100644
--- a/src/app/plan-management/meet-plan/meet-plan.component.ts
+++ b/src/app/plan-management/meet-plan/meet-plan.component.ts
@@ -143,22 +143,29 @@ export class MeetPlanComponent implements OnInit {
//提交审核
submitAudit(element){
// console.log(element)
+ const config = new MatSnackBarConfig();
+ config.verticalPosition = 'top';
+ config.duration = 3000
if(element.auditStatus == 4){
- const config = new MatSnackBarConfig();
- config.verticalPosition = 'top';
- config.duration = 3000
this.snackBar.open('审核退回的预案需要修改后方可再次提交审核!','确定',config);
}else{
this.http.put(`/api/PlanComponentsMajor/${element.id}/Commit`,"").subscribe(data=>{
this.getAlltabledate()
+ },err => {
+ this.snackBar.open(err,'确定',config);
})
}
}
//撤销审核
cancelAudit(element){
+ const config = new MatSnackBarConfig();
+ config.verticalPosition = 'top';
+ config.duration = 3000
this.http.put(`/api/PlanComponentsMajor/${element.id}/Cancel`,"").subscribe(data=>{
this.getAlltabledate()
+ },err => {
+ this.snackBar.open(err,'确定',config);
})
}
diff --git a/src/app/plan-management/meet-plan/resultmeetPlan.html b/src/app/plan-management/meet-plan/resultmeetPlan.html
index 6916a79..a337f4e 100644
--- a/src/app/plan-management/meet-plan/resultmeetPlan.html
+++ b/src/app/plan-management/meet-plan/resultmeetPlan.html
@@ -4,7 +4,7 @@
* @Author: sueRimn
* @Date: 2021-01-20 09:31:24
* @LastEditors: sueRimn
- * @LastEditTime: 2021-02-07 13:58:01
+ * @LastEditTime: 2021-03-06 09:03:34
-->
审批结果
@@ -18,7 +18,7 @@
初审时间:{{data.element.firstAudittedTime| date:'yyyy-MM-dd HH:mm:ss'}}
初审机构:{{data.element.firstAuditorOrganizationName}}
初审意见:{{data.element.firstAuditOpinion}}
-
初审结果:{{data.element.auditStatus==16?'待终审':data.element.auditStatus==32?'初审退回':''}}
+
初审结果:{{data.element.auditStatus==16?'待终审':data.element.auditStatus==32?'初审退回':data.element.auditStatus==2||4?'初审通过':''}}
终审时间:{{data.element.audittedTime| date:'yyyy-MM-dd HH:mm:ss'}}
终审机构:{{data.element.auditorOrganizationName}}
diff --git a/src/app/plan-management/onetwo-entry-plan/onetwo-entry-plan.component.ts b/src/app/plan-management/onetwo-entry-plan/onetwo-entry-plan.component.ts
index 9c9e94f..4e518aa 100644
--- a/src/app/plan-management/onetwo-entry-plan/onetwo-entry-plan.component.ts
+++ b/src/app/plan-management/onetwo-entry-plan/onetwo-entry-plan.component.ts
@@ -4,7 +4,7 @@
* @Author: sueRimn
* @Date: 2020-12-24 14:15:10
* @LastEditors: sueRimn
- * @LastEditTime: 2021-02-20 16:34:35
+ * @LastEditTime: 2021-03-06 09:14:22
*/
import { Component, OnInit, ViewChild, Inject } from '@angular/core';
import { HttpClient } from '@angular/common/http'
@@ -170,7 +170,9 @@ export class OnetwoEntryPlanComponent implements OnInit {
//提交审核
submitAudit(element){
- // console.log(element)
+ const config = new MatSnackBarConfig();
+ config.verticalPosition = 'top';
+ config.duration = 3000
if(element.auditStatus == 4){
const config = new MatSnackBarConfig();
config.verticalPosition = 'top';
@@ -179,14 +181,21 @@ export class OnetwoEntryPlanComponent implements OnInit {
}else{
this.http.put(`/api/PlanComponentsMajor/${element.id}/Commit`,"").subscribe(data=>{
this.getAlltabledate()
+ },err => {
+ this.snackBar.open(err,'确定',config);
})
}
}
//撤销审核
cancelAudit(element){
+ const config = new MatSnackBarConfig();
+ config.verticalPosition = 'top';
+ config.duration = 3000
this.http.put(`/api/PlanComponentsMajor/${element.id}/Cancel`,"").subscribe(data=>{
this.getAlltabledate()
+ },err => {
+ this.snackBar.open(err,'确定',config);
})
}
//查看预案
diff --git a/src/app/plan-management/onetwo-entry-plan/resultPlanonetwo.html b/src/app/plan-management/onetwo-entry-plan/resultPlanonetwo.html
index 3c68db2..4a3a9d1 100644
--- a/src/app/plan-management/onetwo-entry-plan/resultPlanonetwo.html
+++ b/src/app/plan-management/onetwo-entry-plan/resultPlanonetwo.html
@@ -4,7 +4,7 @@
* @Author: sueRimn
* @Date: 2021-01-20 09:31:24
* @LastEditors: sueRimn
- * @LastEditTime: 2021-02-07 13:58:29
+ * @LastEditTime: 2021-03-06 09:13:25
-->
审批结果
@@ -18,7 +18,7 @@
初审时间:{{data.element.firstAudittedTime| date:'yyyy-MM-dd HH:mm:ss'}}
初审机构:{{data.element.firstAuditorOrganizationName}}
初审意见:{{data.element.firstAuditOpinion}}
-
初审结果:{{data.element.auditStatus==16?'待终审':data.element.auditStatus==32?'初审退回':''}}
+
初审结果:{{data.element.auditStatus==16?'待终审':data.element.auditStatus==32?'初审退回':data.element.auditStatus==2||4?'初审通过':''}}
终审时间:{{data.element.audittedTime| date:'yyyy-MM-dd HH:mm:ss'}}
终审机构:{{data.element.auditorOrganizationName}}
diff --git a/src/app/plan-management/type-plan/resulttypePlan.html b/src/app/plan-management/type-plan/resulttypePlan.html
index fd65981..5859f75 100644
--- a/src/app/plan-management/type-plan/resulttypePlan.html
+++ b/src/app/plan-management/type-plan/resulttypePlan.html
@@ -4,7 +4,7 @@
* @Author: sueRimn
* @Date: 2021-01-20 09:31:24
* @LastEditors: sueRimn
- * @LastEditTime: 2021-02-07 13:58:16
+ * @LastEditTime: 2021-03-06 09:11:10
-->
审批结果
@@ -18,7 +18,7 @@
初审时间:{{data.element.firstAudittedTime| date:'yyyy-MM-dd HH:mm:ss'}}
初审机构:{{data.element.firstAuditorOrganizationName}}
初审意见:{{data.element.firstAuditOpinion}}
-
初审结果:{{data.element.auditStatus==16?'待终审':data.element.auditStatus==32?'初审退回':''}}
+
初审结果:{{data.element.auditStatus==16?'待终审':data.element.auditStatus==32?'初审退回':data.element.auditStatus==2||4?'初审通过':''}}
终审时间:{{data.element.audittedTime| date:'yyyy-MM-dd HH:mm:ss'}}
终审机构:{{data.element.auditorOrganizationName}}
diff --git a/src/app/plan-management/type-plan/type-plan.component.ts b/src/app/plan-management/type-plan/type-plan.component.ts
index cda585b..2bfd47b 100644
--- a/src/app/plan-management/type-plan/type-plan.component.ts
+++ b/src/app/plan-management/type-plan/type-plan.component.ts
@@ -4,7 +4,7 @@
* @Author: sueRimn
* @Date: 2021-01-06 09:47:43
* @LastEditors: sueRimn
- * @LastEditTime: 2021-02-07 16:13:27
+ * @LastEditTime: 2021-03-06 09:12:59
*/
import { Component, OnInit, ViewChild, Inject } from '@angular/core';
import { HttpClient } from '@angular/common/http'
@@ -154,23 +154,29 @@ export class TypePlanComponent implements OnInit {
//提交审核
submitAudit(element){
- // console.log(element)
+ const config = new MatSnackBarConfig();
+ config.verticalPosition = 'top';
+ config.duration = 3000
if(element.auditStatus == 4){
- const config = new MatSnackBarConfig();
- config.verticalPosition = 'top';
- config.duration = 3000
this.snackBar.open('审核退回的预案需要修改后方可再次提交审核!','确定',config);
}else{
this.http.put(`/api/PlanComponentsMajor/${element.id}/Commit`,"").subscribe(data=>{
this.getAlltabledate()
+ },err => {
+ this.snackBar.open(err,'确定',config);
})
}
}
//撤销审核
cancelAudit(element){
+ const config = new MatSnackBarConfig();
+ config.verticalPosition = 'top';
+ config.duration = 3000
this.http.put(`/api/PlanComponentsMajor/${element.id}/Cancel`,"").subscribe(data=>{
this.getAlltabledate()
+ },err => {
+ this.snackBar.open(err,'确定',config);
})
}
//查看预案
diff --git a/src/app/statistic-analysis/addUnit/add-unit-three-bar-details/add-unit-three-bar-details.component.ts b/src/app/statistic-analysis/addUnit/add-unit-three-bar-details/add-unit-three-bar-details.component.ts
index 01ded3e..788ca67 100644
--- a/src/app/statistic-analysis/addUnit/add-unit-three-bar-details/add-unit-three-bar-details.component.ts
+++ b/src/app/statistic-analysis/addUnit/add-unit-three-bar-details/add-unit-three-bar-details.component.ts
@@ -163,10 +163,7 @@ export class AddUnitThreeBarDetailsComponent implements OnInit {
this.option.series[0].data = this.zhongNumData
this.detailPlanEchart.setOption(this.option)
}else{
- const config = new MatSnackBarConfig();
- config.verticalPosition = 'top';
- config.duration = 3000
- this.snackBar.open('已到达最底层','确定',config);
+ this.router.navigate(['/statisticanalysis/CompangInfo'],{queryParams:{'name':params.name,'type':1}});
}
})
}
diff --git a/src/app/statistic-analysis/addUnit/add-unit-two-type-details/add-unit-two-type-details.component.ts b/src/app/statistic-analysis/addUnit/add-unit-two-type-details/add-unit-two-type-details.component.ts
index c2ac6d1..31d3d8e 100644
--- a/src/app/statistic-analysis/addUnit/add-unit-two-type-details/add-unit-two-type-details.component.ts
+++ b/src/app/statistic-analysis/addUnit/add-unit-two-type-details/add-unit-two-type-details.component.ts
@@ -2,6 +2,8 @@ import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';
import { ActivatedRoute } from '@angular/router';
import {EchartsDataService} from '../../echarts-data.service';
+import { MatDialogRef, MatDialog, MAT_DIALOG_DATA } from '@angular/material/dialog';
+import { CompangInfoComponent } from '../../compang-info/compang-info.component'
declare var echarts: any;
@Component({
selector: 'app-add-unit-two-type-details',
@@ -10,7 +12,7 @@ declare var echarts: any;
})
export class AddUnitTwoTypeDetailsComponent implements OnInit {
- constructor(public route: ActivatedRoute,private router: Router,public echartsData:EchartsDataService) { }
+ constructor(public route: ActivatedRoute,private router: Router,public dialog: MatDialog,public echartsData:EchartsDataService) { }
forward(){
this.router.navigate(['/statisticanalysis/addUnit_one/addUnit_two_type'])
}
@@ -122,6 +124,12 @@ export class AddUnitTwoTypeDetailsComponent implements OnInit {
}]
};
this.detailPlanEchart.setOption(option);
+ this.detailPlanEchart.on('click', (params) => {
+ this.router.navigate(['/statisticanalysis/CompangInfo'],{queryParams:{'name':params.name,'type':1}});
+ /* const dialogRef = this.dialog.open(CompangInfoComponent, {
+ width:"400px",
+ }); */
+ });
}
diff --git a/src/app/statistic-analysis/buildingType/building-type-one/building-type-one.component.ts b/src/app/statistic-analysis/buildingType/building-type-one/building-type-one.component.ts
index 68f7da8..8cdbed5 100644
--- a/src/app/statistic-analysis/buildingType/building-type-one/building-type-one.component.ts
+++ b/src/app/statistic-analysis/buildingType/building-type-one/building-type-one.component.ts
@@ -30,12 +30,12 @@ export class BuildingTypeOneComponent implements OnInit {
initCharts(){
this.echartsData.getData(null)
console.log(this.echartsData.allDate)
- this.http.get("/api/StatisticsAnalysis/BuildingTypes").subscribe((data:any)=>{
+ this.http.get("/api/StatisticsAnalysis").subscribe((data:any)=>{
console.log(data)
- for(var i=0;i
{return {name: v.buildingTypeName,value:v.count,id:v.buildingTypeId}})
diff --git a/src/app/statistic-analysis/buildingType/building-type-three-details/building-type-three-details.component.ts b/src/app/statistic-analysis/buildingType/building-type-three-details/building-type-three-details.component.ts
index 5ca8635..6a9e16c 100644
--- a/src/app/statistic-analysis/buildingType/building-type-three-details/building-type-three-details.component.ts
+++ b/src/app/statistic-analysis/buildingType/building-type-three-details/building-type-three-details.component.ts
@@ -109,6 +109,9 @@ export class BuildingTypeThreeDetailsComponent implements OnInit {
}]
};
this.detailPlanEchart.setOption(option);
+ this.detailPlanEchart.on('click', (params) => {
+ this.router.navigate(['/statisticanalysis/CompangInfo'],{queryParams:{'name':params.name,'type':1}});
+ });
}
diff --git a/src/app/statistic-analysis/compang-info/compang-info.component.html b/src/app/statistic-analysis/compang-info/compang-info.component.html
new file mode 100644
index 0000000..557c6fd
--- /dev/null
+++ b/src/app/statistic-analysis/compang-info/compang-info.component.html
@@ -0,0 +1,53 @@
+
+
+
+
+ {{titlename}}
+
+
+
+
+ 名称 |
+ {{element.name}} |
+
+
+ 修改时间 |
+ {{element.modifiedTime|date:'yyyy-MM-dd'}} |
+
+
+ 消防救援站 |
+ {{element.organizationName}} |
+
+
+ 类型 |
+ {{element.buildingTypes.length != 0 ? element.buildingTypes[0].name : ''}} |
+
+
+ 操作 |
+
+ 详情
+ |
+
+
+
+
+
+
+
+
+
+
diff --git a/src/app/statistic-analysis/compang-info/compang-info.component.scss b/src/app/statistic-analysis/compang-info/compang-info.component.scss
new file mode 100644
index 0000000..dceb5cf
--- /dev/null
+++ b/src/app/statistic-analysis/compang-info/compang-info.component.scss
@@ -0,0 +1,73 @@
+.body{
+ display: flex;
+ flex-direction: column;
+ .topbox{
+ width: 100%;
+ height: 80px;
+ min-height: 80px;
+ border-bottom: 1px gray solid;
+ .btnbox{
+ display: flex;
+ flex-direction:row-reverse;
+ float: right;
+ justify-content: center;
+ align-items: center;
+ height: 100%;
+ button{
+ width: 88px;
+ height: 36px;
+ }
+ margin-right:4%;
+
+ }
+ }
+ .title{
+ width: 100%;
+ text-align: center;
+ margin-top: 2%;
+ span{
+ text-align: center;
+ font-size: 28px;
+ }
+ }
+ .buttonbox{
+ padding-left: 50px;
+ button{
+ margin:0 10px
+ }
+ }
+ .tablebox{
+ width: 100%;
+ text-align: center;
+ table{
+ width: 50%;
+ text-align: center;
+ margin-left: 25%;
+ margin-top:20px;
+ th,td{
+ text-align: center;
+ font-size: 15px;
+ color: #000000;
+ }
+ }
+ mat-paginator{
+ width: 100%;
+ margin-left: 0%;
+ }
+ .mat-column-unitname{
+ width: 15%;
+ }
+ .mat-column-integrity{
+ width: 13%;
+ }
+ .mat-column-operation{
+ width: 5%;
+ }
+ .mat-column-jurisdictionsquadron{
+ width: 10%;
+ }
+ span:hover{
+ text-decoration:underline
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/app/statistic-analysis/compang-info/compang-info.component.spec.ts b/src/app/statistic-analysis/compang-info/compang-info.component.spec.ts
new file mode 100644
index 0000000..317730b
--- /dev/null
+++ b/src/app/statistic-analysis/compang-info/compang-info.component.spec.ts
@@ -0,0 +1,25 @@
+import { async, ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { CompangInfoComponent } from './compang-info.component';
+
+describe('CompangInfoComponent', () => {
+ let component: CompangInfoComponent;
+ let fixture: ComponentFixture;
+
+ beforeEach(async(() => {
+ TestBed.configureTestingModule({
+ declarations: [ CompangInfoComponent ]
+ })
+ .compileComponents();
+ }));
+
+ beforeEach(() => {
+ fixture = TestBed.createComponent(CompangInfoComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/src/app/statistic-analysis/compang-info/compang-info.component.ts b/src/app/statistic-analysis/compang-info/compang-info.component.ts
new file mode 100644
index 0000000..73a020b
--- /dev/null
+++ b/src/app/statistic-analysis/compang-info/compang-info.component.ts
@@ -0,0 +1,92 @@
+/*
+ * @Descripttion:
+ * @version:
+ * @Author: sueRimn
+ * @Date: 2021-03-05 15:57:08
+ * @LastEditors: sueRimn
+ * @LastEditTime: 2021-03-06 11:35:04
+ */
+import { Component, OnInit, ViewChild, Inject } from '@angular/core';
+import { HttpClient } from '@angular/common/http'
+import { MatTreeFlatDataSource, MatTreeFlattener } from '@angular/material/tree';
+import { MatPaginator } from '@angular/material/paginator';
+import { FlatTreeControl } from '@angular/cdk/tree';
+import { FormControl } from '@angular/forms';
+import { Router,ActivatedRoute } from '@angular/router'
+import { PageEvent } from '@angular/material/paginator';
+import { MatDialogRef, MatDialog, MAT_DIALOG_DATA } from '@angular/material/dialog';
+import { MatSnackBar, MatSnackBarConfig } from '@angular/material/snack-bar';
+import { TreeService } from '../../http-interceptors/tree.service'
+import { MatTableDataSource } from '@angular/material/table';
+declare var CryptoJS
+
+@Component({
+ selector: 'app-compang-info',
+ templateUrl: './compang-info.component.html',
+ styleUrls: ['./compang-info.component.scss']
+})
+export class CompangInfoComponent implements OnInit{
+
+ constructor(private http: HttpClient,public snackBar: MatSnackBar,public route: ActivatedRoute,private router: Router) {}
+
+ ngOnInit(): void {
+ this.route.queryParams.subscribe(params => {
+ this.titlename = params['name'];
+ this.type = params['type'];
+ });
+ this.getAlltabledate()
+ }
+ displayedColumns: string[] = ['unitname','modifiedTime','organizationName','buildingTypes','operation'];
+ tabledataSource
+ titlename //上个页面传过来的名称
+ type //上个页面传过来:1重点单位 2预案
+ jsId=1 //组织机构id
+ //分页
+ @ViewChild(MatPaginator, {static: true})
+ pageEvent: PageEvent;
+ paginator: MatPaginator;
+ length:any; //共多少条数据
+ pageSize:any; //每页条数
+ pageSizeOptions: number[] = [10] //设置每页条数
+ PageNumber:any; //第几页
+ //分页事件
+ changePage(e){
+ this.PageNumber = e.pageIndex+1
+ this.getAlltabledate()
+ }
+ //返回
+ goBack () {
+ history.go(-1)
+ //this.echartsData.statefulInspectionToggle = true
+ }
+
+ //获取表格数据
+ getAlltabledate(){
+ if(this.type==1){
+ //重点单位
+ let paramsdata:any = {
+ OrganizationId: this.jsId || '',
+ PageNumber: this.PageNumber || '1',
+ PageSize: this.pageSizeOptions[0],
+ IntegrityScoreMin:0,
+ IntegrityScoreMax:1
+ }
+ this.http.get("/api/Companies",{params:paramsdata}).subscribe((data:any)=>{
+ this.length = data.totalCount
+ //console.log(789,data.items)
+ this.tabledataSource = new MatTableDataSource(data.items);
+ })
+ }
+ }
+ //跳转查看基本信息页面
+ unitdetails(element){
+ if(this.type==1){
+ sessionStorage.setItem("editable","0")
+ sessionStorage.setItem("companyName",element.name)
+ sessionStorage.setItem("companyId",element.id)
+ sessionStorage.setItem(element.id,JSON.stringify(element.companyIntegrityScore))
+ window.open(`/keyUnit/viewunitinfo?id=${element.id}&usci=${element.usci}`,'_blank');
+ }
+
+ }
+}
diff --git a/src/app/statistic-analysis/statistic-analysis-routing.module.ts b/src/app/statistic-analysis/statistic-analysis-routing.module.ts
index 51f4226..ed3ef96 100644
--- a/src/app/statistic-analysis/statistic-analysis-routing.module.ts
+++ b/src/app/statistic-analysis/statistic-analysis-routing.module.ts
@@ -4,7 +4,7 @@
* @Author: sueRimn
* @Date: 2020-09-02 16:57:00
* @LastEditors: sueRimn
- * @LastEditTime: 2020-11-05 11:07:16
+ * @LastEditTime: 2021-03-06 09:50:16
*/
import { Component, NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
@@ -33,6 +33,7 @@ import { AddUnitThreeLineDetailsComponent } from './addUnit/add-unit-three-line-
import { AddUnitThreeBarDetailsComponent } from './addUnit/add-unit-three-bar-details/add-unit-three-bar-details.component';
import { HomeComponent } from './home/home.component';
import { yueDateComponent }from './scheduled-updates/scheduled-updates.component'
+import { CompangInfoComponent }from './compang-info/compang-info.component'
import { from } from 'rxjs';
@@ -65,7 +66,8 @@ const routes: Routes = [
{ path: 'scheduledUpdates', component: ScheduledUpdatesComponent},
{ path: 'scheduledUpdates/yueDate', component: yueDateComponent},
{ path: 'scheduledUpdates/PublicEcharts', component: publicEchartsComponent},
- { path: 'home', component: HomeComponent}
+ { path: 'home', component: HomeComponent},
+ { path: 'CompangInfo',component:CompangInfoComponent}
];
@NgModule({
diff --git a/src/app/statistic-analysis/statistic-analysis.module.ts b/src/app/statistic-analysis/statistic-analysis.module.ts
index c80a769..b8229e8 100644
--- a/src/app/statistic-analysis/statistic-analysis.module.ts
+++ b/src/app/statistic-analysis/statistic-analysis.module.ts
@@ -68,11 +68,12 @@ import { DeleteThereLineDetailsComponent } from './deleteUnit/delete-there-line-
import { PageThereComponent } from './state/page-there/page-there.component';
import { PageThereYearComponent } from './state/page-there-year/page-there-year.component';
import { DeleteTwoNewaddComponent } from './deleteUnit/delete-two-newadd/delete-two-newadd.component';
+import { CompangInfoComponent } from './compang-info/compang-info.component';
@NgModule({
- declarations: [PageOneComponent, PageTwoTimeComponent, PageTwoNameComponent, PageZhongDuiDetailsComponent,echartsComponent, DeleteOneComponent, DeleteTwoComponent, DeleteThereComponent, DeleteFourComponent, BuildingTypeOneComponent, ScheduledUpdatesComponent,publicEchartsComponent,verifiedComponent,notVerifiedComponent,detailedInformationComponent,moreTableComponent,yueDateComponent,yuebuildingDateComponent,indexConditionComponent, BuildingTypeTwoForwardComponent, BuildingTypeTwoReverseComponent, BuildingTypeThreeDetailsComponent, AddUnitOneComponent, AddUnitTwoTypeStatisticsComponent, AddUnitTwoTypeDetailsComponent, AddUnitTwoTimeComponent,AddUnitThreeLineDetailsComponent,AddUnitThreeBarDetailsComponent, HomeComponent, DeleteThereLineDetailsComponent, PageThereComponent, PageThereYearComponent, DeleteTwoNewaddComponent],
+ declarations: [PageOneComponent, PageTwoTimeComponent, PageTwoNameComponent, PageZhongDuiDetailsComponent,echartsComponent, DeleteOneComponent, DeleteTwoComponent, DeleteThereComponent, DeleteFourComponent, BuildingTypeOneComponent, ScheduledUpdatesComponent,publicEchartsComponent,verifiedComponent,notVerifiedComponent,detailedInformationComponent,moreTableComponent,yueDateComponent,yuebuildingDateComponent,indexConditionComponent, BuildingTypeTwoForwardComponent, BuildingTypeTwoReverseComponent, BuildingTypeThreeDetailsComponent, AddUnitOneComponent, AddUnitTwoTypeStatisticsComponent, AddUnitTwoTypeDetailsComponent, AddUnitTwoTimeComponent,AddUnitThreeLineDetailsComponent,AddUnitThreeBarDetailsComponent, HomeComponent, DeleteThereLineDetailsComponent, PageThereComponent, PageThereYearComponent, DeleteTwoNewaddComponent, CompangInfoComponent],
imports: [
CommonModule,
StatisticAnalysisRoutingModule,