feat: add admin file detail modal

This commit is contained in:
Lan
2026-06-03 05:13:58 +08:00
parent 2923699a41
commit d7e3aff825
6 changed files with 640 additions and 3 deletions
+27
View File
@@ -381,6 +381,10 @@ export default {
subtitle: '{count} share records. Filter by status, type, and usage.',
searchPlaceholder: 'Search code, name, or text...',
allFiles: 'All Files',
detail: 'Details',
detailTitle: 'File Details',
detailLoading: 'Loading details...',
detailFailed: 'Failed to load details',
editFileInfo: 'Edit File Information',
saveChanges: 'Save Changes',
refresh: 'Refresh List',
@@ -405,7 +409,11 @@ export default {
viewText: 'View',
textPreview: 'Text Preview',
copyText: 'Copy Text',
copyCode: 'Copy Code',
copyLink: 'Copy Link',
copySuccess: 'Text copied to clipboard',
copyCodeSuccess: 'Retrieve code copied to clipboard',
copyLinkSuccess: 'Retrieve link copied to clipboard',
copyFailed: 'Copy failed, please try again',
charCount: '{count} characters',
downloadFile: 'Download File',
@@ -441,6 +449,25 @@ export default {
batchUpdateFailed: 'Batch update failed',
batchUpdateNoFields: 'Choose a policy to update',
applyBatchEdit: 'Apply Changes',
overview: 'Overview',
policyInfo: 'Policy',
storageInfo: 'Storage',
permanent: 'Permanent',
createdAt: 'Created Time',
remainingDownloads: 'Remaining Downloads',
textLength: 'Text Length',
hasDownloadLimit: 'Has Retrieval Limit',
hasExpirationTime: 'Has Expiration',
canPreviewText: 'Can Preview Text',
canDownload: 'Can Download',
storageBackend: 'Storage Backend',
fileHash: 'File Hash',
isChunked: 'Chunked Upload',
filePath: 'Storage Path',
uuidFileName: 'Stored File Name',
uploadId: 'Upload Session',
yes: 'Yes',
no: 'No',
headers: {
select: 'Select',
code: 'Retrieve Code',
+27
View File
@@ -379,6 +379,10 @@ export default {
subtitle: '共 {count} 条分享记录,可按状态、类型和使用情况快速筛选。',
searchPlaceholder: '搜索取件码、名称或文本...',
allFiles: '所有文件',
detail: '详情',
detailTitle: '文件详情',
detailLoading: '正在加载详情...',
detailFailed: '详情加载失败',
editFileInfo: '编辑文件信息',
saveChanges: '保存更改',
refresh: '刷新列表',
@@ -403,7 +407,11 @@ export default {
viewText: '查看',
textPreview: '文本预览',
copyText: '复制文本',
copyCode: '复制取件码',
copyLink: '复制取件链接',
copySuccess: '文本已复制到剪贴板',
copyCodeSuccess: '取件码已复制到剪贴板',
copyLinkSuccess: '取件链接已复制到剪贴板',
copyFailed: '复制失败,请重试',
charCount: '共 {count} 个字符',
downloadFile: '下载文件',
@@ -439,6 +447,25 @@ export default {
batchUpdateFailed: '批量更新失败',
batchUpdateNoFields: '请选择要更新的策略',
applyBatchEdit: '应用更改',
overview: '概览',
policyInfo: '策略信息',
storageInfo: '存储信息',
permanent: '永久有效',
createdAt: '创建时间',
remainingDownloads: '剩余次数',
textLength: '文本长度',
hasDownloadLimit: '限制取件次数',
hasExpirationTime: '限制过期时间',
canPreviewText: '可预览文本',
canDownload: '可下载',
storageBackend: '存储后端',
fileHash: '文件哈希',
isChunked: '分片上传',
filePath: '存储路径',
uuidFileName: '存储文件名',
uploadId: '上传会话',
yes: '是',
no: '否',
headers: {
select: '选择',
code: '取件码',