feat: show admin file detail lifecycle

This commit is contained in:
Lan
2026-06-03 05:28:11 +08:00
parent d7e3aff825
commit f446062272
5 changed files with 400 additions and 2 deletions
+67
View File
@@ -452,6 +452,9 @@ export default {
overview: 'Overview',
policyInfo: 'Policy',
storageInfo: 'Storage',
statusInsight: 'Status Insight',
nextAction: 'Next Action',
lifecycle: 'Lifecycle',
permanent: 'Permanent',
createdAt: 'Created Time',
remainingDownloads: 'Remaining Downloads',
@@ -468,6 +471,70 @@ export default {
uploadId: 'Upload Session',
yes: 'Yes',
no: 'No',
insightSeverity: {
success: 'Healthy',
warning: 'Needs Attention',
danger: 'Issue',
info: 'Info',
neutral: 'Watch'
},
insightStates: {
available: 'Available for retrieval',
expired: 'Unavailable for retrieval',
storage_incomplete: 'Storage metadata incomplete',
expiring_soon: 'Expiring soon',
permanent: 'Permanent'
},
insightActions: {
monitor: 'Keep monitoring',
extend_or_delete: 'Extend retention or clean up',
inspect_storage: 'Inspect storage path and file name',
extend_expiration: 'Extend expiration if needed'
},
insightReasons: {
expired: 'Past expiration time',
download_limit_exhausted: 'Retrieval limit exhausted',
expires_soon: 'Expires within 24 hours',
never_retrieved: 'Never retrieved',
storage_metadata_incomplete: 'Missing downloadable storage metadata',
chunked_upload: 'Created by chunked upload'
},
timeline: {
status: {
done: 'Done',
pending: 'Pending',
active: 'Active',
expired: 'Expired',
exhausted: 'Exhausted',
unlimited: 'Unlimited'
},
created: {
title: 'Record Created',
description: 'The share record has been created and is currently {status}.'
},
content_ready: {
title: 'Content Ready',
description: 'Content type is {detail}; current status is {status}.'
},
upload_session: {
title: 'Upload Session',
description: 'Upload session recorded: {detail}.'
},
expiration_policy: {
title: 'Expiration Policy',
description: 'Expiration policy is currently {status}.',
remaining: '{time} left',
overdue: '{time} overdue'
},
download_limit: {
title: 'Retrieval Limit',
description: 'Retrieval limit is currently {status}; {value}.'
},
retrieved: {
title: 'Retrieval History',
description: 'Retrieved {value}; current status is {status}.'
}
},
headers: {
select: 'Select',
code: 'Retrieve Code',
+67
View File
@@ -450,6 +450,9 @@ export default {
overview: '概览',
policyInfo: '策略信息',
storageInfo: '存储信息',
statusInsight: '状态洞察',
nextAction: '建议动作',
lifecycle: '生命周期',
permanent: '永久有效',
createdAt: '创建时间',
remainingDownloads: '剩余次数',
@@ -466,6 +469,70 @@ export default {
uploadId: '上传会话',
yes: '是',
no: '否',
insightSeverity: {
success: '正常',
warning: '需关注',
danger: '异常',
info: '提示',
neutral: '待观察'
},
insightStates: {
available: '当前可正常取件',
expired: '当前已不可取件',
storage_incomplete: '存储信息不完整',
expiring_soon: '即将过期',
permanent: '永久有效'
},
insightActions: {
monitor: '保持观察',
extend_or_delete: '延长有效期或清理记录',
inspect_storage: '检查存储路径与文件名',
extend_expiration: '按需延长过期时间'
},
insightReasons: {
expired: '已超过过期时间',
download_limit_exhausted: '取件次数已用尽',
expires_soon: '24 小时内过期',
never_retrieved: '尚未被取件',
storage_metadata_incomplete: '缺少可下载存储信息',
chunked_upload: '由分片上传生成'
},
timeline: {
status: {
done: '已完成',
pending: '等待中',
active: '生效中',
expired: '已过期',
exhausted: '已用尽',
unlimited: '不限'
},
created: {
title: '记录创建',
description: '分享记录已创建,当前状态为 {status}。'
},
content_ready: {
title: '内容就绪',
description: '内容类型为 {detail},当前状态为 {status}。'
},
upload_session: {
title: '上传会话',
description: '上传会话已记录:{detail}。'
},
expiration_policy: {
title: '过期策略',
description: '过期策略当前为 {status}。',
remaining: '还剩 {time}',
overdue: '已超时 {time}'
},
download_limit: {
title: '取件次数',
description: '取件次数策略当前为 {status}{value}。'
},
retrieved: {
title: '取件记录',
description: '累计取件 {value},当前状态为 {status}。'
}
},
headers: {
select: '选择',
code: '取件码',