Commit f15bff62 authored by 朱超's avatar 朱超

面积统计

parent 688d58e8
...@@ -118,7 +118,12 @@ ...@@ -118,7 +118,12 @@
<el-table <el-table
:data="tableData" :data="tableData"
empty-text="暂无数据" empty-text="暂无数据"
class="eltable"
style="width: 100%; margin-top: 10px" style="width: 100%; margin-top: 10px"
:summary-method="getSummaries"
show-summary
stripe
:header-cell-style="{ backgroundColor: '#dfe8f6', color: '#213547' }"
> >
<el-table-column type="index" width="60" label="序号" align="center"> <el-table-column type="index" width="60" label="序号" align="center">
</el-table-column> </el-table-column>
...@@ -530,4 +535,17 @@ table.botList td { ...@@ -530,4 +535,17 @@ table.botList td {
height: auto !important; height: auto !important;
} }
} }
.eltable {
height: 64vh;
}
@media (min-width: 1700px) {
.eltable {
height: 72vh;
}
}
@media (min-width: 2560px) {
.eltable {
height: 79vh;
}
}
</style> </style>
\ No newline at end of file
...@@ -57,12 +57,6 @@ ...@@ -57,12 +57,6 @@
style="margin: 15px 0 0 10px" style="margin: 15px 0 0 10px"
>打印</el-button >打印</el-button
> >
<!--<el-button
type="primary"
@click="exportTableToExcel"
style="margin: 15px 0 0 10px"
>打印预览</el-button
>-->
<el-button <el-button
type="primary" type="primary"
@click="exportTableToExcel" @click="exportTableToExcel"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment