/* * @Author: zwq * @Date: 2024-06-28 17:03:29 * @LastEditors: zwq * @LastEditTime: 2024-09-27 09:24:09 * @Description: */ import request from '@/utils/request' // 获取走势分析数据 export function getEnergyTrend(data) { return request({ url: '/analysis/energy-analysis/getTrend', method: 'post', data: data }) } // 导出走势分析数据 export function exportTrend(data) { return request({ url: '/analysis/energy-analysis/exportTrend', method: 'post', data: data, responseType: 'blob' }) } // 导出对比分析数据 export function exportCompare(data) { return request({ url: '/analysis/energy-analysis/exportCompare', method: 'post', data: data, responseType: 'blob' }) } // 获取对比分析数据 export function getCompare(data) { return request({ url: '/analysis/energy-analysis/getCompare', method: 'post', data: data }) } // 获取同比分析数据(1:季度,2:月;3:日) export function getYoy(data) { return request({ url: '/analysis/energy-analysis/getYoy', method: 'post', data: data }) } // 导出同比分析数据 export function exportYoy(data) { return request({ url: '/analysis/energy-analysis/exportYoy', method: 'post', data: data, responseType: 'blob' }) } // 导出环比分析数据 export function exportChain(data) { return request({ url: '/analysis/energy-analysis/exportChain', method: 'post', data: data, responseType: 'blob' }) } // 获取环比分析数据(1:月,2:周,3:日) export function getQoq(data) { return request({ url: '/analysis/energy-analysis/getChain', method: 'post', data: data }) }