Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
任超
/
js.CadastralSystem
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
f2204302
authored
2020-10-26 14:25:28 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
权利性质完善
1 parent
4acffee9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
9 deletions
src/components/formMenu/qlxz.vue
src/views/systemZD/zddcb/index.vue
src/components/formMenu/qlxz.vue
View file @
f220430
...
...
@@ -5,7 +5,7 @@
v-for=
"(items, index) in countList"
:key=
"items.id"
>
<template
v-for=
"(childItem,childIndex) in items.
addQjTdytRequestL
ist"
>
<template
v-for=
"(childItem,childIndex) in items.
l
ist"
>
<el-col
:span=
"2"
class=
"btnCol"
:key=
"childIndex+'1'"
:class=
"childIndex>0 ? 'childYT noTopBorder':''"
>
<el-button
v-show=
"childIndex
<1
"
...
...
@@ -78,6 +78,7 @@
<el-date-picker
v-model=
"childItem.tdsyqssj"
type=
"date"
value-format=
"yyyy-MM-dd"
placeholder=
"选择日期"
>
</el-date-picker>
...
...
@@ -139,6 +140,7 @@
<el-date-picker
v-model=
"childItem.tdsyjssj"
type=
"date"
value-format=
"yyyy-MM-dd"
placeholder=
"选择日期"
>
</el-date-picker>
...
...
@@ -182,7 +184,7 @@ export default {
"glbsm"
:
""
,
//宗地BSM、自然幢BSM、户BSM、多幢BSM、宗海BSM
"qlxzdm"
:
""
,
"zhqlxzlx"
:
""
,
//除宗海数据外,默认都是空;0:用海类型权利性质;2:海岛用途权利性质
addQjTdytRequestL
ist
:[
l
ist
:[
{
"pzdjbsm"
:
""
,
"pzdjmc"
:
""
,
...
...
@@ -219,7 +221,7 @@ export default {
"glbsm"
:
""
,
//宗地BSM、自然幢BSM、户BSM、多幢BSM、宗海BSM
"qlxzdm"
:
""
,
"zhqlxzlx"
:
""
,
//除宗海数据外,默认都是空;0:用海类型权利性质;2:海岛用途权利性质
addQjTdytRequestL
ist
:[
l
ist
:[
{
"pzdjbsm"
:
""
,
"pzdjmc"
:
""
,
...
...
@@ -271,11 +273,11 @@ export default {
"tdzh"
:
""
};
if
(
type
===
"add"
)
{
this
.
countList
[
index
].
addQjTdytRequestL
ist
.
splice
(
childIndex
+
1
,
0
,
insideObj
);
this
.
countList
[
index
].
l
ist
.
splice
(
childIndex
+
1
,
0
,
insideObj
);
}
else
{
this
.
countList
[
index
].
addQjTdytRequestL
ist
.
forEach
((
item
,
childInd
)
=>
{
if
(
childIndex
==
childInd
&&
this
.
countList
[
index
].
addQjTdytRequestL
ist
.
length
>
1
)
{
this
.
countList
[
index
].
addQjTdytRequestL
ist
.
splice
(
childIndex
,
1
);
this
.
countList
[
index
].
l
ist
.
forEach
((
item
,
childInd
)
=>
{
if
(
childIndex
==
childInd
&&
this
.
countList
[
index
].
l
ist
.
length
>
1
)
{
this
.
countList
[
index
].
l
ist
.
splice
(
childIndex
,
1
);
}
});
}
...
...
src/views/systemZD/zddcb/index.vue
View file @
f220430
...
...
@@ -449,9 +449,28 @@ export default {
this
.
formData
.
jyjzmd
=
this
.
isInterval
(
this
.
formData
.
jyjzmd
)
?
'-'
:
this
.
formData
.
jyjzmd
;
this
.
jzxg
=
this
.
isInterval
(
this
.
formData
.
jyjzxg
)
?
this
.
formData
.
jyjzxg
:
''
;
this
.
formData
.
jyjzxg
=
this
.
isInterval
(
this
.
formData
.
jyjzxg
)
?
'-'
:
this
.
formData
.
jyjzxg
;
if
(
res
.
result
.
qjQlxzListVOS
[
0
].
qjTdytListVOS
.
length
>
0
){
if
(
res
.
result
.
list
.
length
>
0
){
if
(
res
.
result
.
list
[
0
].
list
.
length
<
1
){
res
.
result
.
list
[
0
].
list
.
push
({
"pzdjbsm"
:
""
,
"pzdjmc"
:
""
,
"pzytdm"
:
""
,
"pzytmc"
:
""
,
"pzytmj"
:
0
,
"qlxzbsm"
:
""
,
"sjdjbsm"
:
""
,
"sjdjmc"
:
""
,
"sjytdm"
:
""
,
"sjytmc"
:
""
,
"sjytmj"
:
0
,
"syqx"
:
""
,
"tdsyjssj"
:
""
,
"tdsyqssj"
:
""
,
"tdzh"
:
""
})
}
//权利性质数据传给子组件
this
.
$refs
.
qlxzModule
.
countList
=
res
.
result
.
qjQlxzListVOS
this
.
$refs
.
qlxzModule
.
countList
=
res
.
result
.
list
}
}
})
...
...
@@ -484,6 +503,8 @@ export default {
message
:
'保存成功'
,
type
:
"success"
,
});
// 保存成功再次查询
this
.
getZdjbxxData
();
}
else
{
this
.
$message
({
message
:
res
.
message
,
...
...
Please
register
or
sign in
to post a comment