From 7ef85d53612fabdecf2a6f4525b0f518b4733176 Mon Sep 17 00:00:00 2001 From: songxudong Date: Fri, 14 Feb 2025 20:08:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=8A=A5=E8=A1=A8=E7=BB=9F?= =?UTF-8?q?=E7=AD=89=E5=89=8D=E7=AB=AF=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/api/lawenforcement/Statistics.js | 137 ++++++++++++++++++ .../api/lawenforcement/SupervisionCheck.js | 25 ++++ 2 files changed, 162 insertions(+) create mode 100644 client/src/api/lawenforcement/Statistics.js create mode 100644 client/src/api/lawenforcement/SupervisionCheck.js diff --git a/client/src/api/lawenforcement/Statistics.js b/client/src/api/lawenforcement/Statistics.js new file mode 100644 index 0000000..2c969de --- /dev/null +++ b/client/src/api/lawenforcement/Statistics.js @@ -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 diff --git a/client/src/api/lawenforcement/SupervisionCheck.js b/client/src/api/lawenforcement/SupervisionCheck.js new file mode 100644 index 0000000..3b758b9 --- /dev/null +++ b/client/src/api/lawenforcement/SupervisionCheck.js @@ -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