6a9eede9 by jikai

jikai commit

1 parent 7085922d
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,
......
...@@ -217,7 +217,7 @@ export default { ...@@ -217,7 +217,7 @@ export default {
217 // this.$emit("changeCreateVisible", true); 217 // this.$emit("changeCreateVisible", true);
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);
......
...@@ -123,7 +123,7 @@ ...@@ -123,7 +123,7 @@
123 <el-dialog v-dialogDrag :close-on-click-modal="false" title="导入图形" :modal="false" custom-class="importDialog" :visible.sync="improtDialog" width="30%" @close="closeImportDialog"> 123 <el-dialog v-dialogDrag :close-on-click-modal="false" title="导入图形" :modal="false" custom-class="importDialog" :visible.sync="improtDialog" width="30%" @close="closeImportDialog">
124 <import-geo :property-info="zdData" :timeLine="new Date().getTime()" :geo-info="currentClickZdGeo" @closeImportDialog="closeImportDialog"></import-geo> 124 <import-geo :property-info="zdData" :timeLine="new Date().getTime()" :geo-info="currentClickZdGeo" @closeImportDialog="closeImportDialog"></import-geo>
125 </el-dialog> 125 </el-dialog>
126 <!-- 添加定着物弹框 --> 126 <!-- 添加定着物弹框 -->
127 <el-dialog v-dialogDrag :close-on-click-modal="false" title="新建" :modal="false" :visible.sync="dialogVisible" width="48%"> 127 <el-dialog v-dialogDrag :close-on-click-modal="false" title="新建" :modal="false" :visible.sync="dialogVisible" width="48%">
128 <Create @closeDialog="closeDialog" :auth="true" :createZrz="createZrz" ></Create> 128 <Create @closeDialog="closeDialog" :auth="true" :createZrz="createZrz" ></Create>
129 </el-dialog> 129 </el-dialog>
......
...@@ -514,7 +514,7 @@ export default { ...@@ -514,7 +514,7 @@ export default {
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 // }
......
...@@ -191,7 +191,7 @@ export default { ...@@ -191,7 +191,7 @@ export default {
191 layerIds.push(djqLayer.id); 191 layerIds.push(djqLayer.id);
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 identifyUtils.methods.identify(djqLayer.layerUrl,layerIds,polygon,function (res) { 195 identifyUtils.methods.identify(djqLayer.layerUrl,layerIds,polygon,function (res) {
196 var results = res.results; 196 var results = res.results;
197 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){
......
1 1
2 import {loadCss,loadScript} from "esri-loader" 2 import {loadCss,loadScript} from "esri-loader"
3 3
4 export function init(){ 4 export function init(){
5 loadScript({ url:"http://192.168.2.146/arcgis_js_api/library/4.17/init.js"}); 5 loadScript({ url:"http://192.168.2.146/arcgis_js_api/library/4.17/init.js"});
6 loadCss("http://192.168.2.146/arcgis_js_api/library/esri/css/main.css"); 6 loadCss("http://192.168.2.146/arcgis_js_api/library/esri/css/main.css");
7 } 7 }
......
...@@ -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',
......