1234567891011121314151617181920212223242526272829303132333435 |
- import request from '@/utils/request'
- /**
- * 获取统计
- * @returns
- */
- export function getDangerCounter() {
- return request({
- url: '/ent/danger/statis/getCounter',
- method: 'GET'
- })
- }
- /**
- * 基于分类统计
- * @returns
- */
- export function counterByCat() {
- return request({
- url: '/ent/danger/statis/counterByCat',
- method: 'GET'
- })
- }
- /**
- * 基于年度月份统计
- * @param year
- * @returns
- */
- export function counterByMonth(year) {
- return request({
- url: `/ent/danger/statis/counterByMonth/${year}`,
- method: 'GET'
- })
- }
|