|
|
|
@ -1569,6 +1569,8 @@ export class CollectionToolsComponent implements OnInit {
|
|
|
|
|
|
|
|
|
|
beforeOneCheckedBuildingIsShow:boolean = false; //想定作业下 建筑是否显示
|
|
|
|
|
togglebeforeOneCheckedBuilding () { this.beforeOneCheckedBuildingIsShow = !this.beforeOneCheckedBuildingIsShow } |
|
|
|
|
isMultiSelect:boolean = false; // 多选/单选 切换
|
|
|
|
|
changeMultiSelect (e) { this.canvas.setMulitSelect(this.isMultiSelect) } |
|
|
|
|
isShowLegend:boolean = true; //图例是否显示
|
|
|
|
|
changeLegend (e) { this.canvasData.selectPanelPoint.BackgroundImageUrl? null : this.canvas.setLegendVisible(this.isShowLegend) } |
|
|
|
|
|
|
|
|
@ -1842,14 +1844,14 @@ export class CollectionToolsComponent implements OnInit {
|
|
|
|
|
this.http.put(`/api/SitePlans/${item.id}`,item).subscribe(data=>{ |
|
|
|
|
let isSuccess = this.renovateSitePlan() |
|
|
|
|
isSuccess.then(res=>{ |
|
|
|
|
this.canvas.refreshBackgroundImage() |
|
|
|
|
this.canvas.refreshBackgroundImage(item.imageUrl,item.imageAngle) |
|
|
|
|
}) |
|
|
|
|
}) |
|
|
|
|
} else { //楼层/区域
|
|
|
|
|
this.http.put(`/api/BuildingAreas/${item.id}`,item,{params:this.params}).subscribe(data=>{ |
|
|
|
|
let isSuccess = this.renovateBuilding() |
|
|
|
|
isSuccess.then(res=>{ |
|
|
|
|
this.canvas.refreshBackgroundImage() |
|
|
|
|
this.canvas.refreshBackgroundImage(item.imageUrl,item.imageAngle) |
|
|
|
|
}) |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
@ -1993,7 +1995,7 @@ export class CollectionToolsComponent implements OnInit {
|
|
|
|
|
this.http.put(`/api/SitePlans/${item.id}`,item).subscribe(data=>{ |
|
|
|
|
let isSuccess = this.renovateSitePlan() |
|
|
|
|
isSuccess.then(res=>{ |
|
|
|
|
this.canvas.refreshBackgroundImage() |
|
|
|
|
this.canvas.refreshBackgroundImage(item.imageUrl,item.imageAngle) |
|
|
|
|
}) |
|
|
|
|
const config = new MatSnackBarConfig(); |
|
|
|
|
config.verticalPosition = 'top'; |
|
|
|
@ -2004,7 +2006,7 @@ export class CollectionToolsComponent implements OnInit {
|
|
|
|
|
this.http.put(`/api/BuildingAreas/${item.id}`,item,{params:this.params}).subscribe(data=>{ |
|
|
|
|
let isSuccess = this.renovateBuilding() |
|
|
|
|
isSuccess.then(res=>{ |
|
|
|
|
this.canvas.refreshBackgroundImage() |
|
|
|
|
this.canvas.refreshBackgroundImage(item.imageUrl,item.imageAngle) |
|
|
|
|
}) |
|
|
|
|
const config = new MatSnackBarConfig(); |
|
|
|
|
config.verticalPosition = 'top'; |
|
|
|
@ -2399,6 +2401,7 @@ export class CollectionToolsComponent implements OnInit {
|
|
|
|
|
|
|
|
|
|
//自定义数据节点 时
|
|
|
|
|
async customizeNodes() { |
|
|
|
|
this.canvasData.selectPanelPoint.BackgroundImageAngle = 0 |
|
|
|
|
await this.canvas.loadNoRelevantInformationDisposalPlan(this.canvasData.selectPanelPoint) |
|
|
|
|
let other = { |
|
|
|
|
children: [], |
|
|
|
|