zsgl.js 2.74 KB
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
/* 
证书管理-获取序列号
*/
export function getSysSerialSingle (params) {
    return request({
        url: SERVER.SERVERAPI + '/rest/system/sysSerial/getSysSerialSingle',
        method: 'get',
        params: params
    })
}
/* 
证书管理-证书入库列表
*/
export function getZsglrkList (data) {
    return request({
        url: SERVER.SERVERAPI + '/rest/sys/zsgl/getZsglrkList',
        method: 'post',
        data
    })
}
/* 
证书管理-新增证书入库
*/
export function zsrk (data) {
    return request({
        url: SERVER.SERVERAPI + '/rest/sys/zsgl/zsrk',
        method: 'post',
        data
    })
}
/* 
证书管理-删除证书入库
*/
export function removeZsgl (params) {
    return request({
        url: SERVER.SERVERAPI + '/rest/sys/zsgl/removeZsgl',
        method: 'get',
        params: params
    })
}
/* 
证书管理-审核证书入库
*/
export function verifyZsrk (params) {
    return request({
        url: SERVER.SERVERAPI + '/rest/sys/zsgl/verifyZsrk',
        method: 'get',
        params: params
    })
}
/* 
证书管理-证书分发列表
*/
export function getZsglffList (data) {
    return request({
        url: SERVER.SERVERAPI + '/rest/sys/zsgl/getZsglffList',
        method: 'post',
        data
    })
}
/* 
证书管理-证书分发列表
*/
export function getZsStartNo () {
    return request({
        url: SERVER.SERVERAPI + '/rest/sys/zsgl/getZsStartNo',
        method: 'get'
    })
}
/* 
证书管理-获取结束序列号
*/
export function getZsEndNo (params) {
    return request({
        url: SERVER.SERVERAPI + '/rest/sys/zsgl/getZsEndNo',
        method: 'get',
        params
    })
}
/* 
证书管理-新增证书分发
*/
export function zsff (data) {
    return request({
        url: SERVER.SERVERAPI + '/rest/sys/zsgl/zsff',
        method: 'post',
        data
    })
}
/* 
证书管理-确定分发
*/
export function confirmZsff (params) {
    return request({
        url: SERVER.SERVERAPI + '/rest/sys/zsgl/confirmZsff',
        method: 'get',
        params: params
    })
}
/* 
证书管理-证书使用情况
*/
export function getZssyqkList (data) {
    return request({
        url: SERVER.SERVERAPI + '/rest/sys/zsgl/getZssyqkList',
        method: 'post',
        data
    })
}
/* 
证书管理-证书使用情况详情
*/
export function getZssyqkInfo (params) {
    return request({
        url: SERVER.SERVERAPI + '/rest/sys/zsgl/getZssyqkInfo',
        method: 'get',
        params
    })
}
/* 
证书管理-证书入库/分发详情
*/
export function getZsglInfo (params) {
    return request({
        url: SERVER.SERVERAPI + '/rest/sys/zsgl/getZsglInfo',
        method: 'get',
        params
    })
}