|
@@ -429,6 +429,7 @@
|
|
})
|
|
})
|
|
// 绘制业务空间
|
|
// 绘制业务空间
|
|
let tempArr = this.BSPRelaISPList.map((t, i) => {
|
|
let tempArr = this.BSPRelaISPList.map((t, i) => {
|
|
|
|
+ console.log(t);
|
|
return {
|
|
return {
|
|
RoomLocalName: t.localName || t.name,
|
|
RoomLocalName: t.localName || t.name,
|
|
OutLine: t.outline,
|
|
OutLine: t.outline,
|
|
@@ -553,7 +554,9 @@
|
|
outline: [t.outline],
|
|
outline: [t.outline],
|
|
buildingId: this.buildFloor[0],
|
|
buildingId: this.buildFloor[0],
|
|
floorId: this.buildFloor[1],
|
|
floorId: this.buildFloor[1],
|
|
- height: this.spaceHeight
|
|
|
|
|
|
+ height: this.spaceHeight,
|
|
|
|
+ ///
|
|
|
|
+ ///
|
|
}
|
|
}
|
|
if (t.customParam) {
|
|
if (t.customParam) {
|
|
obj.customParam = t.customParam
|
|
obj.customParam = t.customParam
|
|
@@ -674,6 +677,8 @@
|
|
zoneObj.localName = val;
|
|
zoneObj.localName = val;
|
|
zoneObj.buildingId = this.buildFloor[0];
|
|
zoneObj.buildingId = this.buildFloor[0];
|
|
zoneObj.floorId = this.buildFloor[1];
|
|
zoneObj.floorId = this.buildFloor[1];
|
|
|
|
+ ///
|
|
|
|
+ ///
|
|
this.createSingleBSP(zoneObj, IspaceIdList)
|
|
this.createSingleBSP(zoneObj, IspaceIdList)
|
|
},
|
|
},
|
|
// 根据图从未关联平面图的业务空间中选择--按钮返回关联信号
|
|
// 根据图从未关联平面图的业务空间中选择--按钮返回关联信号
|
|
@@ -777,13 +782,13 @@
|
|
confirmZoneSpace() {
|
|
confirmZoneSpace() {
|
|
let ObjectType = this.tab.code == 'OtherZone' ? this.OtherValue : this.tab.code;
|
|
let ObjectType = this.tab.code == 'OtherZone' ? this.OtherValue : this.tab.code;
|
|
let space = {
|
|
let space = {
|
|
- RoomID: this.curZoneItem.data.id,
|
|
|
|
- State: 0,
|
|
|
|
- ObjectType: ObjectType
|
|
|
|
|
|
+ id: this.curZoneItem.data.RoomID,
|
|
|
|
+ state: 0,
|
|
|
|
+ classCode: ObjectType
|
|
}
|
|
}
|
|
let pa = {
|
|
let pa = {
|
|
content: [space],
|
|
content: [space],
|
|
- projection: ['State']
|
|
|
|
|
|
+ projection: ['state']
|
|
}
|
|
}
|
|
zoneUpdate(pa, res => {
|
|
zoneUpdate(pa, res => {
|
|
this.curZoneItem.isInfected = false;
|
|
this.curZoneItem.isInfected = false;
|
|
@@ -953,6 +958,8 @@
|
|
buildingId: this.buildFloor[0],
|
|
buildingId: this.buildFloor[0],
|
|
floorId: this.buildFloor[1],
|
|
floorId: this.buildFloor[1],
|
|
height: this.spaceHeight
|
|
height: this.spaceHeight
|
|
|
|
+ ///
|
|
|
|
+ ///
|
|
}
|
|
}
|
|
}).filter(item => item)
|
|
}).filter(item => item)
|
|
} else {
|
|
} else {
|
|
@@ -979,6 +986,8 @@
|
|
buildingId: this.buildFloor[0],
|
|
buildingId: this.buildFloor[0],
|
|
floorId: this.buildFloor[1],
|
|
floorId: this.buildFloor[1],
|
|
height: this.spaceHeight
|
|
height: this.spaceHeight
|
|
|
|
+ ///
|
|
|
|
+ ///
|
|
}
|
|
}
|
|
}).filter(item => item);
|
|
}).filter(item => item);
|
|
}
|
|
}
|
|
@@ -1072,6 +1081,8 @@
|
|
zoneObj.classCode = ObjectType;
|
|
zoneObj.classCode = ObjectType;
|
|
zoneObj.buildingId = this.buildFloor[0];
|
|
zoneObj.buildingId = this.buildFloor[0];
|
|
zoneObj.floorId = this.buildFloor[1];
|
|
zoneObj.floorId = this.buildFloor[1];
|
|
|
|
+ ///
|
|
|
|
+ ///
|
|
let pa = {
|
|
let pa = {
|
|
content: [zoneObj],
|
|
content: [zoneObj],
|
|
projection: ['bimLocation', 'classCode', 'outline', 'height', 'buildingId', 'floorId']
|
|
projection: ['bimLocation', 'classCode', 'outline', 'height', 'buildingId', 'floorId']
|