|  | @@ -23,7 +23,7 @@
 | 
											
												
													
														|  |        </li>
 |  |        </li>
 | 
											
												
													
														|  |        <div class="ml sm-panel" v-show="layers[i]">
 |  |        <div class="ml sm-panel" v-show="layers[i]">
 | 
											
												
													
														|  |          <!-- @change="checkedChange" -->
 |  |          <!-- @change="checkedChange" -->
 | 
											
												
													
														|  | -        <el-checkbox-group v-model="checkdata[i]" v-if="dbdata.fp.length > 1">
 |  | 
 | 
											
												
													
														|  | 
 |  | +        <el-checkbox-group v-model="checkdata[0]" v-if="dbdata.fp.length > 1">
 | 
											
												
													
														|  |            <el-checkbox
 |  |            <el-checkbox
 | 
											
												
													
														|  |              v-for="mli in dbdata.fp"
 |  |              v-for="mli in dbdata.fp"
 | 
											
												
													
														|  |              :key="mli.dlbmmc"
 |  |              :key="mli.dlbmmc"
 | 
											
										
											
												
													
														|  | @@ -45,7 +45,6 @@ import { district } from "@/api/Idleland.js";
 | 
											
												
													
														|  |  import { setImageryRoller, hideImageryRoller } from "@/utils/MapHelper/map.js";
 |  |  import { setImageryRoller, hideImageryRoller } from "@/utils/MapHelper/map.js";
 | 
											
												
													
														|  |  import { loadGeoJSON } from "@/utils/MapHelper/help.js";
 |  |  import { loadGeoJSON } from "@/utils/MapHelper/help.js";
 | 
											
												
													
														|  |  import AsideBottom from "./AsideBottom.vue";
 |  |  import AsideBottom from "./AsideBottom.vue";
 | 
											
												
													
														|  | -import { Infos } from "./a.js";
 |  | 
 | 
											
												
													
														|  |  let geoSources = {};
 |  |  let geoSources = {};
 | 
											
												
													
														|  |  export default {
 |  |  export default {
 | 
											
												
													
														|  |    props: {},
 |  |    props: {},
 | 
											
										
											
												
													
														|  | @@ -90,7 +89,9 @@ export default {
 | 
											
												
													
														|  |            viewer.flyTo(geodata, {
 |  |            viewer.flyTo(geodata, {
 | 
											
												
													
														|  |              offset: new Cesium.HeadingPitchRange(0, -45),
 |  |              offset: new Cesium.HeadingPitchRange(0, -45),
 | 
											
												
													
														|  |            });
 |  |            });
 | 
											
												
													
														|  | -        geodata.setVisibleInViewport(i, checked);
 |  | 
 | 
											
												
													
														|  | 
 |  | +        // geodata.setVisibleInViewport(i, checked);
 | 
											
												
													
														|  | 
 |  | +        geodata.setVisibleInViewport(0, checked);
 | 
											
												
													
														|  | 
 |  | +        geodata.setVisibleInViewport(1, checked);
 | 
											
												
													
														|  |          // geodata.show = checked;
 |  |          // geodata.show = checked;
 | 
											
												
													
														|  |        }
 |  |        }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
										
											
												
													
														|  | @@ -114,10 +115,12 @@ export default {
 | 
											
												
													
														|  |        //     break;
 |  |        //     break;
 | 
											
												
													
														|  |        // }
 |  |        // }
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  | 
 |  | +    roller(){
 | 
											
												
													
														|  | 
 |  | +      rollerShutterConfig.splitDirection = new Cesium.Cartesian2(Cesium.ImagerySplitDirection.LEFT, Cesium.ImagerySplitDirection.NONE);
 | 
											
												
													
														|  | 
 |  | +    },
 | 
											
												
													
														|  |      multiView() {
 |  |      multiView() {
 | 
											
												
													
														|  |        let mul = this.active == 1 ? "HORIZONTAL" : "NONE";
 |  |        let mul = this.active == 1 ? "HORIZONTAL" : "NONE";
 | 
											
												
													
														|  |        scene.multiViewportMode = Cesium.MultiViewportMode[mul];
 |  |        scene.multiViewportMode = Cesium.MultiViewportMode[mul];
 | 
											
												
													
														|  | -      this.dbdata = { fp: [Infos[0]] };
 |  | 
 | 
											
												
													
														|  |        console.log(this.dbdata, "---");
 |  |        console.log(this.dbdata, "---");
 | 
											
												
													
														|  |        // let qgeom =
 |  |        // let qgeom =
 | 
											
												
													
														|  |        // "SRID=4326;POLYGON((109.15412537651648 18.33292898400856,109.15414451156408 18.33293727703712,109.15415954142809 18.331308849767996,109.15415695380635 18.331067639473183,109.15413798111571 18.331089811465688,109.15414034671478 18.3313088685252,109.15412537651648 18.33292898400856))";
 |  |        // "SRID=4326;POLYGON((109.15412537651648 18.33292898400856,109.15414451156408 18.33293727703712,109.15415954142809 18.331308849767996,109.15415695380635 18.331067639473183,109.15413798111571 18.331089811465688,109.15414034671478 18.3313088685252,109.15412537651648 18.33292898400856))";
 | 
											
										
											
												
													
														|  | @@ -126,28 +129,20 @@ export default {
 | 
											
												
													
														|  |      active_tableData(newVal) {
 |  |      active_tableData(newVal) {
 | 
											
												
													
														|  |        this.checkdata = [[], []];
 |  |        this.checkdata = [[], []];
 | 
											
												
													
														|  |        newVal.forEach((res, index) => {
 |  |        newVal.forEach((res, index) => {
 | 
											
												
													
														|  | -        // console.log(res);
 |  | 
 | 
											
												
													
														|  |          this.checkdata[0].push(res.dlbmmc);
 |  |          this.checkdata[0].push(res.dlbmmc);
 | 
											
												
													
														|  | -        this.checkdata[1].push(res.dlbmmc);
 |  | 
 | 
											
												
													
														|  | 
 |  | +        // this.checkdata[1].push(res.dlbmmc);
 | 
											
												
													
														|  |          if (res.qgeom)
 |  |          if (res.qgeom)
 | 
											
												
													
														|  | -          loadGeoJSON(res.qgeom, "#55A1E3", { isfly: true }, (data) => {
 |  | 
 | 
											
												
													
														|  | 
 |  | +          loadGeoJSON(res.qgeom, res.dict_color, { isfly: true }, (data) => {
 | 
											
												
													
														|  |              geoSources[res.dlbmmc + "q"] = data;
 |  |              geoSources[res.dlbmmc + "q"] = data;
 | 
											
												
													
														|  |              data.name = "fpdb";
 |  |              data.name = "fpdb";
 | 
											
												
													
														|  | -            // data.entities.values.forEach((entity) => {
 |  | 
 | 
											
												
													
														|  | -            //   entity.properties = { type: "图斑上图", id: res.id };
 |  | 
 | 
											
												
													
														|  | -            // });
 |  | 
 | 
											
												
													
														|  | -            geoSources[res.dlbmmc + "q"].setVisibleInViewport(1, false);
 |  | 
 | 
											
												
													
														|  | -            // geoSources[res.dlbmmc + "q"].setVisibleInViewport(0, false);
 |  | 
 | 
											
												
													
														|  | 
 |  | +            data.setVisibleInViewport(1, false);
 | 
											
												
													
														|  | 
 |  | +          });
 | 
											
												
													
														|  | 
 |  | +        if (res.hgeom)
 | 
											
												
													
														|  | 
 |  | +          loadGeoJSON(res.hgeom, res.dict_color, { isfly: true }, (data) => {
 | 
											
												
													
														|  | 
 |  | +            geoSources[res.dlbmmc + "h"] = data;
 | 
											
												
													
														|  | 
 |  | +            data.name = "fpdb";
 | 
											
												
													
														|  | 
 |  | +            data.setVisibleInViewport(0, false);
 | 
											
												
													
														|  |            });
 |  |            });
 | 
											
												
													
														|  | -        // if (res.hgeom)
 |  | 
 | 
											
												
													
														|  | -        //   loadGeoJSON(res.hgeom, "#55A1E3", { isfly: true }, (data) => {
 |  | 
 | 
											
												
													
														|  | -        //     geoSources[res.dlbmmc + "h"] = data;
 |  | 
 | 
											
												
													
														|  | -        //     data.name = "fpdb";
 |  | 
 | 
											
												
													
														|  | -        //     // data.entities.values.forEach((entity) => {
 |  | 
 | 
											
												
													
														|  | -        //     //   entity.properties = { type: "图斑上图", id: res.id };
 |  | 
 | 
											
												
													
														|  | -        //     // });
 |  | 
 | 
											
												
													
														|  | -        //     data.setVisibleInViewport(0, false);
 |  | 
 | 
											
												
													
														|  | -        //   });
 |  | 
 | 
											
												
													
														|  |        });
 |  |        });
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  |      removeGeoJSON() {
 |  |      removeGeoJSON() {
 |