| | |
| | | method:'delete', |
| | | data |
| | | }) |
| | | } |
| | | |
| | | //图斑管理表格 |
| | | export const spotManagementTableApi = params => { |
| | | return request({ |
| | | url: `/drone-device-core/patches/api/v1/Patches/getPatchesPage`, |
| | | method: 'get', |
| | | params, |
| | | }) |
| | | } |
| | | // 图斑管理搜索 |
| | | export const searchManagementApi = params => { |
| | | return request({ |
| | | url: `/drone-device-core/patches/api/v1/Patches/getPatchesInfoUserAndArea`, |
| | | method: 'get', |
| | | params, |
| | | }) |
| | | } |
| | | // 图斑上传 |
| | | export const uploadManagementApi = data => { |
| | | return request({ |
| | | url: `/drone-device-core/patches/api/v1/Patches/uploadLot`, |
| | | method: 'post', |
| | | data, |
| | | }) |
| | | } |
| | | // 图斑地图表格接口 |
| | | export const tableMapListApi = params => { |
| | | return request({ |
| | | url: `/drone-device-core/patches/api/v1/Patches/getLotInfoByPatchesId`, |
| | | method: 'get', |
| | | params, |
| | | }) |
| | | } |
| | | // 导出 |
| | | export const exportExcel = ids => { |
| | | return request({ |
| | | url: `/drone-device-core/patches/api/v1/Patches/getExcel?ids=${ids}`, |
| | | method: 'get', |
| | | responseType: 'blob', |
| | | }) |
| | | } |