无人机管理后台前端(已迁走)
张含笑
2025-09-02 38d20755f3c5e248aa1efda2dee0860c3e9a6bfd
src/api/patchManagement/index.js
@@ -73,10 +73,18 @@
   })
}
// 导出
export const exportExcel = ids => {
// export const exportExcel = ids => {
//    return request({
//       url: `/drone-device-core/patches/api/v1/Patches/getExcel?ids=${ids}`,
//       method: 'get',
//       responseType: 'blob',
//    })
// }
export const exportExcel = data => {
   return request({
      url: `/drone-device-core/patches/api/v1/Patches/getExcel?ids=${ids}`,
      method: 'get',
      url: `/drone-device-core/patches/api/v1/Patches/exportExcel`,
      method: 'post',
      data,
      responseType: 'blob',
   })
}