48876ee1 by yuanbo

抽取sysSerial.js,修改所有引用文件

1 parent 3bbb9e5c
1 /*
2 * @Description: 系统序列号设置
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:24:24
5 */
6 import request from '@/utils/request'
7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
8 /**
9 * @description: 证书管理-获取序列号
10 * @param {*} params
11 * @author: renchao
12 */
13 export function getSysSerialSingle (params) {
14 return request({
15 url: SERVER.SERVERAPI + '/rest/system/sysSerial/getSysSerialSingle',
16 method: 'get',
17 params: params
18 })
19 }
1 /* 1 /*
2 * @Description: 2 * @Description: 证书管理
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:24:24 4 * @LastEditTime: 2023-05-17 10:24:24
5 */ 5 */
6 import request from '@/utils/request' 6 import request from '@/utils/request'
7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
8 /** 8
9 * @description: 证书管理-获取序列号
10 * @param {*} params
11 * @author: renchao
12 */
13 export function getSysSerialSingle (params) {
14 return request({
15 url: SERVER.SERVERAPI + '/rest/system/sysSerial/getSysSerialSingle',
16 method: 'get',
17 params: params
18 })
19 }
20 /** 9 /**
21 * @description: 证书管理-证书入库列表 10 * @description: 证书管理-证书入库列表
22 * @param {*} data 11 * @param {*} data
...@@ -162,4 +151,4 @@ export function getZsglInfo (params) { ...@@ -162,4 +151,4 @@ export function getZsglInfo (params) {
162 method: 'get', 151 method: 'get',
163 params 152 params
164 }) 153 })
165 }
...\ No newline at end of file ...\ No newline at end of file
154 }
......
...@@ -59,7 +59,8 @@ ...@@ -59,7 +59,8 @@
59 </template> 59 </template>
60 60
61 <script> 61 <script>
62 import { getZsStartNo, getSysSerialSingle, getZsEndNo, zsff, getZsglInfo } from "@/api/zsgl.js" 62 import { getZsStartNo, getZsEndNo, zsff, getZsglInfo } from "@/api/zsgl.js"
63 import { getSysSerialSingle } from "@/api/sysSerial.js"
63 export default { 64 export default {
64 props: { 65 props: {
65 formData: { 66 formData: {
......
...@@ -67,7 +67,8 @@ ...@@ -67,7 +67,8 @@
67 67
68 <script> 68 <script>
69 import store from '@/store/index.js' 69 import store from '@/store/index.js'
70 import { getSysSerialSingle, zsrk, getZsglInfo } from "@/api/zsgl.js" 70 import { zsrk, getZsglInfo } from "@/api/zsgl.js"
71 import { getSysSerialSingle } from "@/api/sysSerial.js"
71 export default { 72 export default {
72 props: { 73 props: {
73 formData: { 74 formData: {
......