|  |  | 
 |  |  |                   <el-button :style="{background:currentLev === lev ? '#7DCDFF':''}" @click="changFloor(lev)">{{lev}}F</el-button> | 
 |  |  |                </div> | 
 |  |  |                <div> | 
 |  |  |                   <el-button @click="testMove()">测试移动车</el-button> | 
 |  |  |                   <el-button @click="resetMap()">重置地图</el-button> | 
 |  |  | <!--                  <el-button @click="testMove()">测试移动车</el-button>--> | 
 |  |  | <!--                  <el-button @click="resetMap()">重置地图</el-button>--> | 
 |  |  |                </div> | 
 |  |  |             </div> | 
 |  |  |          </div> | 
 |  |  | 
 |  |  |                }, | 
 |  |  |                getSiteInfo() { | 
 |  |  |                   //获取输送站点数据 | 
 |  |  |                   this.sendWs("{\"url\":\"/console/latest/data/site\",\"data\":{}}") | 
 |  |  |                   this.sendWs(JSON.stringify({ | 
 |  |  |                      "url": "/console/latest/data/site", | 
 |  |  |                      "data": {} | 
 |  |  |                   })) | 
 |  |  |                }, | 
 |  |  |                setSiteInfo(res) { | 
 |  |  |                   //获取输送站点数据 | 
 |  |  | 
 |  |  |                   this.getMap(lev) | 
 |  |  |                }, | 
 |  |  |                getShuttleStateInfo() { | 
 |  |  |                   this.sendWs("{\"url\":\"/shuttle/table/shuttle/state\",\"data\":{}}") | 
 |  |  |                   this.sendWs(JSON.stringify({ | 
 |  |  |                      "url": "/shuttle/table/shuttle/state", | 
 |  |  |                      "data": {} | 
 |  |  |                   })) | 
 |  |  |                }, | 
 |  |  |                setShuttleStateInfo(res) { | 
 |  |  |                   // 四向穿梭车信息表获取 | 
 |  |  | 
 |  |  |                }, | 
 |  |  |                getLiftStateInfo() { | 
 |  |  |                   // 提升机信息表获取 | 
 |  |  |                   this.sendWs("{\"url\":\"/lift/table/lift/state\",\"data\":{}}") | 
 |  |  |                   this.sendWs(JSON.stringify({ | 
 |  |  |                      "url": "/lift/table/lift/state", | 
 |  |  |                      "data": {} | 
 |  |  |                   })) | 
 |  |  |                }, | 
 |  |  |                setLiftStateInfo(res) { | 
 |  |  |                   // 提升机信息表获取 | 
 |  |  | 
 |  |  |                   //重置地图 | 
 |  |  |                   let that = this | 
 |  |  |                   $.ajax({ | 
 |  |  |                      url:baseUrl+"/console/map/resetMap/auth", | 
 |  |  |                      url:baseUrl+"/console/map/resetMap/" + this.currentLev, | 
 |  |  |                      headers:{ | 
 |  |  |                         'token': localStorage.getItem('token') | 
 |  |  |                      }, | 
 |  |  | 
 |  |  |                      method:'get', | 
 |  |  |                      success:function (res) { | 
 |  |  |                         that.$message({ | 
 |  |  |                            message: '重置完成', | 
 |  |  |                            message: that.currentLev + '层地图重置完成', | 
 |  |  |                            type: 'success' | 
 |  |  |                         }); | 
 |  |  |                      } |