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
2aac5d3d
authored
2021-01-15 13:59:19 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://yun.pashanhoo.com:9090/renchao/CadastralSystem
2 parents
e8a7d7e8
f142be6b
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
141 additions
and
99 deletions
src/components/lineTree/lineTree.vue
src/components/lineTree/tx/js/geoUtils.js
src/views/panel/modify/index.vue
src/views/zd/zddcb/index.vue
src/views/zrz/lpb/bjlp/hbj/index.vue
src/views/zrz/zrzxx/index.vue
src/components/lineTree/lineTree.vue
View file @
2aac5d3
...
...
@@ -608,7 +608,7 @@ export default {
exportText
(){
var
self
=
this
;
var
type
=
this
.
zdData
.
type
;
var
BSM
=
type
==
'zd
t
'
?
this
.
zdData
.
zdbsm
:
this
.
zdData
.
bsm
;
var
BSM
=
type
==
'zd'
?
this
.
zdData
.
zdbsm
:
this
.
zdData
.
bsm
;
this
.
queryGeoByBsm
(
BSM
,
type
,
function
(
features
){
if
(
features
&&
features
.
length
>
0
&&
features
[
0
].
geometry
.
rings
.
length
>
0
){
var
data
=
features
[
0
];
...
...
@@ -637,7 +637,7 @@ export default {
exportToShp
(){
var
self
=
this
;
var
type
=
this
.
zdData
.
type
;
var
BSM
=
type
==
'zd
t
'
?
this
.
zdData
.
zdbsm
:
this
.
zdData
.
bsm
;
var
BSM
=
type
==
'zd'
?
this
.
zdData
.
zdbsm
:
this
.
zdData
.
bsm
;
this
.
queryGeoByBsm
(
BSM
,
type
,
function
(
features
){
if
(
features
&&
features
.
length
>
0
&&
features
[
0
].
geometry
.
rings
.
length
>
0
)
{
var
data
=
JSON
.
stringify
(
features
[
0
]);
...
...
@@ -656,7 +656,7 @@ export default {
exportExcel
(){
var
self
=
this
;
var
type
=
this
.
zdData
.
type
;
var
BSM
=
type
==
'zd
t
'
?
this
.
zdData
.
zdbsm
:
this
.
zdData
.
bsm
;
var
BSM
=
type
==
'zd'
?
this
.
zdData
.
zdbsm
:
this
.
zdData
.
bsm
;
this
.
queryGeoByBsm
(
BSM
,
type
,
function
(
features
)
{
if
(
features
&&
features
.
length
>
0
&&
features
[
0
].
geometry
.
rings
.
length
>
0
)
{
var
data
=
features
[
0
];
...
...
@@ -696,7 +696,7 @@ export default {
//图形定位
postionToMap
(){
var
type
=
this
.
zdData
.
type
;
var
BSM
=
type
==
'zd
t
'
?
this
.
zdData
.
zdbsm
:
this
.
zdData
.
bsm
;
var
BSM
=
type
==
'zd'
?
this
.
zdData
.
zdbsm
:
this
.
zdData
.
bsm
;
if
(
this
.
$route
.
path
==
"/viewMap"
){
//定位到当前空间位置
// TODO 这个方法只是为了支撑功能
...
...
src/components/lineTree/tx/js/geoUtils.js
View file @
2aac5d3
...
...
@@ -223,7 +223,7 @@ export default {
})
},
//保存或者编辑属性信息
updAttributes
(
bsm
,
type
,
attributes
,
callBackFunction
){
updAttributes
(
bsm
,
type
,
attributes
,
callBackFunction
,
ydybsm
){
var
layer
=
null
;
if
(
type
==
'zd'
){
layer
=
this
.
getLayerByName
(
"ZDJBXX"
);
...
...
@@ -232,7 +232,7 @@ export default {
}
var
featureUrl
=
layer
.
layerUrl
.
replace
(
"MapServer"
,
"FeatureServer"
);
featureUrl
+=
"/"
+
layer
.
id
;
this
.
queryGeoByBsm
(
bsm
,
type
,
function
(
features
)
{
this
.
queryGeoByBsm
(
ydybsm
?
ydybsm
:
bsm
,
type
,
function
(
features
)
{
if
(
features
&&
features
.
length
>
0
){
attributes
.
OBJECTID
=
features
[
0
].
attributes
.
OBJECTID
;
features
[
0
].
attributes
=
attributes
;
...
...
@@ -240,6 +240,9 @@ export default {
features[0].geometry.spatialReference = {
wkt:wkt
}*/
if
(
ydybsm
){
features
[
0
].
attributes
.
BSM
=
ydybsm
;
}
featureUpdate
.
methods
.
updateGraphic
(
featureUrl
,
features
[
0
],
callBackFunction
);
}
else
{
var
graphic
=
{
...
...
src/views/panel/modify/index.vue
View file @
2aac5d3
...
...
@@ -183,25 +183,25 @@
switch
(
row
.
dylx
)
{
case
"zd"
:
this
.
$store
.
state
.
zdbsm
=
row
.
glbsm
;
this
.
getRightTree
(
row
.
glbsm
,
'
1
'
);
this
.
getRightTree
(
row
.
glbsm
,
'
0,1,2
'
);
break
;
case
"zrz"
:
this
.
$store
.
state
.
zrzbsm
=
row
.
glbsm
;
this
.
getTreeByBsm
(
row
.
glbsm
,
row
.
dylx
,
'
1
'
);
this
.
getTreeByBsm
(
row
.
glbsm
,
row
.
dylx
,
'
0,1,2
'
);
break
;
case
"h"
:
case
"h0"
:
case
"h1"
:
this
.
$store
.
state
.
hbsm
=
row
.
glbsm
;
this
.
getTreeByBsm
(
row
.
glbsm
,
'h'
,
'
1
'
);
this
.
getTreeByBsm
(
row
.
glbsm
,
'h'
,
'
0,1,2
'
);
break
;
case
"dz"
:
this
.
$store
.
state
.
dzbsm
=
row
.
glbsm
;
this
.
getTreeByBsm
(
row
.
glbsm
,
row
.
dylx
,
'
1
'
);
this
.
getTreeByBsm
(
row
.
glbsm
,
row
.
dylx
,
'
0,1,2
'
);
break
;
case
"gzw"
:
this
.
$store
.
state
.
dzbsm
=
row
.
glbsm
;
this
.
getTreeByBsm
(
row
.
glbsm
,
row
.
dylx
,
'
1
'
);
this
.
getTreeByBsm
(
row
.
glbsm
,
row
.
dylx
,
'
0,1,2
'
);
break
;
default
:
...
...
src/views/zd/zddcb/index.vue
View file @
2aac5d3
...
...
@@ -556,6 +556,9 @@
//权利性质数据传给子组件
this
.
$refs
.
qlxzModule
.
countList
=
res
.
result
.
list
;
})
if
(
res
.
result
.
ydybsm
){
this
.
saveZdGraphicAtrributes
(
res
.
result
.
ydybsm
);
}
}
else
{
this
.
$nextTick
(()
=>
{
//权利性质数据传给子组件
...
...
@@ -790,8 +793,27 @@
vm
.
loadingHide
();
console
.
log
(
error
);
});
this
.
saveZdGraphicAtrributes
();
}
}
}
else
{
this
.
$message
({
// message: item.name+'不能为空',
message
:
'请完善表单后再继续操作'
,
type
:
"warning"
,
});
}
})
},
//保存空间图形
saveZdGraphicAtrributes
(
ybsm
){
//保存到空间库里面
var
self
=
this
;
/* var ybsm = null;
if(this.ydybsm){
ybsm = this.ydybsm;
} */
for
(
var
key
in
this
.
geoAttributes
)
{
if
(
key
==
"BSM"
)
{
self
.
geoAttributes
[
key
]
=
this
.
$store
.
state
.
zdbsm
...
...
@@ -819,18 +841,7 @@
}
self
.
updAttributes
(
this
.
$store
.
state
.
zdbsm
,
'zd'
,
this
.
geoAttributes
,
function
(
res
)
{
});
}
}
}
else
{
this
.
$message
({
// message: item.name+'不能为空',
message
:
'请完善表单后再继续操作'
,
type
:
"warning"
,
});
}
})
},
ybsm
);
},
inputBlur
(
e
)
{
if
(
e
.
target
.
value
!=
''
)
{
...
...
src/views/zrz/lpb/bjlp/hbj/index.vue
View file @
2aac5d3
...
...
@@ -28,45 +28,67 @@
<!--
<td
colspan=
"4"
>
-->
<!--
<el-input
v-model=
"form.ydybsm"
disabled
></el-input>
-->
<!--
</td>
-->
<td
colspan=
"2"
align=
"center"
>
<span>
坐落
<i
class=
"requisite"
>
*
</i></span>
</td>
<td
colspan=
"2"
align=
"center"
>
逻辑幢号
</td>
<td
colspan=
"4"
>
<
input
class=
"formInput"
v-model=
"form.zl"
ref=
"zl"
@
blur=
"inputBlur($event)"
:disabled=
"disableFlag"
/
>
<
el-input
v-model=
"form.ljzh"
disabled
></el-input
>
</td>
</tr>
<tr
height=
"30"
>
<td
colspan=
"2"
align=
"center"
>
逻辑幢号
</td>
<td
colspan=
"2"
align=
"center"
>
房屋性质
<i
class=
"requisite"
>
*
</i>
</td>
<td
colspan=
"4"
>
<el-input
v-model=
"form.ljzh"
disabled
></el-input>
<el-select
v-model=
"form.fwxzbsm"
placeholder=
"请选择"
:disabled=
"disableFlag"
ref=
"fwxzbsm"
>
<el-option
v-for=
"item in $store.state.fwxzOptions"
:key=
"item.bsm"
:label=
"item.mc"
:value=
"item.bsm"
>
</el-option>
</el-select>
</td>
<td
colspan=
"2"
align=
"center"
>
层号
</td>
<td
colspan=
"2"
align=
"center"
>
所在单元
</td>
<td
colspan=
"4"
>
<el-input
v-model=
"form.
ch"
:disabled=
"disableFlag"
></el-input>
<el-input
v-model=
"form.
zdymc"
disabled
></el-input>
</td>
</tr>
<tr
height=
"30"
>
<td
colspan=
"2"
align=
"center"
>
实际层数
</td>
<td
colspan=
"2"
align=
"center"
>
层号
</td>
<td
colspan=
"4"
>
<el-input
v-model=
"form.
sjcs
"
:disabled=
"disableFlag"
></el-input>
<el-input
v-model=
"form.
ch
"
:disabled=
"disableFlag"
></el-input>
</td>
<td
colspan=
"2"
align=
"center"
>
实际层
</td>
<td
colspan=
"4"
>
<el-input
v-model=
"form.sjc"
:disabled=
"disableFlag"
></el-input>
<el-input
v-model=
"form.sjc"
disabled
></el-input>
</td>
</tr>
<tr
height=
"30"
>
<td
colspan=
"2"
align=
"center"
>
所在单元
</td>
<td
colspan=
"4"
>
<el-input
v-model=
"form.zdymc"
:disabled=
"disableFlag"
></el-input>
</td>
<td
colspan=
"2"
align=
"center"
>
房屋编号
</td>
<td
colspan=
"4"
>
<el-input
v-model=
"form.fwbh"
:disabled=
"disableFlag"
></el-input>
</td>
<td
colspan=
"2"
align=
"center"
>
实际层数
</td>
<td
colspan=
"4"
>
<el-input
v-model=
"form.sjcs"
disabled
></el-input>
</td>
</tr>
<tr
height=
"30"
>
<td
colspan=
"2"
align=
"center"
>
室号
</td>
<td
colspan=
"4"
>
<el-input
v-model=
"form.shbw"
:disabled=
"disableFlag"
></el-input>
</td>
<td
colspan=
"2"
align=
"center"
>
户号
</td>
<td
colspan=
"4"
>
<el-input
v-model=
"form.hh"
disabled
></el-input>
</td>
</tr>
<tr
height=
"30"
>
...
...
@@ -81,30 +103,16 @@
</el-option>
</el-select>
</td>
<td
colspan=
"2"
align=
"center"
>
房屋性质
<i
class=
"requisite"
>
*
</i></td>
<td
colspan=
"4"
>
<el-select
v-model=
"form.fwxzbsm"
placeholder=
"请选择"
:disabled=
"disableFlag"
ref=
"fwxzbsm"
>
<el-option
v-for=
"item in $store.state.fwxzOptions"
:key=
"item.bsm"
:label=
"item.mc"
:value=
"item.bsm"
>
</el-option>
</el-select>
</td>
</tr>
<tr
height=
"30"
>
<td
colspan=
"2"
align=
"center"
>
户号
</td>
<td
colspan=
"2"
align=
"center"
>
名义层
</td>
<td
colspan=
"4"
>
<el-input
v-model=
"form.hh"
:disabled=
"disableFlag"
></el-input>
</td>
<td
colspan=
"2"
align=
"center"
>
室号
</td>
<td
colspan=
"4"
>
<el-input
v-model=
"form.shbw"
:disabled=
"disableFlag"
></el-input>
<el-input
v-model=
"form.myc"
disabled
></el-input>
</td>
</tr>
<tr
height=
"30"
>
<td
colspan=
"2"
align=
"center"
>
户型
</td>
<td
colspan=
"4"
>
...
...
@@ -157,52 +165,52 @@
<tr
height=
"30"
>
<td
colspan=
"2"
rowspan=
"6"
align=
"center"
>
预测
</td>
<td
colspan=
"2"
align=
"center"
>
建筑面积
(㎡)
</td>
<td
colspan=
"2"
align=
"center"
>
建筑面积
(㎡)
</td>
<td
colspan=
"2"
align=
"center"
>
<el-input
v-model=
"form.ycjzmj"
type=
"number"
:disabled=
"form.scyclx==='1'||disableFlag"
></el-input>
</td>
<td
colspan=
"2"
rowspan=
"6"
align=
"center"
>
实测
</td>
<td
colspan=
"2"
align=
"center"
>
建筑面积
(㎡)
</td>
<td
colspan=
"2"
align=
"center"
>
建筑面积
(㎡)
</td>
<td
colspan=
"2"
align=
"center"
>
<el-input
v-model=
"form.scjzmj"
type=
"number"
:disabled=
"form.scyclx==='0'||disableFlag"
></el-input>
</td>
</tr>
<tr
height=
"30"
>
<td
colspan=
"2"
align=
"center"
>
套内建筑面积
(㎡))
</td>
<td
colspan=
"2"
align=
"center"
>
套内建筑面积
(㎡)
</td>
<td
colspan=
"2"
align=
"center"
>
<el-input
v-model=
"form.yctnjzmj"
type=
"number"
:disabled=
"form.scyclx==='1'||disableFlag"
></el-input>
</td>
<td
colspan=
"2"
align=
"center"
>
套内建筑面积
(㎡)
</td>
<td
colspan=
"2"
align=
"center"
>
套内建筑面积
(㎡)
</td>
<td
colspan=
"2"
align=
"center"
>
<el-input
v-model=
"form.sctnjzmj"
type=
"number"
:disabled=
"form.scyclx==='0'||disableFlag"
></el-input>
</td>
</tr>
<tr
height=
"30"
>
<td
colspan=
"2"
align=
"center"
>
分摊建筑面积
(㎡)
</td>
<td
colspan=
"2"
align=
"center"
>
分摊建筑面积
(㎡)
</td>
<td
colspan=
"2"
align=
"center"
>
<el-input
v-model=
"form.ycftjzmj"
type=
"number"
:disabled=
"form.scyclx==='1'||disableFlag"
></el-input>
</td>
<td
colspan=
"2"
align=
"center"
>
分摊建筑面积
(㎡)
</td>
<td
colspan=
"2"
align=
"center"
>
分摊建筑面积
(㎡)
</td>
<td
colspan=
"2"
align=
"center"
>
<el-input
v-model=
"form.scftjzmj"
type=
"number"
:disabled=
"form.scyclx==='0'||disableFlag"
></el-input>
</td>
</tr>
<tr
height=
"30"
>
<td
colspan=
"2"
align=
"center"
>
地下部分建筑面积
(㎡)
</td>
<td
colspan=
"2"
align=
"center"
>
地下部分建筑面积
(㎡)
</td>
<td
colspan=
"2"
align=
"center"
>
<el-input
v-model=
"form.ycdxbfjzmj"
type=
"number"
:disabled=
"form.scyclx==='1'||disableFlag"
></el-input>
</td>
<td
colspan=
"2"
align=
"center"
>
地下部分建筑面积
(㎡)
</td>
<td
colspan=
"2"
align=
"center"
>
地下部分建筑面积
(㎡)
</td>
<td
colspan=
"2"
align=
"center"
>
<el-input
v-model=
"form.scdxbfjzmj"
type=
"number"
:disabled=
"form.scyclx==='0'||disableFlag"
></el-input>
</td>
</tr>
<tr
height=
"30"
>
<td
colspan=
"2"
align=
"center"
>
其它建筑面积
(㎡)
</td>
<td
colspan=
"2"
align=
"center"
>
其它建筑面积
(㎡)
</td>
<td
colspan=
"2"
align=
"center"
>
<el-input
v-model=
"form.ycqtjzmj"
type=
"number"
:disabled=
"form.scyclx==='1'||disableFlag"
></el-input>
</td>
<td
colspan=
"2"
align=
"center"
>
其它建筑面积
(㎡)
</td>
<td
colspan=
"2"
align=
"center"
>
其它建筑面积
(㎡)
</td>
<td
colspan=
"2"
align=
"center"
>
<el-input
v-model=
"form.scqtjzmj"
type=
"number"
:disabled=
"form.scyclx==='0'||disableFlag"
></el-input>
</td>
...
...
@@ -217,7 +225,29 @@
<input
class=
"formInput"
v-model=
"form.scftxs"
type=
"number"
:disabled=
"form.scyclx==='0'||disableFlag"
@
blur=
"inputFtxsBlur($event)"
ref=
"scftxs"
/>
</td>
</tr>
<tr
height=
"30"
>
<td
colspan=
"2"
align=
"center"
>
共有土地面积(㎡)
</td>
<td
colspan=
"2"
>
<el-input
v-model=
"form.gytdmj"
type=
"number"
:disabled=
"disableFlag"
></el-input>
</td>
<td
colspan=
"2"
align=
"center"
>
分摊土地面积(㎡)
</td>
<td
colspan=
"2"
>
<el-input
v-model=
"form.fttdmj"
type=
"number"
:disabled=
"disableFlag"
></el-input>
</td>
<td
colspan=
"2"
align=
"center"
>
多幢独用土地面积(㎡)
</td>
<td
colspan=
"2"
>
<el-input
v-model=
"form.dytdmj"
type=
"number"
:disabled=
"disableFlag"
></el-input>
</td>
</tr>
<tr>
<td
colspan=
"2"
align=
"center"
>
<span>
坐落
<i
class=
"requisite"
>
*
</i></span>
</td>
<td
colspan=
"10"
>
<input
class=
"formInput"
v-model=
"form.zl"
ref=
"zl"
@
blur=
"inputBlur($event)"
:disabled=
"disableFlag"
/>
</td>
</tr>
<tr
height=
"30"
v-for=
"(item1,index) in form.fwytList"
:key=
"index"
>
<td
v-if=
"index===0"
colspan=
"2"
:rowspan=
"ytTitleRowspan"
align=
"center"
id=
"ytTitle"
>
...
...
@@ -228,10 +258,10 @@
@
click=
"addYtInfo"
>
+
</el-button
>
<span>
用途
<i
class=
"requisite"
>
*
</i></span>
<span>
房屋
用途
<i
class=
"requisite"
>
*
</i></span>
</td>
<td
width=
"30"
colspan=
"
1
"
align=
"center"
>
<td
width=
"30"
colspan=
"
2
"
align=
"center"
>
<el-button
type=
"primary"
class=
"changeBtn addMinus inMinus"
...
...
@@ -240,7 +270,7 @@
>
规划用途
</td>
<td
width=
"30"
colspan=
"
4
"
align=
"center"
>
<td
width=
"30"
colspan=
"
2
"
align=
"center"
>
<el-select-tree
ref=
"ghyt"
v-if=
"show"
...
...
@@ -256,7 +286,7 @@
v-model=
"item1.fwytzdbsm"
></el-select-tree>
</td>
<td
width=
"30"
colspan=
"
1
"
align=
"center"
>
用途
</td>
<td
width=
"30"
colspan=
"
2
"
align=
"center"
>
用途
</td>
<td
width=
"30"
colspan=
"4"
align=
"center"
>
<el-select-tree
ref=
"yt"
...
...
@@ -286,10 +316,17 @@
>
<span>
房屋结构
<i
class=
"requisite"
>
*
</i></span>
</td>
<td
colspan=
"1"
align=
"center"
>
<span
@
click=
"deleteFwjgInfo(index)"
>
删除
</span>
<td
colspan=
"2"
align=
"center"
>
<el-button
type=
"primary"
style=
"margin-right: 5px"
class=
"changeBtn addMinus inMinus"
@
click=
"deleteFwjgInfo(index)"
>
-
</el-button
>
<span
@
click=
"deleteFwjgInfo(index)"
>
房屋结构
</span>
</td>
<td
colspan=
"
9
"
>
<td
colspan=
"
8
"
>
<el-select
v-model=
"item1.fwjgzdbsm"
ref=
"fwjg"
placeholder=
"请选择"
:disabled=
"disableFlag"
>
<el-option
v-for=
"item in $store.state.jgOptions"
...
...
@@ -301,20 +338,6 @@
</td>
</tr>
<tr
height=
"30"
>
<td
colspan=
"2"
align=
"center"
>
共有土地面积(㎡)
</td>
<td
colspan=
"2"
>
<el-input
v-model=
"form.gytdmj"
type=
"number"
:disabled=
"disableFlag"
></el-input>
</td>
<td
colspan=
"2"
align=
"center"
>
分摊土地面积(㎡)
</td>
<td
colspan=
"2"
>
<el-input
v-model=
"form.fttdmj"
type=
"number"
:disabled=
"disableFlag"
></el-input>
</td>
<td
colspan=
"2"
align=
"center"
>
多幢独用土地面积(㎡)
</td>
<td
colspan=
"2"
>
<el-input
v-model=
"form.dytdmj"
type=
"number"
:disabled=
"disableFlag"
></el-input>
</td>
</tr>
<tr>
...
...
src/views/zrz/zrzxx/index.vue
View file @
2aac5d3
...
...
@@ -567,7 +567,18 @@
this
.
loading
=
false
;
})
this
.
loading
=
false
;
this
.
saveGraphicAttributes
();
}
}
else
{
this
.
$message
({
// message: item.name+'不能为空',
message
:
'请完善表单后再继续操作'
,
type
:
"warning"
,
});
}
})
},
//保存空间信息
saveGraphicAttributes
(
ybsm
){
//保存到空间库里面
var
self
=
this
;
for
(
var
key
in
this
.
geoAttributes
){
...
...
@@ -583,16 +594,7 @@
}
self
.
updAttributes
(
this
.
bsm
,
'zrz'
,
this
.
geoAttributes
,
function
(
res
)
{
console
.
log
(
"属性保存完成!!"
);
});
}
}
else
{
this
.
$message
({
// message: item.name+'不能为空',
message
:
'请完善表单后再继续操作'
,
type
:
"warning"
,
});
}
})
},
ybsm
);
},
onSubmit
(){
let
data
=
{
...
...
@@ -664,6 +666,9 @@
getZrzDetailByBsm
(
data
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
){
this
.
form
=
res
.
result
;
if
(
res
.
result
.
ydybsm
){
this
.
saveGraphicAttributes
(
res
.
result
.
ydybsm
);
}
if
(
res
.
result
.
gygyqlrqk
!=
null
){
this
.
$refs
.
qlrxxModule
.
changeGyfs
(
res
.
result
.
gygyqlrqk
);
}
...
...
Please
register
or
sign in
to post a comment