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 }});
|
}
|