|
@@ -141,6 +141,7 @@ export default {
|
|
isAction: false,
|
|
isAction: false,
|
|
curOutline: [],
|
|
curOutline: [],
|
|
BIMIDToSID: {}, //bimid映射元空间id
|
|
BIMIDToSID: {}, //bimid映射元空间id
|
|
|
|
+ BIMIDToSIName: {}, //bimid映射元空间名称
|
|
curZoneItem: {}, //当前选中的业务空间item
|
|
curZoneItem: {}, //当前选中的业务空间item
|
|
allUnRelatISP: [], //
|
|
allUnRelatISP: [], //
|
|
zoneList: [], // 业务空间-canvas图中
|
|
zoneList: [], // 业务空间-canvas图中
|
|
@@ -204,8 +205,10 @@ export default {
|
|
}
|
|
}
|
|
queryZone(pa, res => {
|
|
queryZone(pa, res => {
|
|
this.BIMIDToSID = {}
|
|
this.BIMIDToSID = {}
|
|
|
|
+ this.BIMIDToSIName = {}
|
|
res.Content.map(t => {
|
|
res.Content.map(t => {
|
|
this.BIMIDToSID[t.BIMID.split(":")[1]] = t.RoomID;
|
|
this.BIMIDToSID[t.BIMID.split(":")[1]] = t.RoomID;
|
|
|
|
+ this.BIMIDToSIName[t.BIMID.split(":")[1]] = t.RoomLocalName || t.RoomName;
|
|
})
|
|
})
|
|
})
|
|
})
|
|
},
|
|
},
|
|
@@ -462,7 +465,7 @@ export default {
|
|
if (arr.length) {
|
|
if (arr.length) {
|
|
let tempArr = [];
|
|
let tempArr = [];
|
|
arr.map(t => {
|
|
arr.map(t => {
|
|
- tempArr.push(t.data.Name);
|
|
|
|
|
|
+ tempArr.push(this.BIMIDToSIName[t.data.SourceId]);
|
|
})
|
|
})
|
|
this.$refs.createBSP.showDialog(tempArr.toString());
|
|
this.$refs.createBSP.showDialog(tempArr.toString());
|
|
} else {
|
|
} else {
|
|
@@ -640,7 +643,7 @@ export default {
|
|
spaces = arr.map(t => {
|
|
spaces = arr.map(t => {
|
|
return {
|
|
return {
|
|
IspaceId: this.BIMIDToSID[t.data.SourceId],
|
|
IspaceId: this.BIMIDToSID[t.data.SourceId],
|
|
- RoomLocalName: t.data.Name,
|
|
|
|
|
|
+ RoomLocalName: this.BIMIDToSIName[t.data.SourceId],
|
|
Outline: outlines[t.data.SourceId],
|
|
Outline: outlines[t.data.SourceId],
|
|
BuildingId: this.buildFloor[0],
|
|
BuildingId: this.buildFloor[0],
|
|
FloorId: this.buildFloor[1],
|
|
FloorId: this.buildFloor[1],
|
|
@@ -651,7 +654,7 @@ export default {
|
|
spaces = arr.map(t => {
|
|
spaces = arr.map(t => {
|
|
return {
|
|
return {
|
|
IspaceId: this.BIMIDToSID[t.data.SourceId],
|
|
IspaceId: this.BIMIDToSID[t.data.SourceId],
|
|
- RoomLocalName: t.data.Name,
|
|
|
|
|
|
+ RoomLocalName: this.BIMIDToSIName[t.data.SourceId],
|
|
Outline: [t.data.OutLine],
|
|
Outline: [t.data.OutLine],
|
|
BuildingId: this.buildFloor[0],
|
|
BuildingId: this.buildFloor[0],
|
|
FloorId: this.buildFloor[1],
|
|
FloorId: this.buildFloor[1],
|