|
@@ -102,12 +102,12 @@ export default {
|
|
|
Type: item.Type
|
|
|
}))
|
|
|
if (this.RoomLocalName && this.buildFloor.length && this.space) {
|
|
|
- zObj.ObjectType = this.space;
|
|
|
- zObj.RoomLocalName = this.RoomLocalName;
|
|
|
- zObj.RoomLocalID = this.RoomLocalID;
|
|
|
- zObj.BuildingId = this.buildFloor[0];
|
|
|
- zObj.FloorId = this.buildFloor[1];
|
|
|
- param.Content = [zObj];
|
|
|
+ zObj.objectType = this.space;
|
|
|
+ zObj.localName = this.RoomLocalName;
|
|
|
+ zObj.localId = this.RoomLocalID;
|
|
|
+ zObj.buildingId = this.buildFloor[0];
|
|
|
+ zObj.floorId = this.buildFloor[1];
|
|
|
+ param.content = [zObj];
|
|
|
zoneCreate(param, res => {
|
|
|
this.$message.success("创建成功");
|
|
|
this.$refs.pointMsg.clearImg();
|