// src/api/fire/report.js

import request from '@/utils/request'

// 获取统计报表数据
export function getReportData(params) {
  return request({
    url: '/fire/facility-report/report',
    method: 'get',
    params
  })
}

// 获取指定状态的详情数据
export function getDetailData(params) {
  return request({
    url: '/fire/facility-report/detail',
    method: 'get',
    params
  })
}

// 新增：导出getAllData方法（之前可能遗漏）
export function getAllData(params) {
  return request({
    url: '/fire/facility-report/all',
    method: 'get',
    params
  })
}