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
bdd1588d
authored
2023-07-14 13:20:49 +0800
by
yuanbo
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
抽取sysSqywmbsz.js,修改所有引用文件
1 parent
d2bcb2fa
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
47 additions
and
39 deletions
src/api/sysSqywmbsz.js
src/api/system.js
src/views/system/qtjfjmb/components/editDialog.vue
src/views/system/qtjfjmb/qtjfjmb.vue
src/api/sysSqywmbsz.js
0 → 100644
View file @
bdd1588
/*
* @Description: 申请业务模板设置
* @Autor: renchao
* @LastEditTime: 2023-05-16 16:02:32
*/
import
request
from
'@/utils/request'
let
SERVER
=
window
.
config
?
window
.
config
:
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
/**
* @description: 其他及附记模板-列表详情
* @param {*} data
* @author: renchao
*/
export
function
sysSqywmbszSearch
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/system/sysSqywmbsz/search'
,
method
:
'post'
,
data
})
}
/**
* @description: 其他及附记模板-读取明细
* @param {*} id
* @author: renchao
*/
export
function
getSysSqywmbszDetailById
(
id
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/system/sysSqywmbsz/getSysSqywmbszDetailById?id='
+
id
,
method
:
'get'
})
}
/**
* @description: 其他及附记模板-修改申请业务模板设置
* @param {*} data
* @author: renchao
*/
export
function
updateSysSqywmbsz
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/system/sysSqywmbsz/updateSysSqywmbsz'
,
method
:
'put'
,
data
})
}
src/api/system.js
View file @
bdd1588
...
...
@@ -8,43 +8,6 @@ import request from '@/utils/request'
let
SERVER
=
window
.
config
?
window
.
config
:
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
/**
* @description: 其他及附记模板-列表详情
* @param {*} data
* @author: renchao
*/
export
function
sysSqywmbszSearch
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/system/sysSqywmbsz/search'
,
method
:
'post'
,
data
})
}
/**
* @description: 其他及附记模板-读取明细
* @param {*} id
* @author: renchao
*/
export
function
getSysSqywmbszDetailById
(
id
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/system/sysSqywmbsz/getSysSqywmbszDetailById?id='
+
id
,
method
:
'get'
})
}
/**
* @description: 其他及附记模板-修改申请业务模板设置
* @param {*} data
* @author: renchao
*/
export
function
updateSysSqywmbsz
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/system/sysSqywmbsz/updateSysSqywmbsz'
,
method
:
'put'
,
data
})
}
/**
* @description: 新增系统通知
* @param {*} data
* @author: renchao
...
...
src/views/system/qtjfjmb/components/editDialog.vue
View file @
bdd1588
...
...
@@ -117,7 +117,7 @@
</
template
>
<
script
>
import
{
updateSysSqywmbsz
,
getSysSqywmbszDetailById
}
from
'@/api/sys
tem
'
import
{
updateSysSqywmbsz
,
getSysSqywmbszDetailById
}
from
'@/api/sys
Sqywmbsz
'
export
default
{
props
:
{
formData
:
{
...
...
src/views/system/qtjfjmb/qtjfjmb.vue
View file @
bdd1588
...
...
@@ -32,7 +32,7 @@
</
template
>
<
script
>
import
{
mapGetters
}
from
'vuex'
import
{
sysSqywmbszSearch
}
from
'@/api/sys
tem
'
import
{
sysSqywmbszSearch
}
from
'@/api/sys
Sqywmbsz
'
import
table
from
"@/utils/mixin/table"
import
{
datas
,
sendThis
}
from
"./qtjfjmb"
export
default
{
...
...
Please
register
or
sign in
to post a comment