Kaynağa Gözat

功能修改20250309-03

zhiyuan-007 1 ay önce
ebeveyn
işleme
8b9cf5cf2f

+ 1 - 1
src/components/MapView.vue

@@ -58,7 +58,7 @@ export default {
           //   mapStore.isLoading = false;
           //   break;
           case "SelectedCubeInfo":
-            debugger
+              console.log("gridCode", arg.data.grid)
             let gridCode = arg.data.grid;
             mapStore.gridCode = gridCode;
             break;

+ 0 - 6
src/views/home/cpns/PanelHxhs.vue

@@ -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({

+ 0 - 1
src/views/home/cpns/PanelSjwg.vue

@@ -198,7 +198,6 @@ function handleCheck(item, type) {
 }
 
 function handleDelete(item, type){
-  debugger
   switch(type) {
     case 'area':
       DeleteArea(item.id).then(res => {

+ 1 - 1
src/views/home/cpns/ToolList.vue

@@ -125,8 +125,8 @@ function handleToolClick(tool, childIndex) {
         case 'kysg':
         case 'fcky':
           layoutStore.toggleFloatPanel(tool.id, tool.active)
+          break;
         case 'tsjs':
-          debugger
           movePoint({
             status:tool.active
           });