forked from drone/command-center-dashboard

chenyao
2025-04-02 6e0afaa5762765fad3e47b52f05df5553818b5ea
src/api/home/index.js
@@ -1,10 +1,11 @@
import request from '@/axios';
// 巡检总任务数量
export const getTotalJobNum = () => {
export const getTotalJobNum = (params) => {
  return request({
    url: '/drone-device-core/wayline/waylineJobInfo/totalJobNum',
    method: 'get',
    params
  });
};
@@ -98,3 +99,12 @@
  });
};
// 获取区域
export const getRegion = (code) => {
  return request({
    url: '/blade-system/region/select',
    method: 'get',
    params:{code}
  });
};