| | |
| | | data, |
| | | }); |
| | | }; |
| | | // 飞行统计111 |
| | | export const tongjiNestApi = data => { |
| | | return request({ |
| | | url: `/drone-device-core/manage/api/v1/devices/getAllDeviceStatistics`, |
| | | method: 'post', |
| | | data, |
| | | }) |
| | | } |
| | | // 飞行时长 里程 任务数 |
| | | export const getFlyTime = data => { |
| | | return request({ |
| | |
| | | data, |
| | | }); |
| | | }; |
| | | |
| | | // 获取事件工单和智飞工单的数量 |
| | | export const getOrderCountApi = (areaCode) => { |
| | | return request({ |
| | | url: '/drone-device-core/jobEvent/getOrderCount', |
| | | method: 'get', |
| | | params: { |
| | | |
| | | areaCode |
| | | }, |
| | | }); |
| | | }; |
| | | // 标记事件工单或智飞工单已读 |
| | | export const addOrderRecordApi = (type,ticketId) => { |
| | | return request({ |
| | | url: '/drone-device-core/jobEvent/addOrderRecord', |
| | | method: 'post', |
| | | params: { |
| | | type, |
| | | ticketId |
| | | }, |
| | | }); |
| | | }; |
| | | // 获取事件工单或者智飞工单的信息 |
| | | |
| | | export const getOrderOrEventApi = data => { |
| | | return request({ |
| | | url: '/drone-device-core/jobEvent/getOrderOrEvent', |
| | | method: 'post', |
| | | data: data, |
| | | }) |
| | | } |
| | | // 任务成果 |
| | | export const getdisposeApi = data => { |
| | | return request({ |
| | | url: `/drone-device-core/jobEvent/eventStatusLine`, |
| | | method: 'post', |
| | | data, |
| | | }) |
| | | } |
| | | // 任务成果 |
| | | export const gettaskOutcomApi = data => { |
| | | return request({ |
| | | url: `/blade-resource/attach/getManageAttachTypeStatistics`, |
| | | method: 'post', |
| | | data, |
| | | }) |
| | | } |