Browse Source

[完善]初始化ImageUrls数组

develop
邵佳豪 4 years ago
parent
commit
cea63ac0ea
  1. 3
      src/app/canvas-share-data.service.ts

3
src/app/canvas-share-data.service.ts

@ -56,6 +56,7 @@ export class CanvasShareDataService {
if (item.Name === '毗邻') {
const adjoin = new CompanyAdjoinInfo();
adjoin.AssetId = item.Id;
adjoin.ImageUrls = []
adjoin.CompanyId = sessionStorage.getItem('companyId');
item.PropertyInfos.forEach(element => {
if (element.PropertyName === '方向') {
@ -107,6 +108,7 @@ export class CanvasShareDataService {
if (item.Name === '重点部位') {
const important = new CompanyImportantLocationInfo();
important.Id = item.Id;
important.ImageUrls = []
important.CompanyId = sessionStorage.getItem('companyId');
item.PropertyInfos.forEach(element => {
if (element.PropertyName === '名称/编号') {
@ -138,6 +140,7 @@ export class CanvasShareDataService {
if (item.Name === '重点部位') {
const important = new BuildingImportantLocationInfo();
important.Id = item.Id;
important.ImageUrls = []
important.BuildingId = this.selectStorey.buildingId;
item.PropertyInfos.forEach(element => {
if (element.PropertyName === '名称/编号') {

Loading…
Cancel
Save