|
@@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|
|
// 获取左侧
|
|
|
export function getRy() {
|
|
|
return request({
|
|
|
- url: '/center-resources/VisuForestCloudMapController/getRy',
|
|
|
+ url: '/center-resources/VisuForestCloudMapController/getRy',//有逻辑
|
|
|
method: 'post',
|
|
|
})
|
|
|
}
|
|
@@ -11,17 +11,23 @@ export function getRy() {
|
|
|
// 获取左侧人员列表
|
|
|
export function getForestLeader(linJob,linType) {
|
|
|
return request({
|
|
|
- url: '/center-resources/VisuForestLeaderController/getPersonList?linJob='+linJob+"&linType="+linType,
|
|
|
- method: 'get',
|
|
|
- })
|
|
|
-}
|
|
|
-// 点击左侧人员列表获取轨迹
|
|
|
-export function getLeaderTrack(trackById) {
|
|
|
- return request({
|
|
|
- url: '/center-resources/VisuForestLeaderController/getLeaderTrack?trackById='+trackById,
|
|
|
- method: 'get',
|
|
|
+ // url: '/center-resources/VisuForestLeaderController/getPersonList?linJob='+linJob+"&linType="+linType,
|
|
|
+ url: '/center-data/feign/getResourcesLeader',
|
|
|
+ // method: 'get',
|
|
|
+ method: 'post',
|
|
|
+ data: {
|
|
|
+ "linJob":linJob,
|
|
|
+ "linType":linType
|
|
|
+ }
|
|
|
})
|
|
|
}
|
|
|
+// 点击左侧人员列表获取轨迹 好像没使用 注释掉 2023-08-23 16:41:38 BYWZ
|
|
|
+// export function getLeaderTrack(trackById) {
|
|
|
+// return request({
|
|
|
+// url: '/center-resources/VisuForestLeaderController/getLeaderTrack?trackById='+trackById,
|
|
|
+// method: 'get',
|
|
|
+// })
|
|
|
+// }
|
|
|
// 巡林任务
|
|
|
export function getPlanList(userId) {
|
|
|
return request({
|