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
4ca4142e
authored
2020-12-03 15:36:01 +0800
by
weimo934
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat():户重新落宗添加提示,宗地分割调整
1 parent
07514623
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
112 additions
and
21 deletions
src/api/dz.js
src/api/h.js
src/components/hCxlz/hCxlz.vue
src/views/panel/change/fg/index.vue
src/views/zrz/lpb/bjlp/index.vue
src/api/dz.js
View file @
4ca4142
import
request
from
'@/plugin/axios'
/**
* 新增多幢基本信息
*/
export
function
insertDzjbxx
(
data
)
{
export
function
insertDzjbxx
(
data
)
{
return
request
({
url
:
'/fw/qjDz/insertQjDz'
,
method
:
'post'
,
...
...
@@ -13,13 +14,13 @@ export function insertDzjbxx (data) {
/**
* 生成不动产单元号
*/
export
function
getBdcdyh
(
dpdm
,
dptype
)
{
export
function
getBdcdyh
(
dpdm
,
dptype
)
{
return
request
({
url
:
'/system/generator/getBdcdyh'
,
method
:
'get'
,
params
:{
dpdm
:
dpdm
,
dptype
:
dptype
params
:
{
dpdm
:
dpdm
,
dptype
:
dptype
}
})
}
...
...
@@ -27,23 +28,50 @@ export function getBdcdyh (dpdm,dptype) {
/**
* 保存自然幢信息
*/
export
function
saveDzInfo
(
data
)
{
export
function
saveDzInfo
(
data
)
{
return
request
({
url
:
'/fw/qjDz/updateQjDz'
,
method
:
'put'
,
data
:
data
data
:
data
})
}
/**
* 保存自然幢信息
*/
export
function
getDzDetailByBsm
(
data
)
{
export
function
getDzDetailByBsm
(
data
)
{
return
request
({
url
:
'/fw/qjDz/getDzDetailByBsm'
,
method
:
'get'
,
params
:
{
id
:
data
}
})
}
/**
* 获取多幢上的宗地信息
* @param bsm
*/
export
function
getZdxx
(
bsm
)
{
return
request
({
url
:
'/fw/qjDz/zdxx'
,
method
:
'get'
,
params
:
{
bsm
}
})
}
/**
* 宗地分割获取幢信息
*/
export
function
ZdfggetZxx
(
zdbsm
)
{
return
request
({
url
:
"/bg/zdSplitMerge/fgSelectDzZrz"
,
method
:
'get'
,
params
:{
id
:
data
zdbsm
}
})
}
...
...
src/api/h.js
View file @
4ca4142
...
...
@@ -45,3 +45,17 @@ export function zrzcxlz(data) {
data
:
data
})
}
/**
* 获取户上的宗地信息
*/
export
function
getHZdxx
(
bsm
)
{
return
request
({
url
:
'/bg/hSplitMerge/zdxx'
,
method
:
'get'
,
params
:
{
bsm
}
})
}
...
...
src/components/hCxlz/hCxlz.vue
View file @
4ca4142
...
...
@@ -191,7 +191,7 @@
this
.
hcxlzData
.
zrzbsm
=
''
this
.
hcxlzData
.
zdybsm
=
''
this
.
hcxlzData
.
ljzbsm
=
''
this
.
getZrz
(
val
.
gl
bsm
)
this
.
getZrz
(
val
.
zd
bsm
)
}
}
}
...
...
src/views/panel/change/fg/index.vue
View file @
4ca4142
...
...
@@ -587,10 +587,11 @@
getListByPbsm
,
getDdicByMC
}
from
"./../../../../api/common"
;
import
{
getQjZdjbxxDetailById
}
from
'./../../../../api/zd'
import
{
getQjZdjbxxDetailById
,
zdfg
}
from
'./../../../../api/zd'
import
{
getZdxx
,
ZdfggetZxx
}
from
'./../../../../api/dz'
import
{
getHZdxx
}
from
'./../../../../api/h'
import
QueryData
from
'./../../../../components/queryData/queryData'
import
zdQueryData
from
'./../../../../components/zdQueryData/zdQueryData'
import
{
zdfg
}
from
'./../../../../api/zd'
import
{
Message
}
from
'element-ui'
export
default
{
...
...
@@ -606,6 +607,7 @@
zdFgqData
:
{},
// 宗地分割前数据
dzFgqData
:
{},
//多幢分割前数据
hFgqData
:
{},
// 户分割前数据
zdZxx
:{},
// 宗地选择幢
xzq
:
[],
djq
:
[],
djzq
:
[],
...
...
@@ -707,10 +709,15 @@
})
},
methods
:
{
ZdgetDzXx
(
zdbsm
){
ZdfggetZxx
(
zdbsm
).
then
(
res
=>
{
if
(
res
.
success
)
{
this
.
zdZxx
=
res
.
result
;
console
.
log
(
res
.
result
,
"宗地分割多幢信息"
);
}
})
},
handleNodeClick
(
node
)
{
console
.
log
(
node
,
'node'
);
console
.
log
(
node
.
parent
,
'node.parent'
)
console
.
log
(
node
.
children
,
'node.children'
)
this
.
zdFghData
.
newZdlist
[
this
.
selectIndex
].
fwlist
.
push
({
zbsm
:
node
.
label
,
ztype
:
'多幢'
...
...
@@ -781,6 +788,24 @@
this
.
checkedData
.
fwlist
=
[{
zbsm
:
''
,
ztype
:
''
}]
})
},
getDzZdjbxx
(
id
){
getZdxx
(
id
).
then
(
res
=>
{
this
.
checkedData
=
res
.
result
// 用户bsm暂时传空
this
.
checkedData
.
userbsm
=
''
// fwlist 暂时传空
this
.
checkedData
.
fwlist
=
[{
zbsm
:
''
,
ztype
:
''
}]
})
},
getHZdxx
(
id
){
getHZdxx
(
id
).
then
(
res
=>
{
this
.
checkedData
=
res
.
result
// 用户bsm暂时传空
this
.
checkedData
.
userbsm
=
''
// fwlist 暂时传空
this
.
checkedData
.
fwlist
=
[{
zbsm
:
''
,
ztype
:
''
}]
})
},
getzdtzm
()
{
getDdicByMC
(
'宗地(宗海)特征码'
).
then
(
res
=>
{
this
.
tdtzm
=
res
.
result
...
...
@@ -797,9 +822,24 @@
changeXzq
(
id
,
index
)
{
this
.
djq
=
[];
this
.
djzq
=
[];
if
(
index
!=
undefined
)
{
this
.
zdFghData
.
newZdlist
[
index
].
djqbsm
=
''
this
.
zdFghData
.
newZdlist
[
index
].
djzqbsm
=
''
if
(
index
!==
undefined
)
{
switch
(
this
.
tabName
)
{
case
"zd"
:
this
.
zdFghData
.
newZdlist
[
index
].
djqbsm
=
''
;
this
.
zdFghData
.
newZdlist
[
index
].
djzqbsm
=
''
;
break
;
case
"dz"
:
this
.
dzFghData
.
newZdlist
[
index
].
djqbsm
=
''
;
this
.
dzFghData
.
newZdlist
[
index
].
djzqbsm
=
''
;
break
;
case
"h"
:
this
.
hFghData
.
newZdlist
[
index
].
djqbsm
=
''
;
this
.
hFghData
.
newZdlist
[
index
].
djzqbsm
=
''
;
break
;
default
:
break
;
}
}
getListByXzqbsm
(
id
)
.
then
((
res
)
=>
{
...
...
@@ -940,6 +980,7 @@
zdFgqData
:
{
handler
:
function
(
item
)
{
this
.
zdFghData
.
oldZdbsm
=
item
.
zdbsm
;
this
.
ZdgetDzXx
(
item
.
zdbsm
);
this
.
getZdJbxx
(
item
.
zdbsm
);
},
deep
:
true
...
...
@@ -947,14 +988,15 @@
dzFgqData
:
{
handler
:
function
(
item
)
{
this
.
dzFgqData
.
oldZdbsm
=
item
.
glbsm
;
this
.
get
ZdJ
bxx
(
item
.
glbsm
);
this
.
get
DzZdj
bxx
(
item
.
glbsm
);
},
deep
:
true
},
hFgqData
:
{
handler
:
function
(
item
)
{
this
.
hFgqData
.
oldZdbsm
=
item
.
glbsm
;
this
.
getZdJbxx
(
item
.
glbsm
);
console
.
log
(
item
.
glbsm
,
"户bsm"
)
this
.
getHZdxx
(
item
.
glbsm
);
},
deep
:
true
},
...
...
src/views/zrz/lpb/bjlp/index.vue
View file @
4ca4142
...
...
@@ -66,7 +66,7 @@
class=
"radioBtn"
label=
"7"
border
@
click=
"hcxlz
Visible = true
"
@
click=
"hcxlz"
><i
class=
"fa fa-building-o"
></i>
户重新落宗
</el-button
>
</div>
...
...
@@ -395,6 +395,13 @@ export default {
},
100
);
},
methods
:
{
hcxlz
(){
if
(
this
.
bsms
.
length
<=
0
)
{
Message
.
warning
(
"请选择操作户"
)
return
}
this
.
hcxlzVisible
=
true
},
loading
(){
this
.
getLpbMenuTree
(
this
.
$store
.
state
.
zrzbsm
);
},
...
...
Please
register
or
sign in
to post a comment