diff --git a/src/api/stuwork/watermonthreport.ts b/src/api/stuwork/watermonthreport.ts index c48ac24..23c8fb5 100644 --- a/src/api/stuwork/watermonthreport.ts +++ b/src/api/stuwork/watermonthreport.ts @@ -12,3 +12,39 @@ export const lookDetails = (roomNo: string) => { }); }; +/** + * 水电统计 + * @param params 统计参数 + */ +export const getStats = (params: any) => { + return request({ + url: '/stuwork/watermonthreport/stats', + method: 'get', + params + }); +}; + +/** + * 水电趋势分析 + * @param params 查询参数 + */ +export const getTrend = (params: any) => { + return request({ + url: '/stuwork/watermonthreport/trend', + method: 'get', + params + }); +}; + +/** + * 按楼层统计水电 + * @param params 查询参数 + */ +export const getFloorStats = (params: any) => { + return request({ + url: '/stuwork/watermonthreport/floorStats', + method: 'get', + params + }); +}; + diff --git a/src/views/stuwork/waterdetail/index.vue b/src/views/stuwork/waterdetail/index.vue index dc88664..a41dea4 100644 --- a/src/views/stuwork/waterdetail/index.vue +++ b/src/views/stuwork/waterdetail/index.vue @@ -69,23 +69,30 @@ 水费明细列表
- 新增明细 - + 统计分析 + + 导出数据 - 批量初始化订单 @@ -235,6 +242,9 @@ + + + @@ -259,7 +269,7 @@ + + \ No newline at end of file