From c4e67a8942e514b65ab41bb19781d50576c15725 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Fri, 24 Sep 2021 19:56:52 +0800
Subject: [PATCH] 用户
---
src/api/securityAnalysis/securityAnalysis.js | 39 ++++++++++++++++++++++++++-------------
1 files changed, 26 insertions(+), 13 deletions(-)
diff --git a/src/api/securityAnalysis/securityAnalysis.js b/src/api/securityAnalysis/securityAnalysis.js
index 9bcfa4d..8ef8444 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,77 @@
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 getinformationstatisticsXX = (current, size, params) => { //保安员考试情况统计 详细信息 只需要公司的deptid
+ return request({
+ url: '/api/examScore/score-page',
+ // url: 'http://192.168.0.109:81/information/selectExtype',
+ method: 'get',
+ params: {
+ ...params,
+ current,
+ size,
}
})
}
\ No newline at end of file
--
Gitblit v1.9.3