| | |
| | | let viewer = null |
| | | |
| | | let { taskDetails, workspace_id, getTaskDetails } = useTaskDetails() |
| | | let { wsInfo, removeWS } = useDroneWS(workspace_id) //ws信息,是一个ref对象 |
| | | |
| | | const wsInfo = inject('wsInfo') |
| | | const store = useStore() |
| | | // 设备任务详情 |
| | | let currentInfoId = ref('') |
| | |
| | | const taskClick = item => { |
| | | if (tabIndex.value === 1) { |
| | | // 展示当前任务详情 |
| | | if (!item?.device_sns.length) return ElMessage.warning('没有device_sns'); |
| | | if (!item?.device_sns?.length) return ElMessage.warning('没有device_sns'); |
| | | if (item?.device_sns?.length !== 1) { |
| | | // todo 后续开发 |
| | | ElMessage.success('即将跳转到集群调度'); |