diff --git a/src/app/key-unit/basicinfo-look/basicinfo.component.ts b/src/app/key-unit/basicinfo-look/basicinfo.component.ts index 80e56d5..c6ab33e 100644 --- a/src/app/key-unit/basicinfo-look/basicinfo.component.ts +++ b/src/app/key-unit/basicinfo-look/basicinfo.component.ts @@ -31,7 +31,7 @@ export class BasicinfoLookComponent implements OnInit { //查看消防设施统计 seeFirfightingDevice (e) { e.stopPropagation() - let dialogRef = this.dialog.open(StatisticsOfFireFightingFacilities); + let dialogRef = this.dialog.open(StatisticsOfFireFightingFacilities,{hasBackdrop: false,position: {right:'55px',top:'165px'}}); dialogRef.afterClosed().subscribe(); } diff --git a/src/app/key-unit/basicinfo/basicinfo.component.ts b/src/app/key-unit/basicinfo/basicinfo.component.ts index c446ffc..a07f1a3 100644 --- a/src/app/key-unit/basicinfo/basicinfo.component.ts +++ b/src/app/key-unit/basicinfo/basicinfo.component.ts @@ -32,7 +32,7 @@ export class BasicinfoComponent implements OnInit { //查看消防设施统计 seeFirfightingDevice (e) { e.stopPropagation() - let dialogRef = this.dialog.open(StatisticsOfFireFightingFacilities); + let dialogRef = this.dialog.open(StatisticsOfFireFightingFacilities,{hasBackdrop: false,position: {right:'55px',top:'165px'}}); dialogRef.afterClosed().subscribe(); } diff --git a/src/app/key-unit/basicinfo/statisticsOfFireFightingFacilities.html b/src/app/key-unit/basicinfo/statisticsOfFireFightingFacilities.html index e24e0ab..587a18f 100644 --- a/src/app/key-unit/basicinfo/statisticsOfFireFightingFacilities.html +++ b/src/app/key-unit/basicinfo/statisticsOfFireFightingFacilities.html @@ -1,4 +1,4 @@ -
消防设施统计
-

{{item}}

+
消防设施统计
+

{{item}}

\ No newline at end of file diff --git a/src/app/key-unit/edit-plan-info/edit-plan-info.component.html b/src/app/key-unit/edit-plan-info/edit-plan-info.component.html index 060d83c..2db1b5a 100644 --- a/src/app/key-unit/edit-plan-info/edit-plan-info.component.html +++ b/src/app/key-unit/edit-plan-info/edit-plan-info.component.html @@ -1,12 +1,12 @@
- - - - - - - - + + + + + + + +
diff --git a/src/app/key-unit/edit-plan-info/edit-plan-info.component.scss b/src/app/key-unit/edit-plan-info/edit-plan-info.component.scss index ac24283..01a9116 100644 --- a/src/app/key-unit/edit-plan-info/edit-plan-info.component.scss +++ b/src/app/key-unit/edit-plan-info/edit-plan-info.component.scss @@ -9,8 +9,9 @@ width: 100%; text-align: center; position: absolute; - top: 35px; - font-size: 16px; + top: 88px; + font-size: 15px; z-index: 111; + color: red; } } \ No newline at end of file diff --git a/src/app/key-unit/view-unit-details/view-unit-details.component.html b/src/app/key-unit/view-unit-details/view-unit-details.component.html index 85803af..164fc02 100644 --- a/src/app/key-unit/view-unit-details/view-unit-details.component.html +++ b/src/app/key-unit/view-unit-details/view-unit-details.component.html @@ -1,12 +1,12 @@
- - - - - - - - + + + + + + + +
diff --git a/src/app/key-unit/view-unit-details/view-unit-details.component.scss b/src/app/key-unit/view-unit-details/view-unit-details.component.scss index ac24283..01a9116 100644 --- a/src/app/key-unit/view-unit-details/view-unit-details.component.scss +++ b/src/app/key-unit/view-unit-details/view-unit-details.component.scss @@ -9,8 +9,9 @@ width: 100%; text-align: center; position: absolute; - top: 35px; - font-size: 16px; + top: 88px; + font-size: 15px; z-index: 111; + color: red; } } \ No newline at end of file diff --git a/src/app/ui/collection-tools-plan/collection-tools.component.ts b/src/app/ui/collection-tools-plan/collection-tools.component.ts index e1e6ee2..05e59e8 100644 --- a/src/app/ui/collection-tools-plan/collection-tools.component.ts +++ b/src/app/ui/collection-tools-plan/collection-tools.component.ts @@ -1725,8 +1725,10 @@ export class CollectionToolsPlanComponent implements OnInit { dialogRef.afterClosed().subscribe(data=>{ if (data =='总平面图') { this.sitePlanData.length? this.renovateSitePlan() : this.getSitePlan() + this.maskLayerService.sendMessage(false) } else if (data =='建筑') { this.renovateBuilding() + this.maskLayerService.sendMessage(false) } }) } diff --git a/src/app/ui/collection-tools-plan/leftFunctionalDomain.ts b/src/app/ui/collection-tools-plan/leftFunctionalDomain.ts index cc1bd01..5457d7b 100644 --- a/src/app/ui/collection-tools-plan/leftFunctionalDomain.ts +++ b/src/app/ui/collection-tools-plan/leftFunctionalDomain.ts @@ -4,6 +4,7 @@ import { MatDialog, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dial import { MatSnackBar, MatSnackBarConfig } from '@angular/material/snack-bar'; import { CanvasShareDataService } from 'src/app/canvas-share-data.service'; import { EventManager } from '@angular/platform-browser'; +import { MaskLayerService } from 'src/app/mask-layer.service'; @Component({ selector: 'app-leftFunctionalDomain-plan', @@ -17,7 +18,7 @@ export class leftFunctionalDomainComponentPlan implements OnInit { public dialog: MatDialog, public snackBar: MatSnackBar, public dialogRef: MatDialogRef, - @Inject(MAT_DIALOG_DATA) public data,public canvasData: CanvasShareDataService,) { } + @Inject(MAT_DIALOG_DATA) public data,public canvasData: CanvasShareDataService,private maskLayerService:MaskLayerService,) { } ngOnInit(): void { @@ -37,7 +38,7 @@ export class leftFunctionalDomainComponentPlan implements OnInit { const config = new MatSnackBarConfig(); config.verticalPosition = 'top'; config.duration = 3000 - this.snackBar.open('上传图片需小于5MB','确定',config); + this.snackBar.open('上传图片需小于10MB','确定',config); } } } @@ -53,6 +54,7 @@ export class leftFunctionalDomainComponentPlan implements OnInit { //提交表单创建平面图 onSubmit (e) { if (this.file) { + this.maskLayerService.sendMessage(true) if (this.file.size<=5*1024*1024) { //小于5MB let formData = new FormData() formData.append("file",this.file)