|
@@ -310,7 +310,6 @@ function handlePreview() {
|
|
|
//获取起降数据
|
|
|
function getQJCList(){
|
|
|
searchQJCList().then(res=>{
|
|
|
- debugger
|
|
|
let data = res.data.data;
|
|
|
data.forEach((item)=>{
|
|
|
portOptions.push({
|
|
@@ -340,7 +339,6 @@ function showPort(id){
|
|
|
|
|
|
//起降场选择完成生成原始直线
|
|
|
function showOriginPath(){
|
|
|
- debugger
|
|
|
if(form.value.fromPort && form.value.toPort){
|
|
|
let formPoint = JSON.parse(portOptions.find((item)=>item.value ==form.value.fromPort).shape).point;
|
|
|
let toPoint = JSON.parse(portOptions.find((item)=>item.value ==form.value.toPort).shape).point;
|
|
@@ -351,7 +349,6 @@ function showOriginPath(){
|
|
|
[toPoint.x, toPoint.y,(form.value.height1 * 1 + form.value.height2 * 1)/2],
|
|
|
[toPoint.x, toPoint.y,toPoint.z]
|
|
|
]
|
|
|
- debugger
|
|
|
showAndRedrawPath({
|
|
|
status:"show",
|
|
|
path:currentPath
|
|
@@ -396,7 +393,6 @@ function getAutoPath(){
|
|
|
let data = res.data.data;
|
|
|
allPathArr = data;
|
|
|
plans.value.forEach((item)=>{
|
|
|
- debugger
|
|
|
item.distance = (data[item.name].length/1000).toFixed(2)
|
|
|
});
|
|
|
showAllPathByType();
|
|
@@ -502,7 +498,6 @@ function showAllPathByType(){
|
|
|
}
|
|
|
|
|
|
function getDrawGeometry(){
|
|
|
- debugger
|
|
|
if(mapStore.draw_geometry){
|
|
|
if(autoHeight){
|
|
|
let path = mapStore.draw_geometry.paths[0];
|
|
@@ -531,7 +526,6 @@ function getDrawGeometry(){
|
|
|
}
|
|
|
|
|
|
function changeDataType(){
|
|
|
- debugger
|
|
|
if(form.value.dataType == '01'){ //手动
|
|
|
autoHeight = true;
|
|
|
showAndRedrawPath({
|