徐振升 4 years ago
parent
commit
3b9cac1ea9
  1. 3
      src/app/canvas-share-data.service.ts
  2. 2
      src/app/ui/collection-tools/collection-tools.component.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 === '名称/编号') {

2
src/app/ui/collection-tools/collection-tools.component.ts

@ -457,7 +457,7 @@ export class CollectionToolsComponent implements OnInit {
//保存平面图
saveNum :any = []
saveSite(){
this.saveNum = []
let SitePlanData = JSON.parse(JSON.stringify(this.canvasData.originaleveryStoreyData));
SitePlanData.data = JSON.stringify(SitePlanData.data)
let CompanyData = JSON.parse(JSON.stringify(this.canvasData.originalcompanyBuildingData));

Loading…
Cancel
Save