| File was renamed from src/views/SignMachineNest/MachineRight/MachineStatus/MachineTableDetails/DeviceJob/DeviceJobDetails/DeviceJobDetails.vue |
| | |
| | | <div class="itemValue">{{ flystatus ? flystatus :'' }}</div> |
| | | </div> |
| | | </div> |
| | | <JobRelatedEvents v-if="isShow" /> |
| | | <JobRelatedEvents v-if="props.wayLineJodInfoId" /> |
| | | <div class="devicetitle" v-if="isShow"> |
| | | <p> |
| | | 任务成果 |
| | |
| | | const mediaType = ref('') |
| | | const total = ref(0) |
| | | const achievementList = ref([]) |
| | | const wayLineJodInfoId = inject('wayLineJodInfoId') |
| | | |
| | | const props = defineProps(['wayLineJodInfoId']) |
| | | const wayLineJodInfoId = computed(()=> props.wayLineJodInfoId) |
| | | provide('wayLineJodInfoId',wayLineJodInfoId) |
| | | |
| | | |
| | | const getAchievement = () => { |
| | | getJobInfoFiles({ jobInfoId: wayLineJodInfoId.value }).then(res => { |
| | | for (let i = 0; i < res.data.data.length; i++) { |
| | |
| | | }) |
| | | } |
| | | |
| | | watch(isShow, (newValue, oldValue) => { |
| | | if (newValue) { |
| | | getDetails() |
| | | getAchievement() |
| | | } |
| | | onMounted(() => { |
| | | getDetails() |
| | | getAchievement() |
| | | }) |
| | | </script> |
| | | |