| | |
| | | this.eventDetails = useD; |
| | | }, |
| | | getdata() { |
| | | // const url = `/api/blade-jfpts/equipment/equipment/pageDept?deviceName=${this.myDeviceNumber}¤t=1&size=10&pid=` |
| | | // const url = `/api/equipment/equipment/pageDept?deviceName=${this.myDeviceNumber}¤t=1&size=10&pid=` |
| | | // axios.get(url) |
| | | var that = this; |
| | | var data = { |
| | |
| | | this.startEcharts01(); |
| | | }, |
| | | getMap() { |
| | | window.frames[1].init("DetailMap", { |
| | | window.frames[0].init("DetailMap", { |
| | | x: this.a.jd, |
| | | y: this.a.wd, |
| | | }); |
| | |
| | | if (manufacturer == "HK"){ |
| | | axios |
| | | .get( |
| | | `/api/blade-jfpts/equipment/equipment/selectEquimentPlayInfo?number=${deviceNumber}&bmp=m3u8&manufacturer=${manufacturer}` |
| | | `/api/equipment/equipment/selectEquimentPlayInfo?number=${deviceNumber}&bmp=m3u8&manufacturer=${manufacturer}` |
| | | ) |
| | | .then((result) => { |
| | | that.videoSource = result.data.data.address; |
| | |
| | | // this.doEvents(); |
| | | // var timel = setTimeout(() => { |
| | | this.$refs.detailMap.onload = () => { |
| | | // window.frames[1].init("DetailMap", { |
| | | // window.frames[0].init("DetailMap", { |
| | | // x: this.a.jd, |
| | | // y: this.a.wd, |
| | | // }); |
| | | if (window.frames[1].init) { |
| | | if (window.frames[0].init) { |
| | | this.getMap(); |
| | | } else { |
| | | // this.re(); |
| | | console.log(`没有找到到window.frames[1].init`); |
| | | console.log(`没有找到到window.frames[0].init`); |
| | | } |
| | | }; |
| | | }, |