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
daeced16
authored
2022-11-02 17:38:55 +0800
by
夏齐
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
首次登记和注销登记代码优化
1 parent
cf036db5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
4 deletions
src/api/fwsyqFlow.js
src/views/ywbl/fdcq2/slxx300.vue
src/api/fwsyqFlow.js
View file @
daeced1
...
...
@@ -32,10 +32,18 @@ export function Init(data) {
data
})
}
// 初始化内容
export
function
saveData
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/ywbl/fdcq2lr/saveData'
,
method
:
'post'
,
data
})
}
// 注销登记提交数据
export
function
saveLogoutData
(
data
)
{
return
request
({
url
:
'/ywbl/fdcq2lr/saveLogoutData'
,
url
:
SERVER
.
SERVERAPI
+
"/rest/ywbl/fdcq2lr/saveLogoutData"
,
method
:
'post'
,
data
})
...
...
@@ -43,7 +51,15 @@ export function saveLogoutData(data) {
// 首次登记提交
export
function
saveBatchData
(
data
)
{
return
request
({
url
:
'/ywbl/fdcq2lr/saveBatchData'
,
url
:
SERVER
.
SERVERAPI
+
"/rest/ywbl/fdcq2lr/saveBatchData"
,
method
:
'post'
,
data
})
}
// 更正/变更登记提交
export
function
saveGZBatchData
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
"/rest/ywbl/fdcq2lr/saveGZBatchData"
,
method
:
'post'
,
data
})
...
...
src/views/ywbl/fdcq2/slxx300.vue
View file @
daeced1
...
...
@@ -188,7 +188,7 @@
</
template
>
<
script
>
import
InformationTable
from
"@/views/workflow/components/InformationTable"
;
import
{
Init
}
from
"@/api/fwsyqFlow.js"
;
import
{
Init
,
saveGZBatchData
}
from
"@/api/fwsyqFlow.js"
;
import
{
mapGetters
}
from
"vuex"
;
export
default
{
async
created
()
{
...
...
@@ -298,7 +298,7 @@ export default {
});
},
onSubmit
()
{
fristReg
(
this
.
ruleForm
).
then
((
res
)
=>
{
saveGZBatchData
(
this
.
ruleForm
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
&&
res
.
result
)
{
console
.
log
(
res
);
//this.ruleForm = { ...res.result, ...res.result.zdjbxxdatas, ...res.result.qlxxdatas, ...res.result.jsydsyqdatas }
...
...
Please
register
or
sign in
to post a comment