Blame view

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