From e8cde67a4d9d5ae1b4c501172e0a7a51394d4c39 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Fri, 01 Aug 2025 10:05:17 +0800
Subject: [PATCH] feat:智飞工单清空

---
 src/views/tickets/ticket.vue   |    1 -
 src/views/tickets/orderLog.vue |    6 +++++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/views/tickets/orderLog.vue b/src/views/tickets/orderLog.vue
index 9dddfcb..c649ba7 100644
--- a/src/views/tickets/orderLog.vue
+++ b/src/views/tickets/orderLog.vue
@@ -706,6 +706,8 @@
   mounted () {
     this.fetchTableData()
     const id = this.$route.query.id
+    console.log('idddddd',id);
+    
     if (id) {
       // 确保 id 存在
       this.handleViewDetail({ id })
@@ -1063,7 +1065,6 @@
         : (this.detailTitle = '编辑工单')
 
       this.detailVisible = true
-
       // 更新航线列表,追加 wayline_file_region_vo 数据
       if (data.wayline_file_region_vo) {
         const newWayline = data.wayline_file_region_vo
@@ -1079,6 +1080,9 @@
       }
 
       this.initMapLine(data.device_map_infos)
+            const find = this.$store.state.tags.bsTagList.find(i => i.path === '/tickets/orderLog')
+        find && (find.query = {})
+
     },
     async handleCheckDetail (row) {
       const response = await orderLogDetails(row.id)
diff --git a/src/views/tickets/ticket.vue b/src/views/tickets/ticket.vue
index 9dac247..397d8a1 100644
--- a/src/views/tickets/ticket.vue
+++ b/src/views/tickets/ticket.vue
@@ -1139,7 +1139,6 @@
           find && (find.query = {})
         });
 
-        console.log('orderNumber', orderNumber);
       }
     }
 

--
Gitblit v1.9.3