|  | @@ -79,10 +79,8 @@
 | 
	
		
			
				|  |  |  </template>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  <script>
 | 
	
		
			
				|  |  | -// import { GetPage, GetFxjg, Delect } from "@/api/ghss/hgxfx.js";
 | 
	
		
			
				|  |  | -// import myMap from "@/utils/map.js";
 | 
	
		
			
				|  |  | -// import arcMap from "@/utils/arcMap.js";
 | 
	
		
			
				|  |  | -let parent;
 | 
	
		
			
				|  |  | +import { GetPage, GetFxjg, Delect } from "@/api/ghss/hgxfx.js";
 | 
	
		
			
				|  |  | +import hgxfx from "../../../../static/data/ghss/data.js";
 | 
	
		
			
				|  |  |  export default {
 | 
	
		
			
				|  |  |    props: {
 | 
	
		
			
				|  |  |      rzBsm: {
 | 
	
	
		
			
				|  | @@ -101,10 +99,11 @@ export default {
 | 
	
		
			
				|  |  |          new Date(2023, 1, 1, 0, 0, 0),
 | 
	
		
			
				|  |  |          new Date(2023, 2, 1, 23, 59, 59),
 | 
	
		
			
				|  |  |        ], // '00:00:00', '23:59:59'
 | 
	
		
			
				|  |  | -      datalist: [{ rwzt: 2, fxbg: "w" }],
 | 
	
		
			
				|  |  | +      datalist: [],
 | 
	
		
			
				|  |  |      };
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    mounted() {
 | 
	
		
			
				|  |  | +    this.datalist = hgxfx.datalist;
 | 
	
		
			
				|  |  |      // this.getData();
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    methods: {
 | 
	
	
		
			
				|  | @@ -132,18 +131,18 @@ export default {
 | 
	
		
			
				|  |  |          .catch(() => {});
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      checkDetails(item) {
 | 
	
		
			
				|  |  | -      this.$parent.rwBsm = item.bsm;
 | 
	
		
			
				|  |  | +      this.$emit("updateParent", "rwBsm", item.bsm);
 | 
	
		
			
				|  |  |        // GetFxjg({ bsm: item.bsm }).then((res) => {
 | 
	
		
			
				|  |  |        //   if (res.success) {
 | 
	
		
			
				|  |  | -      // this.$parent.scjgObj=JSON.parse(JSON.stringify(res.data))
 | 
	
		
			
				|  |  | -      // this.$parent.scjgObj=JSON.parse(JSON.stringify(res.data))
 | 
	
		
			
				|  |  | -      this.$parent.activeTabs = "scjg";
 | 
	
		
			
				|  |  | +      // this.$emit("updateParent", "scjgObj=JSON.parse(JSON.stringify(res.data))
 | 
	
		
			
				|  |  | +      // this.$emit("updateParent", "scjgObj=JSON.parse(JSON.stringify(res.data))
 | 
	
		
			
				|  |  | +      this.$emit("updateParent", "activeTabs", "scjg");
 | 
	
		
			
				|  |  |        //   }
 | 
	
		
			
				|  |  |        // });
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      checkRz(item) {
 | 
	
		
			
				|  |  | -      this.$parent.rzMc = item.xmmc;
 | 
	
		
			
				|  |  | -      this.$parent.rzBsm = item.bsm;
 | 
	
		
			
				|  |  | +      this.$emit("updateParent", "rzMc", item.xmmc);
 | 
	
		
			
				|  |  | +      this.$emit("updateParent", "rzBsm", item.bsm);
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      changeForm() {
 | 
	
	
		
			
				|  | @@ -162,10 +161,10 @@ export default {
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      getData() {
 | 
	
		
			
				|  |  | -      this.$parent.loading = true;
 | 
	
		
			
				|  |  | +      this.$emit("updateParent", "loading", true);
 | 
	
		
			
				|  |  |        GetPage({ ...this.pageObj }).then((res) => {
 | 
	
		
			
				|  |  |          setTimeout(() => {
 | 
	
		
			
				|  |  | -          this.$parent.loading = false;
 | 
	
		
			
				|  |  | +          this.$emit("updateParent", "loading", false);
 | 
	
		
			
				|  |  |          }, 100);
 | 
	
		
			
				|  |  |          this.pageObj.total = res.recordstotal;
 | 
	
		
			
				|  |  |          this.pageObj.page = res.page;
 | 
	
	
		
			
				|  | @@ -173,26 +172,7 @@ export default {
 | 
	
		
			
				|  |  |          this.datalist = res.data;
 | 
	
		
			
				|  |  |        });
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  | -    zoomItem(item) {
 | 
	
		
			
				|  |  | -      if (myMap.getLayer("fzxz_layer")) {
 | 
	
		
			
				|  |  | -        myMap.getLayer("fzxz_layer").getSource().clear();
 | 
	
		
			
				|  |  | -      }
 | 
	
		
			
				|  |  | -      myMap.tempLayers.dview_search_Layer.getSource().clear();
 | 
	
		
			
				|  |  | -      arcMap.SearchWfsFilter2(
 | 
	
		
			
				|  |  | -        `${SYS_LAYERS.FZXZ}/1/query`,
 | 
	
		
			
				|  |  | -        `RWBSM='${item.bsm}'`,
 | 
	
		
			
				|  |  | -        function (fs) {
 | 
	
		
			
				|  |  | -          myMap.tempLayers.dview_search_Layer.getSource().addFeatures(fs);
 | 
	
		
			
				|  |  | -          if (fs.length == 1) {
 | 
	
		
			
				|  |  | -            myMap.onLocation(fs[0]);
 | 
	
		
			
				|  |  | -          } else {
 | 
	
		
			
				|  |  | -            myMap.zoomToextent(
 | 
	
		
			
				|  |  | -              myMap.tempLayers.dview_search_Layer.getSource().getExtent()
 | 
	
		
			
				|  |  | -            );
 | 
	
		
			
				|  |  | -          }
 | 
	
		
			
				|  |  | -        }
 | 
	
		
			
				|  |  | -      );
 | 
	
		
			
				|  |  | -    },
 | 
	
		
			
				|  |  | +    zoomItem(item) {},
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    // watch(
 | 
	
	
		
			
				|  | @@ -234,6 +214,7 @@ export default {
 | 
	
		
			
				|  |  |        border: 1px dashed #02a7f0;
 | 
	
		
			
				|  |  |        padding: 10px 20px;
 | 
	
		
			
				|  |  |        position: relative;
 | 
	
		
			
				|  |  | +      margin-bottom: 10px;
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |      .dataItem:hover {
 | 
	
		
			
				|  |  |        border: 1px solid #02a7f0;
 |