From 79d9fc857559982b00b68b2d709807bdc4cd286f Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Mon, 11 Apr 2022 10:58:17 +0800
Subject: [PATCH] minio 地址修改

---
 src/api/securityAnalysis/securityAnalysis.js |   83 ++++++++++++++++++++++++++++++++++-------
 1 files changed, 69 insertions(+), 14 deletions(-)

diff --git a/src/api/securityAnalysis/securityAnalysis.js b/src/api/securityAnalysis/securityAnalysis.js
index 9bcfa4d..745ea1e 100644
--- a/src/api/securityAnalysis/securityAnalysis.js
+++ b/src/api/securityAnalysis/securityAnalysis.js
@@ -1,7 +1,6 @@
 import request from '@/router/axios';
 
-export const getinformationselectExtype = (deptid) => { //保安员审查情况统计  只需要公司的deptid
-    console.log(deptid)
+export const getinformationselectExtype = (deptid, jurisdiction) => { //保安员审查情况统计  只需要公司的deptid
     return request({
         url: '/api/information/selectExtype',
 
@@ -9,63 +8,119 @@
         method: 'post',
         params: {
             deptid: deptid,
+            jurisdiction: jurisdiction,
         }
     })
 }
 
-export const getinformationselectHold = (deptid) => { //保安员持证  只需要公司的deptid
-    console.log(deptid)
+export const getinformationselectHold = (deptid, jurisdiction) => { //保安员持证  只需要公司的deptid
     return request({
         url: '/api/information/selectHold',
         // url: 'http://192.168.0.109:81/information/selectExtype',
         method: 'post',
         params: {
             deptid: deptid,
+            jurisdiction: jurisdiction,
         }
     })
 }
-export const getinformationselectDis = (deptid) => { //派遣服务单位  只需要公司的deptid
-    console.log(deptid)
+export const getinformationselectDis = (deptid, jurisdiction) => { //派遣服务单位  只需要公司的deptid
     return request({
-        url: '/api/information/selectDis',
+        url: '/api/information/queryYearKh',
         // url: 'http://192.168.0.109:81/information/selectExtype',
         method: 'post',
         params: {
             deptid: deptid,
+            jurisdiction: jurisdiction,
         }
     })
 }
-export const getinformationselectDisp = (deptid) => { //保安派遣数量  只需要公司的deptid
-    console.log(deptid)
+export const getinformationselectDisp = (deptid, jurisdiction) => { //保安派遣数量  只需要公司的deptid
     return request({
         url: '/api/information/selectDisp',
         // url: 'http://192.168.0.109:81/information/selectExtype',
         method: 'post',
         params: {
             deptid: deptid,
+            jurisdiction: jurisdiction,
         }
     })
 }
-export const getinformationselectSoil = (deptid) => { //社保缴纳情况统计  只需要公司的deptid
-    console.log(deptid)
+export const getinformationselectSoil = (deptid, jurisdiction) => { //社保缴纳情况统计  只需要公司的deptid
     return request({
         url: '/api/information/selectSoil',
-        // url: 'http://192.168.0.109:81/information/selectExtype',
         method: 'post',
         params: {
             deptid: deptid,
+            jurisdiction: jurisdiction,
         }
     })
 }
 
-export const getinformationstatistics = (deptid) => { //保安员考试情况统计  只需要公司的deptid
-    console.log(deptid)
+export const getinformationstatistics = (deptid, jurisdiction) => { //保安员考试情况统计  只需要公司的deptid
     return request({
         url: '/api/examScore/score-statistics',
         // url: 'http://192.168.0.109:81/information/selectExtype',
         method: 'get',
         params: {
             deptid: deptid,
+            jurisdiction: jurisdiction,
+        }
+    })
+}
+
+export const getExamStatisInfo = (deptid, jurisdiction) => { //保安员考试情况统计  只需要公司的deptid
+    return request({
+        url: '/api/examScore/getExamStatisInfo',
+        method: 'get',
+        params: {
+            deptid: deptid,
+            jurisdiction: jurisdiction,
+        }
+    })
+}
+
+export const getEducationStatistics = (deptid, jurisdiction) => {
+    return request({
+        url: '/api/information/getEducationStatistics',
+        method: 'post',
+        params: {
+            deptid: deptid,
+            jurisdiction: jurisdiction,
+        }
+    })
+}
+
+export const getAgeStatistics = (deptid, jurisdiction) => {
+    return request({
+        url: '/api/blade-user/getAgeStatistics',
+        method: 'post',
+        params: {
+            deptId: deptid,
+            jurisdiction: jurisdiction,
+        }
+    })
+}
+
+export const getinformationstatisticsXX = (current, size, params) => { //保安员考试情况统计 详细信息  只需要公司的deptid
+    return request({
+        url: '/api/examScore/score-page',
+        method: 'get',
+        params: {
+            ...params,
+            current,
+            size,
+        }
+    })
+}
+
+
+export const getLoginDataStatistics = (jurisdiction) => {
+    return request({
+        url: '/api/loginRecord/getLoginDataStatistics',
+        method: 'get',
+        params: {
+            jurisdiction: jurisdiction,
         }
     })
 }
\ No newline at end of file

--
Gitblit v1.9.3