|
|
@@ -48,9 +48,11 @@
|
|
|
:label="item">
|
|
|
</el-table-column>
|
|
|
|
|
|
- <el-table-column fixed="right" label="操作" :width="cockpit_vector.action ? 100 : 50">
|
|
|
+ <!-- <el-table-column fixed="right" label="操作" :width="cockpit_vector.action ? 100 : 50"> -->
|
|
|
+ <el-table-column fixed="right" label="操作" :width="cockpit_vector.action ? 150 : 100">
|
|
|
<template slot-scope="scope">
|
|
|
<!-- <el-button @click="info(scope.row)" type="text" size="small">详情</el-button> -->
|
|
|
+ <el-button @click="goDetail(scope.row)" type="text" size="small">详情</el-button>
|
|
|
<el-button @click="go(scope.row)" type="text" size="small">定位</el-button>
|
|
|
<el-button v-if="cockpit_vector.action" @click="start(scope.row)" type="text" size="small">开工</el-button>
|
|
|
</template>
|
|
|
@@ -409,6 +411,23 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ // store.setVectordataid(item.dataid);
|
|
|
+ // let arr = [];
|
|
|
+ // // BoxCommonVector_entity = new Cesium.CustomDataSource("BoxCommonVector_entity");
|
|
|
+ // // viewer.dataSources.add(BoxCommonVector_entity);
|
|
|
+
|
|
|
+ // Object.keys(item).forEach((key) => {
|
|
|
+ // arr.push({
|
|
|
+ // name: key,
|
|
|
+ // value: item[key],
|
|
|
+ // });
|
|
|
+ // });
|
|
|
+ this.scrollTop_index = item.index;
|
|
|
+ // this.details = arr;
|
|
|
+ // this.isShallow = true;
|
|
|
+ // store.setActiveToolBar(9);
|
|
|
+ },
|
|
|
+ goDetail(item){
|
|
|
store.setVectordataid(item.dataid);
|
|
|
let arr = [];
|
|
|
// BoxCommonVector_entity = new Cesium.CustomDataSource("BoxCommonVector_entity");
|
|
|
@@ -423,7 +442,6 @@ export default {
|
|
|
this.scrollTop_index = item.index;
|
|
|
this.details = arr;
|
|
|
this.isShallow = true;
|
|
|
- // store.setActiveToolBar(9);
|
|
|
},
|
|
|
addpolygon(item) {
|
|
|
const that = this;
|