Commit 7a3494fb authored by 朱超's avatar 朱超

热量分析

parent 4211da24
...@@ -40,10 +40,15 @@ ...@@ -40,10 +40,15 @@
@click="postHeatAnalysisFun" @click="postHeatAnalysisFun"
>历史查询</el-button >历史查询</el-button
> >
<el-button type="primary" v-print="printObj">打印</el-button>
<el-button type="primary" @click="exportTableToExcel"
>导出</el-button
>
</div> </div>
</th> </th>
</tr> </tr>
</table> </table>
<div class="overflowBlock">
<table <table
cellpadding="0" cellpadding="0"
cellspacing="1" cellspacing="1"
...@@ -69,7 +74,9 @@ ...@@ -69,7 +74,9 @@
<tr> <tr>
<th>预测室外平均温度(℃)</th> <th>预测室外平均温度(℃)</th>
<td> <td>
{{ predictionTemp.avgTemp ? predictionTemp.avgTemp : "-" }} {{
predictionTemp.avgTemp ? predictionTemp.avgTemp : "-"
}}
</td> </td>
</tr> </tr>
<tr> <tr>
...@@ -322,26 +329,6 @@ ...@@ -322,26 +329,6 @@
</tr> </tr>
</template> </template>
</table> </table>
<div class="printHidden">
<div class="btngrounp">
<el-button
type="primary"
style="margin: 15px 0 0 0"
v-print="printObj"
>打印</el-button
>
<!--<el-button
type="primary"
style="margin: 15px 0 0 10px"
>打印预览</el-button
-->
<el-button
type="primary"
@click="exportTableToExcel"
style="margin: 15px 0 0 10px"
>导出</el-button
>
</div>
</div> </div>
</el-card> </el-card>
</div> </div>
...@@ -877,12 +864,11 @@ onUnmounted(() => {}); ...@@ -877,12 +864,11 @@ onUnmounted(() => {});
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.contentBlock { .contentBlock {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ffffff; background-color: #ffffff;
}
.overflowBlock {
width: 100%;
height: 68vh;
overflow: auto; overflow: auto;
} }
table { table {
...@@ -930,4 +916,14 @@ table td { ...@@ -930,4 +916,14 @@ table td {
height: auto !important; height: auto !important;
} }
} }
@media (min-width: 1700px) {
.overflowBlock {
height: 74vh;
}
}
@media (min-width: 2560px) {
.overflowBlock {
height: 100%;
}
}
</style> </style>
\ No newline at end of file
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