Browse Source

各个面板显示存在英文的问题

lkk 9 months ago
parent
commit
1b9a6630d2
1 changed files with 16 additions and 5 deletions
  1. 16 5
      src/views/cockpit/common/VectorSpace/BoxCommonVector.vue

+ 16 - 5
src/views/cockpit/common/VectorSpace/BoxCommonVector.vue

@@ -32,7 +32,7 @@
           </div>
         </div>
         <div v-if="cockpit_vector.showtotal" class="shownum">
-          上报总数量:{{ active_dableData.length }}{{ isShallow }}
+          上报总数量:{{ active_dableData.length }}个
         </div>
         <el-table :row-class-name="tableRowClassName" ref="singleTable" :data="active_dableData" style="width: 100%"
           height="670" :header-cell-style="{
@@ -121,10 +121,10 @@ export default {
     start(item) {
       this.$refs.startWorkRef.Init(item);
     },
-    reset(){
-      this.searchform= {}
-      this.word=""
-      this.init_vector(this.searchform)
+    reset() {
+      this.searchform = {};
+      this.word = "";
+      this.init_vector(this.searchform);
     },
     closeIsShallow() {
       this.isShallow = false;
@@ -392,7 +392,18 @@ export default {
                   entity.properties = item;
                 });
               }
+              // item.geom.type == "MultiPolygon" ? 5 : 100
             );
+
+            // let featTemp = turf.points(item.geom.coordinates[0]);
+            // let center = turf.center(featTemp);
+            // viewer.camera.flyTo({
+            //   destination: new Cesium.Cartesian3.fromDegrees(
+            //     center.geometry.coordinates[0],
+            //     center.geometry.coordinates[1],
+            //    400
+            //   ), 
+            // }); 
           }
         }
       }