Browse Source

功能修改20250118

zhiyuan-007 1 day ago
parent
commit
55c1a94883
1 changed files with 5 additions and 1 deletions
  1. 5 1
      src/views/home/cpns/RoutePlan.vue

+ 5 - 1
src/views/home/cpns/RoutePlan.vue

@@ -33,7 +33,7 @@
           <el-button type="primary" size="small" @click="getAutoPath">自动规划</el-button>
           <el-button type="primary" size="small" @click="getCube">核查分析</el-button>
           <el-button type="primary" size="small" @click="auxiliaryModification">辅助修改</el-button>
-          <el-button type="primary" size="small" @click="virtualFly">模拟飞行</el-button>
+          <el-button type="primary" size="small" :class="[isFly?'chosen':'']" @click="virtualFly">模拟飞行</el-button>
         </el-form-item>
         <el-form-item>
           <p class="tip">注:自动规划后点击航线可以二次编辑,并支持对航线进行再次核查。</p>
@@ -340,6 +340,7 @@ function auxiliaryModification(){
 
 function virtualFly(){
   isFly.value = !isFly.value;
+  debugger
   getVirtualFlyPoint({
     status:"show",
     flyList:{
@@ -420,6 +421,9 @@ function handleClose() {
 
   .mb-0 {
     margin-bottom: 0;
+    .chosen{
+      color: yellow;
+    }
   }
 }
 </style>