Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
48876ee1
authored
2023-07-14 13:56:47 +0800
by
yuanbo
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
抽取sysSerial.js,修改所有引用文件
1 parent
3bbb9e5c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
16 deletions
src/api/sysSerial.js
src/api/zsgl.js
src/views/zsgl/zsff/components/addDialog.vue
src/views/zsgl/zsrk/components/addDialog.vue
src/api/sysSerial.js
0 → 100644
View file @
48876ee
/*
* @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
})
}
src/api/zsgl.js
View file @
48876ee
/*
* @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
...
...
@@ -162,4 +151,4 @@ export function getZsglInfo (params) {
method
:
'get'
,
params
})
}
\ No newline at end of file
}
...
...
src/views/zsgl/zsff/components/addDialog.vue
View file @
48876ee
...
...
@@ -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
:
{
...
...
src/views/zsgl/zsrk/components/addDialog.vue
View file @
48876ee
...
...
@@ -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
:
{
...
...
Please
register
or
sign in
to post a comment