maxiaoxiao hai 11 meses
pai
achega
a77f9bd29c

+ 4 - 4
src/views/cockpit/common/VectorSpace/BoxCommonVector.vue

@@ -69,11 +69,11 @@
       >
         <el-table-column
           show-overflow-tooltip="true"
-          v-for="(index, item) in store.state.cockpit_vector.columns"
+          v-for="(item, index) in store.state.cockpit_vector.columns"
           :key="index"
-          width="150"
-          :prop="store.state.cockpit_vector.columns[item]"
-          :label="store.state.cockpit_vector.columns[item]"
+          :width="index ? 80 : 150"
+          :prop="item"
+          :label="item"
         >
         </el-table-column>
 

+ 1 - 17
src/views/cockpit/ydjc.vue

@@ -111,23 +111,7 @@ import XZQHPieChart from "./common/XZQHPieChart.vue";
 import Title from "./common/Title.vue";
 import parse from "wellknown";
 let columns1 = ["名称", "面积(平方米)"];
-let columns2 = [
-  "批准时间",
-  "建设项目",
-  "总面积(平方米)",
-  "农用地集体",
-  "农用地国有",
-  "农用地集体其中耕地",
-  "土地坐落",
-  "土地用途",
-  "备注",
-  "建设用地集体",
-  "批准文号",
-  "指标情况",
-  "权属",
-  "用地单位",
-  "补偿标准(万元/公顷)",
-];
+let columns2 = ["建设项目", "总面积", "土地用途", "用地单位"];
 export default {
   components: { ThreeStackedBarAndLine, Title, XZQHPieChart },
   data() {