新增执法装备管理等前端路由

This commit is contained in:
renhao02 2025-02-14 20:07:45 +08:00
parent 1f36271f6c
commit 35c3ca584f
3 changed files with 55 additions and 0 deletions

View File

@ -0,0 +1,22 @@
import crud from '../BaseApi'
import {api} from '@/utils/Request'
import {REQUEST_METHOD_TYPES} from '@/utils/Constants'
const url = '/api/lawenforcement/zfclgl'
export const zfclgl = Object.assign({
count() {
return api({
url: url + '/count',
method: REQUEST_METHOD_TYPES.GET
})
},
list() {
return api({
url: url + '/list',
method: REQUEST_METHOD_TYPES.GET
})
},
}, crud(url))
export default zfclgl

View File

@ -0,0 +1,17 @@
import crud from '../BaseApi'
import {api} from '@/utils/Request'
import {REQUEST_METHOD_TYPES} from '@/utils/Constants'
const url = '/api/lawenforcement/zfzbgl'
export const zfzbgl = Object.assign({
statistics(query) {
return api({
url: url + '/statistics',
method: REQUEST_METHOD_TYPES.GET,
params: query
})
},
}, crud(url))
export default zfzbgl

View File

@ -0,0 +1,16 @@
import crud from '../BaseApi'
import {api} from '@/utils/Request'
import {REQUEST_METHOD_TYPES} from '@/utils/Constants'
const url = '/api/lawenforcement/zsfzgl'
export const zsfzgl = Object.assign({
count() {
return api({
url: url + '/count',
method: REQUEST_METHOD_TYPES.GET
})
},
}, crud(url))
export default zsfzgl