From e939a67e678386c81b9190ece9d677d49dc23f81 Mon Sep 17 00:00:00 2001
From: rjg <746338628@qq.com>
Date: Wed, 04 Jun 2025 14:25:21 +0800
Subject: [PATCH] 航线追加数据

---
 src/views/tickets/orderLog.vue |   27 +++++++++++++++++++++++++++
 1 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/src/views/tickets/orderLog.vue b/src/views/tickets/orderLog.vue
index d82cb9f..1b07adc 100644
--- a/src/views/tickets/orderLog.vue
+++ b/src/views/tickets/orderLog.vue
@@ -1205,6 +1205,20 @@
 
       this.detailVisible = true;
 
+  // 更新航线列表,追加 wayline_file_region_vo 数据
+  if (data.wayline_file_region_vo) {
+    const newWayline = data.wayline_file_region_vo;
+
+    // 检查是否已经存在于 this.wayLineList 中
+    const isDuplicate = this.wayLineList.some(
+      (item) => item.wayline_id === newWayline.wayline_id
+    );
+
+    if (!isDuplicate) {
+      this.wayLineList.push(newWayline);
+    }
+  }
+
       this.initMapLine(data.device_map_infos);
     },
     async handleCheckDetail(row) {
@@ -1213,7 +1227,20 @@
       this.form = {
         ...data,
       };
+  // 更新航线列表,追加 wayline_file_region_vo 数据
+  // 更新航线列表,追加 wayline_file_region_vo 数据
+  if (data.wayline_file_region_vo) {
+    const newWayline = data.wayline_file_region_vo;
 
+    // 检查是否已经存在于 this.wayLineList 中
+    const isDuplicate = this.wayLineList.some(
+      (item) => item.wayline_id === newWayline.wayline_id
+    );
+
+    if (!isDuplicate) {
+      this.wayLineList.push(newWayline);
+    }
+  }
       // 更新机巢列表
       this.device_sns = data.device_list;
       this.detailVisibleCopy = true;

--
Gitblit v1.9.3