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
6a9eede9
authored
2021-02-03 11:42:30 +0800
by
jikai
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
jikai commit
1 parent
7085922d
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
10 additions
and
10 deletions
src/assets/json/layerTreeData.json
src/assets/json/layers.json
src/components/lineTree/lineItem.vue
src/components/lineTree/lineTree.vue
src/components/lineTree/tx/importGeo.vue
src/components/lineTree/tx/js/geoUtils.js
src/libs/map/featureUpdate.js
src/libs/map/mapApi.js
src/views/systemTX/map.vue
src/views/systemTX/mapWeight/mapTools.vue
src/assets/json/layerTreeData.json
View file @
6a9eede
[{
"label"
:
"专题树"
,
"id"
:
"1"
,
"type"
:
"layerGroup"
,
"type"
:
"layerGroup"
,
"alpha"
:
100
,
"children"
:[
{
...
...
src/assets/json/layers.json
View file @
6a9eede
[{
"layerName"
:
"ZDJBXX"
,
"layerName"
:
"ZDJBXX"
,
"layerLabel"
:
"宗地"
,
"layerUrl"
:
"https://192.168.2.146:6443/arcgis/rest/services/qj/BDCDY/MapServer"
,
"id"
:
2
,
...
...
src/components/lineTree/lineItem.vue
View file @
6a9eede
...
...
@@ -217,7 +217,7 @@ export default {
// this.$emit("changeCreateVisible", true);
// }
//判断楼盘类型
switch
(
item
.
type
)
{
switch
(
item
.
type
)
{
case
'zd'
:
this
.
$emit
(
"changeIsZD"
,
true
);
this
.
$emit
(
"changeVisible"
,
true
);
...
...
src/components/lineTree/lineTree.vue
View file @
6a9eede
...
...
@@ -123,7 +123,7 @@
<el-dialog
v-dialogDrag
:close-on-click-modal=
"false"
title=
"导入图形"
:modal=
"false"
custom-class=
"importDialog"
:visible
.
sync=
"improtDialog"
width=
"30%"
@
close=
"closeImportDialog"
>
<import-geo
:property-info=
"zdData"
:timeLine=
"new Date().getTime()"
:geo-info=
"currentClickZdGeo"
@
closeImportDialog=
"closeImportDialog"
></import-geo>
</el-dialog>
<!-- 添加定着物弹框 -->
<!-- 添加定着物弹框 -->
<el-dialog
v-dialogDrag
:close-on-click-modal=
"false"
title=
"新建"
:modal=
"false"
:visible
.
sync=
"dialogVisible"
width=
"48%"
>
<Create
@
closeDialog=
"closeDialog"
:auth=
"true"
:createZrz=
"createZrz"
></Create>
</el-dialog>
...
...
src/components/lineTree/tx/importGeo.vue
View file @
6a9eede
...
...
@@ -514,7 +514,7 @@ export default {
lines
=
res
;
self
.
saveJzx
(
lines
);
});
}
}
self
.
$message
.
success
(
"保存成功!!!"
);
self
.
goMap
();
// }
...
...
src/components/lineTree/tx/js/geoUtils.js
View file @
6a9eede
...
...
@@ -191,7 +191,7 @@ export default {
layerIds
.
push
(
djqLayer
.
id
);
layerIds
.
push
(
djzqLayer
.
id
);
layerIds
.
push
(
xjzqLayer
.
id
);
var
polygon
=
new
Polygon
(
geometry
);
var
polygon
=
new
Polygon
(
geometry
);
identifyUtils
.
methods
.
identify
(
djqLayer
.
layerUrl
,
layerIds
,
polygon
,
function
(
res
)
{
var
results
=
res
.
results
;
var
isJoint
=
false
,
layerName
=
""
,
message
=
""
;
...
...
src/libs/map/featureUpdate.js
View file @
6a9eede
...
...
@@ -44,7 +44,7 @@ export default {
geometry
:
geo
});
saveGraphics
.
push
(
saveGraphic
);
}
}
featureLayer
.
applyEdits
({
addFeatures
:
saveGraphics
}).
then
(
function
(
res
){
...
...
src/libs/map/mapApi.js
View file @
6a9eede
import
{
loadCss
,
loadScript
}
from
"esri-loader"
export
function
init
(){
export
function
init
(){
loadScript
({
url
:
"http://192.168.2.146/arcgis_js_api/library/4.17/init.js"
});
loadCss
(
"http://192.168.2.146/arcgis_js_api/library/esri/css/main.css"
);
}
...
...
src/views/systemTX/map.vue
View file @
6a9eede
...
...
@@ -175,7 +175,7 @@ export default {
sideTools
},
data
(){
return
{
return
{
viewId
:
"testMap"
,
// layerUrl:"http://192.168.2.201:6080/arcgis/rest/services/%E4%BA%92%E8%81%94%E7%BD%91%E5%8A%A0%E4%B8%8D%E5%8A%A8%E4%BA%A7/XA_%E4%B8%8D%E5%8A%A8%E4%BA%A7/MapServer",
layerUrl
:
'https://192.168.2.146:6443/arcgis/rest/services/qj/XZQH/MapServer'
,
// 行政区划
...
...
src/views/systemTX/mapWeight/mapTools.vue
View file @
6a9eede
...
...
@@ -89,7 +89,7 @@ export default {
},
mixins
:[
draw
,
identifyUtils
,
measure
,
mapTools
],
data
(){
return
{
return
{
// url:"http://192.168.2.201:6080/arcgis/rest/services/%E4%BA%92%E8%81%94%E7%BD%91%E5%8A%A0%E4%B8%8D%E5%8A%A8%E4%BA%A7/XA_%E4%B8%8D%E5%8A%A8%E4%BA%A7/MapServer",
// url: 'https://192.168.2.146:6443/arcgis/rest/services/qj/XZQH/MapServer',
url
:
'https://192.168.2.146:6443/arcgis/rest/services/qj/BDCDY/MapServer'
,
...
...
Please
register
or
sign in
to post a comment