liuyg
2021-08-28 d09564dfe3b1a86f8059e13a26ba6ca0798c4101
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,64 @@
        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,
        }
    })
}