/*
 * @Author: wjc
 * @Date: 2025-11-21 10:08:08
 * @LastEditors: wjc
 * @LastEditTime: 2025-12-01 10:28:17
 * @Description:
 */
import axios from '../assets/js/api.request'
export default {
  /**
   * 部分业务 http://yapi.wisdomcity.com.cn/project/25/interface/api/26531
   */
  getBusinessData (data) {
    return axios.request({
      url: '/platform/bigData/business/statistics',
      params: data,
      method: 'get'
    })
  },
  /**
   * 智能门禁 http://yapi.wisdomcity.com.cn/project/25/interface/api/26522
   */
  getFaceDeviceData (data) {
    return axios.request({
      url: '/platform/bigData/faceDeviceManage/faceDoorPassRecordSnapshotSta',
      params: data,
      method: 'get'
    })
  },
  /**
   * 智能电表 http://yapi.wisdomcity.com.cn/project/25/interface/api/26504
   */
  getElectricData (data) {
    return axios.request({
      url: '/platform/bigData/meterHouse/electricMeter/monthStats',
      params: data,
      method: 'get'
    })
  },
  /**
   * 智能水表 http://yapi.wisdomcity.com.cn/project/25/interface/api/26513
   */
  getWaterData (data) {
    return axios.request({
      url: '/platform/bigData/meterHouse/waterMeter/monthStats',
      params: data,
      method: 'get'
    })
  },
  /**
   * 实施相关数据 http://yapi.wisdomcity.com.cn/project/25/interface/api/26576
   */
  getScreenData (data) {
    return axios.request({
      url: '/platform/bigData/screen/statistics',
      params: data,
      method: 'get'
    })
  },
  /**
   * 数据大屏线上流水数据统计 http://yapi.wisdomcity.com.cn/project/25/interface/api/26468
   */
  getOnlineWaterStatistics () {
    return axios.request({
      url: '/platform/bigData/payRecord/statistics',
      method: 'get'
    })
  },
  /** 线上缴费金额月统计表（近12月） http://yapi.wisdomcity.com.cn/project/25/interface/api/26477
   */
  getOnlinePayMonth () {
    return axios.request({
      url: '/platform/bigData/payRecord/monthStats',
      method: 'get'
    })
  },
  /**
   * 在线支付-周 线上缴费金额周统计表（近5周）http://yapi.wisdomcity.com.cn/project/25/interface/api/26486
   */
  getOnlinePayWeek () {
    return axios.request({
      url: '/platform/bigData/payRecord/weekStats',
      method: 'get'
    })
  },
  /**
   * 线上缴费金额日统计表（近1月） http://yapi.wisdomcity.com.cn/project/25/interface/api/26495
   */
  getOnlinePayDay () {
    return axios.request({
      url: '/platform/bigData/payRecord/dayStats',
      method: 'get'
    })
  },
  /**
   * 客户数据 http://yapi.wisdomcity.com.cn/project/25/interface/api/26540
   */
  getCustomerStatistics () {
    return axios.request({
      url: '/platform/bigData/customers/statistics',
      method: 'get'
    })
  },

  /**
   * 项目体量 http://yapi.wisdomcity.com.cn/project/25/interface/api/26549
   */
  getCommunityTypeSizeStatistics () {
    return axios.request({
      url: '/platform/bigData/community/typeSize/statistics',
      method: 'get'
    })
  },

  /**
   * 项目地区分布 http://yapi.wisdomcity.com.cn/project/25/interface/api/26558
   */
  getCommunityRegionStatistics () {
    return axios.request({
      url: '/platform/bigData/community/region/statistics',
      method: 'get'
    })
  },

  /**
   * 用户信息统计 http://yapi.wisdomcity.com.cn/project/25/interface/api/26567
   */
  getUsersStatistics () {
    return axios.request({
      url: '/platform/bigData/users/statistics',
      method: 'get'
    })
  }

}
