JX.LI пре 1 година
родитељ
комит
81dbc30f1e
2 измењених фајлова са 4 додато и 3 уклоњено
  1. 3 2
      src/api/forest.js
  2. 1 1
      src/components/vBottomMenu.vue

+ 3 - 2
src/api/forest.js

@@ -102,10 +102,11 @@ export function refusedTask(param) {
   })
 }
 // 任务接口
-export function selectTaskBO() {
+export function selectTaskBO(data) {
   return request({
-    url: '/center-fire/VisuForestCloudMapController/selectTaskBO',
+    url: '/center-task/centerTaskFeign/selectUnclaimedTaskBO',
     method: 'post',
+    data:data
   })
 }
 

+ 1 - 1
src/components/vBottomMenu.vue

@@ -1531,7 +1531,7 @@ export default {
     },
     selectTaskList: async function () {
       //获取任务列表
-      selectTaskBO().then(res => {
+      selectTaskBO({depts:[{deptId:Cookies.get("deptId")}]}).then(res => {
         this.taskList = res.data
         this.taskCount = res.data.length
       })