|
@@ -9,24 +9,23 @@ export function getRy() {
|
|
|
}
|
|
|
|
|
|
// 获取左侧人员列表
|
|
|
-export function getTrafficLeader(linJob,linType) {
|
|
|
+export function getForestLeader(linJob,linType) {
|
|
|
return request({
|
|
|
- url: '/center-water/WaterController/getTrafficLeader?linJob='+linJob+"&linType="+linType,
|
|
|
+ url: '/center-water/VisuForestLeaderController/getForestLeader?linJob='+linJob+"&linType="+linType,
|
|
|
method: 'get',
|
|
|
})
|
|
|
}
|
|
|
-
|
|
|
// 巡林任务
|
|
|
-export function getPlanList(userId) {
|
|
|
+export function getWaterPlan(userId) {
|
|
|
return request({
|
|
|
url: '/center-data/task/getPlanList',
|
|
|
method: 'post',
|
|
|
- data: {userId:userId,type:'2'}
|
|
|
+ data: {userId:userId,type:'1'}
|
|
|
})
|
|
|
}
|
|
|
|
|
|
// 巡林记录
|
|
|
-export function getRecordList(taskId) {
|
|
|
+export function getWaterRecord(taskId) {
|
|
|
return request({
|
|
|
url: '/center-data/record/list?taskId='+taskId,
|
|
|
method: 'get',
|
|
@@ -34,7 +33,7 @@ export function getRecordList(taskId) {
|
|
|
}
|
|
|
|
|
|
// 巡林轨迹
|
|
|
-export function getPointList(recordId) {
|
|
|
+export function getWaterPoint(recordId) {
|
|
|
return request({
|
|
|
url: '/center-data/track/getTrack/'+recordId.toString(),
|
|
|
method: 'get',
|