feat: add admin batch file selection

This commit is contained in:
Lan
2026-06-03 04:34:32 +08:00
parent a4edd1293a
commit d6b6c4d65e
6 changed files with 266 additions and 3 deletions
+10
View File
@@ -418,7 +418,17 @@ export default {
previewComplete: 'Loaded full content, {count} characters',
previewTruncated: 'Showing {shown} / {total} characters',
previewFallback: 'Preview endpoint unavailable; using text from the list',
selectCurrentPage: 'Select current page',
selectedCount: '{count} selected',
selectFile: 'Select {name}',
clearSelection: 'Clear Selection',
batchDelete: 'Batch Delete',
batchDeleteConfirm: 'Delete the selected {count} files? This action cannot be undone.',
batchDeleteSuccess: 'Deleted {count} files',
batchDeletePartialSuccess: 'Deleted {count} files, {failed} failed',
batchDeleteFailed: 'Batch delete failed',
headers: {
select: 'Select',
code: 'Retrieve Code',
name: 'Name',
type: 'Type',
+10
View File
@@ -416,7 +416,17 @@ export default {
previewComplete: '已加载完整内容,共 {count} 个字符',
previewTruncated: '已显示 {shown} / {total} 个字符',
previewFallback: '预览接口不可用,已使用列表中的文本内容',
selectCurrentPage: '选择当前页',
selectedCount: '已选择 {count} 项',
selectFile: '选择 {name}',
clearSelection: '清空选择',
batchDelete: '批量删除',
batchDeleteConfirm: '确认删除选中的 {count} 个文件?此操作不可撤销。',
batchDeleteSuccess: '已删除 {count} 个文件',
batchDeletePartialSuccess: '已删除 {count} 个文件,{failed} 个失败',
batchDeleteFailed: '批量删除失败',
headers: {
select: '选择',
code: '取件码',
name: '名称',
type: '类型',