|
|
@@ -19,9 +19,9 @@
|
|
|
<Tabs v-model:activeKey="activeTab" type="line" class="common-page-tabs">
|
|
|
<TabPane tab="实时监测" key="realtime">
|
|
|
<BasicTable @register="registerRealtimeTable" :scroll="{ x: 'max-content' }" :style="{ padding: 0 }">
|
|
|
- <template #resetBefore>
|
|
|
+ <!-- <template #resetBefore>
|
|
|
<a-button type="default" class="ml-8px" preIcon="mdi:download" @click="onExportXlsTime"> 导出 </a-button>
|
|
|
- </template>
|
|
|
+ </template> -->
|
|
|
<template #empty>
|
|
|
<span class="empty-placeholder">-</span>
|
|
|
</template>
|
|
|
@@ -30,9 +30,9 @@
|
|
|
|
|
|
<TabPane tab="历史数据" key="history">
|
|
|
<BasicTable @register="registerHistoryTable" :scroll="{ x: 'max-content' }" :style="{ padding: 0 }">
|
|
|
- <template #resetBefore>
|
|
|
+ <!-- <template #resetBefore>
|
|
|
<a-button type="default" class="ml-8px" preIcon="mdi:download" @click="onExportXls"> 导出 </a-button>
|
|
|
- </template>
|
|
|
+ </template> -->
|
|
|
</BasicTable>
|
|
|
</TabPane>
|
|
|
</Tabs>
|
|
|
@@ -77,7 +77,7 @@
|
|
|
return Promise.all([loadBoardData(params), getMineData(params)]).then(([__, res]) => res);
|
|
|
};
|
|
|
|
|
|
- const { tableContext: ctxRealtime, onExportXls: onExportXlsTime } = useListPage({
|
|
|
+ const { tableContext: ctxRealtime } = useListPage({
|
|
|
tableProps: {
|
|
|
immediate: false,
|
|
|
columns,
|
|
|
@@ -119,7 +119,7 @@
|
|
|
const [registerRealtimeTable, { getForm }] = ctxRealtime;
|
|
|
|
|
|
// ====== 历史数据表格(暂无接口,空态占位)======
|
|
|
- const { tableContext, onExportXls } = useListPage({
|
|
|
+ const { tableContext } = useListPage({
|
|
|
tableProps: {
|
|
|
immediate: false,
|
|
|
columns: historyColumns,
|