|
@@ -0,0 +1,56 @@
|
|
|
+import request from '@/utils/request'
|
|
|
+
|
|
|
+// 获取左侧
|
|
|
+export function getRy() {
|
|
|
+ return request({
|
|
|
+ url: '/center-fire/VisuForestCloudMapController/getRy',
|
|
|
+ method: 'post',
|
|
|
+ })
|
|
|
+}
|
|
|
+
|
|
|
+// 获取左侧人员列表
|
|
|
+export function getForestLeader(linJob,linType) {
|
|
|
+ return request({
|
|
|
+ url: '/center-fire/VisuForestLeaderController/getForestLeader?linJob='+linJob+"&linType="+linType,
|
|
|
+ method: 'get',
|
|
|
+ })
|
|
|
+}
|
|
|
+// 点击左侧人员列表获取轨迹
|
|
|
+export function getLeaderTrack(trackById) {
|
|
|
+ return request({
|
|
|
+ url: '/center-fire/VisuForestLeaderController/getLeaderTrack?trackById='+trackById,
|
|
|
+ method: 'get',
|
|
|
+ })
|
|
|
+}
|
|
|
+
|
|
|
+// 点击左侧人员获取人员的巡林计划
|
|
|
+export function getRemotelist() {
|
|
|
+ return request({
|
|
|
+ url: '/center-fire/VisuForestLeaderController/getRemotelist',
|
|
|
+ method: 'get',
|
|
|
+ })
|
|
|
+}
|
|
|
+
|
|
|
+// 巡林计划
|
|
|
+export function getPlanList(personId) {
|
|
|
+ return request({
|
|
|
+ url: '/center-fire/VisuForestLeaderController/getPlanList?personId='+personId,
|
|
|
+ method: 'get',
|
|
|
+ })
|
|
|
+}
|
|
|
+
|
|
|
+// 巡林记录
|
|
|
+export function getRecordList(planId, personId) {
|
|
|
+ return request({
|
|
|
+ url: '/center-fire/VisuForestLeaderController/getRecordList?planId='+planId+'&personId='+personId,
|
|
|
+ method: 'get',
|
|
|
+ })
|
|
|
+}
|
|
|
+
|
|
|
+// 巡林轨迹
|
|
|
+export function getPointList(recordId) {
|
|
|
+ return request({
|
|
|
+ url: '/center-fire/VisuForestLeaderController/getPointList?recordId='+recordId,
|
|
|
+ method: 'get',
|
|
|
+ })
|
|
|
+}
|