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
b5105c8a
authored
2020-12-04 14:08:43 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复在宗地表单页新建宗地后无法正常保存问题
1 parent
e9651a13
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
50 additions
and
9 deletions
src/components/formMenu/qlr.vue
src/views/panel/create/index.vue
src/views/zd/zddcb/index.vue
src/components/formMenu/qlr.vue
View file @
b5105c8
...
...
@@ -537,7 +537,6 @@
if
(
this
.
$store
.
state
.
gyfsList
.
length
>
0
){
this
.
gyfs
=
this
.
$store
.
state
.
gyfsList
[
0
].
bsm
;
}
},
};
</
script
>
...
...
src/views/panel/create/index.vue
View file @
b5105c8
...
...
@@ -265,7 +265,12 @@ export default {
this
.
$store
.
state
.
zdbsm
=
res
.
result
;
//todo 跳转到宗地基本信息内容表页面 (预留)
this
.
close
();
this
.
$router
.
push
(
"/zd"
);
this
.
$router
.
push
({
path
:
'/zd'
,
query
:{
source
:
2
,
bsm
:
res
.
result
}
});
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
...
...
src/views/zd/zddcb/index.vue
View file @
b5105c8
<
template
>
<div
class=
"main"
>
<div
class=
"formMenu"
>
<Qlr
ref=
"qlrxxModule"
:bsm=
"
$store.state.z
dbsm"
:qszt=
"formData.qszt"
></Qlr>
<Qlr
ref=
"qlrxxModule"
:bsm=
"
curZ
dbsm"
:qszt=
"formData.qszt"
></Qlr>
<!--
<el-button
type=
"primary"
class=
"changeBtn"
...
...
@@ -407,12 +407,12 @@ export default {
{
label
:
"-"
,
value
:
"-"
},
],
formData
:
{},
dpdm
:
''
,
//宗地底盘代码
curZdbsm
:
''
,
};
},
created
()
{
created
()
{
this
.
curZdbsm
=
this
.
$route
.
query
.
bsm
;
},
mounted
()
{
this
.
getZdjbxxData
(
this
.
$store
.
state
.
zdbsm
);
...
...
@@ -453,8 +453,44 @@ export default {
"tdzh"
:
""
})
}
//权利性质数据传给子组件
this
.
$refs
.
qlxzModule
.
countList
=
res
.
result
.
list
;
this
.
$nextTick
(()
=>
{
//权利性质数据传给子组件
this
.
$refs
.
qlxzModule
.
countList
=
res
.
result
.
list
;
})
}
else
{
this
.
$nextTick
(()
=>
{
//权利性质数据传给子组件
this
.
$refs
.
qlxzModule
.
countList
=
[
{
id
:
Math
.
random
(),
isInside
:
false
,
hasNotBorder
:
false
,
bsm
:
""
,
//权利性质标识码
glbsm
:
""
,
//宗地BSM、自然幢BSM、户BSM、多幢BSM、宗海BSM
qlxzdm
:
""
,
zhqlxzlx
:
""
,
//除宗海数据外,默认都是空;0:用海类型权利性质;2:海岛用途权利性质
list
:
[
{
pzdjbsm
:
""
,
pzdjmc
:
""
,
pzytdm
:
""
,
pzytmc
:
""
,
pzytmj
:
0
,
qlxzbsm
:
""
,
sjdjbsm
:
""
,
sjdjmc
:
""
,
sjytdm
:
""
,
sjytmc
:
""
,
sjytmj
:
0
,
syqx
:
""
,
tdsyjssj
:
""
,
tdsyqssj
:
""
,
tdzh
:
""
,
},
],
},
];
})
}
}
})
...
...
@@ -677,7 +713,8 @@ export default {
this
.
$store
.
state
.
zddm
=
val
;
},
zdbsm
:
function
(
val
)
{
this
.
getZdjbxxData
(
val
)
this
.
getZdjbxxData
(
val
)
this
.
curZdbsm
=
this
.
$route
.
query
.
bsm
;
}
},
};
...
...
Please
register
or
sign in
to post a comment