elkers
2025-01-16 0b62eca817d6c40c188dc72c3034835a61a30a35
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/*
 * @Author: Liuyi candymxq888@outlook.com
 * @Date: 2024-08-08 14:29:49
 * @LastEditors: Liuyi candymxq888@outlook.com
 * @LastEditTime: 2024-08-08 14:39:09
 * @FilePath: \water-qinghe-web\src\api\system\user.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
 
import { publicRequest } from '@/utils/request'
 
export function revenue() {
    return{
        // 当年缴费趋势统计
        searchPay:() =>{
            return publicRequest({
                url: '/statistics/yearStatistics',
                method: 'post',
            })
        },
        // 当年用水趋势统计
        searchWater:() =>{
            return publicRequest({
                url: '/statistics/useWaterStatistics',
                method: 'post',
            })
        },
        // 缴费排行统计
        getPayRank:() =>{
            return publicRequest({
                url: '/statistics/userPayStatistics',
                method: 'post',
            })
        },
        // 用水排行统计
        getWaterRank:() =>{
            return publicRequest({
                url: '/statistics/yearUseWater',
                method: 'post',
            })
        },
        // 抄表记录
        getMeterReading:() =>{
            return publicRequest({
                url: '/statistics/getMeterReading',
                method: 'post',
            })
        },
        // 用户类型
        getUserClassify:() =>{
            return publicRequest({
                url: '/statistics/userClassify',
                method: 'post',
            })
        },
    // 用户缴费情况
    getUserPayCondition:() =>{
        return publicRequest({
            url: '/statistics/userPayCondition',
            method: 'post',
        })
    },
    // (营收)营收统计
    getEvenueStatistics:() =>{
        return publicRequest({
            url: '/statistics/revenueStatistics',
            method: 'post',
        })
    },
        // (营收)用户数量统计
        getUserCount:() =>{
            return publicRequest({
                url: '/statistics/userCount',
                method: 'post',
            })
        },
}
}