// 数据统计接口 import $http from "@/utils/request"; // 获取全部统计数据 export const queryAll = (data) => $http({ method: "post", url: "/alarm/statistic/query", data, notShowLoading: true, }); // 获取全部统计数据 export const queryCache = (data) => $http({ method: "post", url: "/alarm/statistic/query2", data, notShowLoading: true, }); // 获取按时间统计柱状图数据 export const getDateBarData = (data) => $http({ method: "post", url: "/alarm/statistic/getDateBarData", data, notShowLoading: true, }); // 获取按类别统计环形图数据 export const getCategoryPieData = (data) => $http({ method: "post", url: "/alarm/statistic/getCategoryPieData", data, notShowLoading: true, }); // 获取按状态统计环形图数据 export const getDealStatusPieData = (data) => $http({ method: "post", url: "/alarm/statistic/getDealStatusPieData", data, notShowLoading: true, }); // 获取排名柱状图数据 export const getRankBarBarData = (data) => $http({ method: "post", url: "/alarm/statistic/getRankBarBarData", data, notShowLoading: true, }); // 获取详细统计数据 export const getDetailData = (data) => $http({ method: "post", url: "/alarm/statistic/getDetailData", data, notShowLoading: true, });