guoshilong
2023-10-18 7e0aec2ee530a4cee812df3d48ad92be8a533453
航线执行修改
1 files modified
6 ■■■■■ changed files
src/components/task/CreatePlan.vue 6 ●●●●● patch | view | raw | blame | history
src/components/task/CreatePlan.vue
@@ -585,10 +585,6 @@
      createPlanBody.wayline_type = wayline.value.template_types[0]
    }
    createPlanBody.execute_start_time_arr = getFlyTimeList(createPlanBody)
    console.log('createPlanBody', createPlanBody)
    if (planBody.task_type === TaskType.Immediate || planBody.task_type === TaskType.Timed) {
      createPlan(workspaceId, createPlanBody)
        .then(res => {
@@ -597,6 +593,8 @@
          closePlan()
        })
    } else {
      createPlanBody.execute_start_time_arr = getFlyTimeList(createPlanBody)
      if (planBody.task_type === TaskType.Repeat) {
        createPlanBody.task_type = 1
      } else if (planBody.task_type === TaskType.Continuous) {