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
0cb6a8ca
authored
2020-11-06 09:12:42 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://yun.pashanhoo.com:9090/renchao/CadastralSystem
2 parents
e7e27a75
b2f407c6
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
823 additions
and
15 deletions
src/api/zd.js
src/views/panel/change/fg/index.vue
src/views/panel/change/hb/index.vue
src/api/zd.js
View file @
0cb6a8c
...
...
@@ -18,13 +18,14 @@ export function savemjft(data) {
*/
export
function
getMjftInfo
(
zdBsm
)
{
return
request
({
url
:
"/zd/qjGygyzdmjft/getQjGygyzdmjftDetailById"
,
method
:
"get"
,
params
:{
url
:
"/zd/qjGygyzdmjft/getQjGygyzdmjftDetailById"
,
method
:
"get"
,
params
:
{
zdBsm
}
})
}
/**
* 新增宗地基本信息
*/
...
...
@@ -35,6 +36,7 @@ export function insertQjZdjbxx(data) {
data
:
data
,
});
}
/**
* 修改宗地基本信息
*/
...
...
@@ -85,6 +87,7 @@ export function queryjzx(glBsm) {
}
})
}
/**
* 根据zdbsm查询宗地基本信息
*/
...
...
@@ -108,6 +111,7 @@ export function jzdsingleModify(data) {
data
:
data
})
}
/**
* 界址点批量修改
*/
...
...
@@ -144,7 +148,7 @@ export function jzxsbatchModify(data) {
/**x
*根据宗地Bsm删除宗地信息
*/
export
function
deleteZdInfoByBsm
(
data
){
export
function
deleteZdInfoByBsm
(
data
)
{
return
request
({
url
:
'/zd/qjZdjbxx/deleteZdjbxxByBsm'
,
method
:
'delete'
,
...
...
@@ -152,4 +156,15 @@ export function deleteZdInfoByBsm(data){
})
}
/**
* 宗地分割
*/
export
function
zdfg
(
data
)
{
return
request
({
url
:
'/fg/zdFg'
,
method
:
'post'
,
data
:
data
})
}
...
...
src/views/panel/change/fg/index.vue
View file @
0cb6a8c
<
template
>
<div>
<el-tabs
v-model=
"tabName"
>
<el-tab-pane
label=
"宗地分割"
name=
"zd"
>
<div
class=
"main"
>
<div
class=
"button"
>
<el-button
type=
"primary"
@
click=
"newAdd"
>
新增
</el-button>
...
...
@@ -20,23 +23,506 @@
</td>
</tr>
<tr
v-else
>
<!--
<tr
v-else
v-for=
"(item,index) in bgqData"
:key=
"index"
>
-->
<td>
1
</td>
<td><input
type=
"text"
class=
"formInput"
v-model=
"bgqData.zddm"
readonly=
"readonly"
/></td>
<td><input
type=
"text"
class=
"formInput"
v-model=
"bgqData.bdcdyh"
readonly=
"readonly"
/></td>
<td><input
type=
"text"
class=
"formInput"
v-model=
"bgqData.xmmc"
readonly=
"readonly"
/></td>
<td><input
type=
"text"
class=
"formInput"
v-model=
"bgqData.bdcqzh"
readonly=
"readonly"
/></td>
<td><input
type=
"text"
class=
"formInput"
v-model=
"bgqData.qlr"
readonly=
"readonly"
/></td>
<td><input
type=
"text"
class=
"formInput"
v-model=
"bgqData.zddm"
readonly=
"readonly"
/>
</td>
<td><input
type=
"text"
class=
"formInput"
v-model=
"bgqData.bdcdyh"
readonly=
"readonly"
/>
</td>
<td><input
type=
"text"
class=
"formInput"
v-model=
"bgqData.xmmc"
readonly=
"readonly"
/>
</td>
<td><input
type=
"text"
class=
"formInput"
v-model=
"bgqData.bdcqzh"
readonly=
"readonly"
/>
</td>
<td><input
type=
"text"
class=
"formInput"
v-model=
"bgqData.qlr"
readonly=
"readonly"
/>
</td>
<td><input
type=
"text"
class=
"formInput"
v-model=
"bgqData.zl"
readonly=
"readonly"
/></td>
</tr>
</table>
</div>
<div
class=
"fgh"
>
<span>
分割后宗地:
</span>
<table
border=
"1"
>
<tr>
<td>
操作
</td>
<td>
行政区
</td>
<td>
地籍区
</td>
<td>
地籍子区
</td>
<td>
所有权类型
</td>
<td>
土地特征码
</td>
<td>
项目名称
</td>
<td>
幢信息
</td>
</tr>
<tr
v-for=
"(item,index) in fghData.newZdlist"
:key=
"index"
>
<td
@
click=
"delRow(index)"
>
-
</td>
<td>
<el-select
v-model=
"item.xzqbsm"
@
change=
"changeXzq(item.xzqbsm,index)"
>
<el-option
v-for=
"i in xzq"
:key=
"i.bsm"
:label=
"i.mc"
:value=
"i.bsm"
></el-option>
</el-select>
</td>
<td>
<el-select
v-model=
"item.djqbsm"
@
change=
"changeDjq(item.djqbsm,index)"
>
<el-option
v-for=
"i in djq"
:key=
"i.bsm"
:label=
"i.mc"
:value=
"i.bsm"
></el-option>
</el-select>
</td>
<td>
<el-select
v-model=
"item.djzqbsm"
>
<el-option
v-for=
"i in djzq"
:key=
"i.bsm"
:label=
"i.mc"
:value=
"i.bsm"
></el-option>
</el-select>
</td>
<td>
<el-select
v-model=
"item.syqlxbsm"
>
<el-option
v-for=
"i in syq"
:key=
"i.value"
:label=
"i.label"
:value=
"i.value"
></el-option>
</el-select>
</td>
<td>
<el-select
v-model=
"item.zdtzmbsm"
>
<el-option
v-for=
"i in tdtzm"
:key=
"i.bsm"
:label=
"i.mc"
:value=
"i.bsm"
></el-option>
</el-select>
</td>
<td>
<input
type=
"text"
v-model=
"item.xmmc"
class=
"formInput"
/>
</td>
<td>
<!--
{{
item
.
fwlist
.
zbsm
}}
-->
<span
@
click=
"xzzrz(index)"
class=
"xz"
>
选择
</span>
</td>
</tr>
<tr>
<td
@
click=
"addRow"
>
+
</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
</div>
<el-dialog
v-if=
"fghData.newZdlist.length>0"
title=
"提示"
:visible
.
sync=
"isopenXz"
width=
"50%"
center
>
<div
class=
"xz-container"
>
<div
class=
"xz-main"
>
<table
border=
"1"
>
<tr>
<td>
幢类型
</td>
<td>
幢信息
</td>
</tr>
<tr
v-for=
"(item,index) in fghData.newZdlist[selectIndex].fwlist"
:key=
"index"
>
<td>
<el-select
v-model=
"item.ztype"
>
<el-option
v-for=
"i in ztypes"
:key=
"i.value"
:label=
"i.label"
:value=
"i.value"
></el-option>
</el-select>
</td>
<td>
<input
type=
"text"
class=
"formInput"
v-model=
"item.zbsm"
/>
</td>
</tr>
</table>
</div>
<div
class=
"xz-sidebar"
>
<el-tree
:data=
"zrzData"
:props=
"defaultProps"
@
node-click=
"handleNodeClick"
:default-expand-all=
"true"
></el-tree>
</div>
</div>
</el-dialog>
<query-data
@
getData=
"getData"
:centerDialogVisible
.
sync=
"centerDialogVisible"
@
close=
"close"
></query-data>
<div
class=
"header-button"
>
<el-button
type=
"primary"
@
click=
"save"
>
保存
</el-button>
</div>
</div>
</el-tab-pane>
<el-tab-pane
label=
"多幢分割"
name=
"dz"
>
<div
class=
"main"
>
<div
class=
"button"
>
<el-button
type=
"primary"
@
click=
"newAdd"
>
新增
</el-button>
</div>
<div
class=
"table"
>
<table
border=
"1"
>
<tr>
<td>
序号
</td>
<td>
宗地代码
</td>
<td>
不动产单元号
</td>
<td>
项目名称
</td>
<td>
不动产权证号
</td>
<td>
权利人
</td>
<td>
坐落
</td>
</tr>
<tr
v-if=
"Object.keys(bgqData)==0"
>
<td
colspan=
"7"
>
<span
class=
"noData"
>
暂无数据
</span>
</td>
</tr>
<tr
v-else
>
<td>
1
</td>
<td><input
type=
"text"
class=
"formInput"
v-model=
"bgqData.zddm"
readonly=
"readonly"
/>
</td>
<td><input
type=
"text"
class=
"formInput"
v-model=
"bgqData.bdcdyh"
readonly=
"readonly"
/>
</td>
<td><input
type=
"text"
class=
"formInput"
v-model=
"bgqData.xmmc"
readonly=
"readonly"
/>
</td>
<td><input
type=
"text"
class=
"formInput"
v-model=
"bgqData.bdcqzh"
readonly=
"readonly"
/>
</td>
<td><input
type=
"text"
class=
"formInput"
v-model=
"bgqData.qlr"
readonly=
"readonly"
/>
</td>
<td><input
type=
"text"
class=
"formInput"
v-model=
"bgqData.zl"
readonly=
"readonly"
/></td>
</tr>
</table>
</div>
<div
class=
"fgh"
>
<span>
分割后宗地:
</span>
<table
border=
"1"
>
<tr>
<td>
操作
</td>
<td>
行政区
</td>
<td>
地籍区
</td>
<td>
地籍子区
</td>
<td>
所有权类型
</td>
<td>
土地特征码
</td>
<td>
项目名称
</td>
<td>
幢信息
</td>
</tr>
<tr
v-for=
"(item,index) in fghData.newZdlist"
:key=
"index"
>
<td
@
click=
"delRow(index)"
>
-
</td>
<td>
<el-select
v-model=
"item.xzqbsm"
@
change=
"changeXzq(item.xzqbsm,index)"
>
<el-option
v-for=
"i in xzq"
:key=
"i.bsm"
:label=
"i.mc"
:value=
"i.bsm"
></el-option>
</el-select>
</td>
<td>
<el-select
v-model=
"item.djqbsm"
@
change=
"changeDjq(item.djqbsm,index)"
>
<el-option
v-for=
"i in djq"
:key=
"i.bsm"
:label=
"i.mc"
:value=
"i.bsm"
></el-option>
</el-select>
</td>
<td>
<el-select
v-model=
"item.djzqbsm"
>
<el-option
v-for=
"i in djzq"
:key=
"i.bsm"
:label=
"i.mc"
:value=
"i.bsm"
></el-option>
</el-select>
</td>
<td>
<el-select
v-model=
"item.syqlxbsm"
>
<el-option
v-for=
"i in syq"
:key=
"i.value"
:label=
"i.label"
:value=
"i.value"
></el-option>
</el-select>
</td>
<td>
<el-select
v-model=
"item.zdtzmbsm"
>
<el-option
v-for=
"i in tdtzm"
:key=
"i.bsm"
:label=
"i.mc"
:value=
"i.bsm"
></el-option>
</el-select>
</td>
<td>
<input
type=
"text"
v-model=
"item.xmmc"
class=
"formInput"
/>
</td>
<td>
<!--
{{
item
.
fwlist
.
zbsm
}}
-->
<span
@
click=
"xzzrz(index)"
class=
"xz"
>
选择
</span>
</td>
</tr>
<tr>
<td
@
click=
"addRow"
>
+
</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
</div>
<el-dialog
v-if=
"fghData.newZdlist.length>0"
title=
"提示"
:visible
.
sync=
"isopenXz"
width=
"50%"
center
>
<div
class=
"xz-container"
>
<div
class=
"xz-main"
>
<table
border=
"1"
>
<tr>
<td>
幢类型
</td>
<td>
幢信息
</td>
</tr>
<tr
v-for=
"(item,index) in fghData.newZdlist[selectIndex].fwlist"
:key=
"index"
>
<td>
<el-select
v-model=
"item.ztype"
>
<el-option
v-for=
"i in ztypes"
:key=
"i.value"
:label=
"i.label"
:value=
"i.value"
></el-option>
</el-select>
</td>
<td>
<input
type=
"text"
class=
"formInput"
v-model=
"item.zbsm"
/>
</td>
</tr>
</table>
</div>
<div
class=
"xz-sidebar"
>
<el-tree
:data=
"zrzData"
:props=
"defaultProps"
@
node-click=
"handleNodeClick"
:default-expand-all=
"true"
></el-tree>
</div>
</div>
</el-dialog>
<query-data
@
getData=
"getData"
:centerDialogVisible
.
sync=
"centerDialogVisible"
@
close=
"close"
></query-data>
<div
class=
"header-button"
>
<el-button
type=
"primary"
@
click=
"save"
>
保存
</el-button>
</div>
</div>
</el-tab-pane>
<el-tab-pane
label=
"户分割"
name=
"h"
>
<div
class=
"main"
>
<div
class=
"button"
>
<el-button
type=
"primary"
@
click=
"newAdd"
>
新增
</el-button>
</div>
<div
class=
"table"
>
<table
border=
"1"
>
<tr>
<td>
序号
</td>
<td>
宗地代码
</td>
<td>
不动产单元号
</td>
<td>
项目名称
</td>
<td>
不动产权证号
</td>
<td>
权利人
</td>
<td>
坐落
</td>
</tr>
<tr
v-if=
"Object.keys(bgqData)==0"
>
<td
colspan=
"7"
>
<span
class=
"noData"
>
暂无数据
</span>
</td>
</tr>
<tr
v-else
>
<td>
1
</td>
<td><input
type=
"text"
class=
"formInput"
v-model=
"bgqData.zddm"
readonly=
"readonly"
/>
</td>
<td><input
type=
"text"
class=
"formInput"
v-model=
"bgqData.bdcdyh"
readonly=
"readonly"
/>
</td>
<td><input
type=
"text"
class=
"formInput"
v-model=
"bgqData.xmmc"
readonly=
"readonly"
/>
</td>
<td><input
type=
"text"
class=
"formInput"
v-model=
"bgqData.bdcqzh"
readonly=
"readonly"
/>
</td>
<td><input
type=
"text"
class=
"formInput"
v-model=
"bgqData.qlr"
readonly=
"readonly"
/>
</td>
<td><input
type=
"text"
class=
"formInput"
v-model=
"bgqData.zl"
readonly=
"readonly"
/></td>
</tr>
</table>
</div>
<query-data
@
getData=
"getData"
:centerDialogVisible
.
sync=
"centerDialogVisible"
@
close=
"close"
></query-data>
<div
class=
"fgh"
>
<span>
分割后宗地:
</span>
<table
border=
"1"
>
<tr>
<td>
操作
</td>
<td>
行政区
</td>
<td>
地籍区
</td>
<td>
地籍子区
</td>
<td>
所有权类型
</td>
<td>
土地特征码
</td>
<td>
项目名称
</td>
<td>
幢信息
</td>
</tr>
<tr
v-for=
"(item,index) in fghData.newZdlist"
:key=
"index"
>
<td
@
click=
"delRow(index)"
>
-
</td>
<td>
<el-select
v-model=
"item.xzqbsm"
@
change=
"changeXzq(item.xzqbsm,index)"
>
<el-option
v-for=
"i in xzq"
:key=
"i.bsm"
:label=
"i.mc"
:value=
"i.bsm"
></el-option>
</el-select>
</td>
<td>
<el-select
v-model=
"item.djqbsm"
@
change=
"changeDjq(item.djqbsm,index)"
>
<el-option
v-for=
"i in djq"
:key=
"i.bsm"
:label=
"i.mc"
:value=
"i.bsm"
></el-option>
</el-select>
</td>
<td>
<el-select
v-model=
"item.djzqbsm"
>
<el-option
v-for=
"i in djzq"
:key=
"i.bsm"
:label=
"i.mc"
:value=
"i.bsm"
></el-option>
</el-select>
</td>
<td>
<el-select
v-model=
"item.syqlxbsm"
>
<el-option
v-for=
"i in syq"
:key=
"i.value"
:label=
"i.label"
:value=
"i.value"
></el-option>
</el-select>
</td>
<td>
<el-select
v-model=
"item.zdtzmbsm"
>
<el-option
v-for=
"i in tdtzm"
:key=
"i.bsm"
:label=
"i.mc"
:value=
"i.bsm"
></el-option>
</el-select>
</td>
<td>
<input
type=
"text"
v-model=
"item.xmmc"
class=
"formInput"
/>
</td>
<td>
<!--
{{
item
.
fwlist
.
zbsm
}}
-->
<span
@
click=
"xzzrz(index)"
class=
"xz"
>
选择
</span>
</td>
</tr>
<tr>
<td
@
click=
"addRow"
>
+
</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
</div>
<el-dialog
v-if=
"fghData.newZdlist.length>0"
title=
"提示"
:visible
.
sync=
"isopenXz"
width=
"50%"
center
>
<div
class=
"xz-container"
>
<div
class=
"xz-main"
>
<table
border=
"1"
>
<tr>
<td>
幢类型
</td>
<td>
幢信息
</td>
</tr>
<tr
v-for=
"(item,index) in fghData.newZdlist[selectIndex].fwlist"
:key=
"index"
>
<td>
<el-select
v-model=
"item.ztype"
>
<el-option
v-for=
"i in ztypes"
:key=
"i.value"
:label=
"i.label"
:value=
"i.value"
></el-option>
</el-select>
</td>
<td>
<input
type=
"text"
class=
"formInput"
v-model=
"item.zbsm"
/>
</td>
</tr>
</table>
</div>
<div
class=
"xz-sidebar"
>
<el-tree
:data=
"zrzData"
:props=
"defaultProps"
@
node-click=
"handleNodeClick"
:default-expand-all=
"true"
></el-tree>
</div>
</div>
</el-dialog>
<query-data
@
getData=
"getData"
:centerDialogVisible
.
sync=
"centerDialogVisible"
@
close=
"close"
></query-data>
<div
class=
"header-button"
>
<el-button
type=
"primary"
@
click=
"save"
>
保存
</el-button>
</div>
</div>
</el-tab-pane>
</el-tabs>
</div>
</
template
>
<
script
>
import
{
getAllList
,
getListByXzqbsm
,
getListByPbsm
,
getDdicByMC
}
from
"./../../../../api/common"
;
import
{
getQjZdjbxxDetailById
}
from
'./../../../../api/zd'
import
QueryData
from
'./../../../../components/queryData/queryData'
import
{
zdfg
}
from
'./../../../../api/zd'
import
{
Message
}
from
'element-ui'
export
default
{
name
:
""
,
...
...
@@ -44,15 +530,201 @@
props
:
{},
data
()
{
return
{
tabName
:
'zd'
,
isopenXz
:
false
,
centerDialogVisible
:
false
,
bgqData
:
{}
selectIndex
:
0
,
// 当前选中序号
bgqData
:
{},
xzq
:
[],
djq
:
[],
djzq
:
[],
tdtzm
:
[],
defaultProps
:
{
children
:
'children'
,
label
:
'label'
},
zrzData
:
[{
label
:
'一级 1'
,
children
:
[{
label
:
'二级 1-1'
,
children
:
[{
label
:
'三级 1-1-1'
}]
}]
},
{
label
:
'一级 2'
,
children
:
[{
label
:
'二级 2-1'
,
children
:
[{
label
:
'三级 2-1-1'
}]
},
{
label
:
'二级 2-2'
,
children
:
[{
label
:
'三级 2-2-1'
}]
}]
},
{
label
:
'一级 3'
,
children
:
[{
label
:
'二级 3-1'
,
children
:
[{
label
:
'三级 3-1-1'
}]
},
{
label
:
'二级 3-2'
,
children
:
[{
label
:
'三级 3-2-1'
}]
}]
}],
ztypes
:
[
{
label
:
'多幢'
,
value
:
'多幢'
},
{
label
:
'自然幢'
,
value
:
'自然幢'
}
],
syq
:
[
{
label
:
"国家所有"
,
value
:
"G"
,
},
{
label
:
"集体所有"
,
value
:
"J"
,
},
{
label
:
"土地所有权未确定或有争议"
,
value
:
"Z"
,
}
],
checkedData
:
{
xzqbsm
:
""
,
djqbsm
:
""
,
djzqbsm
:
""
,
xmmc
:
""
,
syqlxbsm
:
""
,
zdtzmbsm
:
""
,
userbsm
:
""
,
fwlist
:
[]
},
fghData
:
{
oldZdbsm
:
""
,
newZdlist
:
[]
},
}
},
created
()
{
},
mounted
()
{
this
.
getXzqList
();
this
.
getzdtzm
();
},
methods
:
{
handleNodeClick
(
data
)
{
console
.
log
(
data
);
},
xzzrz
(
index
)
{
this
.
isopenXz
=
true
this
.
selectIndex
=
index
},
save
()
{
console
.
log
(
"save........"
)
console
.
log
(
this
.
fghData
)
zdfg
(
this
.
fghData
).
then
(
res
=>
{
console
.
log
(
res
)
if
(
res
.
success
)
{
Message
.
success
(
'保存成功'
)
}
else
{
Message
.
error
(
res
.
message
)
}
})
},
getJbxx
(
id
)
{
getQjZdjbxxDetailById
(
id
).
then
(
res
=>
{
this
.
checkedData
=
res
.
result
// 用户bsm暂时传空
this
.
checkedData
.
userbsm
=
''
// fwlist 暂时传空
this
.
checkedData
.
fwlist
=
[{
zdbsm
:
''
,
ztype
:
''
}]
})
},
getzdtzm
()
{
getDdicByMC
(
'宗地(宗海)特征码'
).
then
(
res
=>
{
this
.
tdtzm
=
res
.
result
})
},
getXzqList
()
{
getAllList
()
.
then
((
res
)
=>
{
this
.
xzq
=
res
.
result
;
})
.
catch
((
error
)
=>
{
});
},
changeXzq
(
id
,
index
)
{
this
.
djq
=
[];
this
.
djzq
=
[];
if
(
index
!=
undefined
)
{
this
.
fghData
.
newZdlist
[
index
].
djqbsm
=
''
this
.
fghData
.
newZdlist
[
index
].
djzqbsm
=
''
}
getListByXzqbsm
(
id
)
.
then
((
res
)
=>
{
if
(
res
.
result
==
null
)
{
this
.
djq
=
null
;
}
else
{
this
.
djq
=
res
.
result
;
}
})
.
catch
((
error
)
=>
{
});
},
changeDjq
(
item
,
index
)
{
this
.
djzq
=
[];
if
(
index
!=
undefined
)
{
this
.
fghData
.
newZdlist
[
index
].
djzqbsm
=
''
}
if
(
item
==
null
)
{
}
else
{
getListByPbsm
(
item
)
.
then
((
res
)
=>
{
if
(
res
.
result
==
null
)
{
this
.
djzq
=
null
;
}
else
{
this
.
djzq
=
res
.
result
;
}
})
.
catch
((
error
)
=>
{
});
}
},
addRow
()
{
this
.
fghData
.
newZdlist
.
push
({
xzqbsm
:
""
,
djqbsm
:
""
,
djzqbsm
:
""
,
xmmc
:
""
,
syqlxbsm
:
""
,
zdtzmbsm
:
""
,
userbsm
:
""
,
fwlist
:
[
{
zbsm
:
""
,
ztype
:
""
}
]
});
this
.
fghData
.
newZdlist
[
this
.
fghData
.
newZdlist
.
length
-
1
]
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
checkedData
));
},
delRow
(
index
)
{
this
.
fghData
.
newZdlist
.
splice
(
index
,
1
)
},
close
:
function
()
{
this
.
centerDialogVisible
=
false
;
},
...
...
@@ -68,7 +740,22 @@
},
},
computed
:
{},
watch
:
{},
watch
:
{
bgqData
:
{
handler
:
function
(
item
)
{
this
.
fghData
.
oldZdbsm
=
item
.
glbsm
this
.
getJbxx
(
item
.
glbsm
)
},
deep
:
true
},
checkedData
:
{
handler
:
function
(
item
)
{
this
.
changeXzq
(
item
.
xzqbsm
)
this
.
changeDjq
(
item
.
djqbsm
)
},
deep
:
true
}
},
}
</
script
>
<
style
scoped
lang=
"less"
>
...
...
@@ -105,9 +792,24 @@
table
:hover
{
cursor
:
pointer
;
}
.xz
{
color
:
blue
;
}
.noData
{
color
:
#b2b2b2
;
}
.fgh
{
margin-top
:
20px
;
}
.header-button
{
margin-top
:
20px
;
text-align
:
center
;
}
.xz-container
{
border
:
1px
solid
#000
;
display
:
grid
;
grid-template-columns
:
70%
30%
;
grid-template-rows
:
1
fr
;
}
}
</
style
>
...
...
src/views/panel/change/hb/index.vue
View file @
0cb6a8c
<
template
>
<div>
<el-tabs
v-model=
"tabName"
@
tab-click=
"handleClick"
>
<el-tab-pane
label=
"宗地合并"
name=
"zd"
>
<div
class=
"main"
>
<div
class=
"header"
>
<span>
合并后项目名称:
</span>
...
...
@@ -34,7 +37,91 @@
<td><input
type=
"text"
class=
"formInput"
v-model=
"item.zl"
readonly=
"readonly"
/></td>
</tr>
</table>
<query-data
@
getData=
"getData"
:centerDialogVisible
.
sync=
"centerDialogVisible"
@
close=
"close"
></query-data>
<query-data
@
getData=
"getData"
:centerDialogVisible
.
sync=
"centerDialogVisible"
@
close=
"close"
></query-data>
</div>
</el-tab-pane>
<el-tab-pane
label=
"多幢合并"
name=
"dz"
>
<div
class=
"main"
>
<div
class=
"header"
>
<span>
合并后项目名称:
</span>
<el-input></el-input>
<el-button
type=
"primary"
@
click=
"newAdd"
>
新增
</el-button>
<el-button
type=
"primary"
>
保存
</el-button>
</div>
<table
border=
"1"
>
<tr>
<td>
序号
</td>
<td>
宗地代码
</td>
<td>
不动产单元号
</td>
<td>
项目名称
</td>
<td>
不动产权证号
</td>
<td>
权利人
</td>
<td>
坐落
</td>
</tr>
<tr
v-if=
"bgqData.length==0"
>
<td
colspan=
"7"
>
<span
class=
"noData"
>
暂无数据
</span>
</td>
</tr>
<tr
v-else
v-for=
"(item,index) in bgqData"
:key=
"index"
>
<td>
{{
index
+
1
}}
</td>
<td><input
type=
"text"
class=
"formInput"
v-model=
"item.zddm"
readonly=
"readonly"
/></td>
<td><input
type=
"text"
class=
"formInput"
v-model=
"item.bdcdyh"
readonly=
"readonly"
/></td>
<td><input
type=
"text"
class=
"formInput"
v-model=
"item.xmmc"
readonly=
"readonly"
/></td>
<td><input
type=
"text"
class=
"formInput"
v-model=
"item.bdcqzh"
readonly=
"readonly"
/></td>
<td><input
type=
"text"
class=
"formInput"
v-model=
"item.qlr"
readonly=
"readonly"
/></td>
<td><input
type=
"text"
class=
"formInput"
v-model=
"item.zl"
readonly=
"readonly"
/></td>
</tr>
</table>
<query-data
@
getData=
"getData"
:centerDialogVisible
.
sync=
"centerDialogVisible"
@
close=
"close"
></query-data>
</div>
</el-tab-pane>
<el-tab-pane
label=
"户合并"
name=
"h"
>
<div
class=
"main"
>
<div
class=
"header"
>
<span>
合并后项目名称:
</span>
<el-input></el-input>
<el-button
type=
"primary"
@
click=
"newAdd"
>
新增
</el-button>
<el-button
type=
"primary"
>
保存
</el-button>
</div>
<table
border=
"1"
>
<tr>
<td>
序号
</td>
<td>
宗地代码
</td>
<td>
不动产单元号
</td>
<td>
项目名称
</td>
<td>
不动产权证号
</td>
<td>
权利人
</td>
<td>
坐落
</td>
</tr>
<tr
v-if=
"bgqData.length==0"
>
<td
colspan=
"7"
>
<span
class=
"noData"
>
暂无数据
</span>
</td>
</tr>
<tr
v-else
v-for=
"(item,index) in bgqData"
:key=
"index"
>
<td>
{{
index
+
1
}}
</td>
<td><input
type=
"text"
class=
"formInput"
v-model=
"item.zddm"
readonly=
"readonly"
/></td>
<td><input
type=
"text"
class=
"formInput"
v-model=
"item.bdcdyh"
readonly=
"readonly"
/></td>
<td><input
type=
"text"
class=
"formInput"
v-model=
"item.xmmc"
readonly=
"readonly"
/></td>
<td><input
type=
"text"
class=
"formInput"
v-model=
"item.bdcqzh"
readonly=
"readonly"
/></td>
<td><input
type=
"text"
class=
"formInput"
v-model=
"item.qlr"
readonly=
"readonly"
/></td>
<td><input
type=
"text"
class=
"formInput"
v-model=
"item.zl"
readonly=
"readonly"
/></td>
</tr>
</table>
<query-data
@
getData=
"getData"
:centerDialogVisible
.
sync=
"centerDialogVisible"
@
close=
"close"
></query-data>
</div>
</el-tab-pane>
</el-tabs>
</div>
</
template
>
...
...
@@ -47,6 +134,7 @@
props
:
{},
data
()
{
return
{
tabName
:
'zd'
,
centerDialogVisible
:
false
,
bgqData
:
[]
}
...
...
@@ -56,6 +144,9 @@
mounted
()
{
},
methods
:
{
handleClick
(
tab
,
event
)
{
console
.
log
(
tab
,
event
);
},
close
:
function
()
{
this
.
centerDialogVisible
=
false
;
},
...
...
Please
register
or
sign in
to post a comment