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
8721ac47
authored
2023-08-17 08:45:14 +0800
by
tianhaohao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev' of
http://yun.pashanhoo.com:9090/bdc/bdcdj-web
into dev
2 parents
ee7dbcdc
8ee2dbc5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
270 additions
and
269 deletions
src/views/workflow/components/dialog/addQlr.vue
src/views/workflow/components/dialog/zsyl.vue
src/views/workflow/components/qlrCommonTable.vue
src/views/ywbl/slsqxx/fdcq2/slxxOverview.vue
src/views/ywbl/slsqxx/ygdj/slxx.vue
src/views/workflow/components/dialog/addQlr.vue
View file @
8721ac4
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-
04 13:29:47
* @LastEditTime: 2023-08-
16 16:45:42
-->
<
template
>
<dialogBox
title=
"申请人信息"
width=
"60%"
isMain
v-model=
"myValue"
:isFullscreen=
"false"
@
submitForm=
"submitForm"
...
...
@@ -10,7 +10,7 @@
<el-row>
<el-col
:span=
"8"
>
<el-form-item
label=
"权利人类型"
prop=
"sqrlx"
>
<el-select
clearable
v-model=
"ruleForm.sqrlx"
class=
"width100"
placeholder=
"请选择"
>
<el-select
clearable
v-model=
"ruleForm.sqrlx"
class=
"width100"
:disabled=
"!showButton"
placeholder=
"请选择"
>
<el-option
v-for=
"item in dictData['A36']"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
>
</el-option>
</el-select>
...
...
@@ -18,12 +18,12 @@
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"姓名/名称"
prop=
"sqrmc"
>
<el-input
v-model=
"ruleForm.sqrmc"
maxlegth=
"15"
></el-input>
<el-input
v-model=
"ruleForm.sqrmc"
maxlegth=
"15"
:disabled=
"!showButton"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"证件种类"
prop=
"zjzl"
>
<el-select
clearable
v-model=
"ruleForm.zjzl"
class=
"width100"
placeholder=
"请选择"
>
<el-select
clearable
v-model=
"ruleForm.zjzl"
:disabled=
"!showButton"
class=
"width100"
placeholder=
"请选择"
>
<el-option
v-for=
"item in dictData['A30']"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
>
</el-option>
</el-select>
...
...
@@ -33,17 +33,17 @@
<el-row>
<el-col
:span=
"8"
>
<el-form-item
label=
"证件号"
prop=
"zjh"
>
<el-input
v-model=
"ruleForm.zjh"
maxlength=
"15"
oninput=
"this.value=this.value.replace(/[^\X0-9]/g,'')"
></el-input>
<el-input
v-model=
"ruleForm.zjh"
:disabled=
"!showButton"
maxlength=
"15"
oninput=
"this.value=this.value.replace(/[^\X0-9]/g,'')"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"联系电话"
prop=
"dh"
>
<el-input
v-model=
"ruleForm.dh"
maxlength=
"11"
oninput=
"value=value.replace(/[^\d]/g,'')"
></el-input>
<el-input
v-model=
"ruleForm.dh"
:disabled=
"!showButton"
maxlength=
"11"
oninput=
"value=value.replace(/[^\d]/g,'')"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"份数"
prop=
"fs"
>
<el-input
v-model=
"ruleForm.fs"
maxlength=
"8"
oninput=
"value=value.replace(/[^\d]/g,'')"
></el-input>
<el-input
v-model=
"ruleForm.fs"
:disabled=
"!showButton"
maxlength=
"8"
oninput=
"value=value.replace(/[^\d]/g,'')"
></el-input>
</el-form-item>
</el-col>
...
...
@@ -51,17 +51,17 @@
<el-row>
<el-col
:span=
"8"
>
<el-form-item
label=
"法人名称"
prop=
"frmc"
>
<el-input
v-model=
"ruleForm.frmc"
></el-input>
<el-input
v-model=
"ruleForm.frmc"
:disabled=
"!showButton"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"国家/地区"
prop=
"gj"
>
<el-input
v-model=
"ruleForm.gj"
></el-input>
<el-input
v-model=
"ruleForm.gj"
:disabled=
"!showButton"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"户籍所在省市"
prop=
"hjszss"
>
<el-input
v-model=
"ruleForm.hjszss"
></el-input>
<el-input
v-model=
"ruleForm.hjszss"
:disabled=
"!showButton"
></el-input>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -69,12 +69,12 @@
<el-row>
<el-col
:span=
"16"
>
<el-form-item
label=
"地址"
prop=
"txdz"
>
<el-input
v-model=
"ruleForm.txdz"
></el-input>
<el-input
v-model=
"ruleForm.txdz"
:disabled=
"!showButton"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"邮编"
prop=
"yb"
>
<el-input
v-model=
"ruleForm.yb"
></el-input>
<el-input
v-model=
"ruleForm.yb"
:disabled=
"!showButton"
></el-input>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -82,17 +82,17 @@
<el-row>
<el-col
:span=
"8"
>
<el-form-item
label=
"发证机关"
prop=
"fzjg"
>
<el-input
v-model=
"ruleForm.fzjg"
></el-input>
<el-input
v-model=
"ruleForm.fzjg"
:disabled=
"!showButton"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"电子邮件"
prop=
"dzyj"
>
<el-input
v-model=
"ruleForm.dzyj"
></el-input>
<el-input
v-model=
"ruleForm.dzyj"
:disabled=
"!showButton"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"权利比例"
prop=
"qlbl"
>
<el-input
v-model=
"ruleForm.qlbl"
></el-input>
<el-input
v-model=
"ruleForm.qlbl"
:disabled=
"!showButton"
></el-input>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -100,12 +100,12 @@
<el-row>
<el-col
:span=
"8"
>
<el-form-item
label=
"工作单位"
prop=
"gzdw"
>
<el-input
v-model=
"ruleForm.gzdw"
></el-input>
<el-input
v-model=
"ruleForm.gzdw"
:disabled=
"!showButton"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"16"
>
<el-form-item
label=
"代理机构"
prop=
"dlrjg"
>
<el-input
v-model=
"ruleForm.dlrjg"
></el-input>
<el-input
v-model=
"ruleForm.dlrjg"
:disabled=
"!showButton"
></el-input>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -113,17 +113,17 @@
<el-row>
<el-col
:span=
"8"
>
<el-form-item
label=
"联系电话"
prop=
"dlrdh"
>
<el-input
v-model=
"ruleForm.dlrdh"
maxlength=
"11"
oninput=
"value=value.replace(/[^\d]/g,'')"
></el-input>
<el-input
v-model=
"ruleForm.dlrdh"
:disabled=
"!showButton"
maxlength=
"11"
oninput=
"value=value.replace(/[^\d]/g,'')"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"代理人姓名"
prop=
"dlrmc"
>
<el-input
v-model=
"ruleForm.dlrmc"
></el-input>
<el-input
v-model=
"ruleForm.dlrmc"
:disabled=
"!showButton"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"代理人证件类型"
prop=
"dlrzjlx"
>
<el-select
clearable
v-model=
"ruleForm.dlrzjlx"
class=
"width100"
placeholder=
"请选择"
>
<el-select
clearable
v-model=
"ruleForm.dlrzjlx"
:disabled=
"!showButton"
class=
"width100"
placeholder=
"请选择"
>
<el-option
v-for=
"item in dictData['A30']"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
>
</el-option>
</el-select>
...
...
@@ -133,7 +133,7 @@
<el-row>
<el-col
:span=
"8"
>
<el-form-item
label=
"性别"
prop=
"xb"
>
<el-select
clearable
v-model=
"ruleForm.xb"
class=
"width100"
placeholder=
"请选择"
>
<el-select
clearable
v-model=
"ruleForm.xb"
:disabled=
"!showButton"
class=
"width100"
placeholder=
"请选择"
>
<el-option
v-for=
"item in dictData['A43']"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
>
</el-option>
</el-select>
...
...
@@ -141,7 +141,7 @@
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"代理人证件号"
prop=
"dlrzjh"
>
<el-input
v-model=
"ruleForm.dlrzjh"
maxlength=
"20"
></el-input>
<el-input
v-model=
"ruleForm.dlrzjh"
:disabled=
"!showButton"
maxlength=
"20"
></el-input>
</el-form-item>
</el-col>
</el-row>
...
...
src/views/workflow/components/dialog/zsyl.vue
View file @
8721ac4
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-16 1
1:22:21
* @LastEditTime: 2023-08-16 1
7:02:36
-->
<
template
>
<div
class=
"from-clues loadingtext"
v-Loading=
"loading"
element-loading-text=
"拼命加载中..."
style=
"height:720px;text-align: center;"
>
...
...
@@ -30,6 +30,7 @@
},
data
()
{
return
{
key
:
0
,
noData
:
false
,
imgSrc
:
require
(
'@/image/bdcqz/bdcqzs2.jpg'
),
bdczmSrc
:
require
(
'@/image/bdcqz/bdczm.jpg'
),
...
...
@@ -133,9 +134,9 @@
context
.
fillText
(
this
.
bdcqz
.
qlr
?
this
.
bdcqz
.
qlr
:
''
,
129
,
97
);
context
.
fillText
(
this
.
bdcqz
.
gyqk
?
this
.
bdcqz
.
gyqk
:
''
,
129
,
136
);
this
.
bdc
qz
.
bdc
dyh
=
this
.
bdcqz
.
bdcdyh
.
slice
(
0
,
6
)
+
' '
+
this
.
bdcqz
.
bdcdyh
.
slice
(
6
,
12
)
+
' '
+
this
.
bdcdyh
=
this
.
bdcqz
.
bdcdyh
.
slice
(
0
,
6
)
+
' '
+
this
.
bdcqz
.
bdcdyh
.
slice
(
6
,
12
)
+
' '
+
this
.
bdcqz
.
bdcdyh
.
slice
(
12
,
19
)
+
' '
+
this
.
bdcqz
.
bdcdyh
.
slice
(
19
,
this
.
bdcqz
.
bdcdyh
.
length
)
context
.
fillText
(
this
.
bdc
qz
.
bdcdyh
?
this
.
bdcqz
.
bdcdyh
:
''
,
129
,
223
);
context
.
fillText
(
this
.
bdc
dyh
?
this
.
bdcdyh
:
''
,
129
,
223
);
...
...
src/views/workflow/components/qlrCommonTable.vue
View file @
8721ac4
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-16 16:
29:35
* @LastEditTime: 2023-08-16 16:
44:04
-->
<
template
>
<div>
...
...
@@ -51,7 +51,7 @@
width
:
'50'
,
renderHeader
:
(
h
,
scope
)
=>
{
return
<
div
>
{
this
.
disabled
?
'序号'
:
<
i
class
=
"el-icon-plus pointer"
onClick
=
{()
=>
{
this
.
addClick
()
}}
><
/i
>
!
this
.
disabled
?
'序号'
:
<
i
class
=
"el-icon-plus pointer"
onClick
=
{()
=>
{
this
.
addClick
()
}}
><
/i
>
}
<
/div
>
},
...
...
@@ -59,7 +59,7 @@
return
(
<
div
>
{
this
.
disabled
?
<
span
>
{
scope
.
$index
+
1
}
<
/span>
:
!
this
.
disabled
?
<
span
>
{
scope
.
$index
+
1
}
<
/span>
:
<
i
class
=
"el-icon-minus pointer"
onClick
=
{()
=>
{
this
.
deleClick
(
scope
.
$index
,
scope
.
row
)
}}
><
/i
>
}
<
/div
>
...
...
@@ -211,7 +211,6 @@
});
},
// 身份证读取
/**
* @description: 身份证读取
* @param {*} row
...
...
src/views/ywbl/slsqxx/fdcq2/slxxOverview.vue
View file @
8721ac4
<!--
* @Description: 受理信息
* @Autor: renchao
* @LastEditTime: 2023-08-1
4 12:58:35
* @LastEditTime: 2023-08-1
6 16:36:31
-->
<
template
>
<div
class=
"slxx"
>
...
...
@@ -11,8 +11,7 @@
ref=
"ruleForm"
:label-position=
"flag ? 'top' : ''"
:inline=
"flag"
label-width=
"130px"
>
label-width=
"130px"
>
<div
class=
"slxx_con"
:class=
"flag ? 'formMarginBot0' : ''"
>
<div
class=
"slxx_title title-block"
>
受理信息
...
...
@@ -66,8 +65,7 @@
v-for=
"item in dictData['A7']"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
></el-option>
:value=
"item.dcode"
></el-option>
</el-select>
</div>
</el-form-item>
...
...
@@ -124,7 +122,7 @@
</el-form-item>
</el-col>
<el-col
:span=
"5"
>
<el-form-item
label=
"发证方式:"
>
<el-form-item
label=
"发证方式:"
:disabled=
"!viewEdit"
>
<el-radio-group
v-model=
"ruleForm.slsq.fzfs"
>
<el-radio
label=
"1"
>
小证
</el-radio>
<el-radio
label=
"2"
>
大证
</el-radio>
...
...
@@ -140,10 +138,9 @@
<el-col
:span=
"12"
v-if=
"ruleForm.sldyList.length>0"
>
<el-form-item
label=
"共有方式:"
>
<el-radio-group
:disabled=
"!
ableOperation
"
:disabled=
"!
viewEdit
"
@
change=
"showCZInfo"
v-model=
"ruleForm.sldyList[0].gyfs"
>
v-model=
"ruleForm.sldyList[0].gyfs"
>
<el-radio
label=
"0"
>
单独所有
</el-radio>
<el-radio
label=
"1"
>
共同共有
</el-radio>
<el-radio
label=
"2"
>
按份所有
</el-radio>
...
...
@@ -154,7 +151,9 @@
<el-col
:span=
"6"
v-if=
"ruleForm.sldyList[0].gyfs!=0"
>
<el-form-item
label=
"是否分别持证:"
>
<el-radio-group
v-model=
"ruleForm.sldyList[0].sqfbcz"
:disabled=
"!ableOperation"
>
<el-radio-group
v-model=
"ruleForm.sldyList[0].sqfbcz"
:disabled=
"!viewEdit"
>
<el-radio
:label=
"1"
>
是
</el-radio>
<el-radio
:label=
"0"
>
否
</el-radio>
</el-radio-group>
...
...
@@ -162,22 +161,24 @@
</el-col>
<el-col
:span=
"6"
v-if=
"ruleForm.sldyList[0].gyfs!=0"
>
<el-form-item
label=
"持证人:"
>
<el-select
v-model=
"ruleForm.czr"
placeholder=
"持证人"
:disabled=
"!ableOperation"
>
<el-select
v-model=
"ruleForm.czr"
placeholder=
"持证人"
:disabled=
"!viewEdit"
>
<el-option
v-for=
"item in czrOptions"
:key=
"item.zjh"
:label=
"item.sqrmc"
:value=
"item.zjh"
></el-option>
:value=
"item.zjh"
></el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
<qlrCommonTable
:disabled=
"viewEdit"
@
upDateQlrxxList=
"upDateQlrxxList"
:tableData=
"ruleForm.qlrList"
:gyfs=
"ruleForm.sldyList[0].gyfs"
/>
:gyfs=
"ruleForm.sldyList[0].gyfs"
/>
<div
class=
"slxx_title title-block"
>
登记原因
<div
class=
"triangle"
></div>
...
...
@@ -190,14 +191,14 @@
type=
"textarea"
maxlength=
"500"
show-word-limit
:disabled=
"!
ableOperation
"
v-model=
"ruleForm.fdcq2List[0].djyy"
>
</el-input>
:disabled=
"!
viewEdit
"
v-model=
"ruleForm.fdcq2List[0].djyy"
>
</el-input>
</el-form-item>
</el-col>
</el-row>
</div>
<el-row
class=
"btn"
v-if=
"
ableOperation
"
>
<el-row
class=
"btn"
v-if=
"
viewEdit
"
>
<el-form-item>
<el-button
type=
"primary"
@
click=
"onSubmit"
>
保存
</el-button>
</el-form-item>
...
...
@@ -206,253 +207,253 @@
</div>
</
template
>
<
script
>
import
ywmix
from
"@/views/ywbl/mixin/index"
;
import
qlrCommonTable
from
"@/views/workflow/components/qlrCommonTable"
;
import
{
BatchInit
,
Init
,
saveBatchData
,
saveData
,
}
from
"@/api/workflow/fwsyqFlow.js"
;
import
{
mapGetters
}
from
"vuex"
;
export
default
{
mixins
:
[
ywmix
],
computed
:
{
...
mapGetters
([
"dictData"
,
"flag"
]),
},
components
:
{
qlrCommonTable
},
// 更新义务人信息
/**
* @description: 更新义务人信息
* @param {*} val
* @author: renchao
*/
upDateYwrxxList
(
val
)
{
this
.
ruleForm
.
ywrList
=
_
.
cloneDeep
(
val
);
},
data
()
{
return
{
disabled
:
true
,
tdytOption
:
[],
ruleForm
:
{
cfdjList
:
[],
//查封登记
diyaqList
:
[],
//抵押权
fdcq2List
:
[],
//房屋信息集合
qlrList
:
[],
//权利人
ywrList
:
[],
//义务人
qlxxList
:
[],
//权利信息集合
sldyList
:
[],
//受理不动产单元集合
slsq
:
{},
//受理申请流程明细
flow
:
{},
//受理申请流程明细
sqrList
:
[],
//申请人
ssQlxxList
:
[],
//上手权利信息
user
:
{},
//用户
zdjbxx
:
{},
//宗地基本信息
},
czrOptions
:
[],
//传递参数
propsParam
:
this
.
$attrs
,
//表单是否可操作
ableOperation
:
true
,
rules
:
{},
gyfs
:
""
,
bsmSlsq
:
this
.
$route
.
query
.
bsmSlsq
,
//受理申请标识码
splicingFdcq2
:
{
//前端根据后台数组组装展示内容
tdxz
:
""
,
//土地性质
fwxz
:
""
,
//房屋性质
fwjg
:
""
,
//房屋结构
jzmj
:
""
,
//建筑面积
zts
:
""
,
//房屋总套数
},
};
},
mounted
(
callbackfn
,
thisArg
)
{
this
.
ableOperation
=
this
.
$parent
.
currentSelectTab
.
ableOperation
;
this
.
propsParam
=
this
.
$attrs
;
var
formdata
=
new
FormData
();
formdata
.
append
(
"bsmSldy"
,
this
.
propsParam
.
bsmSldy
);
formdata
.
append
(
"djlx"
,
this
.
propsParam
.
djlx
);
formdata
.
append
(
"bsmSlsq"
,
this
.
bsmSlsq
);
formdata
.
append
(
"isEdit"
,
this
.
ableOperation
);
BatchInit
(
formdata
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
ruleForm
=
res
.
result
;
this
.
czrOptions
=
this
.
ruleForm
.
qlrList
;
this
.
gyfs
=
this
.
ruleForm
.
sldyList
[
0
].
gyfs
;
this
.
splicingFdcq2Info
();
}
});
},
methods
:
{
//组装房地产权通用信息
/**
* @description: 组装房地产权通用信息
* @author: renchao
*/
splicingFdcq2Info
()
{
let
fdcq2List
=
this
.
ruleForm
.
fdcq2List
;
let
fwxzArr
=
[];
let
fwjgArr
=
[];
let
jzmj
=
0
;
fdcq2List
.
forEach
((
fdcq2
)
=>
{
fwxzArr
.
push
(
fdcq2
.
fwxzmc
);
fwjgArr
.
push
(
fdcq2
.
fwjgmc
);
jzmj
+=
parseFloat
(
fdcq2
.
jzmj
);
});
//将数据转为字符串
//房屋性质
let
fwxz
=
Array
.
from
(
new
Set
(
fwxzArr
)).
join
(
","
);
//房屋结构
let
fwjg
=
Array
.
from
(
new
Set
(
fwjgArr
)).
join
(
","
);
this
.
splicingFdcq2
.
fwxz
=
fwxz
;
this
.
splicingFdcq2
.
fwjg
=
fwjg
;
this
.
splicingFdcq2
.
jzmj
=
jzmj
==
null
?
0
:
jzmj
;
this
.
splicingFdcq2
.
zts
=
fdcq2List
.
length
;
},
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateQlrxxList
(
val
)
{
this
.
ruleForm
.
qlrList
=
_
.
cloneDeep
(
val
);
this
.
czrOptions
=
this
.
ruleForm
.
qlrList
;
},
/**
* @description: showCZInfo
* @author: renchao
*/
showCZInfo
()
{
// console.log(this.ruleForm.slsq.gyfs);
import
ywmix
from
"@/views/ywbl/mixin/index"
;
import
qlrCommonTable
from
"@/views/workflow/components/qlrCommonTable"
;
import
{
BatchInit
,
Init
,
saveBatchData
,
saveData
,
}
from
"@/api/workflow/fwsyqFlow.js"
;
import
{
mapGetters
}
from
"vuex"
;
export
default
{
mixins
:
[
ywmix
],
computed
:
{
...
mapGetters
([
"dictData"
,
"flag"
]),
},
components
:
{
qlrCommonTable
},
// 更新义务人信息
/**
* @description: 更新义务人信息
* @param {*} val
* @author: renchao
*/
upDateYwrxxList
(
val
)
{
upDateYwrxxList
(
val
)
{
this
.
ruleForm
.
ywrList
=
_
.
cloneDeep
(
val
);
},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit
()
{
if
(
this
.
ruleForm
.
sldyList
[
0
].
gyfs
==
"0"
)
{
if
(
this
.
ruleForm
.
qlrList
.
length
>
1
)
{
this
.
$message
({
showClose
:
true
,
message
:
"共有方式:单独所有,权利人只能是一个人"
,
type
:
"error"
,
});
return
false
;
}
}
else
{
if
(
this
.
ruleForm
.
qlrList
.
length
<=
1
)
{
this
.
$message
({
showClose
:
true
,
message
:
"共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上"
,
type
:
"error"
,
});
return
false
;
data
()
{
return
{
disabled
:
true
,
tdytOption
:
[],
ruleForm
:
{
cfdjList
:
[],
//查封登记
diyaqList
:
[],
//抵押权
fdcq2List
:
[],
//房屋信息集合
qlrList
:
[],
//权利人
ywrList
:
[],
//义务人
qlxxList
:
[],
//权利信息集合
sldyList
:
[],
//受理不动产单元集合
slsq
:
{},
//受理申请流程明细
flow
:
{},
//受理申请流程明细
sqrList
:
[],
//申请人
ssQlxxList
:
[],
//上手权利信息
user
:
{},
//用户
zdjbxx
:
{},
//宗地基本信息
},
czrOptions
:
[],
//传递参数
propsParam
:
this
.
$attrs
,
//表单是否可操作
viewEdit
:
true
,
rules
:
{},
gyfs
:
""
,
bsmSlsq
:
this
.
$route
.
query
.
bsmSlsq
,
//受理申请标识码
splicingFdcq2
:
{
//前端根据后台数组组装展示内容
tdxz
:
""
,
//土地性质
fwxz
:
""
,
//房屋性质
fwjg
:
""
,
//房屋结构
jzmj
:
""
,
//建筑面积
zts
:
""
,
//房屋总套数
},
};
},
mounted
(
callbackfn
,
thisArg
)
{
this
.
viewEdit
=
this
.
$parent
.
currentSelectTab
.
ableOperation
;
this
.
propsParam
=
this
.
$attrs
;
var
formdata
=
new
FormData
();
formdata
.
append
(
"bsmSldy"
,
this
.
propsParam
.
bsmSldy
);
formdata
.
append
(
"djlx"
,
this
.
propsParam
.
djlx
);
formdata
.
append
(
"bsmSlsq"
,
this
.
bsmSlsq
);
formdata
.
append
(
"isEdit"
,
this
.
viewEdit
);
BatchInit
(
formdata
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
ruleForm
=
res
.
result
;
this
.
czrOptions
=
this
.
ruleForm
.
qlrList
;
this
.
gyfs
=
this
.
ruleForm
.
sldyList
[
0
].
gyfs
;
this
.
splicingFdcq2Info
();
}
}
saveBatchData
(
this
.
ruleForm
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
"保存成功!"
,
type
:
"success"
,
});
this
.
$store
.
dispatch
(
"user/refreshPage"
,
true
);
});
},
methods
:
{
//组装房地产权通用信息
/**
* @description: 组装房地产权通用信息
* @author: renchao
*/
splicingFdcq2Info
()
{
let
fdcq2List
=
this
.
ruleForm
.
fdcq2List
;
let
fwxzArr
=
[];
let
fwjgArr
=
[];
let
jzmj
=
0
;
fdcq2List
.
forEach
((
fdcq2
)
=>
{
fwxzArr
.
push
(
fdcq2
.
fwxzmc
);
fwjgArr
.
push
(
fdcq2
.
fwjgmc
);
jzmj
+=
parseFloat
(
fdcq2
.
jzmj
);
});
//将数据转为字符串
//房屋性质
let
fwxz
=
Array
.
from
(
new
Set
(
fwxzArr
)).
join
(
","
);
//房屋结构
let
fwjg
=
Array
.
from
(
new
Set
(
fwjgArr
)).
join
(
","
);
this
.
splicingFdcq2
.
fwxz
=
fwxz
;
this
.
splicingFdcq2
.
fwjg
=
fwjg
;
this
.
splicingFdcq2
.
jzmj
=
jzmj
==
null
?
0
:
jzmj
;
this
.
splicingFdcq2
.
zts
=
fdcq2List
.
length
;
},
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateQlrxxList
(
val
)
{
this
.
ruleForm
.
qlrList
=
_
.
cloneDeep
(
val
);
this
.
czrOptions
=
this
.
ruleForm
.
qlrList
;
},
/**
* @description: showCZInfo
* @author: renchao
*/
showCZInfo
()
{
// console.log(this.ruleForm.slsq.gyfs);
},
// 更新义务人信息
/**
* @description: 更新义务人信息
* @param {*} val
* @author: renchao
*/
upDateYwrxxList
(
val
)
{
this
.
ruleForm
.
ywrList
=
_
.
cloneDeep
(
val
);
},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit
()
{
if
(
this
.
ruleForm
.
sldyList
[
0
].
gyfs
==
"0"
)
{
if
(
this
.
ruleForm
.
qlrList
.
length
>
1
)
{
this
.
$message
({
showClose
:
true
,
message
:
"共有方式:单独所有,权利人只能是一个人"
,
type
:
"error"
,
});
return
false
;
}
}
else
{
this
.
$message
({
showClose
:
true
,
message
:
res
.
message
,
type
:
"error"
,
});
if
(
this
.
ruleForm
.
qlrList
.
length
<=
1
)
{
this
.
$message
({
showClose
:
true
,
message
:
"共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上"
,
type
:
"error"
,
});
return
false
;
}
}
});
saveBatchData
(
this
.
ruleForm
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
"保存成功!"
,
type
:
"success"
,
});
this
.
$store
.
dispatch
(
"user/refreshPage"
,
true
);
}
else
{
this
.
$message
({
showClose
:
true
,
message
:
res
.
message
,
type
:
"error"
,
});
}
});
},
},
},
};
};
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/public.scss"
;
@import
"~@/styles/public.scss"
;
/
deep
/
.el-form
{
display
:
flex
;
flex-direction
:
column
;
height
:
calc
(
100vh
-
130px
);
}
/
deep
/
.el-form
{
display
:
flex
;
flex-direction
:
column
;
height
:
calc
(
100vh
-
130px
);
}
/
deep
/
.el-form-item__label
{
padding
:
0
;
}
/
deep
/
.el-form-item__label
{
padding
:
0
;
}
/
deep
/
.el-radio
{
margin-right
:
10px
;
}
/
deep
/
.el-radio
{
margin-right
:
10px
;
}
/
deep
/
.el-select
{
width
:
100%
;
}
/
deep
/
.el-select
{
width
:
100%
;
}
/
deep
/
.el-form-item
{
margin-bottom
:
8px
;
}
/
deep
/
.el-form-item
{
margin-bottom
:
8px
;
}
.marginBot0
{
margin-bottom
:
0
!important
;
}
.marginBot0
{
margin-bottom
:
0
!important
;
}
.slxx
{
box-sizing
:
border-box
;
}
.slxx
{
box-sizing
:
border-box
;
}
.slxx_con
{
flex
:
1
;
height
:
100%
;
background-color
:
#ffffff
;
overflow-y
:
auto
;
padding-right
:
3px
;
overflow-x
:
hidden
;
}
.slxx_con
{
flex
:
1
;
height
:
100%
;
background-color
:
#ffffff
;
overflow-y
:
auto
;
padding-right
:
3px
;
overflow-x
:
hidden
;
}
.submit_btn
{
height
:
50px
;
}
.submit_btn
{
height
:
50px
;
}
.slxx_title
{
border-bottom
:
1px
solid
$
borderColor
;
padding-left
:
10px
;
padding-bottom
:
5px
;
margin-bottom
:
10px
;
margin-top
:
5px
;
font-size
:
16px
;
font-weight
:
500
;
color
:
#4a4a4a
;
}
.slxx_title
{
border-bottom
:
1px
solid
$
borderColor
;
padding-left
:
10px
;
padding-bottom
:
5px
;
margin-bottom
:
10px
;
margin-top
:
5px
;
font-size
:
16px
;
font-weight
:
500
;
color
:
#4a4a4a
;
}
.btn
{
text-align
:
center
;
padding-top
:
10px
;
height
:
36px
;
background-color
:
#ffffff
;
padding
:
5px
0
;
}
.btn
{
text-align
:
center
;
padding-top
:
10px
;
height
:
36px
;
background-color
:
#ffffff
;
padding
:
5px
0
;
}
.textArea
{
/deep/.el-textarea__inner
{
min-height
:
90px
!important
;
.textArea
{
/deep/.el-textarea__inner
{
min-height
:
90px
!important
;
}
}
}
/
deep
/
.el-form-item__label
{
padding-bottom
:
0px
;
}
/
deep
/
.el-form-item__label
{
padding-bottom
:
0px
;
}
</
style
>
...
...
src/views/ywbl/slsqxx/ygdj/slxx.vue
View file @
8721ac4
...
...
@@ -175,7 +175,7 @@
<div
class=
"triangle"
></div>
</div>
<el-row
:gutter=
"10"
>
<el-col
:span=
"1
4
"
v-if=
"ruleForm.qlxx"
>
<el-col
:span=
"1
2
"
v-if=
"ruleForm.qlxx"
>
<el-form-item
label=
"共有方式:"
>
<el-radio-group
:disabled=
"!viewEdit"
v-model=
"ruleForm.sldy.gyfs"
>
<el-radio
label=
"0"
>
单独所有
</el-radio>
...
...
Please
register
or
sign in
to post a comment