新增执法装备管理等前端路由
This commit is contained in:
parent
1f36271f6c
commit
35c3ca584f
|
|
@ -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
|
||||||
|
|
@ -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
|
||||||
|
|
@ -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
|
||||||
Loading…
Reference in New Issue