From 5b4a9d6b00436c9e72d06032c5f6ee0f860037ad Mon Sep 17 00:00:00 2001 From: cpf <1105965053@qq.com> Date: Thu, 12 Aug 2021 15:17:07 +0800 Subject: [PATCH 1/6] =?UTF-8?q?[=E5=AE=8C=E5=96=84]=20=E7=BC=96=E8=BE=91,?= =?UTF-8?q?=E6=9F=A5=E7=9C=8B=E4=B8=89=E7=BB=B4=E9=A2=84=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + .../entry-plan-look.component.ts | 21 +++++++++++++++---- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 65628c7..00ad7bb 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "ng": "ng", "start": "ng serve --proxy-config proxy.config.json --open", "build": "ng build", + "build-prod": "node --max_old_space_size=5048 ./node_modules/@angular/cli/bin/ng build --prod", "publish": "ng build --prod --verbose", "test": "ng test", "lint": "ng lint", 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 b7977e0..21006e8 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 @@ -106,7 +106,6 @@ export class EntryPlanLookComponent implements OnInit { } //查看预案 lookPlan(e) { - console.log(e) if (e.planType == 16 || e.planType == 4 || e.planType == 8) { if (e.planType == 16&&e.attachmentUrls == null){ window.open(`/planManagement/createplanonlinefive?navIsOpen=false&companyId=${this.companyId}&planName=${e.name}&unitName=${this.unitdata.unitname}&planCategory=${e.planCategory}&planId=${e.id}&unitTypeId=${this.compantData.buildingTypes[0].id}&orName=${this.compantData.organizationName}&orId=${this.compantData.organizationId}&pattern=false`) @@ -161,7 +160,11 @@ export class EntryPlanLookComponent implements OnInit { window.location.href = e.url } else { sessionStorage.setItem("url", e.url) - window.open(`/planManagement/webLook`) + if ((e.url as string).includes('gis/threeDimensionalHome')) { //三维预案 + window.open(`${e.url}?unitId=${this.companyId}&unitName=${this.unitdata.unitname}&editMode=false`) + } else { + window.open(`/planManagement/webLook`) + } } } } @@ -203,8 +206,18 @@ export class EntryPlanLookComponent implements OnInit { } } - else { - + else if (e.planType == 2) { //三维预案 + if (e.url.indexOf('app') == 0) { + window.location.href = e.url + } else { + sessionStorage.setItem("url", e.url) + if ((e.url as string).includes('gis/threeDimensionalHome')) { //三维预案 + window.open(`${e.url}?unitId=${this.companyId}&unitName=${this.unitdata.unitname}&editMode=true`) + } else { + window.open(`/planManagement/webLook`) + } + } + } else { this.snackBar.open('只有二维预案和文本预案可以编辑!', '确定', config); } } else { From 5f4eb3258190470e04c13394bd9604fcba1c68d9 Mon Sep 17 00:00:00 2001 From: cpf <1105965053@qq.com> Date: Thu, 12 Aug 2021 17:14:29 +0800 Subject: [PATCH 2/6] =?UTF-8?q?=E7=BC=96=E8=BE=91=20=E4=B8=89=E7=BB=B4?= =?UTF-8?q?=E9=A2=84=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../entry-plan-look/entry-plan-look.component.ts | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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 21006e8..d443744 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 @@ -256,7 +256,18 @@ export class EntryPlanLookComponent implements OnInit { } } - else { + else if (e.planType == 2) { //三维预案 + if (e.url.indexOf('app') == 0) { + window.location.href = e.url + } else { + sessionStorage.setItem("url", e.url) + if ((e.url as string).includes('gis/threeDimensionalHome')) { //三维预案 + window.open(`${e.url}?unitId=${this.companyId}&unitName=${this.unitdata.unitname}&editMode=true`) + } else { + window.open(`/planManagement/webLook`) + } + } + } else { this.snackBar.open('只有二维预案和文本预案可以编辑!', '确定', config); } From 161db5f26f0ecf195325a0e851ab0e7d194d2e04 Mon Sep 17 00:00:00 2001 From: SHAOJIAHAO <55341701@qq.com> Date: Mon, 16 Aug 2021 10:30:34 +0800 Subject: [PATCH 3/6] =?UTF-8?q?[=E5=AE=8C=E5=96=84]linksPlan=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E4=B8=89=E7=BB=B4=E9=A2=84=E6=A1=88=E6=9F=A5=E7=9C=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../external-links-plan.component.ts | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/app/external-links-plan/external-links-plan.component.ts b/src/app/external-links-plan/external-links-plan.component.ts index c3f65b8..ece2c71 100644 --- a/src/app/external-links-plan/external-links-plan.component.ts +++ b/src/app/external-links-plan/external-links-plan.component.ts @@ -105,11 +105,12 @@ export class ExternalLinksPlanComponent implements OnInit { // this.threedUrl = this.sanitizer.bypassSecurityTrustResourceUrl(`/keyUnit/viewunitinfoplans?id=${data.companyId}`) }) } else if (this.planData.planMode == 3) { //预案planMode=3时, 第三方网址' - this.http.get(`/api/Plans/${data.companyId}`).subscribe((data: any) => { - data && data.company ? this.companyData = data.company : null - this.threedUrl = this.sanitizer.bypassSecurityTrustResourceUrl(data.url) - this.showType = 2 - }) + // this.http.get(`/api/Plans/${data.companyId}`).subscribe((data: any) => { + // data && data.company ? this.companyData = data.company : null + // this.threedUrl = this.sanitizer.bypassSecurityTrustResourceUrl(data.url) + // this.showType = 2 + // }) + window.location.href = `${data.url}?unitId=${data.company.id}&unitName=${data.company.name}&editMode=false` } } From c7797274118161b4016b51c86bed89fde796cb60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=AF=E5=8D=87?= <359059686@qq.com> Date: Mon, 16 Aug 2021 15:45:32 +0800 Subject: [PATCH 4/6] =?UTF-8?q?=E5=AE=8C=E5=96=84=20=E7=BB=98=E5=88=B6?= =?UTF-8?q?=E6=B0=B4=E5=B8=A6=E5=8F=AF=E4=BB=A5=E7=82=B9=E5=87=BB=E5=9C=A8?= =?UTF-8?q?=E5=B7=B2=E5=88=9B=E5=BB=BA=E5=9B=BE=E6=A0=87=E4=B8=8A=E8=BF=9B?= =?UTF-8?q?=E8=A1=8C=E7=BB=98=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/working-area/model/axShape.ts | 19 +++++++++++-------- .../working-area/working-area.component.ts | 8 ++++---- 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/src/app/working-area/model/axShape.ts b/src/app/working-area/model/axShape.ts index 7675dae..aee9466 100644 --- a/src/app/working-area/model/axShape.ts +++ b/src/app/working-area/model/axShape.ts @@ -2,6 +2,7 @@ import { Constructor } from '@angular/material/core/common-behaviors/constructor import * as PIXI from 'pixi.js'; import { Point, Rectangle, Graphics, Container } from 'pixi.js'; import { WorkingAreaComponent } from '../working-area.component'; +import { PaintMode } from './paintModel'; /** * 安信形状 @@ -35,14 +36,16 @@ export class AxShape extends Graphics { // this.buttonMode = true; this .on('pointerdown', event => { - event.stopPropagation(); - if (this.allowSelect - && event.data.button === 0) { - this.workingArea.select(this); - } - if (this.allowEdit) { - this.mouseDragging = true; - this.mousePosition = event.data.getLocalPosition(this.workingArea.backgroundImage); + if (workingArea.getPaintMode() !== PaintMode.Pipeline) { + event.stopPropagation(); + if (this.allowSelect + && event.data.button === 0) { + this.workingArea.select(this); + } + if (this.allowEdit) { + this.mouseDragging = true; + this.mousePosition = event.data.getLocalPosition(this.workingArea.backgroundImage); + } } }) .on('pointerup', event => { diff --git a/src/app/working-area/working-area.component.ts b/src/app/working-area/working-area.component.ts index c7a005a..e6bd50e 100644 --- a/src/app/working-area/working-area.component.ts +++ b/src/app/working-area/working-area.component.ts @@ -779,7 +779,7 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV this.enterPaint(); }); this.backgroundImage.addChild(this.enterPaintEndButton); - this.enterPaintEndButton.zIndex = this.backgroundImage.children.length; + this.enterPaintEndButton.zIndex = this.backgroundImage.children.length + 200; this.enterPaintEndButton.visible = false; } /** @@ -865,7 +865,7 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV if (this.paintPoints.length >= 2) { this.enterPaintEndButton.position = this.circleShadow.position; this.enterPaintEndButton.visible = true; - this.enterPaintEndButton.zIndex = this.backgroundImage.children.length; + this.enterPaintEndButton.zIndex = this.backgroundImage.children.length + 200; } if (this.paintingIcon !== null) { @@ -932,7 +932,7 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV this.enterPaintEndButton.position = this.circleShadow.position; } else if (this.paintPoints.length >= 3) { this.enterPaintEndButton.visible = true; - this.enterPaintEndButton.zIndex = this.backgroundImage.children.length; + this.enterPaintEndButton.zIndex = this.backgroundImage.children.length + 200; } this.paintPoints.forEach((value, index, array) => { if (index === 0) { @@ -961,7 +961,7 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV this.previewLineSegment.visible = true; this.enterPaintEndButton.position = this.circleShadow.position; this.enterPaintEndButton.visible = true; - this.enterPaintEndButton.zIndex = this.backgroundImage.children.length; + this.enterPaintEndButton.zIndex = this.backgroundImage.children.length + 200; // this.currentClickPoint.position = new PIXI.Point(this.circleShadow.x, this.circleShadow.y); // this.paintPoints.push(new PIXI.Point(this.circleShadow.x, this.circleShadow.y)); var point = new PIXI.Point(this.circleShadow.x, this.circleShadow.y); From 7257b46b6de7bd6b80e7315052c4848a7f92f2e8 Mon Sep 17 00:00:00 2001 From: SHAOJIAHAO <55341701@qq.com> Date: Mon, 16 Aug 2021 16:04:15 +0800 Subject: [PATCH 5/6] =?UTF-8?q?[=E5=AE=8C=E5=96=84]=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E5=AE=9E=E6=99=AF=E5=9B=BE=E6=96=87=E4=BB=B6=E5=A4=B9bug?= =?UTF-8?q?=EF=BC=8Clinksplan=E9=A2=84=E8=A7=88=E4=B8=89=E7=BB=B4=E9=A2=84?= =?UTF-8?q?=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../external-links-plan.component.ts | 19 +++++++- .../edit-plan-info.component.html | 4 +- .../realistic-picture.component.ts | 47 ++++++++++++++++--- .../view-unit-details.component.html | 4 +- .../collection-tools.component.ts | 2 +- .../ui/collection-tools-building/panel.scss | 1 + .../collection-tools-plan/addPlaneFigure.html | 4 +- .../collection-tools.component.ts | 3 +- src/app/ui/collection-tools-plan/panel.scss | 1 + .../collection-tools.component.ts | 2 +- 10 files changed, 70 insertions(+), 17 deletions(-) diff --git a/src/app/external-links-plan/external-links-plan.component.ts b/src/app/external-links-plan/external-links-plan.component.ts index ece2c71..99c8647 100644 --- a/src/app/external-links-plan/external-links-plan.component.ts +++ b/src/app/external-links-plan/external-links-plan.component.ts @@ -110,8 +110,25 @@ export class ExternalLinksPlanComponent implements OnInit { // this.threedUrl = this.sanitizer.bypassSecurityTrustResourceUrl(data.url) // this.showType = 2 // }) - window.location.href = `${data.url}?unitId=${data.company.id}&unitName=${data.company.name}&editMode=false` + let localhostPath = window.document.location.href.substring( 0, window.document.location.href.indexOf(window.document.location.pathname)) + //localhostPath : http://39.106.78.171:8000/ + let url = data.url + if(url.indexOf(localhostPath) != -1){ + window.location.href = `${url}?unitId=${data.company.id}&unitName=${data.company.name}&editMode=false` + }else{ + // let substr = url.split('/').splice(3,url.split('/').length) + // let port = url.split(':')[2] + // if(port.indexOf('/') != -1){ + // port = port.split('/')[0] + // } + // let ip = localhostPath.split(':') + // ip.pop() + // let newurl = ip.join(':') + ":" + port + "/" + substr.join('/'); + // // console.log('xxx',newurl) + // window.location.href = `${newurl}?unitId=${data.company.id}&unitName=${data.company.name}&editMode=false` + window.location.href = `${url}?unitId=${data.company.id}&unitName=${data.company.name}&editMode=false` + } } } } 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 1c41e4c..80599ab 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 @@ -5,8 +5,8 @@ - - + + diff --git a/src/app/key-unit/realistic-picture/realistic-picture.component.ts b/src/app/key-unit/realistic-picture/realistic-picture.component.ts index 0af6721..9c61489 100644 --- a/src/app/key-unit/realistic-picture/realistic-picture.component.ts +++ b/src/app/key-unit/realistic-picture/realistic-picture.component.ts @@ -79,6 +79,17 @@ export class RealisticPictureComponent implements OnInit { } }).subscribe((data: any) => { this.allRealPicture = data + this.allRealPicture.unshift({ + companyId: sessionStorage.getItem('companyId'), + id: '重点部位', + name: "重点部位", + realityImages: null + }, { + companyId: sessionStorage.getItem('companyId'), + id: '安全出口', + name: "安全出口", + realityImages: null + }) this.selectReal = data[this.selectRealIndex] }) } @@ -93,7 +104,7 @@ export class RealisticPictureComponent implements OnInit { pageSize: this.pageSize, } this.http.get('/api/CompanySafetyExits/GetCompanySafetyExitImages', { params: params }).subscribe((data: any) => { - console.log('当前单位安全出口', data) + // console.log('当前单位安全出口', data) this.allImages = data.items this.length = data.totalCount this.pageSize = this.pageSize @@ -220,6 +231,17 @@ export class RealisticPictureComponent implements OnInit { } }).subscribe((data: any) => { this.allRealPicture = data + this.allRealPicture.unshift({ + companyId: sessionStorage.getItem('companyId'), + id: '重点部位', + name: "重点部位", + realityImages: null + }, { + companyId: sessionStorage.getItem('companyId'), + id: '安全出口', + name: "安全出口", + realityImages: null + }) this.selectReal = data[this.selectRealIndex] this.allImages = [] this.getAllRealPicture() @@ -522,7 +544,7 @@ export class previewImg { }) export class addRealPicture { - constructor(private router: Router, private route: ActivatedRoute, private http: HttpClient, public dialog: MatDialog, public dialogRef: MatDialogRef) { } + constructor(private router: Router, private route: ActivatedRoute, private http: HttpClient, public dialog: MatDialog, public dialogRef: MatDialogRef, public snackBar: MatSnackBar) { } ngOnInit(): void { this.companyId = sessionStorage.getItem('companyId') @@ -537,9 +559,16 @@ export class addRealPicture { name: e.name, companyId: companyId } - this.http.post('/api/RealityImageGroups', data).subscribe(data => { - this.dialogRef.close(data); - }) + if(e.name == '安全出口' || e.name == '重点部位'){ + let config = new MatSnackBarConfig(); + config.verticalPosition = 'top'; + config.duration = 3000 + this.snackBar.open('不允许创建名为安全出口或者重点部位的文件夹', '确定', config); + }else{ + this.http.post('/api/RealityImageGroups', data).subscribe(data => { + this.dialogRef.close(data); + }) + } } } @@ -555,7 +584,7 @@ export class addRealPicture { export class editRealPicture { constructor(private router: Router, private route: ActivatedRoute, private http: HttpClient, public dialog: MatDialog, public dialogRef: MatDialogRef, - @Inject(MAT_DIALOG_DATA) public data) { } + @Inject(MAT_DIALOG_DATA) public data, public snackBar: MatSnackBar) { } ngOnInit(): void { this.name = this.data.name @@ -571,6 +600,12 @@ export class editRealPicture { name: e.name, companyId: companyId } + if(e.name == '安全出口' || e.name == '重点部位'){ + let config = new MatSnackBarConfig(); + config.verticalPosition = 'top'; + config.duration = 3000 + this.snackBar.open('文件名不允许为安全出口或者重点部位', '确定', config); + }else this.http.put(`/api/RealityImageGroups/${this.data.id}`, data).subscribe(data => { this.dialogRef.close('success'); }) 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 bb14cf9..008636b 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 @@ -5,8 +5,8 @@ - - + + diff --git a/src/app/ui/collection-tools-building/collection-tools.component.ts b/src/app/ui/collection-tools-building/collection-tools.component.ts index 388f2d9..fc7723e 100644 --- a/src/app/ui/collection-tools-building/collection-tools.component.ts +++ b/src/app/ui/collection-tools-building/collection-tools.component.ts @@ -851,7 +851,7 @@ export class CollectionToolsBuildingComponent implements OnInit { isShowLegend: boolean = true; //图例是否显示 changeLegend(e) { this.canvasData.selectPanelPoint.BackgroundImageUrl ? null : this.canvas.setLegendVisible(this.isShowLegend) } - basicInfo: boolean = true //基本信息名称显隐 + basicInfo: boolean = false //基本信息名称显隐 wantToWork: boolean = true //想定作业名称显隐 //点击基本信息名称 basicInfoClick() { diff --git a/src/app/ui/collection-tools-building/panel.scss b/src/app/ui/collection-tools-building/panel.scss index 1e7a582..bfc34e2 100644 --- a/src/app/ui/collection-tools-building/panel.scss +++ b/src/app/ui/collection-tools-building/panel.scss @@ -47,6 +47,7 @@ .mat-icon { font-size: 20px; } + overflow: hidden; } //火源/力量 图标 diff --git a/src/app/ui/collection-tools-plan/addPlaneFigure.html b/src/app/ui/collection-tools-plan/addPlaneFigure.html index 344170b..80cbac6 100644 --- a/src/app/ui/collection-tools-plan/addPlaneFigure.html +++ b/src/app/ui/collection-tools-plan/addPlaneFigure.html @@ -12,9 +12,9 @@ - +
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 6c833bd..a4da17b 100644 --- a/src/app/ui/collection-tools-plan/collection-tools.component.ts +++ b/src/app/ui/collection-tools-plan/collection-tools.component.ts @@ -490,7 +490,6 @@ export class CollectionToolsPlanComponent implements OnInit { multipleAssetData: any//当前多选的素材 firstMultipleAssetData: any//当前多选的第一个素材 ngOnInit(): void { - let _this = this AxMessageSystem.addListener('selectionChanged', () => { if (this.canvas.selection.size() == 1) {//如果是单选 @@ -762,7 +761,7 @@ export class CollectionToolsPlanComponent implements OnInit { isShowLegend: boolean = true; //图例是否显示 changeLegend(e) { this.canvasData.selectPanelPoint.BackgroundImageUrl ? null : this.canvas.setLegendVisible(this.isShowLegend) } - basicInfo: boolean = true //基本信息名称显隐 + basicInfo: boolean = false //基本信息名称显隐 wantToWork: boolean = true //想定作业名称显隐 //点击基本信息名称 basicInfoClick() { diff --git a/src/app/ui/collection-tools-plan/panel.scss b/src/app/ui/collection-tools-plan/panel.scss index a55f935..541d600 100644 --- a/src/app/ui/collection-tools-plan/panel.scss +++ b/src/app/ui/collection-tools-plan/panel.scss @@ -48,6 +48,7 @@ .mat-icon { font-size: 20px; } + overflow: hidden; } //火源/力量 图标 diff --git a/src/app/ui/collection-tools/collection-tools.component.ts b/src/app/ui/collection-tools/collection-tools.component.ts index 15ac2a7..340a82e 100644 --- a/src/app/ui/collection-tools/collection-tools.component.ts +++ b/src/app/ui/collection-tools/collection-tools.component.ts @@ -178,7 +178,7 @@ export class CollectionToolsComponent implements OnInit { //基本信息编辑模式 baseInfo() { if (!this.pattern) { - this.basicInfo = true + this.basicInfo = false this.canvas.setNameVisible(this.basicInfo, 1) this.pattern = true From 2984392c1193727e6626e697fd105cf05bb4efe6 Mon Sep 17 00:00:00 2001 From: SHAOJIAHAO <55341701@qq.com> Date: Tue, 17 Aug 2021 08:47:12 +0800 Subject: [PATCH 6/6] =?UTF-8?q?[=E5=AE=8C=E5=96=84]=E5=8E=BB=E6=8E=89user-?= =?UTF-8?q?select:=20none?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../allaround/allaround.component.scss | 6 - .../basic-info/basic-info.component.scss | 6 - .../cad-draw/cad-draw.component.scss | 6 - .../fire-facilities.component.scss | 6 - .../function-partition.component.scss | 6 - .../gis-management/gis-labeling/lookPlan.scss | 10 - .../key-site-look/key-site.component.scss | 6 - .../plan-list/plan-list.component.scss | 6 - .../realistic-picture.component.scss | 6 - .../basicinfo/addhouseinfo.component.html | 6 +- .../allaround/allaround.component.scss | 6 - .../basic-info/basic-info.component.scss | 6 - .../cad-draw/cad-draw.component.scss | 6 - .../fire-facilities.component.scss | 6 - .../function-partition.component.scss | 6 - .../key-site-look/key-site.component.scss | 6 - .../plan-list/plan-list.component.scss | 6 - .../realistic-picture.component.scss | 6 - .../create-plan-online-five.component.scss | 6 - src/app/tabbar/tabbar.component.scss | 1 - .../collection-tools.component.html | 2 +- .../collection-tools.component.scss | 221 ++++++++++-------- src/styles.scss | 1 + 23 files changed, 124 insertions(+), 219 deletions(-) diff --git a/src/app/gis-management/allaround/allaround.component.scss b/src/app/gis-management/allaround/allaround.component.scss index dd828a2..45cd0e0 100644 --- a/src/app/gis-management/allaround/allaround.component.scss +++ b/src/app/gis-management/allaround/allaround.component.scss @@ -1,10 +1,4 @@ *{ - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; scrollbar-width: none; /* Firefox */ } ::-webkit-scrollbar { diff --git a/src/app/gis-management/basic-info/basic-info.component.scss b/src/app/gis-management/basic-info/basic-info.component.scss index 282cfe8..6003c92 100644 --- a/src/app/gis-management/basic-info/basic-info.component.scss +++ b/src/app/gis-management/basic-info/basic-info.component.scss @@ -2,12 +2,6 @@ table,table tr th, table tr td { border: 1px solid #EEF1F5; } table { text-align: center; border-collapse: collapse; padding:2px;} *{ - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; scrollbar-width: none; /* Firefox */ } ::-webkit-scrollbar { diff --git a/src/app/gis-management/cad-draw/cad-draw.component.scss b/src/app/gis-management/cad-draw/cad-draw.component.scss index ddf1517..ff9b22f 100644 --- a/src/app/gis-management/cad-draw/cad-draw.component.scss +++ b/src/app/gis-management/cad-draw/cad-draw.component.scss @@ -1,10 +1,4 @@ *{ - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; scrollbar-width: none; /* Firefox */ } ::-webkit-scrollbar { diff --git a/src/app/gis-management/fire-facilities/fire-facilities.component.scss b/src/app/gis-management/fire-facilities/fire-facilities.component.scss index 180645e..f5d7706 100644 --- a/src/app/gis-management/fire-facilities/fire-facilities.component.scss +++ b/src/app/gis-management/fire-facilities/fire-facilities.component.scss @@ -1,10 +1,4 @@ *{ - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; scrollbar-width: none; /* Firefox */ } ::-webkit-scrollbar { diff --git a/src/app/gis-management/function-partition/function-partition.component.scss b/src/app/gis-management/function-partition/function-partition.component.scss index df4d0d5..64dba43 100644 --- a/src/app/gis-management/function-partition/function-partition.component.scss +++ b/src/app/gis-management/function-partition/function-partition.component.scss @@ -1,10 +1,4 @@ *{ - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; scrollbar-width: none; /* Firefox */ } ::-webkit-scrollbar { diff --git a/src/app/gis-management/gis-labeling/lookPlan.scss b/src/app/gis-management/gis-labeling/lookPlan.scss index c9936e4..6124465 100644 --- a/src/app/gis-management/gis-labeling/lookPlan.scss +++ b/src/app/gis-management/gis-labeling/lookPlan.scss @@ -1,14 +1,4 @@ -// table,table tr th, table tr td { border: 1px solid #EEF1F5; } table { text-align: center; border-collapse: collapse; padding:2px;} -*{ - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - .box{ position: relative; display: flex; diff --git a/src/app/gis-management/key-site-look/key-site.component.scss b/src/app/gis-management/key-site-look/key-site.component.scss index f085649..ea61a5e 100644 --- a/src/app/gis-management/key-site-look/key-site.component.scss +++ b/src/app/gis-management/key-site-look/key-site.component.scss @@ -1,10 +1,4 @@ *{ - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; scrollbar-width: none; /* Firefox */ } ::-webkit-scrollbar { diff --git a/src/app/gis-management/plan-list/plan-list.component.scss b/src/app/gis-management/plan-list/plan-list.component.scss index fd8de1e..866a192 100644 --- a/src/app/gis-management/plan-list/plan-list.component.scss +++ b/src/app/gis-management/plan-list/plan-list.component.scss @@ -1,10 +1,4 @@ *{ - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; scrollbar-width: none; /* Firefox */ } ::-webkit-scrollbar { diff --git a/src/app/gis-management/realistic-picture-look/realistic-picture.component.scss b/src/app/gis-management/realistic-picture-look/realistic-picture.component.scss index 2354ca6..35b37f2 100644 --- a/src/app/gis-management/realistic-picture-look/realistic-picture.component.scss +++ b/src/app/gis-management/realistic-picture-look/realistic-picture.component.scss @@ -1,10 +1,4 @@ *{ - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; scrollbar-width: none; /* Firefox */ } ::-webkit-scrollbar { diff --git a/src/app/key-unit/basicinfo/addhouseinfo.component.html b/src/app/key-unit/basicinfo/addhouseinfo.component.html index 3ce162d..e4afdf0 100644 --- a/src/app/key-unit/basicinfo/addhouseinfo.component.html +++ b/src/app/key-unit/basicinfo/addhouseinfo.component.html @@ -1,14 +1,14 @@
新增建筑
- + - {{input.value?.length || 0}}/20 + {{input.value?.length || 0}}/30 diff --git a/src/app/plan-audit/allaround/allaround.component.scss b/src/app/plan-audit/allaround/allaround.component.scss index 87171e1..6d4ee84 100644 --- a/src/app/plan-audit/allaround/allaround.component.scss +++ b/src/app/plan-audit/allaround/allaround.component.scss @@ -1,10 +1,4 @@ *{ - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; scrollbar-width: none; /* Firefox */ } ::-webkit-scrollbar { diff --git a/src/app/plan-audit/basic-info/basic-info.component.scss b/src/app/plan-audit/basic-info/basic-info.component.scss index abf4034..fe40bb3 100644 --- a/src/app/plan-audit/basic-info/basic-info.component.scss +++ b/src/app/plan-audit/basic-info/basic-info.component.scss @@ -2,12 +2,6 @@ table,table tr th, table tr td { border: 1px solid #EEF1F5; } table { text-align: center; border-collapse: collapse; padding:2px;} *{ - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; scrollbar-width: none; /* Firefox */ } ::-webkit-scrollbar { diff --git a/src/app/plan-audit/cad-draw/cad-draw.component.scss b/src/app/plan-audit/cad-draw/cad-draw.component.scss index e86625f..553eedc 100644 --- a/src/app/plan-audit/cad-draw/cad-draw.component.scss +++ b/src/app/plan-audit/cad-draw/cad-draw.component.scss @@ -1,10 +1,4 @@ *{ - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; scrollbar-width: none; /* Firefox */ } ::-webkit-scrollbar { diff --git a/src/app/plan-audit/fire-facilities/fire-facilities.component.scss b/src/app/plan-audit/fire-facilities/fire-facilities.component.scss index 4603c4f..ac7d109 100644 --- a/src/app/plan-audit/fire-facilities/fire-facilities.component.scss +++ b/src/app/plan-audit/fire-facilities/fire-facilities.component.scss @@ -1,10 +1,4 @@ *{ - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; scrollbar-width: none; /* Firefox */ } ::-webkit-scrollbar { diff --git a/src/app/plan-audit/function-partition/function-partition.component.scss b/src/app/plan-audit/function-partition/function-partition.component.scss index ae374e8..19abfea 100644 --- a/src/app/plan-audit/function-partition/function-partition.component.scss +++ b/src/app/plan-audit/function-partition/function-partition.component.scss @@ -1,10 +1,4 @@ *{ - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; scrollbar-width: none; /* Firefox */ } ::-webkit-scrollbar { diff --git a/src/app/plan-audit/key-site-look/key-site.component.scss b/src/app/plan-audit/key-site-look/key-site.component.scss index 0a53cc5..a6c0cae 100644 --- a/src/app/plan-audit/key-site-look/key-site.component.scss +++ b/src/app/plan-audit/key-site-look/key-site.component.scss @@ -1,10 +1,4 @@ *{ - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; scrollbar-width: none; /* Firefox */ } ::-webkit-scrollbar { diff --git a/src/app/plan-audit/plan-list/plan-list.component.scss b/src/app/plan-audit/plan-list/plan-list.component.scss index 9f43ce3..11d3e00 100644 --- a/src/app/plan-audit/plan-list/plan-list.component.scss +++ b/src/app/plan-audit/plan-list/plan-list.component.scss @@ -1,10 +1,4 @@ *{ - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; scrollbar-width: none; /* Firefox */ } ::-webkit-scrollbar { diff --git a/src/app/plan-audit/realistic-picture-look/realistic-picture.component.scss b/src/app/plan-audit/realistic-picture-look/realistic-picture.component.scss index 9eed8fb..a105673 100644 --- a/src/app/plan-audit/realistic-picture-look/realistic-picture.component.scss +++ b/src/app/plan-audit/realistic-picture-look/realistic-picture.component.scss @@ -1,10 +1,4 @@ *{ - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; scrollbar-width: none; /* Firefox */ } ::-webkit-scrollbar { diff --git a/src/app/plan-management/create-plan-online-five/create-plan-online-five.component.scss b/src/app/plan-management/create-plan-online-five/create-plan-online-five.component.scss index 5218c8c..434fc0c 100644 --- a/src/app/plan-management/create-plan-online-five/create-plan-online-five.component.scss +++ b/src/app/plan-management/create-plan-online-five/create-plan-online-five.component.scss @@ -1,10 +1,4 @@ * { - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; scrollbar-width: none; /* Firefox */ } ::-webkit-scrollbar { diff --git a/src/app/tabbar/tabbar.component.scss b/src/app/tabbar/tabbar.component.scss index d19e1b6..7884a74 100644 --- a/src/app/tabbar/tabbar.component.scss +++ b/src/app/tabbar/tabbar.component.scss @@ -187,7 +187,6 @@ mat-icon{ } //计分规则按钮 .scoringRule,.isUpdates{ - user-select: none; position: absolute; left: 440px; cursor: pointer; diff --git a/src/app/ui/collection-tools-building/collection-tools.component.html b/src/app/ui/collection-tools-building/collection-tools.component.html index 2286f3a..0205cc7 100644 --- a/src/app/ui/collection-tools-building/collection-tools.component.html +++ b/src/app/ui/collection-tools-building/collection-tools.component.html @@ -55,7 +55,7 @@