| | |
| | | methods: { |
| | | getDataList(res) { |
| | | var that = this; |
| | | // var url = 'https://web.byisf.com/api/blade-jfpts/equipment/equipment/listAll'; |
| | | // var url = 'https://web.byisf.com/api/equipment/equipment/listAll'; |
| | | // axios.get(url).then((res) => { |
| | | // that.getdata = res.data.data; |
| | | that.beginCome(res); |
| | |
| | | beginMap(map, data) { |
| | | var that = this, |
| | | center = [that.lat, that.lng]; |
| | | // url = `/api/blade-jfpts/alarm/alarm/APP-getAlarm?id=${data[0].id}`; |
| | | // url = `/api/alarm/alarm/APP-getAlarm?id=${data[0].id}`; |
| | | // this.nowPosition = center; |
| | | // axios.post(url).then((res) => { |
| | | // // console.log(res) |
| | |
| | | //警情点查询 |
| | | axios({ |
| | | method: "post", |
| | | url: `http://s16s652780.51mypc.cn/api/blade-jfpts/alarm/alarm/APP-getAlarming`, |
| | | url: `http://s16s652780.51mypc.cn/api/alarm/alarm/APP-getAlarming`, |
| | | params: { |
| | | securityId: "1370564873280430082", |
| | | }, |