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
c6791465
authored
2023-09-04 16:57:37 +0800
by
tianhaohao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改一并申请登记业务逻辑代码
1 parent
1ea2b042
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
12 deletions
src/views/ywbl/ywsq/components/selecBdcql.vue
src/views/ywbl/ywsq/javascript/slectBdcdata.js
src/views/ywbl/ywsq/components/selecBdcql.vue
View file @
c679146
...
...
@@ -67,7 +67,7 @@
import
{
datas
,
sendThis
}
from
"../javascript/selecBdcql.js"
;
import
{
defaultParameters
}
from
"../javascript/publicDefaultPar.js"
;
import
{
selectQlxx
}
from
"@/api/ywsq.js"
;
import
{
startBusinessFlow
}
from
"@/api/workFlow.js"
;
import
{
startBusinessFlow
,
startTogetherFlow
}
from
"@/api/workFlow.js"
;
import
{
getQllxByBsmSqyw
}
from
"@/api/sysSqdjyw.js"
;
export
default
{
mixins
:
[
table
,
jump
],
...
...
@@ -126,8 +126,37 @@
this
.
$alert
(
"请至少选择一条数据"
);
return
;
}
this
.
loading
=
true
startBusinessFlow
({
this
.
loading
=
true
;
if
(
this
.
sqywInfo
.
sqfl
==
'1'
){
startBusinessFlow
({
bsmSqyw
:
this
.
sqywInfo
.
bsmSqyw
,
bdcdysz
:
this
.
bdcdysz
,
}).
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
()
}
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
)
}
}
}).
catch
(()
=>
{
this
.
loading
=
false
})
}
else
{
startTogetherFlow
({
bsmSqyw
:
this
.
sqywInfo
.
bsmSqyw
,
bdcdysz
:
this
.
bdcdysz
,
}).
then
((
res
)
=>
{
...
...
@@ -135,15 +164,15 @@
if
(
res
.
code
==
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
"发起申请成功"
,
type
:
"success"
,
})
;
message
:
'发起申请成功'
,
type
:
'success'
})
if
(
!
this
.
isJump
)
{
this
.
jump
(
res
.
result
,
this
.
sqywInfo
.
djywbm
)
;
this
.
jump
(
res
.
result
,
this
.
sqywInfo
.
djywbm
)
}
else
{
store
.
dispatch
(
'user/refreshPage'
,
true
);
this
.
$popupCacel
()
}
this
.
$popupCacel
()
}
else
{
if
(
res
.
result
&&
res
.
result
.
length
>
0
)
{
ywPopupDialog
(
"申请错误明细"
,
"components/ywdialog"
,
{
result
:
res
.
result
},
'36%'
,
true
)
...
...
@@ -154,6 +183,8 @@
}).
catch
(()
=>
{
this
.
loading
=
false
})
}
},
/**
* @description: handleSelectionChange
...
...
src/views/ywbl/ywsq/javascript/slectBdcdata.js
View file @
c679146
...
...
@@ -92,10 +92,10 @@ export function queueDjywmc (djywbm, djqxbm) {
case
"C40100"
:
//一并申请首次
vm
=
"selectYbsc"
;
break
;
case
"C40300"
:
//一并申请变更
case
"C40400"
:
//一并申请注销
vm
=
"selectYbbg"
;
break
;
//
case "C40300": //一并申请变更
//
case "C40400": //一并申请注销
//
vm = "selectYbbg";
//
break;
case
"C04372"
:
//一并国有房屋变更
case
"C04371"
:
//一并国有房屋转移
vm
=
"selectYbgybg"
;
...
...
Please
register
or
sign in
to post a comment