|  |  | 
 |  |  |     data: { | 
 |  |  |       map: [], | 
 |  |  |       currentLev: 1, | 
 |  |  |       floorList: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], //当前项目楼层 | 
 |  |  |       floorList: [1, 2, 3], //当前项目楼层 | 
 |  |  |       currentLevShuttleList: [],//当前楼层四向穿梭车集合 | 
 |  |  |       shuttleColorList: [],//四向穿梭车颜色集合 | 
 |  |  |       drawer: false, | 
 |  |  | 
 |  |  |         deep: true, | 
 |  |  |         handler(val) { | 
 |  |  |           if (!val) { | 
 |  |  |             var sprite = pixiStageList[this.drawerLocNoData.x][this.drawerLocNoData.y]; | 
 |  |  |             var sprite = pixiStageList[this.drawerLocNoData.x - 1][this.drawerLocNoData.y]; | 
 |  |  |             updateColor(sprite, 0xFFFFFF);//恢复颜色 | 
 |  |  |           } | 
 |  |  |         } | 
 |  |  | 
 |  |  |               pixiStageList[index][idx] = sprite | 
 |  |  |             } | 
 |  |  |           }); | 
 |  |  |  | 
 |  |  |           //视角居中 | 
 |  |  |           let containerWidth = (pixiApp.view.width - objectsContainer.width) / 2; | 
 |  |  |           let containerHeight = (pixiApp.view.height - objectsContainer.height) / 2; | 
 |  |  |           pixiApp.stage.position.set(containerWidth, containerHeight); | 
 |  |  |         }else { | 
 |  |  |           let diff = this.findDiffList(this.map, map); | 
 |  |  |           diff.forEach((item, index) => { | 
 |  |  | 
 |  |  |           }) | 
 |  |  |         } | 
 |  |  |       }, | 
 |  |  |       resetMap() { | 
 |  |  |         //重置地图 | 
 |  |  |         let that = this | 
 |  |  |         $.ajax({ | 
 |  |  |           url:baseUrl+"/console/map/resetMap/" + this.currentLev, | 
 |  |  |           headers:{ | 
 |  |  |             'token': localStorage.getItem('token') | 
 |  |  |           }, | 
 |  |  |           data:{}, | 
 |  |  |           method:'get', | 
 |  |  |           success:function (res) { | 
 |  |  |             that.$message({ | 
 |  |  |               message: that.currentLev + '层地图重置完成', | 
 |  |  |               type: 'success' | 
 |  |  |             }); | 
 |  |  |           } | 
 |  |  |         }) | 
 |  |  |       }, | 
 |  |  |     } | 
 |  |  |   }) | 
 |  |  |  |