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
35676eb2
authored
2021-01-19 11:41:44 +0800
by
weimo934
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat():分类调查表
1 parent
9dba7c9f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
128 additions
and
17 deletions
src/api/zd.js
src/components/Fldcb/Fldcb.vue
src/views/zd/index.vue
src/api/zd.js
View file @
35676eb
...
...
@@ -162,8 +162,8 @@ export function jzxsbatchModify(data) {
})
}
/*
删除界址点
/*
删除界址点
*/
export
function
delJzdByBsm
(
data
){
return
request
({
...
...
@@ -172,7 +172,7 @@ export function delJzdByBsm(data){
params
:
data
})
}
/*
/*
删除界址线
*/
export
function
delJzxByBsm
(
data
){
...
...
@@ -280,3 +280,29 @@ export function DzHb(data) {
data
:
data
})
}
/**
*根据宗地标识码获取权籍_集体土地所有权宗地分类面积调查记录
* @param zdbsm
*/
export
function
getFlDc
(
zdbsm
)
{
return
request
({
url
:
'/zd/qjJttdsyqzdflmjdcb/getQjJttdsyqzdflmjdcbByZdbsm'
,
method
:
'get'
,
params
:{
zdbsm
}
})
}
/**
* 修改权籍_集体土地所有权宗地分类面积调查
* @param data
*/
export
function
updateFldc
(
data
)
{
return
request
({
url
:
"/zd/qjJttdsyqzdflmjdcb/updateQjJttdsyqzdflmjdcb"
,
method
:
'put'
,
data
:
data
})
}
...
...
src/components/Fldcb/Fldcb.vue
View file @
35676eb
...
...
@@ -7,7 +7,7 @@
<h2>
集体土地所有权宗地分类面积调查表
</h2><br/>
<div
class=
"dw"
>
单位:
<el-radio-group
v-model=
"flmjData.
dw
"
>
<el-radio-group
v-model=
"flmjData.
mjdw
"
>
<el-radio
:label=
"3"
>
平方米
</el-radio>
<el-radio
:label=
"6"
>
公顷
</el-radio>
<el-radio
:label=
"9"
>
亩
</el-radio>
...
...
@@ -20,19 +20,19 @@
<tr>
<th>
权利人
</th>
<td
colspan=
"3"
>
<el-input
v-model=
"
flmjData.
qlr"
disabled
></el-input>
<el-input
v-model=
"qlr"
disabled
></el-input>
</td>
</tr>
<tr>
<th>
宗地代码
</th>
<td
colspan=
"3"
>
<el-input
v-model=
"
flmjData.
zddm"
disabled
></el-input>
<el-input
v-model=
"zddm"
disabled
></el-input>
</td>
</tr>
<tr>
<th>
不动产单元号
</th>
<td
colspan=
"3"
>
<el-input
v-model=
"
flmjData.
bdcdyh"
disabled
></el-input>
<el-input
v-model=
"bdcdyh"
disabled
></el-input>
</td>
</tr>
<tr
>
...
...
@@ -41,7 +41,7 @@
</th>
<th
colspan=
"2"
>
农用地
</th>
<td>
<el-input
v-model=
"flmjData.
l
yd"
oninput=
"value = (value.match(/^\d
{0,8}(\.?\d{0,3})/g)[0]) || null">
</el-input>
<el-input
v-model=
"flmjData.
n
yd"
oninput=
"value = (value.match(/^\d
{0,8}(\.?\d{0,3})/g)[0]) || null">
</el-input>
</td>
</tr>
<tr>
...
...
@@ -52,13 +52,13 @@
耕地
</th>
<th
colspan=
"2"
>
<el-input
v-model=
"flmjData.gd"
oninput=
"value = (value.match(/^\d
{0,8}(\.?\d{0,3})/g)[0]) || null">
</el-input>
<el-input
v-model=
"flmjData.
nyd
gd"
oninput=
"value = (value.match(/^\d
{0,8}(\.?\d{0,3})/g)[0]) || null">
</el-input>
</th>
</tr>
<tr>
<th>
林地
</th>
<td
colspan=
"2"
>
<el-input
v-model=
"flmjData.ld"
oninput=
"value = (value.match(/^\d
{0,8}(\.?\d{0,3})/g)[0]) || null">
</el-input>
<el-input
v-model=
"flmjData.
nyd
ld"
oninput=
"value = (value.match(/^\d
{0,8}(\.?\d{0,3})/g)[0]) || null">
</el-input>
</td>
</tr>
<tr>
...
...
@@ -66,19 +66,19 @@
草地
</th>
<td
colspan=
"2"
>
<el-input
v-model=
"flmjData.cd"
oninput=
"value = (value.match(/^\d
{0,8}(\.?\d{0,3})/g)[0]) || null">
</el-input>
<el-input
v-model=
"flmjData.
nyd
cd"
oninput=
"value = (value.match(/^\d
{0,8}(\.?\d{0,3})/g)[0]) || null">
</el-input>
</td>
</tr>
<tr>
<th>
其他
</th>
<td
colspan=
"2"
>
<el-input
v-model=
"flmjData.
qt
"
oninput=
"value = (value.match(/^\d
{0,8}(\.?\d{0,3})/g)[0]) || null">
</el-input>
<el-input
v-model=
"flmjData.
nydqt
"
oninput=
"value = (value.match(/^\d
{0,8}(\.?\d{0,3})/g)[0]) || null">
</el-input>
</td>
</tr>
<tr>
<th>
建设用地
</th>
<td
colspan=
"3"
>
<el-input
v-model=
"flmjData.j
s
yd"
oninput=
"value = (value.match(/^\d
{0,8}(\.?\d{0,3})/g)[0]) || null">
</el-input>
<el-input
v-model=
"flmjData.j
z
yd"
oninput=
"value = (value.match(/^\d
{0,8}(\.?\d{0,3})/g)[0]) || null">
</el-input>
</td>
</tr>
<tr>
...
...
@@ -140,7 +140,7 @@
</tr>
<tr>
<td
colspan=
"4"
style=
"text-align: center"
>
<el-button>
保存
</el-button>
<el-button
type=
"primary"
@
click=
"save"
>
保存
</el-button>
</td>
</tr>
</tbody>
...
...
@@ -149,11 +149,66 @@
</
template
>
<
script
>
import
{
getFlDc
,
updateFldc
}
from
'@api/zd'
export
default
{
name
:
"Fldcb"
,
props
:{
qlr
:{
type
:
String
},
bdcdyh
:{
type
:
String
},
zddm
:{
type
:
String
}
},
data
(){
return
{
// zdbsm:'',
flmjData
:{
zdbsm
:
''
,
mjdw
:
''
,
// 单位
zddm
:
''
,
// 宗地代码
nyd
:
''
,
// 农用地
nydgd
:
''
,
// 耕地
nydld
:
''
,
// 林地
nydcd
:
''
,
// 草地
nydqt
:
''
,
//其他
jsyd
:
''
,
// 建设用地
wlyd
:
''
,
// 未利用地
dcjs
:
""
,
// 调查记事
dcy
:
''
,
// 调查员
dcrq
:
''
,
// 调查日期
shyj
:
''
,
// 审核意见
shr
:
''
,
// 审核员
shrq
:
''
// 审核日期
}
}
},
mounted
(){
console
.
log
(
this
.
$route
.
query
.
bsm
,
'分类bsm'
)
this
.
info
(
this
.
$route
.
query
.
bsm
)
},
methods
:{
info
(
zdbsm
){
getFlDc
(
zdbsm
).
then
(
res
=>
{
if
(
res
.
success
)
{
console
.
log
(
res
,
'获取信息'
)
this
.
flmjData
=
res
.
result
[
0
]
}
})
},
save
(){
updateFldc
(
this
.
flmjData
).
then
(
res
=>
{
if
(
res
.
success
)
{
console
.
log
(
res
,
"保存成功"
)
this
.
$message
.
success
(
"保存成功"
)
}
})
},
result
(){
this
.
flmjData
=
{
dw
:
''
,
// 单位
qlr
:
''
,
// 权利人
zddm
:
''
,
// 宗地代码
...
...
@@ -163,7 +218,7 @@
ld
:
''
,
// 林地
cd
:
''
,
// 草地
qt
:
''
,
//其他
j
s
yd
:
''
,
// 建设用地
j
z
yd
:
''
,
// 建设用地
wlyd
:
''
,
// 未利用地
dcjs
:
""
,
// 调查记事
dcy
:
''
,
// 调查员
...
...
@@ -173,6 +228,15 @@
shrq
:
''
// 审核日期
}
}
},
watch
:{
"$store.state.zddm"
:
function
(
zddm
)
{
this
.
zddm
=
zddm
},
"$store.state.zdbsm"
:
function
(
bsm
)
{
this
.
mjftData
.
zdbsm
=
bsm
this
.
info
(
bsm
);
},
}
}
</
script
>
...
...
src/views/zd/index.vue
View file @
35676eb
...
...
@@ -2,7 +2,7 @@
<!--
<div
class=
"content_box"
>
-->
<el-tabs
v-model=
"activeName"
class=
"tabs"
@
tab-click=
"handleClick"
type=
"border-card"
>
<el-tab-pane
label=
"地籍调查表"
name=
"djdcb"
><zddcb></zddcb></el-tab-pane>
<el-tab-pane
label=
"分类调查表"
name=
"fldcb"
><fldcb
v-if=
"fldbcVisible
"
></fldcb></el-tab-pane>
<el-tab-pane
label=
"分类调查表"
name=
"fldcb"
v-if=
"isFldc"
><fldcb
v-if=
"fldbcVisible"
:qlr=
"qlr"
:bdcdyh=
"bdcdyh"
:zddm=
"zddm
"
></fldcb></el-tab-pane>
<el-tab-pane
label=
"面积分摊表"
name=
"mjftb"
><mjftb
v-if=
"mjftbVisible"
:is-disabled=
"isDisabled"
></mjftb></el-tab-pane>
<el-tab-pane
label=
"界址点"
name=
"jzd"
>
<jzd
v-if=
"jzdVisible"
:is-disabled=
"isDisabled"
></jzd>
...
...
@@ -28,6 +28,7 @@ import lshs from "./lshs";
import
fjcl
from
"./fjcl/fjcl"
import
{
queryStatus
}
from
"@api/search"
import
Fldcb
from
"@components/Fldcb/Fldcb"
import
{
getQjZdjbxxDetailById
}
from
'@api/zd'
export
default
{
name
:
""
,
components
:
{
...
...
@@ -36,6 +37,10 @@ export default {
props
:
{},
data
()
{
return
{
qlr
:
""
,
bdcdyh
:
''
,
zddm
:
""
,
isFldc
:
false
,
isDisabled
:
false
,
activeName
:
"djdcb"
,
mjftbVisible
:
false
,
...
...
@@ -49,12 +54,24 @@ export default {
};
},
methods
:
{
getZdData
(
bsm
){
getQjZdjbxxDetailById
(
bsm
).
then
(
res
=>
{
if
(
res
.
success
)
{
console
.
log
(
res
,
'宗地信息'
)
this
.
isFldc
=
res
.
result
.
zdtzmbsm
===
'PSHGSBDCQJDC000000000000DC440010'
;
}
})
},
loadingStatus
()
{
console
.
log
(
"是否禁用"
)
let
bsm
=
this
.
$route
.
query
.
bsm
;
queryStatus
(
bsm
).
then
(
res
=>
{
if
(
res
.
success
)
{
let
qszt
=
res
.
result
.
qszt
;
this
.
qlr
=
res
.
result
.
qlrmc
;
this
.
zddm
=
res
.
result
.
zddm
;
this
.
bdcdyh
=
res
.
result
.
bdcdyh
;
console
.
log
(
this
.
qlr
,
'权利人'
);
this
.
isDisabled
=
+
qszt
!==
0
;
}
})
...
...
@@ -95,7 +112,10 @@ export default {
},
},
created
()
{},
mounted
()
{},
mounted
()
{
this
.
getZdData
(
this
.
$store
.
state
.
zdbsm
);
this
.
loadingStatus
();
},
computed
:
{
zdbsm
()
{
return
this
.
$route
.
query
.
bsm
;
...
...
@@ -103,6 +123,7 @@ export default {
},
watch
:
{
zdbsm
:
function
(
val
)
{
this
.
getZdData
(
val
);
this
.
loadingStatus
();
},
},
...
...
Please
register
or
sign in
to post a comment