5f9181c5 by jikai

jikai commit

1 parent 3c119e75
1 [{ 1 [{
2 "label":"专题树", 2 "label":"专题树",
3 "id":"1", 3 "id":"1",
4 "type":"layerGroup", 4 "type":"layerGroup",
5 "alpha":100, 5 "alpha":100,
6 "children":[ 6 "children":[
7 { 7 {
......
1 [{ 1 [{
2 "layerName": "ZDJBXX", 2 "layerName": "ZDJBXX",
3 "layerLabel": "宗地", 3 "layerLabel": "宗地",
4 "layerUrl": "https://192.168.2.146:6443/arcgis/rest/services/qj/BDCDY/MapServer", 4 "layerUrl": "https://192.168.2.146:6443/arcgis/rest/services/qj/BDCDY/MapServer",
5 "id":2, 5 "id":2,
......
...@@ -218,7 +218,7 @@ export default { ...@@ -218,7 +218,7 @@ export default {
218 // } 218 // }
219 //判断楼盘类型 219 //判断楼盘类型
220 switch (item.type) { 220 switch (item.type) {
221 case 'zd': 221 case 'zd':
222 this.$emit("changeIsZD", true); 222 this.$emit("changeIsZD", true);
223 this.$emit("changeVisible", true); 223 this.$emit("changeVisible", true);
224 break; 224 break;
......
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
110 <ul 110 <ul
111 v-show="lpbvisible" 111 v-show="lpbvisible"
112 :style="{ left: lpbleft + 'px', top: lpbtop + 'px' }" 112 :style="{ left: lpbleft + 'px', top: lpbtop + 'px' }"
113 class="contextmenu" 113 class="contextmenu"
114 > 114 >
115 <li v-show="zdData.type == 'zrz'" @click="openLpbDialog('ljz')">添加逻辑幢</li> 115 <li v-show="zdData.type == 'zrz'" @click="openLpbDialog('ljz')">添加逻辑幢</li>
116 <li v-show="zdData.type == 'zrz' || zdData.type == 'ljz'" @click="openLpbDialog('zdy')">添加幢单元</li> 116 <li v-show="zdData.type == 'zrz' || zdData.type == 'ljz'" @click="openLpbDialog('zdy')">添加幢单元</li>
......
...@@ -513,7 +513,7 @@ export default { ...@@ -513,7 +513,7 @@ export default {
513 self.createJZLine(graphic, function (res) { 513 self.createJZLine(graphic, function (res) {
514 lines = res; 514 lines = res;
515 self.saveJzx(lines); 515 self.saveJzx(lines);
516 }); 516 });
517 } 517 }
518 self.$message.success("保存成功!!!"); 518 self.$message.success("保存成功!!!");
519 self.goMap(); 519 self.goMap();
......
...@@ -199,7 +199,7 @@ export default { ...@@ -199,7 +199,7 @@ export default {
199 if(!results || results.length == 0){ 199 if(!results || results.length == 0){
200 callBacFunction(true,"不在行政区内,请检查空间位置信息!!!"); 200 callBacFunction(true,"不在行政区内,请检查空间位置信息!!!");
201 } 201 }
202 for(var i = 0;i < results.length;i++){ 202 for(var i = 0;i < results.length;i++){
203 var feature = results[i].feature; 203 var feature = results[i].feature;
204 var flag = geometryEngine.intersects(polygon,feature.geometry); 204 var flag = geometryEngine.intersects(polygon,feature.geometry);
205 var withinFlag = geometryEngine.within(polygon,feature.geometry); 205 var withinFlag = geometryEngine.within(polygon,feature.geometry);
......
...@@ -46,7 +46,7 @@ export default { ...@@ -46,7 +46,7 @@ export default {
46 saveGraphics.push(saveGraphic); 46 saveGraphics.push(saveGraphic);
47 } 47 }
48 featureLayer.applyEdits({ 48 featureLayer.applyEdits({
49 addFeatures:saveGraphics 49 addFeatures:saveGraphics
50 }).then(function (res){ 50 }).then(function (res){
51 if(callBackFunction && typeof callBackFunction == 'function'){ 51 if(callBackFunction && typeof callBackFunction == 'function'){
52 callBackFunction(res); 52 callBackFunction(res);
......
...@@ -175,7 +175,7 @@ export default { ...@@ -175,7 +175,7 @@ export default {
175 sideTools 175 sideTools
176 }, 176 },
177 data(){ 177 data(){
178 return{ 178 return{
179 viewId:"testMap", 179 viewId:"testMap",
180 // 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", 180 // 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",
181 layerUrl: 'https://192.168.2.146:6443/arcgis/rest/services/qj/XZQH/MapServer', // 行政区划 181 layerUrl: 'https://192.168.2.146:6443/arcgis/rest/services/qj/XZQH/MapServer', // 行政区划
......
...@@ -89,7 +89,7 @@ export default { ...@@ -89,7 +89,7 @@ export default {
89 }, 89 },
90 mixins:[draw,identifyUtils,measure,mapTools], 90 mixins:[draw,identifyUtils,measure,mapTools],
91 data(){ 91 data(){
92 return{ 92 return{
93 // 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", 93 // 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",
94 // url: 'https://192.168.2.146:6443/arcgis/rest/services/qj/XZQH/MapServer', 94 // url: 'https://192.168.2.146:6443/arcgis/rest/services/qj/XZQH/MapServer',
95 url: 'https://192.168.2.146:6443/arcgis/rest/services/qj/BDCDY/MapServer', 95 url: 'https://192.168.2.146:6443/arcgis/rest/services/qj/BDCDY/MapServer',
......