diff --git a/src/api/modules/safeEdgeProtection.ts b/src/api/modules/safeEdgeProtection.ts new file mode 100644 index 0000000..a84d61f --- /dev/null +++ b/src/api/modules/safeEdgeProtection.ts @@ -0,0 +1,27 @@ +import http from "@/api"; +const BASEURL = import.meta.env.VITE_API_URL; + +// 培训概况 +export const safecationOverview = (params: {}) => { + return http.post(BASEURL + `/xmgl/workerSafeEducationWorker/selectWorkerEducationOverview`, params); +}; + +// 班前教育人数统计(近七日) +export const safecationByWeek = (params: {}) => { + return http.post(BASEURL + `/xmgl/workerSafeEducationWorker/selectWorkerEducationByWeek`, params); +}; + +// 教育类型分析 +export const safecationByType = (params: {}) => { + return http.post(BASEURL + `/xmgl/workerSafeEducationWorker/selectWorkerEducationByType`, params); +}; + +// 近七日人员培训记录 +export const safeWorkerPage = (params: {}) => { + return http.post(BASEURL + `/xmgl/workerSafeEducationWorker/selectSafeEducationWorkerPage`, params); +}; + +// 培训统计(近一个月内) 培训人员班组统计(近一个月内) +export const safecationByMonth = (params: {}) => { + return http.post(BASEURL + `/xmgl/workerSafeEducationWorker/selectWorkerEducationByMonth`, params); +}; diff --git a/src/views/sevenLargeScreen/safetyManagement/safeEducation/bottomLeft.vue b/src/views/sevenLargeScreen/safetyManagement/safeEducation/bottomLeft.vue index 4d22a38..7647ada 100644 --- a/src/views/sevenLargeScreen/safetyManagement/safeEducation/bottomLeft.vue +++ b/src/views/sevenLargeScreen/safetyManagement/safeEducation/bottomLeft.vue @@ -4,19 +4,19 @@