zpf hace 11 meses
padre
commit
e290d2b6f0

+ 0 - 1
src/components/Query/clickQuery/CockpitVector.vue

@@ -89,7 +89,6 @@ export default {
     },
     build_data(geojson) {
       geojson.coordinates.forEach((res) => {
-        console.log('res: ', res);
         const twoDArray = res[0];
         const oneDArray = twoDArray.reduce((accumulator, currentValue) => accumulator.concat(currentValue), []);
         console.log('oneDArray: ', oneDArray);

+ 0 - 1
src/views/cockpit/bjxm.vue

@@ -387,7 +387,6 @@ export default {
     },
     draw_vector_tdgy_gy_jd() {
       this.vector_data.forEach((res) => {
-        console.log('res: ', res);
         // res.type = '保健项目'
         if (res.geom) {
           res.geom.coordinates.forEach((res_coordinates) => {

+ 0 - 0
src/views/cockpit/common/VectorSpace/Boxcommon.vue


+ 6 - 13
src/views/cockpit/tdsy.vue

@@ -120,7 +120,7 @@
       </div>
     </div>
 
-
+    <Boxcommon></Boxcommon>
 
 
   </div>
@@ -133,10 +133,12 @@ import { QueryOne, QueryList } from "../../api/cockpitNew";
 import pie3d from "../../components/echartsTemplate/3dPie.vue";
 import DialWatch from './common/DialWatch.vue';
 import Graph3D from './common/Graph3D.vue';
+import Boxcommon from './common/VectorSpace/Boxcommon.vue';
+
 import parse from "wellknown";
 import * as tdsy from "./js/tdsy";
 export default {
-  components: { pie3d, DialWatch, Graph3D },
+  components: { pie3d, DialWatch, Graph3D, Boxcommon },
   data() {
     return {
       vector_data: null,
@@ -878,18 +880,9 @@ export default {
       })
     },
     switch_vector_tdgy_gy_jd(flag) {
-      // this.gy_jd_entity.show = flag
-      // console.log('flag: ', flag);
       store.state.query_vector_input = !store.state.query_vector_input
-      tdsy.hidden(flag);
-      // if (flag) {
-      //   tdsy.add();
-      //   this.draw_vector_tdgy_gy_jd();
+      // tdsy.hidden(flag);
 
-      // } else {
-      //   tdsy.hidden(false);
-
-      // }
 
     },
     async init_vector(params) {
@@ -906,7 +899,7 @@ export default {
 
       })
       this.vector_data = data.data;
-      this.draw_vector_tdgy_gy_jd()
+      // this.draw_vector_tdgy_gy_jd()
     }
   },
   mounted() {