From ac04d6c2bdd933609818872e6e840ec5184e9634 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Fri, 05 Dec 2025 09:28:55 +0800
Subject: [PATCH] Merge branch 'feature/v9.0/9.0.1' into test

---
 src/views/job/components/DeviceJobDetails.vue |   48 ++++++++++++++++++++++++------------------------
 1 files changed, 24 insertions(+), 24 deletions(-)

diff --git a/src/views/job/components/DeviceJobDetails.vue b/src/views/job/components/DeviceJobDetails.vue
index 41fc0a3..7bcd21b 100644
--- a/src/views/job/components/DeviceJobDetails.vue
+++ b/src/views/job/components/DeviceJobDetails.vue
@@ -236,9 +236,9 @@
 // 任务成果
 const total = ref(0)
 const achievementList = ref([])
-const props = defineProps(['wayLineJodInfoId', 'waylineJobId', 'batchNo','jobId'])
-const wayLineJodInfoId = computed(() => props.wayLineJodInfoId)
-provide('wayLineJodInfoId', wayLineJodInfoId)
+const props = defineProps(['wayLineJobInfoId', 'waylineJobId', 'batchNo','jobId'])
+const wayLineJobInfoId = computed(() => props.wayLineJobInfoId)
+provide('wayLineJobInfoId', wayLineJobInfoId)
 // 可见数量
 const visibleCount = computed(() =>
 	showAll.value ? achievementList.value.length : Math.min(5, achievementList.value.length)
@@ -275,27 +275,27 @@
 const flightEvents = ref([])
 const jobTimes = ref([])
 const getDetails = () => {
-	const params = {
-		wayLineJobInfoId: props.wayLineJodInfoId,
-		waylineJobId: props.waylineJobId,
-		batchNo: props.batchNo
-	}
-	getJobDetails(params).then(res => {
-		detailsData.value = res.data.data
-		jobTimes.value = res.data.data.job_times
-		infoList.value.forEach(item => {
-			if (item.name === '任务频次') {
-				const { rep_rule_type = '', rep_rule_val = '' } = detailsData?.value || {}
-				item.value = rep_rule_type + ' -- ' + rep_rule_val
-			} else {
-				item.value = detailsData.value?.[item.field] || '--'
-			}
-			if (item.name === '飞行事件') {
-				const { action_modes = [] } = detailsData?.value || {}
-				flightEvents.value = action_modes.flatMap(({ actionActuatorFunc }) =>
-					droneEventList.filter(({ value }) => actionActuatorFunc === value)
-				)
-			}
+  const params = {
+    wayLineJobInfoId: props.wayLineJobInfoId,
+    waylineJobId: props.waylineJobId,
+    batchNo: props.batchNo
+  }
+  getJobDetails(params).then(res => {
+    detailsData.value = res.data.data
+    jobTimes.value = res.data.data.job_times
+    infoList.value.forEach(item => {
+      if (item.name === '任务频次') {
+        const { rep_rule_type = '',final_cycle_frequency = '' } = detailsData?.value || {}
+        item.value = rep_rule_type ? final_cycle_frequency : '1次'
+      } else {
+        item.value = detailsData.value?.[item.field] || '--'
+      }
+      if (item.name === '飞行事件') {
+        const { action_modes = [] } = detailsData?.value || {}
+        flightEvents.value = action_modes.flatMap(({ actionActuatorFunc }) =>
+          droneEventList.filter(({ value }) => actionActuatorFunc === value)
+        )
+      }
       if (item.name === '自定义识别区') {
         item.value = res.data.data.enable_custom_area ? '是': '否'
       }

--
Gitblit v1.9.3