| | |
| | | provide('lineQuality', lineQuality) |
| | | |
| | | const isShow = defineModel('show') |
| | | const props = defineProps({ |
| | | rowData: { |
| | | // 任务列表row数据 |
| | | type: Object, |
| | | default: () => ({}), |
| | | }, |
| | | }) |
| | | const props = defineProps(['id']) |
| | | const currentLiveUrl = ref('') |
| | | const machineNestUrl = ref('') |
| | | const droneLiveUrl = ref('') |
| | |
| | | |
| | | // 获取任务详情获取航线文件 |
| | | const getTaskDetails = () => { |
| | | getJobDetails({ wayLineJobInfoId: props.rowData.id }).then(async res => { |
| | | if (!props.id) ElMessage.warning('请检查是否传入id') |
| | | getJobDetails({ wayLineJobInfoId: props.id }).then(async res => { |
| | | taskDetails.value = res.data.data |
| | | currentLiveUrl.value = await getDeviceLiveUrl() |
| | | taskDetails.value.workspace_id = taskDetails.value.way_lines[0]?.workspace_id |