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
549a2ef0
authored
2021-02-02 17:15:45 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://yun.pashanhoo.com:9090/renchao/CadastralSystem
2 parents
de9cfb68
9377c122
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
120 additions
and
16 deletions
src/api/manage.js
src/components/lshs/index.vue
src/views/manage/hdgl/index.vue
src/api/manage.js
View file @
549a2ef
...
...
@@ -64,4 +64,26 @@ export function editDdicNode(data) {
method
:
'post'
,
data
:
data
,
})
}
/**
* 查询号段管理列表
*/
export
function
getCodeSection
(
data
)
{
return
request
({
url
:
'/system/manage/getCodeSection'
,
method
:
'post'
,
data
:
data
,
})
}
/**
* 查询号段管理列表
*/
export
function
batchUpdateSectionCode
(
data
)
{
return
request
({
url
:
'/system/manage/batchUpdateSectionCode'
,
method
:
'post'
,
data
:
data
,
})
}
\ No newline at end of file
...
...
src/components/lshs/index.vue
View file @
549a2ef
...
...
@@ -48,20 +48,20 @@
<el-row>
<el-col
:span=
"6"
><div
class=
"grid-left"
>
权利性质
</div></el-col>
<el-col
:span=
"18"
><div
class=
"grid-right"
>
{{
result
.
qlxz
dm
}}
</div></el-col
><div
class=
"grid-right"
>
{{
result
.
qlxz
mc
}}
</div></el-col
>
</el-row>
<el-row>
<el-col
:span=
"6"
><div
class=
"grid-left"
>
批准用途
</div></el-col>
<el-col
:span=
"18"
><div
class=
"grid-right"
>
{{
result
.
pzyt
dm
}}
</div></el-col
><div
class=
"grid-right"
>
{{
result
.
pzyt
mc
}}
</div></el-col
>
</el-row>
<el-row>
<el-col
:span=
"6"
><div
class=
"grid-left"
>
实际用途
</div></el-col>
<el-col
:span=
"18"
><div
class=
"grid-right"
>
{{
result
.
sjyt
dm
}}
</div></el-col
><div
class=
"grid-right"
>
{{
result
.
sjyt
mc
}}
</div></el-col
>
</el-row>
<el-row>
...
...
@@ -293,7 +293,7 @@ export default {
},
fitView: true,
fitViewPadding: 1
6
0,
fitViewPadding: 1
0
0,
});
graph.data(data);
...
...
@@ -312,6 +312,39 @@ export default {
getQjZdjbxxDetailByIdBylshs(e.item._cfg.id).then((res) => {
if (res.code === 200) {
self.result = res.result;
this.$store.state.qlxzList.forEach((item) => {
if(item.children!=null&&item.children.length!=0){
item.children.forEach((childitem)=>{
if (childitem.dm === res.result.qlxzdm) {
self.result.qlxzmc=childitem.mc;
}
})
}
if (item.dm === res.result.qlxzdm) {
self.result.qlxzmc=item.mc;
}
});
this.$store.state.tdytList.forEach((item) => {
if(item.children!=null&&item.children.length!=0){
item.children.forEach((childitem)=>{
if (childitem.dm === res.result.pzytdm) {
self.result.pzytmc=childitem.mc;
}
if (childitem.dm === res.result.sjytdm) {
self.result.sjytmc=childitem.mc;
}
})
}
if (item.dm === res.result.pzytdm) {
self.result.pzytmc=item.mc;
}
if (item.dm === res.result.sjytdm) {
self.result.sjytmc=item.mc;
}
});
}
});
break;
...
...
@@ -384,6 +417,36 @@ export default {
getQjZdjbxxDetailByIdBylshs(this.bsm).then((res) => {
if (res.code === 200) {
this.result = res.result;
this.$store.state.qlxzList.forEach((item) => {
if(item.children!=null&&item.children.length!=0){
item.children.forEach((childitem)=>{
if (childitem.dm === res.result.qlxzdm) {
this.result.qlxzmc=childitem.mc;
}
})
}
if (item.dm === res.result.qlxzdm) {
this.result.qlxzmc=item.mc;
}
});
this.$store.state.tdytList.forEach((item1) => {
if(item1.children!=null&&item1.children.length!=0){
item1.children.forEach((childitem1)=>{
if (childitem1.dm === res.result.pzytdm) {
this.result.pzytmc=childitem1.mc;
}
if (childitem1.dm === res.result.sjytdm) {
this.result.sjytmc=childitem1.mc;
}
})
}
if (item1.dm === res.result.pzytdm) {
this.result.pzytmc=item1.mc;
}
if (item1.dm === res.result.sjytdm) {
this.result.sjytmc=item1.mc;
}
});
}
});
break;
...
...
src/views/manage/hdgl/index.vue
View file @
549a2ef
...
...
@@ -32,9 +32,9 @@
</el-select>
</el-form-item>
<br/>
<el-form-item
label=
"所有权类型"
class=
"w100"
prop=
"syqlx
bsm
"
>
<el-form-item
label=
"所有权类型"
class=
"w100"
prop=
"syqlx"
>
<el-select
v-model=
"ruleForm.syqlx
bsm
"
v-model=
"ruleForm.syqlx"
placeholder=
"所有权类型"
>
<el-option
...
...
@@ -46,16 +46,16 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"特征码"
class=
"w100"
prop=
"zdtzm
bsm
"
>
<el-form-item
label=
"特征码"
class=
"w100"
prop=
"zdtzm"
>
<el-select
v-model=
"ruleForm.tzm
bsm
"
v-model=
"ruleForm.tzm"
placeholder=
"宗地特征码"
>
<el-option
v-for=
"item in $store.state.zdtzmList"
:key=
"item.bsm"
:label=
"item.mc"
:value=
"item.
bs
m"
:value=
"item.
d
m"
>
</el-option>
</el-select>
...
...
@@ -110,7 +110,7 @@
</
template
>
<
script
>
import
{
getLogData
,
getErrorLog
}
from
"@api/manage"
;
import
{
getCodeSection
,
batchUpdateSectionCode
}
from
"@api/manage"
;
import
{
getAllList
,
getListByXzqbsm
,
...
...
@@ -142,8 +142,8 @@
xzqbsm
:
""
,
djqbsm
:
""
,
djzqbsm
:
""
,
syqlx
bsm
:
"G"
,
tzm
bsm
:
""
,
syqlx
:
"G"
,
tzm
:
""
,
},
syqlx
:
[
{
...
...
@@ -167,6 +167,11 @@
methods
:{
//数据查询
getData
(){
getCodeSection
(
this
.
ruleForm
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
){
this
.
tableData
=
res
.
result
;
}
})
},
//条件重置
reset
(){
...
...
@@ -174,8 +179,8 @@
xzqbsm
:
""
,
djqbsm
:
""
,
djzqbsm
:
""
,
syqlx
bsm
:
"G"
,
tzm
bsm
:
""
,
syqlx
:
"G"
,
tzm
:
""
,
}
},
//获取行政区划数据
...
...
@@ -253,7 +258,21 @@
},
//确定修改
saveInfo
(){
let
bsms
=
[];
for
(
let
i
=
0
;
i
<
this
.
multipleSelection
.
length
;
i
++
){
bsms
.
push
(
this
.
multipleSelection
[
i
].
bsm
);
}
let
data
=
{
bsms
:
bsms
,
newJzdm
:
this
.
newJzdm
};
batchUpdateSectionCode
(
data
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
){
this
.
$message
.
success
(
"修改完成"
)
}
else
{
this
.
$message
.
warning
(
res
.
message
);
}
})
},
//多选
handleSelectionChange
(
val
){
...
...
@@ -264,7 +283,7 @@
this
.
getXzqList
();
this
.
getData
();
this
.
$nextTick
(()
=>
{
this
.
ruleForm
.
tzm
bsm
=
this
.
$store
.
state
.
zdtzmList
[
0
].
bs
m
;
this
.
ruleForm
.
tzm
=
this
.
$store
.
state
.
zdtzmList
[
0
].
d
m
;
this
.
tableHeight
=
(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
-
382
;
})
}
...
...
Please
register
or
sign in
to post a comment