132 lines
2.5 KiB
JavaScript
132 lines
2.5 KiB
JavaScript
import request from '@/utils/request'
|
|
|
|
/**
|
|
* 分页查询渔船识别记录
|
|
* 查询
|
|
* @param data
|
|
* @returns {*}
|
|
*/
|
|
export const videoIdentificationPage = (data) => {
|
|
return request({
|
|
url: '/videoIdentification/findByPage',
|
|
method: 'post',
|
|
params: data
|
|
})
|
|
}
|
|
/**
|
|
* 渔船识别记录
|
|
* 修改
|
|
* @param data
|
|
* @returns {*}
|
|
*/
|
|
export const updateVideoIdentification = (data) => {
|
|
return request({
|
|
url: '/videoIdentification/updateVideoIdentification',
|
|
method: 'post',
|
|
data: data,
|
|
headers: {
|
|
'Content-Type': 'application/json;charset=utf-8'
|
|
}
|
|
})
|
|
}
|
|
/**
|
|
* 渔船识别记录
|
|
* 删除
|
|
* @param data
|
|
* @returns {*}
|
|
*/
|
|
export const removeVideoIdentification = (data) => {
|
|
return request({
|
|
url: '/videoIdentification/removeVideoIdentification',
|
|
method: 'post',
|
|
data: data,
|
|
headers: {
|
|
'Content-Type': 'application/json;charset=utf-8'
|
|
}
|
|
})
|
|
}
|
|
/**
|
|
* 实时预览-识别率
|
|
* 查询
|
|
* @param data
|
|
* @returns {*}
|
|
*/
|
|
export const getIdentityRate = (params) => {
|
|
return request({
|
|
url: `/videoIdentification/getIdentityRate?type=${params.type}`,
|
|
method: 'get'
|
|
})
|
|
}
|
|
/**
|
|
* 卡口流量趋势
|
|
* 查询
|
|
* @param data
|
|
* @returns {*}
|
|
*/
|
|
export const getPortTrend = () => {
|
|
return request({
|
|
url: '/videoIdentification/getPortTrend',
|
|
method: 'get'
|
|
})
|
|
}
|
|
/**
|
|
* 无人机执行次数
|
|
* 查询
|
|
* @param data
|
|
* @returns {*}
|
|
*/
|
|
export const getVAVOperateCount = () => {
|
|
return request({
|
|
url: '/videoIdentification/getVAVOperateCount',
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
/**
|
|
* 卡口识别累计
|
|
* 查询
|
|
* @param data
|
|
* @returns {*}
|
|
*/
|
|
export const getPortIdentityTotal = () => {
|
|
return request({
|
|
url: '/videoIdentification/getPortIdentityTotal',
|
|
method: 'get'
|
|
})
|
|
}
|
|
/**
|
|
* 无人机识别累计
|
|
* 查询
|
|
* @param data
|
|
* @returns {*}
|
|
*/
|
|
export const getUAVIdentityTotal = () => {
|
|
return request({
|
|
url: '/videoIdentification/getUAVIdentityTotal',
|
|
method: 'get'
|
|
})
|
|
}
|
|
/**
|
|
* 航道流速信息
|
|
* 查询
|
|
* @param data
|
|
* @returns {*}
|
|
*/
|
|
export const getWaterwayVelocity = (params) => {
|
|
return request({
|
|
url: `/videoIdentification/getWaterwayVelocity?waterwayVelocity=${params.waterwayVelocity}`,
|
|
method: 'get'
|
|
})
|
|
}
|
|
/**
|
|
* 航道气象信息
|
|
* 查询
|
|
* @param data
|
|
* @returns {*}
|
|
*/
|
|
export const getWaterwayWeather = (params) => {
|
|
return request({
|
|
url: `/videoIdentification/getWaterwayWeather?waterwayVelocity=${params.waterwayVelocity}`,
|
|
method: 'get'
|
|
})
|
|
} |