From 648904d076ae6e17892b40675598b1c8dc474277 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Fri, 24 Apr 2026 16:21:12 +0800
Subject: [PATCH] Merge branch 'feature/v9.0/9.0.3' into feature/v9.0/9.0.4

---
 src/api/work/index.js |   16 ++++++++++++++--
 1 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/src/api/work/index.js b/src/api/work/index.js
index 10b197a..882de2f 100644
--- a/src/api/work/index.js
+++ b/src/api/work/index.js
@@ -38,7 +38,10 @@
   if (file) {
     formData.append('file', file)
   }
-
+   for (let [key, value] of formData.entries()) {
+      console.log(key, value)
+    }
+console.log('formData',formData)
   return request({
     url: '/drone-device-core/jobEvent/flowEvent',
     method: 'post',
@@ -47,4 +50,13 @@
       'Content-Type': 'multipart/form-data', // 设置为表单数据格式
     },
   })
-}
\ No newline at end of file
+}
+
+// 新增接口:获取工单详细信息
+export const getTicketInfo = (id) => {
+  return request({
+    url: '/drone-device-core/jobEvent/getTicketInfo',
+    method: 'get',
+    params: { id }, // 使用工单 ID 查询
+  })
+}

--
Gitblit v1.9.3