|
|
@@ -15,18 +15,18 @@
|
|
|
</button> -->
|
|
|
</div>
|
|
|
</template>
|
|
|
- <template #resetBefore>
|
|
|
+ <!-- <template #resetBefore>
|
|
|
<a-button type="default" class="ml-8px" preIcon="mdi:download" @click="onExportXlsTime"> 导出 </a-button>
|
|
|
- </template>
|
|
|
+ </template> -->
|
|
|
</BasicTable>
|
|
|
</TabPane>
|
|
|
|
|
|
<TabPane tab="历史数据监测" key="history">
|
|
|
<!-- 历史数据表格 -->
|
|
|
<BasicTable style="padding: 0" @register="registerHistoryTable">
|
|
|
- <template #resetBefore>
|
|
|
+ <!-- <template #resetBefore>
|
|
|
<a-button type="default" class="ml-8px" preIcon="mdi:download" @click="onExportXls"> 导出 </a-button>
|
|
|
- </template>
|
|
|
+ </template> -->
|
|
|
<template #form-goaf-select>
|
|
|
<a-select v-model:value="goafId" :options="goafOptions" placeholder="请选择" @change="reloadHistory" />
|
|
|
</template>
|
|
|
@@ -77,7 +77,7 @@
|
|
|
return getGoafData(params);
|
|
|
};
|
|
|
// 注册实时数据表格
|
|
|
- const { tableContext: ctxRealtime, onExportXls: onExportXlsTime } = useListPage({
|
|
|
+ const { tableContext: ctxRealtime } = useListPage({
|
|
|
tableProps: {
|
|
|
immediate: false,
|
|
|
api: wrappedGetMineData,
|
|
|
@@ -119,7 +119,7 @@
|
|
|
const { pause, resume } = useIntervalFn(() => realtimeTable.reload({ silence: true }), 60000);
|
|
|
|
|
|
// 注册历史数据表格
|
|
|
- const { tableContext: ctxHistory, onExportXls } = useListPage({
|
|
|
+ const { tableContext: ctxHistory } = useListPage({
|
|
|
tableProps: {
|
|
|
immediate: false,
|
|
|
api: async (params) => {
|