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
80a1b77e
authored
2023-06-28 09:32:46 +0800
by
xiaomiao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
--no commit message
1 parent
20211fb4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
54 additions
and
36 deletions
src/views/djbworkflow/djbBook/components/blxxtabs/fdcq.vue
src/views/djbworkflow/djbBook/components/blxxtabs/fdcq.vue
View file @
80a1b77
...
...
@@ -22,7 +22,7 @@
</div>
<el-row
:gutter=
"10"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"补录编号:"
>
<el-form-item
label=
"补录编号
11
:"
>
<el-input
disabled
v-model=
"ruleForm.repair.ywh"
></el-input>
</el-form-item>
</el-col>
...
...
@@ -97,11 +97,12 @@
<el-input
v-model=
"ruleForm.fdcq2.fttdmj"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
v-if=
"ruleForm.tdytqxList[0]"
>
<el-col
:span=
"8"
>
<!-- 下拉框 -->
<el-form-item
label=
"土地性质:"
style=
"margin-bottom: 3px"
>
<treeselect
v-model=
"ruleForm.tdytqxList[0].qlxzbm"
v-model=
"tdxz"
noOptionsText=
"暂无数据"
placeholder=
""
:normalizer=
"normalizer"
:show-count=
"true"
...
...
@@ -272,7 +273,6 @@
<el-col
:span=
"12"
>
<el-form-item
label=
"共有方式:"
>
<el-radio-group
:disabled=
"$route.query.viewtype == 0"
v-model=
"ruleForm.qlxx.gyqk"
>
<el-radio
label=
"0"
>
单独所有
</el-radio>
...
...
@@ -282,15 +282,15 @@
</el-radio-group>
</el-form-item>
</el-col>
<el-col
:span=
"6"
v-show=
"ruleForm.qlxx.gyfs == '1'"
>
<
!--
<
el-col
:span=
"6"
v-show=
"ruleForm.qlxx.gyfs == '1'"
>
<el-form-item
label=
"是否分别持证:"
>
<el-radio-group
v-model=
"ruleForm.qlxx.sqfbcz"
>
<el-radio
:label=
"1"
>
是
</el-radio>
<el-radio
:label=
"0"
>
否
</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<el-col
</el-col>
-->
<
!--
<
el-col
:span=
"6"
v-show=
"ruleForm.qlxx.sqfbcz == '0' && ruleForm.qlxx.gyfs == '1'"
>
...
...
@@ -305,13 +305,12 @@
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-col>
-->
</el-row>
<qlrCommonTable
:tableData=
"ruleForm.qlrData"
@
upDateQlrxxList=
"upDateQlrxxList"
:key=
"key"
:viewtype=
"$route.query.viewtype"
:gyfs=
"ruleForm.qlxx.gyfs"
/>
...
...
@@ -325,11 +324,10 @@
:tableData=
"ruleForm.ywrList"
:key=
"key"
@
upDateQlrxxList=
"upDateYwrxxList"
:viewtype=
"$route.query.viewtype"
/>
</div>
</div>
<el-row
class=
"btn"
v-if=
"!$route.query.viewtype && ableOperation"
>
<el-row
class=
"btn"
>
<el-form-item>
<el-button
type=
"primary"
@
click=
"onSubmit"
>
保存
</el-button>
</el-form-item>
...
...
@@ -378,8 +376,8 @@ export default {
dname
:
"历史"
,
},
],
ableOperation
:
true
,
key
:
0
,
tdxz
:
null
,
isShow
:
false
,
disabled
:
true
,
czrOptions
:
[],
...
...
@@ -394,26 +392,26 @@ export default {
mounted
()
{},
methods
:
{
loadData
()
{
console
.
log
(
"房地产权"
,
this
.
propsParam
);
init
(
this
.
propsParam
.
bsmRepair
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
ruleForm
=
res
.
result
;
console
.
log
(
"this.ruleForm"
,
this
.
ruleForm
);
if
(
this
.
ruleForm
.
tdytqxList
.
length
>
0
){
this
.
tdxz
=
this
.
ruleForm
.
tdytqxList
[
0
].
qlxzbm
}
else
{
this
.
tdxz
=
null
}
this
.
isShow
=
true
;
}
});
},
// 更新土地用途信息
upDateTdytxxList
(
val
)
{
console
.
log
(
"VAL"
,
val
);
this
.
ruleForm
.
tdytqxList
&&
(
this
.
ruleForm
.
tdytqxList
=
_
.
cloneDeep
(
val
));
this
.
key
++
;
},
// 更新权利人信息
upDateQlrxxList
(
val
)
{
console
.
log
(
"val"
,
val
);
this
.
ruleForm
.
qlrData
&&
(
this
.
ruleForm
.
qlrData
=
_
.
cloneDeep
(
val
));
console
.
log
(
"this.ruleForm.qlrData"
,
this
.
ruleForm
.
qlrData
);
this
.
czrOptions
=
this
.
ruleForm
.
qlrData
;
this
.
key
++
;
},
...
...
@@ -423,7 +421,6 @@ export default {
this
.
key
++
;
},
onSubmit
()
{
console
.
log
(
"this.ruleForm大信息"
,
this
.
ruleForm
);
if
(
this
.
ruleForm
.
qlrData
.
length
==
0
)
{
this
.
$message
({
showClose
:
true
,
...
...
@@ -432,7 +429,28 @@ export default {
});
return
false
;
}
if
(
this
.
ruleForm
.
tdytqxList
.
length
==
0
&&!
this
.
tdxz
){
this
.
$message
({
showClose
:
true
,
message
:
"请补充土地用途信息"
,
type
:
"error"
,
});
return
false
;
}
if
(
!
this
.
tdxz
){
this
.
$message
({
showClose
:
true
,
message
:
"请补充土地性质"
,
type
:
"error"
,
});
return
false
;
}
this
.
ruleForm
.
tdytqxList
=
this
.
ruleForm
.
tdytqxList
.
map
((
item
)
=>
{
return
{
...
item
,
qlxzbm
:
this
.
tdxz
}
})
if
(
this
.
ruleForm
.
qlxx
.
gyfs
==
"0"
)
{
if
(
this
.
ruleForm
.
qlrData
.
length
>
1
)
{
this
.
$message
({
...
...
@@ -444,23 +462,23 @@ export default {
}
this
.
ruleForm
.
qlrData
[
0
].
sfczr
=
"1"
;
}
if
(
this
.
ruleForm
.
qlxx
.
gyfs
==
"1"
)
{
//是否分别持证
if
(
this
.
ruleForm
.
qlxx
.
sqfbcz
==
"1"
)
{
//是
this
.
ruleForm
.
qlrData
.
forEach
((
item
,
index
)
=>
{
item
.
sfczr
=
"1"
;
});
}
else
{
this
.
ruleForm
.
qlrData
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
zjh
==
this
.
ruleForm
.
czr
)
{
item
.
sfczr
=
"1"
;
}
else
{
item
.
sfczr
=
"0"
;
}
});
}
}
//
if (this.ruleForm.qlxx.gyfs == "1") {
//
//是否分别持证
//
if (this.ruleForm.qlxx.sqfbcz == "1") {
//
//是
//
this.ruleForm.qlrData.forEach((item, index) => {
//
item.sfczr = "1";
//
});
//
} else {
//
this.ruleForm.qlrData.forEach((item, index) => {
//
if (item.zjh == this.ruleForm.czr) {
//
item.sfczr = "1";
//
} else {
//
item.sfczr = "0";
//
}
//
});
//
}
//
}
save
(
this
.
ruleForm
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
({
...
...
Please
register
or
sign in
to post a comment