zsgl.js 2.85 KB
import request from '@/utils/request'
/* 
证书管理-获取序列号
*/
export function getSysSerialSingle (params) {
    return request({
        url: '/service-bdcdj1/rest/system/sysSerial/getSysSerialSingle',
        method: 'get',
        params: params
    })
}
/* 
证书管理-证书入库列表
*/
export function getZsglrkList (data) {
    return request({
        url: '/service-bdcdj1/rest/sys/zsgl/getZsglrkList',
        method: 'post',
        data,
        showLoading: true
    })
}
/* 
证书管理-新增证书入库
*/
export function zsrk (data) {
    return request({
        url: '/service-bdcdj1/rest/sys/zsgl/zsrk',
        method: 'post',
        data,
        showLoading: true,
        loadingTarget: '正在保存中...'
    })
}
/* 
证书管理-删除证书入库
*/
export function removeZsgl (params) {
    return request({
        url: '/service-bdcdj1/rest/sys/zsgl/removeZsgl',
        method: 'get',
        params: params
    })
}
/* 
证书管理-审核证书入库
*/
export function verifyZsrk (params) {
    return request({
        url: '/service-bdcdj1/rest/sys/zsgl/verifyZsrk',
        method: 'get',
        params: params
    })
}
/* 
证书管理-证书分发列表
*/
export function getZsglffList (data) {
    return request({
        url: '/service-bdcdj1/rest/sys/zsgl/getZsglffList',
        method: 'post',
        data,
        showLoading: true
    })
}
/* 
证书管理-证书分发列表
*/
export function getZsStartNo () {
    return request({
        url: '/service-bdcdj1/rest/sys/zsgl/getZsStartNo',
        method: 'get'
    })
}
/* 
证书管理-获取结束序列号
*/
export function getZsEndNo (params) {
    return request({
        url: '/service-bdcdj1/rest/sys/zsgl/getZsEndNo',
        method: 'get',
        params
    })
}
/* 
证书管理-新增证书分发
*/
export function zsff (data) {
    return request({
        url: '/service-bdcdj1/rest/sys/zsgl/zsff',
        method: 'post',
        data,
        showLoading: true,
        loadingTarget: '正在保存中...'
    })
}
/* 
证书管理-确定分发
*/
export function confirmZsff (params) {
    return request({
        url: '/service-bdcdj1/rest/sys/zsgl/confirmZsff',
        method: 'get',
        params: params
    })
}
/* 
证书管理-证书使用情况
*/
export function getZssyqkList (data) {
    return request({
        url: '/service-bdcdj1/rest/sys/zsgl/getZssyqkList',
        method: 'post',
        data,
        showLoading: true
    })
}
/* 
证书管理-证书使用情况详情
*/
export function getZssyqkInfo (params) {
    return request({
        url: '/service-bdcdj1/rest/sys/zsgl/getZssyqkInfo',
        method: 'get',
        params
    })
}
/* 
证书管理-证书入库/分发详情
*/
export function getZsglInfo (params) {
    return request({
        url: '/service-bdcdj1/rest/sys/zsgl/getZsglInfo',
        method: 'get',
        params
    })
}