Blame view

src/api/zsgl.js 2.41 KB
蔡俊立 committed
1 2
import request from '@/utils/request'
/* 
蔡俊立 committed
3 4 5 6 7 8 9 10 11 12
证书管理-获取序列号
*/
export function getSysSerialSingle (params) {
    return request({
        url: '/system/sysSerial/getSysSerialSingle',
        method: 'get',
        params: params
    })
}
/* 
蔡俊立 committed
13 14 15 16
证书管理-证书入库列表
*/
export function getZsglrkList (data) {
    return request({
蔡俊立 committed
17 18
        url: '/sys/zsgl/getZsglrkList',
        method: 'post',
任超 committed
19 20
        data,
        showLoading: true
蔡俊立 committed
21 22 23 24 25 26 27 28
    })
}
/* 
证书管理-新增证书入库
*/
export function zsrk (data) {
    return request({
        url: '/sys/zsgl/zsrk',
蔡俊立 committed
29
        method: 'post',
任超 committed
30
        data,
任超 committed
31 32
        showLoading: true,
        loadingTarget: '正在保存中...'
蔡俊立 committed
33
    })
蔡俊立 committed
34 35 36 37 38 39 40 41 42 43
}
/* 
证书管理-删除证书入库
*/
export function removeZsgl (params) {
    return request({
        url: '/sys/zsgl/removeZsgl',
        method: 'get',
        params: params
    })
蔡俊立 committed
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
}
/* 
证书管理-审核证书入库
*/
export function verifyZsrk (params) {
    return request({
        url: '/sys/zsgl/verifyZsrk',
        method: 'get',
        params: params
    })
}
/* 
证书管理-证书分发列表
*/
export function getZsglffList (data) {
    return request({
        url: '/sys/zsgl/getZsglffList',
        method: 'post',
任超 committed
62 63
        data,
        showLoading: true
蔡俊立 committed
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83
    })
}
/* 
证书管理-证书分发列表
*/
export function getZsStartNo () {
    return request({
        url: '/sys/zsgl/getZsStartNo',
        method: 'get'
    })
}
/* 
证书管理-获取结束序列号
*/
export function getZsEndNo (params) {
    return request({
        url: '/sys/zsgl/getZsEndNo',
        method: 'get',
        params
    })
蔡俊立 committed
84 85 86 87 88 89 90 91
}
/* 
证书管理-新增证书分发
*/
export function zsff (data) {
    return request({
        url: '/sys/zsgl/zsff',
        method: 'post',
任超 committed
92 93 94
        data,
        showLoading: true,
        loadingTarget: '正在保存中...'
蔡俊立 committed
95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113
    })
}
/* 
证书管理-确定分发
*/
export function confirmZsff (params) {
    return request({
        url: '/sys/zsgl/confirmZsff',
        method: 'get',
        params: params
    })
}
/* 
证书管理-证书使用情况
*/
export function getZssyqkList (data) {
    return request({
        url: '/sys/zsgl/getZssyqkList',
        method: 'post',
任超 committed
114 115
        data,
        showLoading: true
蔡俊立 committed
116
    })
蔡俊立 committed
117 118 119 120 121 122 123 124 125 126
}
/* 
证书管理-证书使用情况详情
*/
export function getZssyqkInfo (params) {
    return request({
        url: '/sys/zsgl/getZssyqkInfo',
        method: 'get',
        params
    })
蔡俊立 committed
127
}