|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div class="p-4">
|
|
|
<!-- <GrowCard :loading="loading" class="enter-y" /> -->
|
|
|
- <BasicTable @register="registerTable">
|
|
|
+ <BasicTable @register="registerTable" :loading="loading">
|
|
|
<template #toolbar>
|
|
|
<a-button type="primary" @click="handleExport">导出数据</a-button>
|
|
|
</template>
|
|
@@ -189,10 +189,13 @@
|
|
|
},
|
|
|
},
|
|
|
],
|
|
|
+ resetFunc: handleReset,
|
|
|
};
|
|
|
|
|
|
const searchInfo = ref({
|
|
|
liveRoomId: '',
|
|
|
+ companyId: '',
|
|
|
+ brandId: '',
|
|
|
limit: 20,
|
|
|
page: 1,
|
|
|
time: [priorDate, today],
|
|
@@ -232,8 +235,14 @@
|
|
|
a.click();
|
|
|
window.URL.revokeObjectURL(url);
|
|
|
}
|
|
|
-
|
|
|
- setTimeout(() => {
|
|
|
- loading.value = false;
|
|
|
- }, 1500);
|
|
|
+ async function handleReset() {
|
|
|
+ searchInfo.value = {
|
|
|
+ liveRoomId: '',
|
|
|
+ companyId: '',
|
|
|
+ brandId: '',
|
|
|
+ limit: 20,
|
|
|
+ page: 1,
|
|
|
+ time: [priorDate, today],
|
|
|
+ };
|
|
|
+ }
|
|
|
</script>
|