5f9181c5 by jikai

jikai commit

1 parent 3c119e75
[{
"label":"专题树",
"id":"1",
"type":"layerGroup",
"type":"layerGroup",
"alpha":100,
"children":[
{
......
[{
"layerName": "ZDJBXX",
"layerName": "ZDJBXX",
"layerLabel": "宗地",
"layerUrl": "https://192.168.2.146:6443/arcgis/rest/services/qj/BDCDY/MapServer",
"id":2,
......
......@@ -218,7 +218,7 @@ export default {
// }
//判断楼盘类型
switch (item.type) {
case 'zd':
case 'zd':
this.$emit("changeIsZD", true);
this.$emit("changeVisible", true);
break;
......
......@@ -110,7 +110,7 @@
<ul
v-show="lpbvisible"
:style="{ left: lpbleft + 'px', top: lpbtop + 'px' }"
class="contextmenu"
class="contextmenu"
>
<li v-show="zdData.type == 'zrz'" @click="openLpbDialog('ljz')">添加逻辑幢</li>
<li v-show="zdData.type == 'zrz' || zdData.type == 'ljz'" @click="openLpbDialog('zdy')">添加幢单元</li>
......
......@@ -513,7 +513,7 @@ export default {
self.createJZLine(graphic, function (res) {
lines = res;
self.saveJzx(lines);
});
});
}
self.$message.success("保存成功!!!");
self.goMap();
......
......@@ -199,7 +199,7 @@ export default {
if(!results || results.length == 0){
callBacFunction(true,"不在行政区内,请检查空间位置信息!!!");
}
for(var i = 0;i < results.length;i++){
for(var i = 0;i < results.length;i++){
var feature = results[i].feature;
var flag = geometryEngine.intersects(polygon,feature.geometry);
var withinFlag = geometryEngine.within(polygon,feature.geometry);
......
......@@ -46,7 +46,7 @@ export default {
saveGraphics.push(saveGraphic);
}
featureLayer.applyEdits({
addFeatures:saveGraphics
addFeatures:saveGraphics
}).then(function (res){
if(callBackFunction && typeof callBackFunction == 'function'){
callBackFunction(res);
......
......@@ -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', // 行政区划
......
......@@ -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',
......