| | |
| | | this.$emit('close') |
| | | }, |
| | | flyToLocal(row){ |
| | | |
| | | console.log(row) |
| | | const position = Cesium.Cartesian3.fromDegrees(row.longitude,row.latitude, row.deviceHeight); |
| | | // rotationAngle = Cesium.Math.toRadians(row.face) || Cesium.Math.toRadians(0) |
| | | rotationAngle = Cesium.Math.toRadians(row.face) || Cesium.Math.toRadians(0) |
| | |
| | | message: '生成航线成功', |
| | | type: 'success' |
| | | }) |
| | | const link = document.createElement('a'); |
| | | link.href = res.msg; // 设置下载链接 |
| | | // link.download = 'filename.ext'; // 可选:指定文件名 |
| | | document.body.appendChild(link); // 将链接添加到 DOM |
| | | link.click(); // 模拟点击下载 |
| | | document.body.removeChild(link); // 下载后移除链接 |
| | | } |
| | | }) |
| | | }, |