| 
														
															@@ -3,7 +3,7 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  * @Author: wangcc 
														 | 
														
														 | 
														
															  * @Author: wangcc 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  * @Date: 2022-10-19 09:32:46 
														 | 
														
														 | 
														
															  * @Date: 2022-10-19 09:32:46 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  * @LastEditors: wangcc 
														 | 
														
														 | 
														
															  * @LastEditors: wangcc 
														 | 
													
												
											
												
													
														| 
														 | 
														
															- * @LastEditTime: 2022-11-01 14:41:59 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ * @LastEditTime: 2022-11-01 17:56:32 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  * @FilePath: \castgroup_bigscreen\src\components\amapTow.vue 
														 | 
														
														 | 
														
															  * @FilePath: \castgroup_bigscreen\src\components\amapTow.vue 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  * @Copyright: Copyright (c) 2016~2022 by wangcc, All Rights Reserved.  
														 | 
														
														 | 
														
															  * @Copyright: Copyright (c) 2016~2022 by wangcc, All Rights Reserved.  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 --> 
														 | 
														
														 | 
														
															 --> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -112,6 +112,7 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         // 加载小班边界 
														 | 
														
														 | 
														
															         // 加载小班边界 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         // this.getSmallClass(); 
														 | 
														
														 | 
														
															         // this.getSmallClass(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         this.parentId = val; 
														 | 
														
														 | 
														
															         this.parentId = val; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         if (this.$store.state.addr.mapLevel == 'street') { 
														 | 
														
														 | 
														
															         if (this.$store.state.addr.mapLevel == 'street') { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           this.parentId = val.substring(0, 6); 
														 | 
														
														 | 
														
															           this.parentId = val.substring(0, 6); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           if (this.map) { 
														 | 
														
														 | 
														
															           if (this.map) { 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -209,6 +210,10 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     }, 
														 | 
														
														 | 
														
															     }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     '$store.state.addr.mapLevel': { 
														 | 
														
														 | 
														
															     '$store.state.addr.mapLevel': { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       handler(val) { 
														 | 
														
														 | 
														
															       handler(val) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        console.log(val); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        if (val == 'province') { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          this.changeSelectDistrict({}); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         if (val === 'street') { 
														 | 
														
														 | 
														
															         if (val === 'street') { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           this.getSmallClass(); 
														 | 
														
														 | 
														
															           this.getSmallClass(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } 
														 | 
														
														 | 
														
															         } 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -220,7 +225,12 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       handler: function (val, oldVal) { 
														 | 
														
														 | 
														
															       handler: function (val, oldVal) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         let _this = this; 
														 | 
														
														 | 
														
															         let _this = this; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         if (val) { 
														 | 
														
														 | 
														
															         if (val) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          console.log(val); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           if (val.longitude && val.latitude && !val.name) { 
														 | 
														
														 | 
														
															           if (val.longitude && val.latitude && !val.name) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            this.map.remove(this.polygon); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            if (_this.smallMarkers) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+              _this.map.remove(_this.smallMarkers); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             let lanLatArr = [val.longitude, val.latitude]; 
														 | 
														
														 | 
														
															             let lanLatArr = [val.longitude, val.latitude]; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             let imgList = []; 
														 | 
														
														 | 
														
															             let imgList = []; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             if (val.imageList.length > 0) { 
														 | 
														
														 | 
														
															             if (val.imageList.length > 0) { 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -326,7 +336,58 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															               offset: new AMap.Pixel(-230, -160), //设置文本标注偏移量 
														 | 
														
														 | 
														
															               offset: new AMap.Pixel(-230, -160), //设置文本标注偏移量 
														 | 
													
												
											
												
													
														| 
														 | 
														
															               content: smallLabel //设置文本标注内容 
														 | 
														
														 | 
														
															               content: smallLabel //设置文本标注内容 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             }); 
														 | 
														
														 | 
														
															             }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            this.smallMarker.on('click', (e) => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+              this.smallMarker.setLabel({ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                direction: 'right', 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                offset: new AMap.Pixel(-230, -160), //设置文本标注偏移量 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                content: smallLabel //设置文本标注内容 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+              }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             this.smallMarkers.push(_this.smallMarker); 
														 | 
														
														 | 
														
															             this.smallMarkers.push(_this.smallMarker); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            console.log(this.$store.state.addr.mapLevel); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            if ( 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+              this.$store.state.addr.mapLevel == 'city' || 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+              this.$store.state.addr.mapLevel == 'province' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            ) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+              if (val.countyCode) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                // this.switch2AreaNode(val.countyCode.substring(0, 6)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                let selectCity = ''; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                switch (val.cityName) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                  case '黔西南州': 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                    selectCity = '黔西南布依族苗族自治州'; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                    break; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                  case '黔东南州': 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                    selectCity = '黔东南苗族侗族自治州'; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                    break; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                  case '黔南州': 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                    selectCity = '黔南布依族苗族自治州'; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                    break; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                this.$store.dispatch('searchArea', { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                  parentId: val.cityCode.substring(0, 6), 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                  name: selectCity, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                  mapLevel: 'city' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                if (val.cityCode) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                  this.changeSelectCity({ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                    value: val.cityCode, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                    label: selectCity, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                    areaId: val.cityId, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                    prop: '2' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                  }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                if (val.countyCode) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                  this.changeSelectDistrict({ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                    value: val.countyCode, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                    label: val.countyName, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                    areaId: val.countyId, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                    prop: '2' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                  }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+              } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            } else { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+              this.switch2AreaNode(val.countyCode.substring(0, 6)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           } else if (val.name == false && this.smallMarker) { 
														 | 
														
														 | 
														
															           } else if (val.name == false && this.smallMarker) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             this.map.on('rightclick', function (e) { 
														 | 
														
														 | 
														
															             this.map.on('rightclick', function (e) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															               _this.map.remove(_this.smallMarkers); 
														 | 
														
														 | 
														
															               _this.map.remove(_this.smallMarkers); 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -600,31 +661,31 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															               }); 
														 | 
														
														 | 
														
															               }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } 
														 | 
														
														 | 
														
															             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           } 
														 | 
														
														 | 
														
															           } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          if ( 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            zoom > '9' && 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            zoom < '9.5' && 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            this.$store.state.addr.mapLevel == 'district' 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          ) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            if (this.selectData.value) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-              let districtCode = this.selectData.value.substring(0, 6); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-              this.$store.dispatch('searchArea', { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                parentId: districtCode, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                name: this.selectData.label, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                mapLevel: 'city' 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-              }); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            } 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          } 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          if ( 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            zoom > '7.6' && 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            zoom < '7.9' && 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            this.$store.state.addr.mapLevel == 'city' 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          ) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            this.$store.dispatch('searchArea', { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-              parentId: '520000', 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-              name: '贵州省', 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-              mapLevel: 'province' 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            }); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          } 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          // if ( 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          //   zoom > '9' && 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          //   zoom < '9.5' && 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          //   this.$store.state.addr.mapLevel == 'district' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          // ) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          //   if (this.selectData.value) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          //     let districtCode = this.selectData.value.substring(0, 6); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          //     this.$store.dispatch('searchArea', { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          //       parentId: districtCode, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          //       name: this.selectData.label, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          //       mapLevel: 'city' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          //     }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          //   } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          // } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          // if ( 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          //   zoom > '7.6' && 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          //   zoom < '7.9' && 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          //   this.$store.state.addr.mapLevel == 'city' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          // ) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          //   this.$store.dispatch('searchArea', { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          //     parentId: '520000', 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          //     name: '贵州省', 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          //     mapLevel: 'province' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          //   }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          // } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         }); 
														 | 
														
														 | 
														
															         }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       }); 
														 | 
														
														 | 
														
															       }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     }, 
														 | 
														
														 | 
														
															     }, 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -695,13 +756,15 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             this.changeSelectCity({ 
														 | 
														
														 | 
														
															             this.changeSelectCity({ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															               value: valCode, 
														 | 
														
														 | 
														
															               value: valCode, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															               label: props.name, 
														 | 
														
														 | 
														
															               label: props.name, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-              areaId: areaId 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+              areaId: areaId, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+              prop: '1' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             }); 
														 | 
														
														 | 
														
															             }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           } else if (props.level == 'district') { 
														 | 
														
														 | 
														
															           } else if (props.level == 'district') { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             this.changeSelectDistrict({ 
														 | 
														
														 | 
														
															             this.changeSelectDistrict({ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															               value: valCode, 
														 | 
														
														 | 
														
															               value: valCode, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															               label: props.name, 
														 | 
														
														 | 
														
															               label: props.name, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-              areaId: areaId 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+              areaId: areaId, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+              prop: '1' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             }); 
														 | 
														
														 | 
														
															             }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           } 
														 | 
														
														 | 
														
															           } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           if (this.projectMarkerArr) { 
														 | 
														
														 | 
														
															           if (this.projectMarkerArr) { 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -788,32 +851,35 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         strokeWeight: 2, //线宽 
														 | 
														
														 | 
														
															         strokeWeight: 2, //线宽 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         fillOpacity: 0 //填充透明度 
														 | 
														
														 | 
														
															         fillOpacity: 0 //填充透明度 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       }); 
														 | 
														
														 | 
														
															       }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															- 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      // 绘制父级蒙版 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       let areaPolygon = areaNode.getParentFeature(); 
														 | 
														
														 | 
														
															       let areaPolygon = areaNode.getParentFeature(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      let outer = [ 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        new AMap.LngLat(-360, 90, true), 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        new AMap.LngLat(-360, -90, true), 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        new AMap.LngLat(360, -90, true), 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        new AMap.LngLat(360, 90, true) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      ]; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      let areaPolygonArr = []; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      areaPolygon.geometry.coordinates.forEach((element) => { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        areaPolygonArr.push(element[0]); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      }); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      let holes = areaPolygonArr; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      let pathArray = [outer]; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      pathArray.push.apply(pathArray, holes); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      this.polygon = new AMap.Polygon({ 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        pathL: pathArray, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        map: this.map, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        strokeColor: '#00eeff', 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        strokeWeight: 1, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        fillColor: '#0c1b05', // 遮罩背景色 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        fillOpacity: 0.8, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        height: 10000 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      }); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      this.polygon.setPath(pathArray); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        // 绘制父级蒙版 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      // if (this.$store.state.addr.mapLevel == 'province' || this.$store.state.addr.mapLevel == 'city') { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        let outer = [ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          new AMap.LngLat(-360, 90, true), 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          new AMap.LngLat(-360, -90, true), 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          new AMap.LngLat(360, -90, true), 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          new AMap.LngLat(360, 90, true) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        ]; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        let areaPolygonArr = []; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        areaPolygon.geometry.coordinates.forEach((element) => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          areaPolygonArr.push(element[0]); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        let holes = areaPolygonArr; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        let pathArray = [outer]; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        pathArray.push.apply(pathArray, holes); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        this.polygon = new AMap.Polygon({ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          pathL: pathArray, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          map: this.map, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          strokeColor: '#00eeff', 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          strokeWeight: 1, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          fillColor: '#0c1b05', // 遮罩背景色 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          fillOpacity: 0.8, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          height: 10000 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        this.polygon.setPath(pathArray); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      // } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+         
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       if (this.leftPage == 'forest' || this.leftPage == 'treeSpecies') { 
														 | 
														
														 | 
														
															       if (this.leftPage == 'forest' || this.leftPage == 'treeSpecies') { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         this.getProjectList(); 
														 | 
														
														 | 
														
															         this.getProjectList(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       } 
														 | 
														
														 | 
														
															       } 
														 |