12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- import request from '@/utils/request'
- // 获取左侧
- export function getRy() {
- return request({
- url: '/center-firecontrol/VisuForestCloudMapController/getRy',
- method: 'post',
- })
- }
- // 获取左侧人员列表
- export function getForestLeader(linJob,linType) {
- return request({
- url: '/center-firecontrol/VisuForestLeaderController/getPersonList?linJob='+linJob+"&linType="+linType,
- method: 'get',
- })
- }
- // 点击左侧人员列表获取轨迹
- export function getLeaderTrack(trackById) {
- return request({
- url: '/center-firecontrol/VisuForestLeaderController/getLeaderTrack?trackById=' + trackById,
- method: 'get',
- })
- }
- // 巡林任务
- export function getPlanList(userId) {
- return request({
- url: '/center-data/task/getPlanList',
- method: 'post',
- data: {userId:userId,type:'5'}
- })
- }
- // 巡林记录
- export function getRecordList(taskId) {
- return request({
- url: '/center-data/record/list?taskId='+taskId,
- method: 'get',
- })
- }
- // 巡林轨迹
- export function getPointList(recordId) {
- return request({
- url: '/center-data/track/getTrack/'+recordId.toString(),
- method: 'get',
- })
- }
|