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
a5ec779a
authored
2023-09-13 11:35:28 +0800
by
yangwei
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fwsyq中楼盘表发起申请
1 parent
48321a3b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
27 deletions
src/views/lpb/lpbContent/index.vue
src/views/lpb/lpbContent/index.vue
View file @
a5ec779
...
...
@@ -225,39 +225,41 @@ export default {
* @author: renchao
*/
submitForm
()
{
debugger
if
(
this
.
bsmList
.
length
==
0
)
{
this
.
$message
.
error
(
"请至少选择一条数据"
);
return
;
}
this
.
loading
=
true
startBusinessFlow
({
bsmSqyw
:
this
.
sqywInfo
.
bsmSqyw
,
bdcdysz
:
this
.
bsmList
,
}).
then
((
res
)
=>
{
this
.
loading
=
false
if
(
res
.
code
==
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
'发起申请成功'
,
type
:
'success'
})
if
(
!
this
.
isJump
)
{
this
.
jump
(
res
.
result
,
this
.
sqywInfo
.
djywbm
)
}
else
{
store
.
dispatch
(
'user/refreshPage'
,
true
);
}
this
.
$popupCacel
()
this
.
loading
=
true
this
.
bsmList
.
forEach
(
item
=>
{
item
[
'bdcdyid'
]
=
item
.
dyhbsm
})
startBusinessFlow
({
bsmSqyw
:
this
.
sqywInfo
.
bsmSqyw
,
bdcdysz
:
this
.
bsmList
,
}).
then
((
res
)
=>
{
this
.
loading
=
false
if
(
res
.
code
==
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
'发起申请成功'
,
type
:
'success'
})
if
(
!
this
.
isJump
)
{
this
.
jump
(
res
.
result
,
this
.
sqywInfo
.
djywbm
)
}
else
{
if
(
res
.
result
&&
res
.
result
.
length
>
0
)
{
ywPopupDialog
(
"申请错误明细"
,
"components/ywdialog"
,
{
result
:
res
.
result
},
'36%'
,
true
)
}
else
{
ywPopupDialog
(
"申请错误明细"
,
"components/ywdialog"
,
{
message
:
res
.
message
},
'36%'
,
true
)
}
store
.
dispatch
(
'user/refreshPage'
,
true
);
}
}).
catch
(()
=>
{
this
.
loading
=
false
})
this
.
$popupCacel
()
}
else
{
if
(
res
.
result
&&
res
.
result
.
length
>
0
)
{
this
.
$popup
(
"申请错误明细"
,
"components/ywdialog"
,
{
width
:
'36%'
,
formData
:{
result
:
res
.
result
}
})
}
else
{
this
.
$popup
(
"申请错误明细"
,
"components/ywdialog"
,
{
width
:
'36%'
,
formData
:{
message
:
res
.
message
}
})
}
}
}).
catch
(()
=>
{
this
.
loading
=
false
})
},
},
computed
:{
...
...
Please
register
or
sign in
to post a comment