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
db6c6f2f
authored
2022-11-30 09:32:07 +0800
by
田浩浩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
申请业务重构
1 parent
7963b2d5
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
213 additions
and
209 deletions
src/views/ywbl/ywsq/components/cfdj.vue
src/views/ywbl/ywsq/components/diyaq.vue
src/views/ywbl/ywsq/components/fwsyq.vue
src/views/ywbl/ywsq/components/nydsyq100.vue
src/views/ywbl/ywsq/components/nydsyq200.vue
src/views/ywbl/ywsq/components/selecBdcql.vue
src/views/ywbl/ywsq/components/selectFwsyq.vue
src/views/ywbl/ywsq/components/selectJsydsyq.vue
src/views/ywbl/ywsq/components/selectQjzdjbxx.vue
src/views/ywbl/ywsq/guidePage.vue
src/views/ywbl/ywsq/selectBdc.vue
src/views/ywbl/ywsq/slectBdcdata.js
src/views/ywbl/ywsq/components/cfdj.vue
View file @
db6c6f2
...
...
@@ -3,15 +3,7 @@
<!-- 表单部分 -->
<div
class=
"from-clues-header"
>
<el-form
:model=
"queryForm"
ref=
"queryForm"
label-width=
"100px"
>
<el-row>
<el-col
:span=
"5"
>
<el-form-item
label=
"权利类型"
>
<el-select
v-model=
"queryForm.qllx"
filterable
clearable
placeholder=
"请选择权利类型"
>
<el-option
v-for=
"item in qllxs"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-row>
<el-col
:span=
"6"
>
<el-form-item
label=
"不动产单元号"
>
<el-input
placeholder=
"请输入不动产单元号"
v-model=
"queryForm.bdcdyh"
clearable
class=
"width200px"
>
...
...
@@ -62,24 +54,22 @@ import { selectCfdj, startBusinessFlow, choiceBdcdy } from "@/api/ywbl.js";
export
default
{
props
:
{
isJump
:
{
type
:
Boolean
,
default
:
false
},
djywbm
:
{
type
:
String
,
default
:
''
},
djqxObj
:
{
type
:
Object
,
default
:
{}
},
bsmSqyw
:
{
type
:
String
,
default
:
''
},
sqywInfo
:
{
type
:
Object
,
default
:
()
=>
{}
},
},
mixins
:
[
table
,
jump
],
data
()
{
return
{
queryForm
:
defaultParameters
.
defaultParameters
(),
qllxs
:
[],
queryForm
:
defaultParameters
.
defaultParameters
(),
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
(),
data
:
[],
},
bdcdysz
:
[]
bdcdysz
:
[],
bsmSqyw
:
this
.
sqywInfo
.
nodetype
===
"djlx"
?
this
.
sqywInfo
.
bsmSqyw
:
this
.
sqywInfo
.
parentid
,
};
},
mounted
()
{
...
...
@@ -95,7 +85,7 @@ export default {
this
.
$emit
(
"closeDialog"
)
},
fetchData
()
{
this
.
queryForm
.
sqywbm
=
this
.
djywbm
;
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
selectCfdj
({
...
this
.
queryForm
,
...
this
.
pageData
})
.
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
...
...
@@ -114,8 +104,8 @@ export default {
startBusinessFlow
({
bsmSqyw
:
this
.
bsmSqyw
,
bdcdysz
:
this
.
bdcdysz
,
djqxbm
:
this
.
djqxObj
?.
djqxbm
,
djqxmc
:
this
.
djqxObj
?.
djqxmc
djqxbm
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodecode
:
""
,
djqxmc
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodename
:
""
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
...
...
@@ -123,7 +113,7 @@ export default {
message
:
'发起申请成功'
,
type
:
'success'
})
this
.
jump
(
res
.
result
,
this
.
djywbm
)
this
.
jump
(
res
.
result
,
this
.
sqywInfo
.
djywbm
)
}
else
{
this
.
$message
.
error
(
res
.
message
)
}
...
...
src/views/ywbl/ywsq/components/diyaq.vue
View file @
db6c6f2
...
...
@@ -99,12 +99,7 @@ export default {
mixins
:
[
table
,
jump
],
props
:
{
isJump
:
{
type
:
Boolean
,
default
:
false
},
djywbm
:
{
type
:
String
,
default
:
""
},
djqxObj
:
{
type
:
Object
,
default
:
{},
},
bsmSqyw
:
{
type
:
String
,
default
:
""
},
sqywInfo
:
{
type
:
Object
,
default
:
()
=>
{}
},
},
data
()
{
return
{
...
...
@@ -131,7 +126,7 @@ export default {
this
.
$emit
(
"closeDialog"
);
},
fetchData
()
{
this
.
queryForm
.
sqywbm
=
this
.
djywbm
;
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
selectDiyaq
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
let
{
total
,
records
}
=
res
.
result
;
...
...
@@ -146,10 +141,10 @@ export default {
return
;
}
startBusinessFlow
({
bsmSqyw
:
this
.
bsmSqyw
,
bsmSqyw
:
this
.
sqywInfo
.
parentid
,
bdcdysz
:
this
.
bdcdysz
,
djqxbm
:
this
.
djqxObj
?.
djqxbm
,
djqxmc
:
this
.
djqxObj
?.
djqxmc
,
djqxbm
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodecode
:
""
,
djqxmc
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodename
:
""
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
...
...
@@ -158,7 +153,7 @@ export default {
type
:
"success"
,
});
if
(
!
this
.
isJump
)
{
this
.
jump
(
res
.
result
,
this
.
djywbm
);
this
.
jump
(
res
.
result
,
this
.
sqywInfo
.
djywbm
);
}
else
{
this
.
$emit
(
"updateDialog"
,
true
);
}
...
...
src/views/ywbl/ywsq/components/fwsyq.vue
View file @
db6c6f2
...
...
@@ -77,12 +77,7 @@ export default {
mixins
:
[
table
,
jump
],
props
:
{
isJump
:
{
type
:
Boolean
,
default
:
false
},
djywbm
:
{
type
:
String
,
default
:
''
},
djqxObj
:
{
type
:
Object
,
default
:
{}
},
bsmSqyw
:
{
type
:
String
,
default
:
''
},
sqywInfo
:
{
type
:
Object
,
default
:
()
=>
{}
},
},
data
()
{
return
{
...
...
@@ -93,13 +88,16 @@ export default {
ywh
:
''
,
bdcqzh
:
''
},
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
(),
data
:
[],
},
bdcdysz
:
[]
bdcdysz
:
[],
bsmSqyw
:
this
.
sqywInfo
.
nodetype
===
"djlx"
?
this
.
sqywInfo
.
bsmSqyw
:
this
.
sqywInfo
.
parentid
,
};
},
mounted
()
{
...
...
@@ -117,7 +115,7 @@ export default {
fetchData
()
{
if
(
!
this
.
isJump
)
{
//从业务办理进入
this
.
queryForm
.
sqywbm
=
this
.
djywbm
;
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
this
.
queryForm
.
fwfl
=
this
.
activeName
;
if
(
this
.
activeName
==
"zrz"
)
{
selectZrz
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
((
res
)
=>
{
...
...
@@ -159,11 +157,11 @@ export default {
}
if
(
!
this
.
isJump
)
{
startBusinessFlow
({
bsmSqyw
:
this
.
bsmSqyw
,
bsmSqyw
:
this
.
sqywInfo
.
parentid
,
fwlx
:
this
.
activeName
,
bdcdysz
:
this
.
bdcdysz
,
djqxbm
:
this
.
djqxObj
?.
djqxbm
,
djqxmc
:
this
.
djqxObj
?.
djqxmc
djqxbm
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodecode
:
""
,
djqxmc
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodename
:
""
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
...
...
src/views/ywbl/ywsq/components/nydsyq100.vue
View file @
db6c6f2
...
...
@@ -49,24 +49,21 @@ export default {
mixins
:
[
table
,
jump
],
props
:
{
isJump
:
{
type
:
Boolean
,
default
:
false
},
djywbm
:
{
type
:
String
,
default
:
''
},
djqxObj
:
{
type
:
Object
,
default
:
{}
},
bsmSqyw
:
{
type
:
String
,
default
:
''
},
sqywInfo
:
{
type
:
Object
,
default
:
()
=>
{}
},
},
data
()
{
return
{
queryForm
:
defaultParameters
.
defaultParameters
(),
qllxs
:
[],
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
(),
data
:
[],
},
bdcdysz
:
[]
bdcdysz
:
[],
bsmSqyw
:
this
.
sqywInfo
.
nodetype
===
"djlx"
?
this
.
sqywInfo
.
bsmSqyw
:
this
.
sqywInfo
.
parentid
,
};
},
mounted
()
{
...
...
@@ -82,7 +79,7 @@ export default {
this
.
$emit
(
"closeDialog"
);
},
fetchData
()
{
this
.
queryForm
.
sqywbm
=
this
.
djywbm
;
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
selectZdjbxx
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
let
{
total
,
records
}
=
res
.
result
;
...
...
@@ -99,8 +96,8 @@ export default {
startBusinessFlow
({
bsmSqyw
:
this
.
bsmSqyw
,
bdcdysz
:
this
.
bdcdysz
,
djqxbm
:
this
.
djqxObj
?.
djqxbm
,
djqxmc
:
this
.
djqxObj
?.
djqxmc
djqxbm
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodecode
:
""
,
djqxmc
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodename
:
""
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
...
...
src/views/ywbl/ywsq/components/nydsyq200.vue
View file @
db6c6f2
...
...
@@ -49,12 +49,7 @@ export default {
mixins
:
[
table
,
jump
],
props
:
{
isJump
:
{
type
:
Boolean
,
default
:
false
},
djywbm
:
{
type
:
String
,
default
:
''
},
djqxObj
:
{
type
:
Object
,
default
:
{}
},
bsmSqyw
:
{
type
:
String
,
default
:
''
},
sqywInfo
:
{
type
:
Object
,
default
:
()
=>
{}
},
},
data
()
{
return
{
...
...
@@ -81,7 +76,7 @@ export default {
this
.
$emit
(
"closeDialog"
);
},
fetchData
()
{
this
.
queryForm
.
sqywbm
=
this
.
djywbm
;
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
selectNydsyqQlxx
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
let
{
total
,
records
}
=
res
.
result
;
...
...
@@ -96,10 +91,10 @@ export default {
return
;
}
startBusinessFlow
({
bsmSqyw
:
this
.
bsmSqyw
,
bsmSqyw
:
this
.
sqywInfo
.
parentid
,
bdcdysz
:
this
.
bdcdysz
,
djqxbm
:
this
.
djqxObj
?.
djqxbm
,
djqxmc
:
this
.
djqxObj
?.
djqxmc
djqxbm
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodecode
:
""
,
djqxmc
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodename
:
""
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
...
...
src/views/ywbl/ywsq/components/selecBdcql.vue
View file @
db6c6f2
...
...
@@ -14,7 +14,7 @@
placeholder=
"请选择权利类型"
>
<el-option
v-for=
"item in qllx
s
"
v-for=
"item in qllx
Data
"
:key=
"item.sxzdz"
:label=
"item.sxzdmc"
:value=
"item.sxzdz"
...
...
@@ -98,35 +98,32 @@ export default {
mixins
:
[
table
,
jump
],
props
:
{
isJump
:
{
type
:
Boolean
,
default
:
false
},
djywbm
:
{
type
:
String
,
default
:
""
},
djqxObj
:
{
type
:
Object
,
default
:
{}
},
bsmSqyw
:
{
type
:
String
,
default
:
""
},
sqywInfo
:
{
type
:
Object
,
default
:
()
=>
{}
},
},
data
()
{
return
{
queryForm
:
defaultParameters
.
defaultParameters
(),
qllx
s
:
[],
qllx
Data
:
[],
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
(),
data
:
[],
},
bdcdysz
:
[],
bsmSqyw
:
""
,
bsmSqyw
:
this
.
sqywInfo
.
nodetype
===
"djlx"
?
this
.
sqywInfo
.
bsmSqyw
:
this
.
sqywInfo
.
parentid
,
};
},
mounted
()
{
sendThis
(
this
);
},
created
()
{
if
(
this
.
djqxObj
.
nodetype
===
"djlx"
)
{
this
.
bsmSqyw
=
this
.
djqxObj
.
bsmSqyw
;
}
else
{
this
.
bsmSqyw
=
this
.
djqxObj
.
parentid
;
}
//初始化权利类型下拉框内容
getQllxByBsmSqyw
(
this
.
bsmSqyw
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
qllxs
=
res
.
result
?
res
.
result
:
[];
this
.
qllxData
=
res
.
result
?
res
.
result
:
[];
}
});
},
...
...
@@ -139,13 +136,9 @@ export default {
closeDialog
()
{
this
.
$emit
(
"closeDialog"
);
},
//默认加载表格信息
fetchData
()
{
//this.queryForm.bsmSqyw = this.bsmSqyw;
if
(
this
.
djqxObj
.
nodetype
===
"djlx"
)
{
this
.
queryForm
.
bsmSqyw
=
this
.
djqxObj
.
bsmSqyw
;
}
else
{
this
.
queryForm
.
bsmSqyw
=
this
.
djqxObj
.
parentid
;
}
this
.
queryForm
.
bsmSqyw
=
this
.
bsmSqyw
;
selectQlxx
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
let
{
total
,
records
}
=
res
.
result
;
...
...
@@ -156,14 +149,14 @@ export default {
},
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$
message
.
error
(
"请至少选择一条数据"
);
this
.
$
alert
(
"请至少选择一条数据"
);
return
;
}
startBusinessFlow
({
bsmSqyw
:
this
.
bsmSqyw
,
bdcdysz
:
this
.
bdcdysz
,
djqxbm
:
this
.
djqxObj
?.
djqxbm
,
djqxmc
:
this
.
djqxObj
?.
djqxmc
,
djqxbm
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodecode
:
""
,
djqxmc
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodename
:
""
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
...
...
@@ -177,7 +170,7 @@ export default {
this
.
$emit
(
"updateDialog"
,
true
);
}
}
else
{
this
.
$
message
.
error
(
res
.
message
);
this
.
$
alert
(
res
.
message
);
}
});
},
...
...
src/views/ywbl/ywsq/components/selectFwsyq.vue
View file @
db6c6f2
...
...
@@ -4,26 +4,19 @@
<!-- 表单部分 -->
<div
class=
"from-clues-header"
>
<el-form
:model=
"queryForm"
ref=
"queryForm"
label-width=
"100px"
>
<el-row>
<el-col
:span=
"
5
"
>
<el-form-item
label=
"
权利类型
"
>
<el-
selec
t
v-model=
"queryForm.qllx
"
filterable
<el-row>
<el-col
:span=
"
8
"
>
<el-form-item
label=
"
不动产权证号
"
>
<el-
inpu
t
placeholder=
"请输入不动产权证号
"
v-model=
"queryForm.bdcqzh"
clearable
placeholder=
"请选择权利类型
"
class=
"width200px
"
>
<el-option
v-for=
"item in qllxs"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</el-input>
</el-form-item>
</el-col>
<el-col
:span=
"6
"
>
<el-col
:span=
"8
"
>
<el-form-item
label=
"不动产单元号"
>
<el-input
placeholder=
"请输入不动产单元号"
...
...
@@ -34,11 +27,11 @@
</el-input>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"
不动产权证号
"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"
坐落
"
>
<el-input
placeholder=
"
请输入不动产权证号
"
v-model=
"queryForm.
bdcqzh
"
placeholder=
""
v-model=
"queryForm.
zl
"
clearable
class=
"width200px"
>
...
...
@@ -86,17 +79,11 @@ export default {
mixins
:
[
table
,
jump
],
props
:
{
isJump
:
{
type
:
Boolean
,
default
:
false
},
djywbm
:
{
type
:
String
,
default
:
""
},
djqxObj
:
{
type
:
Object
,
default
:
{},
},
bsmSqyw
:
{
type
:
String
,
default
:
""
},
sqywInfo
:
{
type
:
Object
,
default
:
()
=>
{}
},
},
data
()
{
return
{
queryForm
:
defaultParameters
.
defaultParameters
(),
qllxs
:
[],
queryForm
:
defaultParameters
.
defaultParameters
(),
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
(),
...
...
@@ -117,13 +104,8 @@ export default {
closeDialog
()
{
this
.
$emit
(
"closeDialog"
);
},
fetchData
()
{
if
(
this
.
djqxObj
.
nodetype
===
"djlx"
){
this
.
queryForm
.
bsmSqyw
=
this
.
djqxObj
.
bsmSqyw
;
}
else
{
this
.
queryForm
.
bsmSqyw
=
this
.
djqxObj
.
parentid
;
}
console
.
log
(
this
.
queryForm
);
fetchData
()
{
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
selectFwsyq
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
let
{
total
,
records
}
=
res
.
result
;
...
...
@@ -140,8 +122,8 @@ export default {
startBusinessFlow
({
bsmSqyw
:
this
.
bsmSqyw
,
bdcdysz
:
this
.
bdcdysz
,
djqxbm
:
this
.
djqxObj
?.
djqxbm
,
djqxmc
:
this
.
djqxObj
?.
djqxmc
,
djqxbm
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodecode
:
""
,
djqxmc
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodename
:
""
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
...
...
src/views/ywbl/ywsq/components/selectJsydsyq.vue
View file @
db6c6f2
...
...
@@ -63,23 +63,17 @@ export default {
mixins
:
[
table
,
jump
],
props
:
{
isJump
:
{
type
:
Boolean
,
default
:
false
},
djywbm
:
{
type
:
String
,
default
:
''
},
djqxObj
:
{
type
:
Object
,
default
:
{}
},
bsmSqyw
:
{
type
:
String
,
default
:
''
},
sqywInfo
:
{
type
:
Object
,
default
:
()
=>
{}
},
},
data
()
{
return
{
queryForm
:
defaultParameters
.
defaultParameters
(),
qllxs
:
[],
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
(),
data
:
[],
},
bdcdysz
:
[]
bdcdysz
:
[]
,
};
},
mounted
()
{
...
...
@@ -95,7 +89,7 @@ export default {
this
.
$emit
(
"closeDialog"
);
},
fetchData
()
{
this
.
queryForm
.
sqywbm
=
this
.
djywbm
;
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
selectJsydQlxx
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
let
{
total
,
records
}
=
res
.
result
;
...
...
@@ -110,10 +104,11 @@ export default {
return
;
}
startBusinessFlow
({
bsmSqyw
:
this
.
bsmSqyw
,
bsmSqyw
:
this
.
sqywInfo
.
parentid
,
bdcdysz
:
this
.
bdcdysz
,
djqxbm
:
this
.
djqxObj
?.
djqxbm
,
djqxmc
:
this
.
djqxObj
?.
djqxmc
djqxbm
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodecode
:
""
,
djqxmc
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodename
:
""
,
}).
then
((
res
)
=>
{
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
...
...
src/views/ywbl/ywsq/components/selectQjzdjbxx.vue
View file @
db6c6f2
...
...
@@ -49,21 +49,21 @@ export default {
mixins
:
[
table
,
jump
],
props
:
{
isJump
:
{
type
:
Boolean
,
default
:
false
},
djywbm
:
{
type
:
String
,
default
:
''
},
djqxObj
:
{
type
:
Object
,
default
:
{}},
bsmSqyw
:
{
type
:
String
,
default
:
''
},
sqywInfo
:
{
type
:
Object
,
default
:
()
=>
{}
},
},
data
()
{
return
{
queryForm
:
defaultParameters
.
defaultParameters
(),
qllxs
:
[],
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
(),
data
:
[],
},
bdcdysz
:
[]
bdcdysz
:
[],
bsmSqyw
:
this
.
sqywInfo
.
nodetype
===
"djlx"
?
this
.
sqywInfo
.
bsmSqyw
:
this
.
sqywInfo
.
parentid
,
};
},
mounted
()
{
...
...
@@ -82,7 +82,7 @@ export default {
this
.
fetchData
()
},
fetchData
()
{
this
.
queryForm
.
sqywbm
=
this
.
djywbm
;
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
selectZdjbxx
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
let
{
total
,
records
}
=
res
.
result
;
...
...
@@ -93,14 +93,14 @@ export default {
},
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$
message
.
error
(
"请至少选择一条数据"
);
this
.
$
alert
(
"请至少选择一条数据"
);
return
;
}
startBusinessFlow
({
bsmSqyw
:
this
.
bsmSqyw
,
bdcdysz
:
this
.
bdcdysz
,
djqxbm
:
this
.
djqxObj
?.
djqxbm
,
djqxmc
:
this
.
djqxObj
?.
djqxmc
djqxbm
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodecode
:
""
,
djqxmc
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodename
:
""
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
...
...
@@ -114,7 +114,7 @@ export default {
this
.
$emit
(
'updateDialog'
,
true
)
}
}
else
{
this
.
$
message
.
error
(
res
.
message
);
this
.
$
alert
(
res
.
message
);
}
})
},
...
...
src/views/ywbl/ywsq/guidePage.vue
View file @
db6c6f2
...
...
@@ -17,11 +17,12 @@
<div
v-if=
"selectType=='collect'"
class=
"right-situation"
>
<div
class=
"right-title"
>
常办业务列表
</div>
<ul>
<li
class=
"cactive"
v-for=
"(item, index) in collectList"
:key=
"index"
@
dblclick=
"dblclick(item)"
@
click=
"selectSqywClick(item)"
>
<p>
{{
item
.
djywmc
}}
<br>
{{
item
.
nodename
}}
</p>
<li
:class=
"item.selected ? 'cactive' : ''"
v-for=
"(item, index) in collectList"
:key=
"index"
@
dblclick=
"dblclick(collectList,index)"
@
click=
"selectSqywClick(collectList,index)"
>
<p
v-if=
"item.nodetype=='djqx'"
>
{{
item
.
djywmc
}}
<br>
{{
item
.
nodename
}}
</p>
<dt
v-else
>
{{
item
.
djywmc
}}
</dt>
<p
class=
"active"
@
click
.
stop=
"handleCollection(item)"
>
<i
class=
"el-icon-star-off
active
"
></i>
<i
class=
"el-icon-star-off"
></i>
</p>
</li>
</ul>
...
...
@@ -31,59 +32,72 @@
<!-- 登记簿补录 -->
<div
v-if=
"selectType=='amend'"
>
登记簿补录
</div>
<!-- 业务申请 -->
<div
v-if=
"selectType=='apply'"
>
<div
v-if=
"selectType=='apply'"
>
<div
class=
"right-type el-card box-card is-always-shadow"
>
<div
class=
"right-title"
>
登记类型
</div>
<ul
class=
"type-content"
>
<li
:class=
"item.
cselect ? 'cactive' : ''"
@
dblclick=
"dblclick(item)"
@
click=
"selectSqywClick(item
)"
<li
:class=
"item.
selected ? 'cactive' : ''"
@
dblclick=
"item.sffqlc == 1 && dblclick(djlxList,index)"
@
click=
"selectSqywClick(djlxList,index
)"
v-for=
"(item, index) in djlxList"
:key=
"index"
>
<p>
{{
item
.
nodename
}}
</p>
<p
v-if=
"item.sffqlc == 1"
:class=
"item.userCollect == 1 ? 'active' : ''"
@
click
.
stop=
"handleCollection(item)"
>
<i
class=
"el-icon-star-off"
:class=
"item.userCollect == 1 ? 'active' : ''"
></i>
<i
class=
"el-icon-star-off"
></i>
</p>
</li>
</ul>
</div>
<div
class=
"right-situation el-card box-card is-always-shadow"
>
<div
class=
"right-title"
>
登记情形
</div>
<ul>
<li
:class=
"item.selected ? 'cactive' : ''"
v-for=
"(item, index) in djqxList"
:key=
"index"
@
dblclick=
"dblclick(djqxList,index)"
@
click=
"selectSqywClick(djqxList,index)"
>
<dt>
{{
item
.
nodename
}}
</dt>
<p
:class=
"item.userCollect == 1 ? 'active' : ''"
@
click
.
stop=
"handleCollection(item)"
>
<i
class=
"el-icon-star-off"
></i>
</p>
</li>
</ul>
</div>
</div>
<div
class=
"submit-button"
>
<el-button
type=
"primary"
:disabled=
"btnDisabled"
@
click=
"dialogClick"
>
选择不动产
</el-button>
</div>
</div>
<selectDialog
v-model=
"isDialog"
v-bind=
"selectSqdjyw
"
/>
<selectDialog
v-model=
"isDialog"
:sqywInfo=
"selectParam
"
/>
</div>
</
template
>
<
script
>
import
selectDialog
from
"./slectBdc.vue"
import
selectDialog
from
"./s
e
lectBdc.vue"
import
{
getCollectBiz
,
getleftMenu
,
getNextNode
,
addCollectBiz
,
deleteCollectBiz
}
from
"@/api/ywbl"
export
default
{
data
()
{
return
{
//申请业务类型集合
sqywlxList
:
[
{
name
:
"常办业务"
,
type
:
"collect"
},
{
name
:
"一并申请"
,
type
:
"together"
},
{
name
:
"登记簿补录"
,
type
:
"amend"
}
],
//类型默认选择常办业务
selectType
:
"collect"
,
//堆叠框选中第一个
activeNames
:
[
'1'
],
collectList
:[],
//收藏业务集合
collectList
:[],
//申请权利类型集合
sqywQllxList
:[],
//登记类型集合
djlxList
:
[],
//申请权利类型集合
djqxList
:
[],
selectSqdjyw
:{},
itemList
:
[],
ywList
:
[],
obj
:
{
'0'
:
'常办业务列表'
,
'-1'
:
'登记情形'
},
//选中业务的参数
selectParam
:{},
//弹框框架显示或隐藏
isDialog
:
false
,
//选择按钮显示或隐藏
btnDisabled
:
true
,
djywbm
:
''
,
djqxObj
:
{},
bsmSqyw
:
''
}
},
components
:
{
...
...
@@ -96,7 +110,10 @@ export default {
getDataList
()
{
//获取收藏信息集合
getCollectBiz
().
then
(
res
=>
{
this
.
collectList
=
res
.
result
this
.
collectList
=
res
.
result
;
this
.
collectList
.
forEach
(
item
=>
{
this
.
$set
(
item
,
'selected'
,
false
);
});
});
//获取申请权利信息集合
getleftMenu
().
then
(
res
=>
{
...
...
@@ -105,6 +122,7 @@ export default {
},
//申请业务类型菜单事件
sqywlxClick
(
item
)
{
this
.
btnDisabled
=
true
;
this
.
selectType
=
item
.
type
;
this
.
sqywQllxList
.
forEach
(
item
=>
{
if
(
item
.
check
)
item
.
check
=
false
;
...
...
@@ -112,6 +130,7 @@ export default {
},
//权利类型菜单事件
qllxClick
(
index
)
{
this
.
btnDisabled
=
true
;
this
.
sqywQllxList
.
forEach
(
item
=>
{
if
(
item
.
check
)
item
.
check
=
false
;
})
...
...
@@ -122,46 +141,46 @@ export default {
this
.
getNextNode
(
this
.
sqywQllxList
[
index
].
bsmSqyw
);
},
//选择申请业务事件
selectSqywClick
(
item
){
if
(
item
.
sffqlc
==
"1"
){
this
.
selectSqdjyw
=
item
;
selectSqywClick
(
data
,
index
){
data
.
forEach
(
item
=>
{
item
.
selected
=
false
;
});
data
[
index
].
selected
=
true
;
if
(
data
[
index
].
sffqlc
==
"1"
){
this
.
selectParam
=
data
[
index
];
this
.
btnDisabled
=
false
;
}
else
{
this
.
getNextNode
(
item
.
bsmSqyw
);
this
.
btnDisabled
=
true
;
this
.
getNextNode
(
data
[
index
].
bsmSqyw
);
}
},
//获取下个节点类型数据
getNextNode
(
bsmSqyw
)
{
getNextNode
(
bsmSqyw
).
then
(
res
=>
{
if
(
res
.
result
.
djqx
)
this
.
djqxList
=
res
.
result
.
djqx
;
if
(
res
.
result
.
djlx
)
this
.
djlxList
=
res
.
result
.
djlx
;
if
(
res
.
result
.
djqx
){
this
.
djqxList
=
res
.
result
.
djqx
;
this
.
djqxList
.
forEach
(
item
=>
{
this
.
$set
(
item
,
'selected'
,
false
);
});
}
if
(
res
.
result
.
djlx
){
this
.
djlxList
=
res
.
result
.
djlx
;
this
.
djlxList
.
forEach
(
item
=>
{
this
.
$set
(
item
,
'selected'
,
false
);
});
}
})
},
//双击事件
dblclick
(
item
){
this
.
selectSqdjyw
=
item
;
this
.
btnDisabled
=
false
;
dblclick
(
data
,
index
){
this
.
selectSqywClick
(
data
,
index
);
this
.
dialogClick
();
},
//打开弹框内容
dialogClick
(){
this
.
isDialog
=
true
;
},
// 业务-登记情形选择
SelectDjqx
(
item
,
list
)
{
list
.
forEach
(
item
=>
{
this
.
$set
(
item
,
'cselect'
,
false
)
})
item
.
cselect
=
true
;
this
.
djqxObj
=
item
;
if
(
item
.
sffqlc
==
'1'
)
{
this
.
btnDisabled
=
false
this
.
bsmSqyw
=
item
.
bsmSqyw
this
.
djywbm
=
item
.
djywbm
}
},
//收藏操作
handleCollection
(
item
)
{
let
that
=
this
if
(
item
.
userCollect
==
'2'
)
{
...
...
@@ -191,11 +210,6 @@ export default {
that
.
getDataList
()
}
})
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'已取消收藏'
})
})
}
},
...
...
src/views/ywbl/ywsq/selectBdc.vue
0 → 100644
View file @
db6c6f2
<
template
>
<dialogBox
:title=
"title"
width=
"85%"
@
closeDialog=
"closeDialog"
v-model=
"value"
:isButton=
"false"
>
<component
:is=
"router"
:sqywInfo=
"sqywInfo"
@
closeDialog=
"closeDialog"
@
updateDialog=
"updateDialog"
/>
</dialogBox>
</
template
>
<
script
>
import
{
queueDjywmc
}
from
"./slectBdcdata.js"
;
export
default
{
props
:
{
value
:
{
type
:
Boolean
,
default
:
true
},
sqywInfo
:
{
type
:
Object
,
default
:
()
=>
{}
},
},
data
()
{
return
{
title
:
""
,
router
:
""
,
};
},
watch
:
{
value
(
val
)
{
if
(
val
)
{
this
.
title
=
"申请业务:"
+
this
.
sqywInfo
.
djywmc
;
let
view
=
queueDjywmc
(
this
.
sqywInfo
.
djywbm
);
this
.
router
=
this
.
loadView
(
view
);
}
},
},
methods
:
{
loadView
(
view
)
{
return
(
r
)
=>
require
.
ensure
([],
()
=>
r
(
require
(
`./components/
${
view
}
.vue`
)));
},
closeDialog
()
{
this
.
$emit
(
"input"
,
false
);
},
updateDialog
()
{
this
.
$emit
(
"input"
,
false
);
this
.
$emit
(
"updateDialog"
,
true
);
},
},
};
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/public.scss"
;
/
deep
/
.submit_button
{
text-align
:
center
;
padding
:
10px
;
margin
:
10px
;
}
</
style
>
src/views/ywbl/ywsq/slectBdcdata.js
View file @
db6c6f2
...
...
@@ -39,14 +39,6 @@ export function queueDjywmc(djywbm) {
case
"A09400"
:
vm
=
"nydsyq200"
;
break
;
case
"A05200"
:
case
"A05300"
:
case
"A05400"
:
case
"A07200"
:
case
"A07300"
:
case
"A07400"
:
vm
=
"jsydsyq200"
;
break
;
case
"A37200"
:
//抵押权转移
case
"A37300"
:
//抵押权变更
case
"A37400"
:
//抵押权注销
...
...
@@ -58,6 +50,7 @@ export function queueDjywmc(djywbm) {
break
;
default
:
vm
=
"selecBdcql"
;
break
;
}
return
vm
;
}
...
...
Please
register
or
sign in
to post a comment