新增报表统等前端路由
This commit is contained in:
parent
35c3ca584f
commit
7ef85d5361
|
|
@ -0,0 +1,137 @@
|
|||
import crud from '../BaseApi'
|
||||
import {api} from "@/utils/Request"
|
||||
import {REQUEST_METHOD_TYPES} from "@/utils/Constants"
|
||||
|
||||
const url = '/api/statistic'
|
||||
|
||||
export const statistics = Object.assign({
|
||||
statisticByWeekForm (query) {
|
||||
return api({
|
||||
url: url + '/statisticByWeekForm',
|
||||
method: REQUEST_METHOD_TYPES.GET,
|
||||
params: query
|
||||
})
|
||||
},
|
||||
statisticEnforceCheckForm (query) {
|
||||
return api({
|
||||
url: url + '/statisticEnforceCheckForm',
|
||||
method: REQUEST_METHOD_TYPES.GET,
|
||||
params: query
|
||||
})
|
||||
},
|
||||
statisticByQuarterForm (query) {
|
||||
return api({
|
||||
url: url + '/statisticByQuarterForm',
|
||||
method: REQUEST_METHOD_TYPES.GET,
|
||||
params: query
|
||||
})
|
||||
},
|
||||
getPageJcqk (query) {
|
||||
return api({
|
||||
url: url + '/getPageJcqk',
|
||||
method: REQUEST_METHOD_TYPES.GET,
|
||||
params: query
|
||||
})
|
||||
},
|
||||
getPageJccsqk (query) {
|
||||
return api({
|
||||
url: url + '/getPageJccsqk',
|
||||
method: REQUEST_METHOD_TYPES.GET,
|
||||
params: query
|
||||
})
|
||||
},
|
||||
getPagejcqkDetail (query) {
|
||||
return api({
|
||||
url: url + '/getPagejcqkDetail',
|
||||
method: REQUEST_METHOD_TYPES.GET,
|
||||
params: query
|
||||
})
|
||||
},
|
||||
getPagezbbjgqyDetail (query) {
|
||||
return api({
|
||||
url: url + '/getPagezbbjgqyDetail',
|
||||
method: REQUEST_METHOD_TYPES.GET,
|
||||
params: query
|
||||
})
|
||||
},
|
||||
getPagejcqyqkByindustryTypeDetail (query) {
|
||||
return api({
|
||||
url: url + '/getPagejcqyqkByindustryTypeDetail',
|
||||
method: REQUEST_METHOD_TYPES.GET,
|
||||
params: query
|
||||
})
|
||||
},
|
||||
getPagejccsqkByindustryTypeDetail (query) {
|
||||
return api({
|
||||
url: url + '/getPagejccsqkByindustryTypeDetail',
|
||||
method: REQUEST_METHOD_TYPES.GET,
|
||||
params: query
|
||||
})
|
||||
},
|
||||
getPagelaqkByindustryTypeDetail (query) {
|
||||
return api({
|
||||
url: url + '/getPagelaqkByindustryTypeDetail',
|
||||
method: REQUEST_METHOD_TYPES.GET,
|
||||
params: query
|
||||
})
|
||||
},
|
||||
getPagelaslByindustryTypeDetail (query) {
|
||||
return api({
|
||||
url: url + '/getPagelaslByindustryTypeDetail',
|
||||
method: REQUEST_METHOD_TYPES.GET,
|
||||
params: query
|
||||
})
|
||||
},
|
||||
getlaslByindustryTypeDetail (query) {
|
||||
return api({
|
||||
url: url + '/getlaslByindustryTypeDetail',
|
||||
method: REQUEST_METHOD_TYPES.GET,
|
||||
params: query
|
||||
})
|
||||
},
|
||||
getjbbwsyhDetail (query) {
|
||||
return api({
|
||||
url: url + '/getjbbwsyhDetail',
|
||||
method: REQUEST_METHOD_TYPES.GET,
|
||||
params: query
|
||||
})
|
||||
},
|
||||
getjbbwfxwfkDetail (query) {
|
||||
return api({
|
||||
url: url + '/getjbbwfxwfkDetail',
|
||||
method: REQUEST_METHOD_TYPES.GET,
|
||||
params: query
|
||||
})
|
||||
},
|
||||
getPagelaytqyByindustryTypeDetail (query) {
|
||||
return api({
|
||||
url: url + '/getPagelaytqyByindustryTypeDetail',
|
||||
method: REQUEST_METHOD_TYPES.GET,
|
||||
params: query
|
||||
})
|
||||
},
|
||||
getPagelazkzzqyByindustryTypeDetail (query) {
|
||||
return api({
|
||||
url: url + '/getPagelazkzzqyByindustryTypeDetail',
|
||||
method: REQUEST_METHOD_TYPES.GET,
|
||||
params: query
|
||||
})
|
||||
},
|
||||
getPagelatczdqyByindustryTypeDetail (query) {
|
||||
return api({
|
||||
url: url + '/getPagelatczdqyByindustryTypeDetail',
|
||||
method: REQUEST_METHOD_TYPES.GET,
|
||||
params: query
|
||||
})
|
||||
},
|
||||
getPagelagbqyByindustryTypeDetail (query) {
|
||||
return api({
|
||||
url: url + '/getPagelagbqyByindustryTypeDetail',
|
||||
method: REQUEST_METHOD_TYPES.GET,
|
||||
params: query
|
||||
})
|
||||
},
|
||||
|
||||
}, crud(url))
|
||||
|
||||
export default statistics
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
import crud from '../BaseApi'
|
||||
import api from "@/utils/Request.js"
|
||||
import {REQUEST_METHOD_TYPES} from "@/utils/Constants.js"
|
||||
|
||||
|
||||
const url = '/api/lawenforcement/supervisions'
|
||||
|
||||
export const supervisions = Object.assign({
|
||||
checkStatistics(query) {
|
||||
return api({
|
||||
url: url + '/checkStatistics',
|
||||
method: REQUEST_METHOD_TYPES.GET,
|
||||
params: query
|
||||
})
|
||||
},
|
||||
addEnforcementInfoCheck (data) {
|
||||
return api({
|
||||
url: url +'/addEnforcementInfoCheck',
|
||||
method: REQUEST_METHOD_TYPES.POST,
|
||||
data: data
|
||||
})
|
||||
},
|
||||
}, crud(url))
|
||||
|
||||
export default supervisions
|
||||
Loading…
Reference in New Issue