|
@@ -11,26 +11,23 @@
|
|
|
:fetch-suggestions="querySearchAsync" placeholder="请输入内容" @select="handleSelect"
|
|
|
:popper-append-to-body="false"></el-autocomplete>
|
|
|
|
|
|
-
|
|
|
<el-table :data="store.state.cockpit_vector.tableData" style="width: 100%" height="440" :header-cell-style="{
|
|
|
background: 'rgba(10, 25, 38, 0.6)',
|
|
|
- color: '#fff',
|
|
|
+ color: '#66b1ff',
|
|
|
fontSize: '14px',
|
|
|
fontFamily: 'Microsoft YaHei',
|
|
|
fontWeight: '400',
|
|
|
}">
|
|
|
+
|
|
|
+
|
|
|
+ <el-table-column v-for="(index, item) in store.state.cockpit_vector.columns" :key="index"
|
|
|
+ width="120" :prop="store.state.cockpit_vector.columns[item]" :label="store.state.cockpit_vector.columns[item]">
|
|
|
|
|
|
- <el-table-column prop="项目名称" label="项目名称" width="150">
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="土地用途" label="土地用途" width="120">
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="出让面积(公顷)" label="出让面积(公顷)" width="120">
|
|
|
</el-table-column>
|
|
|
-
|
|
|
|
|
|
<el-table-column fixed="right" label="操作" width="100">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button @click="handleClick(scope.row)" type="text" size="small">查看</el-button>
|
|
|
+ <el-button @click="handleClick(scope.row)" type="text" size="small">详情</el-button>
|
|
|
<el-button @click="handleClick(scope.row)" type="text" size="small">定位</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|