浏览代码

修改路径信息

wang_xy 2 年之前
父节点
当前提交
1ef6b987d0
共有 1 个文件被更改,包括 26 次插入26 次删除
  1. 26 26
      src/api/forest.js

+ 26 - 26
src/api/forest.js

@@ -3,14 +3,14 @@ import request from '@/utils/request'
 // 左侧获取部门信息
 export function getBaseInfo() {
   return request({
-    url: '/center-agriculture/VisuForestCloudMapController/getBaseInfo',
+    url: '/center-agriculture/fire/getBaseInfo',
     method: 'post',
   })
 }
 // 左侧获取事件信息统计
 export function getTodayEvents(param,loading) {
   return request({
-    url: '/center-agriculture/VisuForestCloudMapController/getTodayEvents',
+    url: '/center-agriculture/fire/getTodayEvents',
     method: 'post',
     data: param,
     headers: {
@@ -21,7 +21,7 @@ export function getTodayEvents(param,loading) {
 // 左侧获取事件部门数量
 export function getDeptEventCount(param,loading) {
   return request({
-    url: '/center-agriculture/VisuForestCloudMapController/getDeptEventCount',
+    url: '/center-agriculture/fire/getDeptEventCount',
     method: 'post',
     data: param,
     headers: {
@@ -32,7 +32,7 @@ export function getDeptEventCount(param,loading) {
 // 右侧获取天气
 export function getWeather(param) {
   return request({
-    url: '/center-agriculture/VisuForestCloudMapController/getWeather',
+    url: '/center-agriculture/fire/getWeather',
     method: 'post',
     data: param
   })
@@ -41,7 +41,7 @@ export function getWeather(param) {
 // 右侧获取事件列表
 export function getEventList(param,loading) {
   return request({
-    url: '/center-agriculture/VisuForestCloudMapController/getEventList',
+    url: '/center-agriculture/fire/getEventList',
     method: 'post',
     data: param,
     headers: {
@@ -52,7 +52,7 @@ export function getEventList(param,loading) {
 // 右侧获取曝光台列表
 export function getExposureStage(param,loading) {
   return request({
-    url: 'center-agriculture/VisuForestCloudMapController/getExposureStage',
+    url: 'center-agriculture/fire/getExposureStage',
     method: 'post',
     data: param,
     headers: {
@@ -64,7 +64,7 @@ export function getExposureStage(param,loading) {
 // 获取事件详情
 export function getEventDetail(param) {
   return request({
-    url: '/center-agriculture/VisuForestCloudMapController/getEventDetail',
+    url: '/center-agriculture/fire/getEventDetail',
     method: 'post',
     data: param
   })
@@ -72,7 +72,7 @@ export function getEventDetail(param) {
 // 获取日历颜色状态
 export function getEventByCalendar(param) {
   return request({
-    url: '/center-agriculture/VisuForestCloudMapController/getEventByCalendar',
+    url: '/center-agriculture/fire/getEventByCalendar',
     method: 'post',
     data: param
   })
@@ -80,7 +80,7 @@ export function getEventByCalendar(param) {
 // 获取事件分类
 export function getEventByEventType(param,loading) {
   return request({
-    url: '/center-agriculture/VisuForestCloudMapController/getEventByEventType',
+    url: '/center-agriculture/fire/getEventByEventType',
     method: 'post',
     data: param,
     headers: {
@@ -91,7 +91,7 @@ export function getEventByEventType(param,loading) {
 // 获取上报排名
 export function getEventByReportorOrder(param,loading) {
   return request({
-    url: '/center-agriculture/VisuForestCloudMapController/getEventByReportorOrder',
+    url: '/center-agriculture/fire/getEventByReportorOrder',
     method: 'post',
     data: param,
     headers: {
@@ -118,7 +118,7 @@ export function sendEventLog(param) {
 // 事件处理流程
 export function updateCentereventTEventcatalogueStatus(param) {
   return request({
-    url: '/center-agriculture/VisuForestCloudMapController/updateCentereventTEventcatalogueStatus',
+    url: '/center-agriculture/fire/updateCentereventTEventcatalogueStatus',
     method: 'post',
     data: param
   })
@@ -126,7 +126,7 @@ export function updateCentereventTEventcatalogueStatus(param) {
 // 事件处理流程-事件类型
 export function listSJfl(param) {
   return request({
-    url: '/center-agriculture/VisuForestCloudMapController/listSJfl',
+    url: '/center-agriculture/fire/listSJfl',
     method: 'post',
     data: param
   })
@@ -134,21 +134,21 @@ export function listSJfl(param) {
 // 事件处理流程-关联预案
 export function listYuAn() {
   return request({
-    url: '/center-agriculture/VisuForestCloudMapController/listYuAn',
+    url: '/center-agriculture/fire/listYuAn',
     method: 'post'
   })
 }
 // 事件处理流程-签收部门
 export function selectByeventCode(eventCode) {
   return request({
-    url: '/center-agriculture/VisuForestCloudMapController/selectByeventCode/'+eventCode,
+    url: '/center-agriculture/fire/selectByeventCode/'+eventCode,
     method: 'post'
   })
 }
 // 事件处理流程-联动
 export function sendTask(param) {
   return request({
-    url: '/center-agriculture/VisuForestCloudMapController/sendTask',
+    url: '/center-agriculture/fire/sendTask',
     method: 'post',
     data:param
   })
@@ -156,14 +156,14 @@ export function sendTask(param) {
 // 任务接口
 export function selectTaskBO() {
   return request({
-    url: '/center-agriculture/VisuForestCloudMapController/selectTaskBO',
+    url: '/center-agriculture/fire/selectTaskBO',
     method: 'post',
   })
 }
 // 搜索物资
 export function listResourceByWz(param) {
   return request({
-    url: '/center-agriculture/VisuForestCloudMapController/listResourceByWz',
+    url: '/center-agriculture/fire/listResourceByWz',
     method: 'post',
     data:param
   })
@@ -171,7 +171,7 @@ export function listResourceByWz(param) {
 // 任务领取部门列表
 export function selectTaskDtpts(param) {
   return request({
-    url: '/center-agriculture/VisuForestCloudMapController/selectTaskDtpts',
+    url: '/center-agriculture/fire/selectTaskDtpts',
     method: 'post',
     data:param
   })
@@ -179,7 +179,7 @@ export function selectTaskDtpts(param) {
 // 任务领取
 export function receiveTask(param) {
   return request({
-    url: '/center-agriculture/VisuForestCloudMapController/receiveTask',
+    url: '/center-agriculture/fire/receiveTask',
     method: 'post',
     data:param
   })
@@ -187,7 +187,7 @@ export function receiveTask(param) {
 // 任务拒绝
 export function refusedTask(param) {
   return request({
-    url: '/center-agriculture/VisuForestCloudMapController/refusedTask',
+    url: '/center-agriculture/fire/refusedTask',
     method: 'post',
     data:param
   })
@@ -195,7 +195,7 @@ export function refusedTask(param) {
 // 事件调整关联预案
 export function updateYjYuAn(param) {
   return request({
-    url: '/center-agriculture/VisuForestCloudMapController/updateYjYuAn',
+    url: '/center-agriculture/fire/updateYjYuAn',
     method: 'post',
     data:param
   })
@@ -203,7 +203,7 @@ export function updateYjYuAn(param) {
 // 事件详情截图直接上传日志
 export function uploadBase64(param) {
   return request({
-    url: '/center-agriculture/VisuForestCloudMapController/uploadBase64',
+    url: '/center-agriculture/fire/uploadBase64',
     method: 'post',
     data:param
   })
@@ -212,7 +212,7 @@ export function uploadBase64(param) {
 // 通过事件code查询事件责任部门
 export function centereventtdepteventList(param) {
   return request({
-    url: '/center-agriculture/VisuForestCloudMapController/centereventtdepteventList',
+    url: '/center-agriculture/fire/centereventtdepteventList',
     method: 'post',
     data:param
   })
@@ -220,7 +220,7 @@ export function centereventtdepteventList(param) {
 // 通过责任部门查询责任人
 export function dutysystemList(param) {
   return request({
-    url: '/center-agriculture/VisuForestCloudMapController/dutysystemList',
+    url: '/center-agriculture/fire/dutysystemList',
     method: 'post',
     data:param
   })
@@ -229,7 +229,7 @@ export function dutysystemList(param) {
 // 事件责任制添加联系人
 export function dutysystemAdd(param) {
   return request({
-    url: '/center-agriculture/VisuForestCloudMapController/dutysystemAdd',
+    url: '/center-agriculture/fire/dutysystemAdd',
     method: 'post',
     data:param
   })
@@ -237,7 +237,7 @@ export function dutysystemAdd(param) {
 // 事件责任制删除联系人
 export function dutysystemRemove(param) {
   return request({
-    url: '/center-agriculture/VisuForestCloudMapController/dutysystemRemove',
+    url: '/center-agriculture/fire/dutysystemRemove',
     method: 'get',
     params:param
   })