|
@@ -67,7 +67,11 @@
|
|
|
floorToMap: {},
|
|
|
}
|
|
|
},
|
|
|
- created() {},
|
|
|
+ watch:{
|
|
|
+ bimcode:function(n,o){
|
|
|
+ this.init()
|
|
|
+ }
|
|
|
+ },
|
|
|
mounted() {
|
|
|
console.log(this.bimcodeobj)
|
|
|
this.init()
|
|
@@ -190,17 +194,7 @@
|
|
|
FloorId: this.Buildfloor[1],
|
|
|
BIMLocation
|
|
|
},
|
|
|
- ],
|
|
|
- // Projection: ['BIMLocation', 'BuildingId', 'FloorId'],
|
|
|
- }
|
|
|
- if(BIMLocation){
|
|
|
- param.Projection.push('BIMLocation')
|
|
|
- }
|
|
|
- if(this.Buildfloor[0]){
|
|
|
- param.Projection.push('BuildingId')
|
|
|
- }
|
|
|
- if(this.Buildfloor[1]){
|
|
|
- param.Projection.push('FloorId')
|
|
|
+ ]
|
|
|
}
|
|
|
updateEquip(param, (res) => {
|
|
|
if (res.Result == 'success') {
|