jikai commit
Showing
9 changed files
with
9 additions
and
10 deletions
... | @@ -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,8 +513,8 @@ export default { | ... | @@ -513,8 +513,8 @@ 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(); |
520 | // } | 520 | // } | ... | ... |
... | @@ -192,7 +192,6 @@ export default { | ... | @@ -192,7 +192,6 @@ export default { |
192 | layerIds.push(djzqLayer.id); | 192 | layerIds.push(djzqLayer.id); |
193 | layerIds.push(xjzqLayer.id); | 193 | layerIds.push(xjzqLayer.id); |
194 | var polygon = new Polygon(geometry); | 194 | var polygon = new Polygon(geometry); |
195 | |||
196 | identifyUtils.methods.identify(djqLayer.layerUrl,layerIds,polygon,function (res) { | 195 | identifyUtils.methods.identify(djqLayer.layerUrl,layerIds,polygon,function (res) { |
197 | var results = res.results; | 196 | var results = res.results; |
198 | var isJoint = false,layerName = "",message=""; | 197 | var isJoint = false,layerName = "",message=""; | ... | ... |
... | @@ -44,7 +44,7 @@ export default { | ... | @@ -44,7 +44,7 @@ export default { |
44 | geometry:geo | 44 | geometry:geo |
45 | }); | 45 | }); |
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){ | ... | ... |
... | @@ -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', | ... | ... |
-
Please register or sign in to post a comment