48876ee1 by yuanbo

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

1 parent 3bbb9e5c
/*
* @Description: 系统序列号设置
* @Autor: renchao
* @LastEditTime: 2023-05-17 10:24:24
*/
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
/**
* @description: 证书管理-获取序列号
* @param {*} params
* @author: renchao
*/
export function getSysSerialSingle (params) {
return request({
url: SERVER.SERVERAPI + '/rest/system/sysSerial/getSysSerialSingle',
method: 'get',
params: params
})
}
/*
* @Description:
* @Description: 证书管理
* @Autor: renchao
* @LastEditTime: 2023-05-17 10:24:24
*/
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
/**
* @description: 证书管理-获取序列号
* @param {*} params
* @author: renchao
*/
export function getSysSerialSingle (params) {
return request({
url: SERVER.SERVERAPI + '/rest/system/sysSerial/getSysSerialSingle',
method: 'get',
params: params
})
}
/**
* @description: 证书管理-证书入库列表
* @param {*} data
......
......@@ -59,7 +59,8 @@
</template>
<script>
import { getZsStartNo, getSysSerialSingle, getZsEndNo, zsff, getZsglInfo } from "@/api/zsgl.js"
import { getZsStartNo, getZsEndNo, zsff, getZsglInfo } from "@/api/zsgl.js"
import { getSysSerialSingle } from "@/api/sysSerial.js"
export default {
props: {
formData: {
......
......@@ -67,7 +67,8 @@
<script>
import store from '@/store/index.js'
import { getSysSerialSingle, zsrk, getZsglInfo } from "@/api/zsgl.js"
import { zsrk, getZsglInfo } from "@/api/zsgl.js"
import { getSysSerialSingle } from "@/api/sysSerial.js"
export default {
props: {
formData: {
......