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
002392ea
authored
2024-02-05 17:29:24 +0800
by
tianhaohao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
111
1 parent
16cd8026
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
3 deletions
src/views/lpb/lpbContent/index.vue
src/views/lpb/lpbContent/index.vue
View file @
002392e
...
...
@@ -36,7 +36,7 @@ import { getLpb } from "@/api/lpcx.js";
import
chCpn
from
"./ch.vue"
;
import
zdyCpn
from
"./zdys.vue"
;
import
ljzsCpn
from
"./ljzs.vue"
;
import
{
startBusinessFlow
,
choiceBdcdy
}
from
"@/api/workFlow.js"
;
import
{
startBusinessFlow
,
choiceBdcdy
,
againAddSldy
}
from
"@/api/workFlow.js"
;
import
jump
from
"../../ywbl/ywsq/components/mixin/jump"
;
import
store
from
'@/store/index.js'
import
{
ywPopupCacel
}
from
"@/utils/popup.js"
;
...
...
@@ -132,10 +132,45 @@ export default {
* @author: renchao
*/
saveLpb
(){
if
(
this
.
bsmList
.
length
==
0
)
{
this
.
$message
.
error
(
"请至少选择一条数据"
);
return
;
}
this
.
loading
=
true
;
againAddSldy
({
bsmSqyw
:
this
.
sqywInfo
.
bsmSqyw
,
bsmSlsq
:
this
.
sqywInfo
.
bsmSlsq
,
bdcdysz
:
this
.
bsmList
,
sjlx
:
"houses"
}).
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.close();
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
})
// todo 调用保存接口 传入参数待定
console
.
log
(
this
.
bsmList
,
'this.bsmList'
);
//
console.log(this.bsmList,'this.bsmList');
// 保存成功后关闭弹框
this
.
$popupCacel
()
//
this.$popupCacel()
},
// 改变户选中状态
/**
...
...
Please
register
or
sign in
to post a comment