更新
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { ref, onMounted, h } from "vue";
|
import { ref, onMounted, h } from "vue";
|
||||||
import ExportForm from '@/components/exportDialog/index.vue';
|
import ExportForm from '@/components/exportDialog/index.vue';
|
||||||
|
import SearchForm from "@/components/SearchForm/index.vue";
|
||||||
import { utils, writeFile } from "xlsx";
|
import { utils, writeFile } from "xlsx";
|
||||||
const exportFormRef = ref(null)
|
const exportFormRef = ref(null)
|
||||||
import { addDialog } from "@/components/ReDialog";
|
import { addDialog } from "@/components/ReDialog";
|
||||||
@@ -163,6 +164,14 @@ const exportTable = (activeIndex) => {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
const searchForm = ref({})
|
||||||
|
const searchLabel = ref([])
|
||||||
|
const onSearch = async () => {
|
||||||
|
|
||||||
|
}
|
||||||
|
const resetFieldsSearch = () => {
|
||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
@@ -188,7 +197,9 @@ const exportTable = (activeIndex) => {
|
|||||||
<el-tabs v-model="activeIndex" @tab-click="handleClick">
|
<el-tabs v-model="activeIndex" @tab-click="handleClick">
|
||||||
|
|
||||||
<el-tab-pane label="金币收支" name="1">
|
<el-tab-pane label="金币收支" name="1">
|
||||||
<div class="mb-5" style="float: right;">
|
<div class="mb-5 flex" style="float: right;align-items: center;">
|
||||||
|
<!-- <SearchForm class="pb-2" :LabelList="searchLabel" :formData="searchForm" @handleSearch="onSearch"
|
||||||
|
@resetFields="resetFieldsSearch" :isSenior="false" /> -->
|
||||||
<el-button @click="exportTable(activeIndex)" type="primary">导出当前表格</el-button>
|
<el-button @click="exportTable(activeIndex)" type="primary">导出当前表格</el-button>
|
||||||
</div>
|
</div>
|
||||||
<pure-table v-if="activeIndex == 1" ref="tableRef" align-whole="center" showOverflowTooltip
|
<pure-table v-if="activeIndex == 1" ref="tableRef" align-whole="center" showOverflowTooltip
|
||||||
|
|||||||
Reference in New Issue
Block a user