|
@@ -448,6 +448,7 @@ export default {
|
|
type: "warning"
|
|
type: "warning"
|
|
}
|
|
}
|
|
).then(() => {
|
|
).then(() => {
|
|
|
|
+ this.groupCreateDialogVis = false;
|
|
this.canvasLoading = true;
|
|
this.canvasLoading = true;
|
|
this.groupCreateBSP(Spaces)
|
|
this.groupCreateBSP(Spaces)
|
|
}).catch(() => {
|
|
}).catch(() => {
|
|
@@ -573,19 +574,19 @@ export default {
|
|
let pa = {
|
|
let pa = {
|
|
zone: this.tab.code,
|
|
zone: this.tab.code,
|
|
data: {
|
|
data: {
|
|
- Content: space
|
|
|
|
|
|
+ Content: spaces
|
|
}
|
|
}
|
|
}
|
|
}
|
|
createZone(pa, res => {
|
|
createZone(pa, res => {
|
|
res.EntityList.map(t => {
|
|
res.EntityList.map(t => {
|
|
- Spaces = Spaces.map(item => {
|
|
|
|
|
|
+ spaces = spaces.map(item => {
|
|
if (t.RoomLocalName == item.RoomLocalName) {
|
|
if (t.RoomLocalName == item.RoomLocalName) {
|
|
item.SpaceId = t.RoomID
|
|
item.SpaceId = t.RoomID
|
|
}
|
|
}
|
|
return item;
|
|
return item;
|
|
})
|
|
})
|
|
})
|
|
})
|
|
- this.groupCreRelaZoneAndISp(space)
|
|
|
|
|
|
+ this.groupCreRelaZoneAndISp(spaces)
|
|
})
|
|
})
|
|
},
|
|
},
|
|
// 单个创建
|
|
// 单个创建
|