|
@@ -52,18 +52,24 @@ export function rotation(lng,lat,list) {
|
|
}
|
|
}
|
|
})
|
|
})
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+//根据部门ID获取具有查看权限的摄像头
|
|
|
|
+export function getCamerasByDeptId(deptId) {
|
|
|
|
+ return request({
|
|
|
|
+ url: '/center-firecontrol/VisuForestMonitorCenterController/getCamerasByDeptId?deptId=' + deptId,
|
|
|
|
+ method: 'get',
|
|
|
|
+ })
|
|
|
|
+}
|
|
//根据部门id查询部门及部门以下的数据,没有则默认查询所有
|
|
//根据部门id查询部门及部门以下的数据,没有则默认查询所有
|
|
export function getSensorListByDeptId(deptId) {
|
|
export function getSensorListByDeptId(deptId) {
|
|
return request({
|
|
return request({
|
|
- url: '/center-environment/VisuForestMonitorCenterController/getSensorListByDeptId?deptId=' + deptId,
|
|
|
|
|
|
+ url: '/center-firecontrol/VisuForestMonitorCenterController/getSensorListByDeptId?deptId=' + deptId,
|
|
method: 'get',
|
|
method: 'get',
|
|
})
|
|
})
|
|
}
|
|
}
|
|
//根据部门id查询部门及部门以下的数据,没有则默认查询所有
|
|
//根据部门id查询部门及部门以下的数据,没有则默认查询所有
|
|
export function getDlblistBydeptId(deptId) {
|
|
export function getDlblistBydeptId(deptId) {
|
|
return request({
|
|
return request({
|
|
- url: '/center-environment/VisuForestMonitorCenterController/getDlblistBydeptId?deptId=' + deptId,
|
|
|
|
|
|
+ url: '/center-firecontrol/VisuForestMonitorCenterController/getDlblistBydeptId?deptId=' + deptId,
|
|
method: 'get',
|
|
method: 'get',
|
|
})
|
|
})
|
|
}
|
|
}
|