wjt
2024-06-26 59f4dc012a2c42eebd31301444e0f8df9af088e0
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
import Vue from 'vue';
import { config } from '@/common/config.js'
const http = uni.$u.http
 
export function getDicts(dictType){
    return http.get('/system/dict/data/type/' + dictType, {}, { custom: { loading: true }});
}
 
// 数据分析接口
// 执法数据汇总 /report/team/getTotalInfo
export function getTotalInfo(data){
    return http.get('/report/team/getTotalInfo', {params: data}, { custom: { loading: true }});
}
// 执法次数部门分析 /report/team/getDeptCount
export function getDeptCount(data){
    return http.get('/report/team/getDeptCount', {params: data}, { custom: { loading: true }});
}
// 企业被执法次数 /report/team/getCompanyCount
export function getCompanyCount(data) {
    return http.get(`/report/team/getCompanyCount`, {params: data}, { custom: { loading: true }});
}
// 执法类型 
 
export function getEnforceTypeCount(data) {
    return http.get(`/report/team/getEnforceTypeCount`, {params: data}, { custom: { loading: true }});
}