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
43481d0a
authored
2020-11-26 16:21:32 +0800
by
zhaoqian
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
宗地不动产单元生成根据行政区,地籍区,地籍子区拿到底盘代码
1 parent
637d33e4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
3 deletions
src/views/zd/zddcb/index.vue
src/views/zd/zddcb/index.vue
View file @
43481d0
...
...
@@ -411,6 +411,8 @@ export default {
{
label
:
"-"
,
value
:
"-"
},
],
formData
:
{},
dpdm
:
''
,
//宗地底盘代码
};
},
created
()
{
...
...
@@ -463,6 +465,34 @@ export default {
.
catch
((
error
)
=>
{});
},
//构造底盘代码,前6位是xzqbsm,接着3位djqbsm,3位djzqbsm,最后2位是syqlxbsm 860101555888GB
generatorDpdm
()
{
this
.
$store
.
state
.
xzqList
.
forEach
((
item
)
=>
{
if
(
item
.
bsm
===
this
.
formData
.
xzqbsm
){
this
.
dpdm
=
item
.
dm
;
}
});
this
.
$store
.
state
.
djqList
.
forEach
((
item
)
=>
{
if
(
item
.
bsm
===
this
.
formData
.
djqbsm
){
this
.
dpdm
=
this
.
dpdm
+
item
.
dm
;
}
});
this
.
$store
.
state
.
djzqList
.
forEach
((
item
)
=>
{
if
(
item
.
bsm
===
this
.
formData
.
djzqbsm
){
this
.
dpdm
=
this
.
dpdm
+
item
.
dm
;
}
});
console
.
log
(
this
.
formData
.
syqlxbsm
);
this
.
dpdm
=
this
.
dpdm
+
this
.
formData
.
syqlxbsm
;
this
.
$store
.
state
.
zdtzmList
.
forEach
((
item
)
=>
{
if
(
item
.
zdtzmbsm
===
this
.
formData
.
zdtzmbsm
){
this
.
dpdm
=
this
.
dpdm
+
item
.
dm
;
}
});
console
.
log
(
this
.
dpdm
)
},
//不动产单元号再次生成提示框
open
()
{
this
.
$confirm
(
'已经存在不动产单元号或者自然幢号, 是否继续?'
,
'提示'
,
{
...
...
@@ -470,7 +500,8 @@ export default {
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
getBdcdyh
(
"860101555888GB"
,
"zd"
)
this
.
generatorDpdm
();
getBdcdyh
(
this
.
dpdm
,
"zd"
)
.
then
((
res
)
=>
{
console
.
log
(
res
);
this
.
formData
.
zddm
=
res
.
result
.
substring
(
0
,
19
);
...
...
@@ -496,9 +527,9 @@ export default {
this
.
open
();
return
;
}
this
.
generatorDpdm
();
//前6位是xzqbsm,接着3位djqbsm,3位djzqbsm,最后2位是syqlxbsm 860101555888GB
getBdcdyh
(
"860101555888GB"
,
"zd"
)
getBdcdyh
(
this
.
dpdm
,
"zd"
)
.
then
((
res
)
=>
{
console
.
log
(
res
);
this
.
formData
.
zddm
=
res
.
result
.
substring
(
0
,
19
);
...
...
Please
register
or
sign in
to post a comment