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', @@ -48,3 +51,12 @@ }, }) } // 新增接口:获取工单详细信息 export const getTicketInfo = (id) => { return request({ url: '/drone-device-core/jobEvent/getTicketInfo', method: 'get', params: { id }, // 使用工单 ID 查询 }) }