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
2e95d891
authored
2020-10-21 11:57:42 +0800
by
zhaoqian
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
自然幢表单联调
1 parent
10966f5b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
20 deletions
src/views/systemZRZ/zrzxx/index.vue
src/views/systemZRZ/zrzxx/index.vue
View file @
2e95d89
<
template
>
<div
class=
"zrz content-form"
>
<div
class=
"zrz content-form"
v-loading=
"loading"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"160px"
>
<Qlr
ref=
"qlrxxModule"
></Qlr>
<table
border=
"1"
width=
"100%"
cellspacing=
"0"
cellpadding=
"0"
class=
"zrzTable"
>
...
...
@@ -10,7 +10,8 @@
<tr
height=
"30"
>
<td
colspan=
"2"
align=
"center"
>
宗地代码
</td>
<td
colspan=
"4"
>
<el-input
v-model=
"form.zdbsm"
></el-input>
<el-input
v-model=
"form.zddm"
></el-input>
<el-input
v-show=
"false"
v-model=
"form.zdbsm"
></el-input>
</td>
<td
colspan=
"2"
align=
"center"
>
自然幢号
</td>
<td
colspan=
"4"
>
...
...
@@ -27,6 +28,7 @@
<!-- todo 此处暂时存放的是不动产单元号标识码,而不是不动产单元号-->
<td
colspan=
"4"
>
<el-input
v-model=
"form.bdcdyh"
style=
"width: 70%"
></el-input>
<el-input
v-show=
"false"
v-model=
"form.dyhbsm"
style=
"width: 70%"
></el-input>
<el-button
@
click
.
prevent=
""
type=
"primary"
size=
"mini"
style=
"width:25%;margin-left:3%"
>
生成
</el-button>
</td>
</tr>
...
...
@@ -268,6 +270,7 @@
import
Qlr
from
"../../../components/formMenu/qlr"
;
import
Qlxz
from
"../../../components/formMenu/qlxz"
;
import
{
getBdcdyh
,
saveZrzInfo
}
from
"../../../api/zrz"
import
{
getQjZdjbxxDetailById
}
from
"../../../api/zd"
import
{
getDdicByMC
}
from
"../../../api/common"
export
default
{
name
:
'zrz'
,
...
...
@@ -280,8 +283,11 @@
form
:{
zrzbsm
:
''
,
//自然幢标识码
zdbsm
:
''
,
//宗地标识码
zddm
:
''
,
//宗地代码
dzbsm
:
''
,
//多幢标识码
bdcdyh
:
''
,
//不动产单元号标识码
dzdm
:
''
,
//多幢代码
dyhbsm
:
''
,
//不动产单元号标识码
bdcdyh
:
''
,
//不动产单元号
zrzh
:
''
,
//自然幢号
jzwgd
:
''
,
//建筑物高度
zzdmj
:
''
,
//幢占地面积
...
...
@@ -344,6 +350,7 @@
value
:
''
,
ytTitleRowspan
:
1
,
//用途的单元格垂直合并数量
fwjgTitleRowspan
:
1
,
//房屋结构的单元格垂直合并数量
loading
:
false
,
}
},
methods
:
{
...
...
@@ -388,6 +395,7 @@
},
onSave
(){
console
.
log
(
this
.
form
)
this
.
loading
=
true
;
// this.form.qlxzList=this.$refs.qlxzModule.getQlxzDataList();
this
.
form
.
qlxzList
=
[{
...
...
@@ -423,6 +431,7 @@
if
(
res
.
code
===
200
){
this
.
$message
.
success
(
"保存完成!"
)
}
this
.
loading
=
false
;
})
}
},
...
...
@@ -436,7 +445,7 @@
this
.
form
.
bdcdyh
=
res
.
result
;
})
},
get
FwxzList
(){
get
DDic
(){
getDdicByMC
(
"房屋性质"
).
then
((
res
)
=>
{
if
(
res
.
result
!=
null
){
for
(
let
i
=
0
;
i
<
res
.
result
.
length
;
i
++
){
...
...
@@ -448,8 +457,6 @@
}
})
},
getCbList
(){
getDdicByMC
(
"房屋产别"
).
then
((
res
)
=>
{
if
(
res
.
result
!=
null
){
for
(
let
i
=
0
;
i
<
res
.
result
.
length
;
i
++
){
...
...
@@ -461,8 +468,6 @@
}
})
},
getCqlyList
(){
getDdicByMC
(
"产权来源"
).
then
((
res
)
=>
{
if
(
res
.
result
!=
null
){
for
(
let
i
=
0
;
i
<
res
.
result
.
length
;
i
++
){
...
...
@@ -474,8 +479,6 @@
}
})
},
getYtList
(){
getDdicByMC
(
"土地用途"
).
then
((
res
)
=>
{
if
(
res
.
result
!=
null
){
for
(
let
i
=
0
;
i
<
res
.
result
.
length
;
i
++
){
...
...
@@ -487,8 +490,6 @@
}
})
},
getDList
(){
getDdicByMC
(
"土地等级"
).
then
((
res
)
=>
{
if
(
res
.
result
!=
null
){
for
(
let
i
=
0
;
i
<
res
.
result
.
length
;
i
++
){
...
...
@@ -500,8 +501,6 @@
}
})
},
getJgist
(){
getDdicByMC
(
"房屋结构"
).
then
((
res
)
=>
{
if
(
res
.
result
!=
null
){
for
(
let
i
=
0
;
i
<
res
.
result
.
length
;
i
++
){
...
...
@@ -514,6 +513,7 @@
})
},
getQlrxxData
()
{
console
.
log
(
this
.
$refs
.
qlrxxModule
.
getQlgyfsData
());
//权利共有方式数据
console
.
log
(
this
.
$refs
.
qlrxxModule
.
getQlrxxData
());
//权利人表格数据
...
...
@@ -521,19 +521,22 @@
getQlxzData
()
{
console
.
log
(
this
.
$refs
.
qlxzModule
.
getQlxzDataList
());
//权利性质数据
},
getZddm
(
zdbsm
){
getQjZdjbxxDetailById
(
zdbsm
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
){
this
.
form
.
zddm
=
res
.
result
.
zddm
;
}
})
},
},
created
(){
},
mounted
()
{
this
.
getFwxzList
();
this
.
getCbList
();
this
.
getCqlyList
();
this
.
getYtList
();
this
.
getDList
();
this
.
getJgist
();
this
.
getDDic
();
//todo 怎么判断进入到该页面是从新建处进来的,还是从右键宗地进来的!如果是从新建进来的就需要把虚拟宗标识码带过来;
this
.
form
.
zdbsm
=
this
.
$store
.
zdbsm
;
this
.
getZddm
(
this
.
$store
.
zdbsm
);
this
.
form
.
xmmc
=
this
.
$store
.
xmmc
;
this
.
form
.
zrzbsm
=
this
.
$store
.
zrzbsm
;
}
...
...
Please
register
or
sign in
to post a comment