|
|
@ -56,7 +56,8 @@ export class CanvasShareDataService { |
|
|
|
if (item.Name === '毗邻') { |
|
|
|
if (item.Name === '毗邻') { |
|
|
|
const adjoin = new CompanyAdjoinInfo(); |
|
|
|
const adjoin = new CompanyAdjoinInfo(); |
|
|
|
adjoin.AssetId = item.Id; |
|
|
|
adjoin.AssetId = item.Id; |
|
|
|
adjoin.ImageUrls = [] |
|
|
|
adjoin.Id = ''; |
|
|
|
|
|
|
|
adjoin.ImageUrls = []; |
|
|
|
adjoin.CompanyId = sessionStorage.getItem('companyId'); |
|
|
|
adjoin.CompanyId = sessionStorage.getItem('companyId'); |
|
|
|
item.PropertyInfos.forEach(element => { |
|
|
|
item.PropertyInfos.forEach(element => { |
|
|
|
if (element.PropertyName === '方向') { |
|
|
|
if (element.PropertyName === '方向') { |
|
|
@ -82,8 +83,9 @@ export class CanvasShareDataService { |
|
|
|
if (item.Name === '毗邻') { |
|
|
|
if (item.Name === '毗邻') { |
|
|
|
const adjoin = new BuildingAdjoinInfo(); |
|
|
|
const adjoin = new BuildingAdjoinInfo(); |
|
|
|
adjoin.AssetId = item.Id; |
|
|
|
adjoin.AssetId = item.Id; |
|
|
|
|
|
|
|
adjoin.Id = ''; |
|
|
|
adjoin.BuildingId = this.selectStorey.buildingId; |
|
|
|
adjoin.BuildingId = this.selectStorey.buildingId; |
|
|
|
adjoin.ImageUrls = [] |
|
|
|
adjoin.ImageUrls = []; |
|
|
|
item.PropertyInfos.forEach(element => { |
|
|
|
item.PropertyInfos.forEach(element => { |
|
|
|
if (element.PropertyName === '方向') { |
|
|
|
if (element.PropertyName === '方向') { |
|
|
|
adjoin.Direction = Number(element.PropertyValue); |
|
|
|
adjoin.Direction = Number(element.PropertyValue); |
|
|
@ -107,8 +109,9 @@ export class CanvasShareDataService { |
|
|
|
const item = this.originalcompanyBuildingData.data[key]; |
|
|
|
const item = this.originalcompanyBuildingData.data[key]; |
|
|
|
if (item.Name === '重点部位') { |
|
|
|
if (item.Name === '重点部位') { |
|
|
|
const important = new CompanyImportantLocationInfo(); |
|
|
|
const important = new CompanyImportantLocationInfo(); |
|
|
|
important.Id = item.Id; |
|
|
|
important.AssetId = item.Id; |
|
|
|
important.ImageUrls = [] |
|
|
|
important.Id = ''; |
|
|
|
|
|
|
|
important.ImageUrls = []; |
|
|
|
important.CompanyId = sessionStorage.getItem('companyId'); |
|
|
|
important.CompanyId = sessionStorage.getItem('companyId'); |
|
|
|
item.PropertyInfos.forEach(element => { |
|
|
|
item.PropertyInfos.forEach(element => { |
|
|
|
if (element.PropertyName === '名称/编号') { |
|
|
|
if (element.PropertyName === '名称/编号') { |
|
|
@ -139,8 +142,9 @@ export class CanvasShareDataService { |
|
|
|
const item = this.originalcompanyBuildingData.data[key]; |
|
|
|
const item = this.originalcompanyBuildingData.data[key]; |
|
|
|
if (item.Name === '重点部位') { |
|
|
|
if (item.Name === '重点部位') { |
|
|
|
const important = new BuildingImportantLocationInfo(); |
|
|
|
const important = new BuildingImportantLocationInfo(); |
|
|
|
important.Id = item.Id; |
|
|
|
important.AssetId = item.Id; |
|
|
|
important.ImageUrls = [] |
|
|
|
important.Id = ''; |
|
|
|
|
|
|
|
important.ImageUrls = []; |
|
|
|
important.BuildingId = this.selectStorey.buildingId; |
|
|
|
important.BuildingId = this.selectStorey.buildingId; |
|
|
|
item.PropertyInfos.forEach(element => { |
|
|
|
item.PropertyInfos.forEach(element => { |
|
|
|
if (element.PropertyName === '名称/编号') { |
|
|
|
if (element.PropertyName === '名称/编号') { |
|
|
@ -240,6 +244,7 @@ export class BuildingImportantLocationInfo { |
|
|
|
public Nature: string; |
|
|
|
public Nature: string; |
|
|
|
public Hazards: string; |
|
|
|
public Hazards: string; |
|
|
|
public ImageUrls: string[]; |
|
|
|
public ImageUrls: string[]; |
|
|
|
|
|
|
|
public AssetId: string; |
|
|
|
} |
|
|
|
} |
|
|
|
/** |
|
|
|
/** |
|
|
|
* 单位重点部位 |
|
|
|
* 单位重点部位 |
|
|
@ -253,6 +258,7 @@ export class CompanyImportantLocationInfo { |
|
|
|
public Nature: string; |
|
|
|
public Nature: string; |
|
|
|
public Hazards: string; |
|
|
|
public Hazards: string; |
|
|
|
public ImageUrls: string[]; |
|
|
|
public ImageUrls: string[]; |
|
|
|
|
|
|
|
public AssetId: string; |
|
|
|
} |
|
|
|
} |
|
|
|
/** |
|
|
|
/** |
|
|
|
* 单位消防素材信息 |
|
|
|
* 单位消防素材信息 |
|
|
|