|
@@ -5,6 +5,9 @@ import DownloadDialog from './components/DownloadDialog.vue'
|
|
|
import { autoWidth } from '@/utils/table'
|
|
import { autoWidth } from '@/utils/table'
|
|
|
import { useRowClickStyle } from '@/hooks/rowClickStyle'
|
|
import { useRowClickStyle } from '@/hooks/rowClickStyle'
|
|
|
import dayjs from 'dayjs'
|
|
import dayjs from 'dayjs'
|
|
|
|
|
+import { useThemeStore } from '@/stores/modules/theme'
|
|
|
|
|
+
|
|
|
|
|
+const themeStore = useThemeStore()
|
|
|
|
|
|
|
|
const props = defineProps({
|
|
const props = defineProps({
|
|
|
height: {
|
|
height: {
|
|
@@ -353,7 +356,11 @@ defineExpose({
|
|
|
<div class="table-tools">
|
|
<div class="table-tools">
|
|
|
<div class="left-total-records">{{ selectedNumber }} Selected</div>
|
|
<div class="left-total-records">{{ selectedNumber }} Selected</div>
|
|
|
<div class="right-tools-btn">
|
|
<div class="right-tools-btn">
|
|
|
- <el-button class="el-button--main" @click="handleDownload">
|
|
|
|
|
|
|
+ <el-button
|
|
|
|
|
+ :class="{ 'el-button--pain-theme': themeStore.theme === 'dark' }"
|
|
|
|
|
+ class="el-button--main"
|
|
|
|
|
+ @click="handleDownload"
|
|
|
|
|
+ >
|
|
|
<span style="margin-right: 8px" class="font_family icon-icon_download_b"></span>
|
|
<span style="margin-right: 8px" class="font_family icon-icon_download_b"></span>
|
|
|
Download
|
|
Download
|
|
|
</el-button>
|
|
</el-button>
|