|
@@ -539,7 +539,7 @@ export default {
|
|
|
return undefined;
|
|
|
}
|
|
|
text.push(t.RoomLocalName || t.RoomName)
|
|
|
- return {
|
|
|
+ let obj = {
|
|
|
IspaceId: t.RoomID,
|
|
|
RoomLocalName: t.RoomLocalName || t.RoomName,
|
|
|
Outline: [t.Outline],
|
|
@@ -547,6 +547,10 @@ export default {
|
|
|
FloorId: this.buildFloor[1],
|
|
|
Height: this.spaceHeight
|
|
|
}
|
|
|
+ if (t.CustomParam) {
|
|
|
+ obj.CustomParam = t.CustomParam
|
|
|
+ }
|
|
|
+ return obj;
|
|
|
} else {
|
|
|
return undefined
|
|
|
}
|
|
@@ -1021,11 +1025,14 @@ export default {
|
|
|
spaces = spaces.map(t => {
|
|
|
t.ObjectType = ObjectType;
|
|
|
t.BIMLocation = this.getAverageVal(t.Outline);
|
|
|
+
|
|
|
return t;
|
|
|
})
|
|
|
let pa = {
|
|
|
Content: spaces,
|
|
|
}
|
|
|
+ console.log(pa);
|
|
|
+ return
|
|
|
zoneCreate(pa, res => {
|
|
|
res.EntityList.map(t => {
|
|
|
spaces = spaces.map(item => {
|