76 lines
1.5 KiB
Vue
76 lines
1.5 KiB
Vue
|
import request from '@/utils/request'
|
||
|
|
||
|
export function getCameraAll(params) {
|
||
|
return request({
|
||
|
url: `/api/project/selectAll`,
|
||
|
method: 'get',
|
||
|
params,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
export function getCameraLabel(params) {
|
||
|
return request({
|
||
|
url: `/api/project/selectLabel`,
|
||
|
method: 'get',
|
||
|
params,
|
||
|
})
|
||
|
}
|
||
|
export function getCameraAllLabel(params) {
|
||
|
return request({
|
||
|
url: `/api/project/selectAllLabel`,
|
||
|
method: 'get',
|
||
|
params,
|
||
|
})
|
||
|
}
|
||
|
export function searchCamera(params) {
|
||
|
return request({
|
||
|
url:
|
||
|
`http://q3d.qd.gov.cn:8195/portalproxy/qcserver/rest/services/qcgd/GeocodeServer/suggest?text=` +
|
||
|
params +
|
||
|
`&key=iOgQotfgfyLvhj6WgfDTpq7F&maxSuggestions=5`,
|
||
|
method: 'get',
|
||
|
})
|
||
|
}
|
||
|
export function getCameraAllOrgan(params) {
|
||
|
return request({
|
||
|
url: `/api/project/selectSubOrgan`,
|
||
|
method: 'get',
|
||
|
params,
|
||
|
})
|
||
|
}
|
||
|
export function getCameraByParentId(params) {
|
||
|
return request({
|
||
|
url: `/api/project/selectByParentId`,
|
||
|
method: 'get',
|
||
|
params,
|
||
|
})
|
||
|
}
|
||
|
export function selectByChannelName(params) {
|
||
|
return request({
|
||
|
url: `/api/project/selectByChannelName`,
|
||
|
method: 'get',
|
||
|
params,
|
||
|
})
|
||
|
}
|
||
|
export function selectByLabelName(params) {
|
||
|
return request({
|
||
|
url: `/api/project/selectByLabelName`,
|
||
|
method: 'get',
|
||
|
params,
|
||
|
})
|
||
|
}
|
||
|
export function selectByChannelCode(params) {
|
||
|
return request({
|
||
|
url: `/api/project/selectByChannelCode`,
|
||
|
method: 'get',
|
||
|
params,
|
||
|
})
|
||
|
}
|
||
|
export function getStreamByChannelCode(params) {
|
||
|
return request({
|
||
|
url: `/api/project/file`,
|
||
|
method: 'get',
|
||
|
params,
|
||
|
})
|
||
|
}
|