From 8d32ef6a30791411fcf8cabf283024749fe9e9ab Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Sat, 22 Nov 2025 17:15:59 +0800
Subject: [PATCH] feat:智飞工单

---
 src/views/tickets/orderLog.vue |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/src/views/tickets/orderLog.vue b/src/views/tickets/orderLog.vue
index a5a1867..65a50d3 100644
--- a/src/views/tickets/orderLog.vue
+++ b/src/views/tickets/orderLog.vue
@@ -36,7 +36,7 @@
               </template>
             </el-table-column>
             <el-table-column prop="dept_name" label="所属单位" show-overflow-tooltip/>
-            <el-table-column prop="create_time" label="创建时间" show-overflow-tooltip/>
+            <el-table-column prop="create_time" label="创建时间" width="160" show-overflow-tooltip/>
             <el-table-column prop="job_num" label="已执行次数" width="90" align="center" />
             <el-table-column prop="content" label="工单内容" show-overflow-tooltip align="center" />
             <el-table-column prop="wayline_name" label="关联航线" show-overflow-tooltip />
@@ -110,6 +110,7 @@
 import { cloneDeep } from 'lodash';
 import { computed, onMounted } from 'vue';
 import { ElMessage, ElMessageBox } from 'element-plus'
+import { aiImagesPage } from '@/api/dataCenter/dataCenter';
 
 const store = useStore()
 
@@ -228,11 +229,12 @@
 
 const orderListTable = ref([])
 function getTableList() {
+  orderListParams.searchParams.ai_types =  orderListParams.searchParams.ai_typesValue ? [ orderListParams.searchParams.ai_typesValue] : null
   const apiParams = {
     ...cloneDeep(orderListParams),
     ...cloneDeep(orderListParams.searchParams)
   }
-  getList(apiParams).then(res => {
+  getList(apiParams, orderListParams.current, orderListParams.size).then(res => {
     orderListTable.value = res.data.data.records
     total.value = res.data.data.total
     // updateGlobalCounts()
@@ -324,11 +326,10 @@
 
     NProgress.start()
 
+    orderListParams.searchParams.ai_types =  orderListParams.searchParams.ai_typesValue ? [ orderListParams.searchParams.ai_typesValue] : null
     const apiParams = {
       ...cloneDeep(orderListParams),
-      searchParams: {
-        ...cloneDeep(orderListParams.searchParams)
-      },
+      ...cloneDeep(orderListParams.searchParams)
     }
     const res = await orderLogExport(apiParams)
 
@@ -415,11 +416,11 @@
 }
 
 onMounted(() => {
+  getLines()
+  aitypeList()
   filteredTabs()
   getTableList()
   updateGlobalCounts()
-  getLines()
-  aitypeList()
 })
 </script>
 

--
Gitblit v1.9.3