增加执法一张图、检查表等路由信息

This commit is contained in:
hanqi 2025-02-14 20:00:56 +08:00
parent 0350340068
commit e7091905ba
5 changed files with 165 additions and 0 deletions

View File

@ -0,0 +1,18 @@
import crud from '../BaseApi'
import {REQUEST_METHOD_TYPES} from "@/utils/Constants.js"
import api from "@/utils/Request.js"
const url = '/api/lawenforcement/autoEnforcementPlans'
export const autoEnforcementPlans = {
dispatched(id, data) {
return api({
url: url + '/dispatched/' + id,
method: REQUEST_METHOD_TYPES.PUT,
data: data
})
},
...crud(url)
}
export default autoEnforcementPlans

View File

@ -0,0 +1,115 @@
import crud from '../BaseApi.js'
import { api } from '@/utils/Request.js'
import { REQUEST_METHOD_TYPES } from '@/utils/Constants.js'
const url = '/api/bigscreen'
export const bigscreen = Object.assign({
getDataOverview(query) {
return api({
url: url + '/dataoverview',
method: REQUEST_METHOD_TYPES.GET,
params: query
})
},
getEnterpriseStatistics(query) {
return api({
url: url + '/qytj',
method: REQUEST_METHOD_TYPES.GET,
params: query
})
},
getZfjcs(query) {
return api({
url: url + '/zfjc',
method: REQUEST_METHOD_TYPES.GET,
params: query
})
},
getAjbl(query) {
return api({
url: url + '/ajbl',
method: REQUEST_METHOD_TYPES.GET,
params: query
})
},
getZfxs(query) {
return api({
url: url + '/zfxs',
method: REQUEST_METHOD_TYPES.GET,
params: query
})
},
getAjly(query) {
return api({
url: url + '/ajly',
method: REQUEST_METHOD_TYPES.GET,
params: query
})
},
getJcajqs(query) {
return api({
url: url + '/jcajqs',
method: REQUEST_METHOD_TYPES.GET,
params: query
})
},
getFxczf(query) {
return api({
url: url + '/fxczftj',
method: REQUEST_METHOD_TYPES.GET,
params: query
})
},
getJdjcjhtj(query) {
return api({
url: url + '/jdjcjhtj',
method: REQUEST_METHOD_TYPES.GET,
params: query
})
},
getQyxx(query) {
return api({
url: url + '/qyxx',
method: REQUEST_METHOD_TYPES.GET,
params: query
})
},
getQyxxZfxx(query) {
return api({
url: url + '/qyxx/zfxx',
method: REQUEST_METHOD_TYPES.GET,
params: query
})
},
getJctj(query) {
return api({
url: url + '/jctj',
method: REQUEST_METHOD_TYPES.GET,
params: query
})
},
getAjtj(query) {
return api({
url: url + '/ajtj',
method: REQUEST_METHOD_TYPES.GET,
params: query
})
},
getCfjetj(query) {
return api({
url: url + '/cfjetj',
method: REQUEST_METHOD_TYPES.GET,
params: query
})
},
getRwwj(query) {
return api({
url: url + '/rwwj',
method: REQUEST_METHOD_TYPES.GET,
params: query
})
},
}, crud(url))
export default bigscreen

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/checkItems'
export const checkItems = Object.assign({
getCheckItems() {
return api({
url: `${url}/list`,
method: REQUEST_METHOD_TYPES.GET
})
}
}, crud(url))
export default checkItems

View File

@ -0,0 +1,7 @@
import crud from '../BaseApi'
const url = '/api/lawenforcement/checklists'
export const checklists = Object.assign({}, crud(url))
export default checklists

View File

@ -0,0 +1,9 @@
import crud from '../BaseApi'
import {api} from '@/utils/Request'
import {REQUEST_METHOD_TYPES} from '@/utils/Constants'
const url = '/api/lawenforcement/deliveryMethods'
export const deliveryMethods = Object.assign({}, crud(url))
export default deliveryMethods