| | |
| | | {{ wayline.name }} |
| | | </div> |
| | | </a-tooltip> |
| | | |
| | | <div class="ml10"> |
| | | <UserOutlined /> |
| | | </div> |
| | | |
| | | <a-tooltip :title="wayline.user_name"> |
| | | <div class="ml5 pr10" |
| | | style="width: 80px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden;"> |
| | |
| | | </template> |
| | | |
| | | <script lang="ts" setup> |
| | | import { computed, onMounted, onUnmounted, reactive, ref, toRaw, UnwrapRef } from 'vue' |
| | | import { computed, onMounted, onUnmounted, reactive, ref, toRaw, UnwrapRef, watch } from 'vue' |
| | | import { |
| | | CloseOutlined, |
| | | RocketOutlined, |
| | |
| | | } from '/@/types/task' |
| | | import moment, { Moment } from 'moment' |
| | | import { RuleObject } from 'ant-design-vue/es/form/interface' |
| | | import { clickPoint, pointCenter } from '/@/hooks/use-center-point' |
| | | |
| | | const btnSize = 'size' |
| | | const root = getRoot() |
| | |
| | | const workspaceId = localStorage.getItem(ELocalStorageKey.WorkspaceId)! |
| | | const wayline = computed<WaylineFile>(() => { |
| | | return store.state.waylineInfo |
| | | }) |
| | | watch(() => wayline, (newVal) => { |
| | | if (newVal.value.id) { |
| | | planForm.fileId = newVal.value.id |
| | | } |
| | | }, { |
| | | deep: true |
| | | }) |
| | | |
| | | const calculateDisabled = computed(() => { |
| | |
| | | } |
| | | } |
| | | |
| | | const repeatRuleValue = ref([] as string[]) |
| | | |
| | | const dock = computed<Device>(() => { |
| | | return store.state.dockInfo |
| | | }) |
| | |
| | | // 公共字段 |
| | | form.name = planForm.name |
| | | form.workspaceId = store.state.common.projectId |
| | | form.waylineId = planForm.waylineId |
| | | form.fileId = planForm.fileId |
| | | form.dockSn = planForm.dockSn |
| | | form.taskType = planForm.taskType |
| | | form.rthAltitude = planForm.rthAltitude |