|
@@ -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
|
|
|
+ // ),
|
|
|
+ // });
|
|
|
}
|
|
|
}
|
|
|
}
|