first commit
This commit is contained in:
92
src/api/map/index.js
Normal file
92
src/api/map/index.js
Normal file
@@ -0,0 +1,92 @@
|
||||
import service from '@/utils/request'
|
||||
/**
|
||||
* 查询当前渔船动态定位
|
||||
* 查询
|
||||
* @param data
|
||||
* @returns {*}
|
||||
*/
|
||||
export const findByCurrent = (data) => service({
|
||||
url: '/boatDynamic/findByCurrent',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
/**
|
||||
* 根据mmsi获取 24H 轨迹信息
|
||||
* 查询
|
||||
* @param data
|
||||
* @returns {*}
|
||||
*/
|
||||
export const findAISPointPositionByMmsi = (data) => {
|
||||
return service({
|
||||
url: '/boatData/findAISPointPositionByMmsi',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 光电联动查看监控设备列表
|
||||
* 查询
|
||||
* @param data
|
||||
* @returns {*}
|
||||
*/
|
||||
export const getDevicesForServo = (data) => {
|
||||
return service({
|
||||
url: '/fishingPort/dsVideo/getDevicesForServo',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 光电联动反向定位,判断监控设备和将要联动的定位目标是否超出可视范围、是否处于视角遮挡区
|
||||
export function getDevicesIsCover(data) {
|
||||
return service({
|
||||
url: '/fishingPort/dsVideo/judgeMoveByGps',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 光电联动反向定位联动控制,根据监控设备和将要联动的定位目标经纬度控制视频监控设备转动对焦
|
||||
export function sitMoveByGps(data) {
|
||||
return service({
|
||||
url: '/fishingPort/dsVideo/sitMoveByGps',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 光电随动
|
||||
export function servoByRadar(data) {
|
||||
return service({
|
||||
url: '/fishingPort/dsVideo/servoByRadar',
|
||||
method: 'post',
|
||||
data: data,
|
||||
headers: {
|
||||
'Content-Type': 'application/json;charset=utf-8'
|
||||
}
|
||||
})
|
||||
}
|
||||
// 退出光电随动
|
||||
export function exitServoByRadar(data) {
|
||||
return service({
|
||||
url: '/fishingPort/dsVideo/servoByRadarExit',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 业务查询渔船信息 根据终端号进行查询数据
|
||||
// 查询
|
||||
export const findBoatListByMmsi = (data) => service({
|
||||
url: '/fishingPort/fishingBoatArchives/findBoatListByMmsi',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
|
||||
// 业务查询渔船信息 根据渔船id进行查询数据
|
||||
// 查询
|
||||
export const getBoatInfoByBoatId = (data) => service({
|
||||
url: '/fishingPort/fishingBoatArchives/getBoatInfoByBoatId',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
Reference in New Issue
Block a user