开发公摊电表管理、统计汇总,删除设备管理下不用的列表
This commit is contained in:
26
src/api/system/statisticsSummary/index.ts
Normal file
26
src/api/system/statisticsSummary/index.ts
Normal file
@@ -0,0 +1,26 @@
|
||||
import request from '@/utils/request';
|
||||
import { StatisticsSummaryQuery, StatisticsSummaryResult, StatisticsSummaryTotalResult } from './types';
|
||||
|
||||
/**
|
||||
* 查询统计汇总列表
|
||||
* @param query
|
||||
*/
|
||||
export const listStatisticsSummary = (query?: StatisticsSummaryQuery) => {
|
||||
return request({
|
||||
url: '/statisticsSummary/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
}) as unknown as Promise<StatisticsSummaryResult>;
|
||||
};
|
||||
|
||||
/**
|
||||
* 查询统计汇总合计
|
||||
* @param query
|
||||
*/
|
||||
export const getStatisticsSummaryTotal = (query?: StatisticsSummaryQuery) => {
|
||||
return request({
|
||||
url: '/statisticsSummary/total',
|
||||
method: 'get',
|
||||
params: query
|
||||
}) as unknown as Promise<StatisticsSummaryTotalResult>;
|
||||
};
|
||||
Reference in New Issue
Block a user