Compare commits

...

2 Commits

Author SHA1 Message Date
d49e4d7a4e merge 2026-02-12 16:33:25 +08:00
f1676cbbc9 update 回收站联调结束 2026-02-12 16:32:47 +08:00

View File

@@ -1,18 +1,22 @@
<template>
<div class="gl-page-content setting-page">
<BaseTable
<FileTable
tableName="RECYCLE_BIN_FILE"
ref="baseTableRef"
fullHeight
showCheckbox
:api="listRecycleBinApi"
:actionList="actionList"
:default-actions="[]"
@checkbox-all="checkboxChangeFun"
@checkbox-change="checkboxChangeFun"
>
<template #objectKey="{ row }">
{{ formatObjectKey(row.objectKey) }}
</template>
<template #fileSize="{ row }">
{{ row.fileSize ? formatFileSize(row.fileSize) : '--' }}
</template>
<template #leftOptions>
<el-button type="default" :loading="deleteAllLoading" icon="delete" @click="clearAll"
>清空回收站</el-button
@@ -34,14 +38,15 @@
还原选定文件</el-button
>
</template>
</BaseTable>
</FileTable>
</div>
</template>
<script setup lang="ts">
import { ref } from 'vue';
import BaseTable from '@/components/common/table/baseTable.vue';
// import FileTable from '@/components/common/fileTable/index.vue';
import FileTable from '@/components/common/fileTable/index.vue';
import { formatFileSize } from '@/utils/file';
import {
listRecycleBinApi,
restoreFromRecycleApi,