| | |
| | | </template> |
| | | <script setup> |
| | | import { useStore } from 'vuex' |
| | | import { getDeviceJobList } from '@/api/home/machineNest' |
| | | import DeviceJobDetails from './DeviceJobDetails/DeviceJobDetails.vue'; |
| | | import { getDeviceJobList } from '@/api/home/task' |
| | | |
| | | const list = ref([]) |
| | | const params = ref({ |
| | |
| | | const device_sn = computed(() => store.state.home.singleUavHome.device_sn) |
| | | const total = ref(0) |
| | | const deviceJobDetailsShow = ref(false) |
| | | const jobId = ref(null) |
| | | provide('jobId', jobId) |
| | | const wayLineJodInfoId = ref(null) |
| | | provide('wayLineJodInfoId', wayLineJodInfoId) |
| | | const viewJob = (row) => { |
| | | jobId.value = row.id |
| | | wayLineJodInfoId.value = row.id |
| | | deviceJobDetailsShow.value = true |
| | | } |
| | | |