feat: add admin batch policy editor

This commit is contained in:
Lan
2026-06-03 04:54:23 +08:00
parent d6b6c4d65e
commit 2923699a41
6 changed files with 393 additions and 9 deletions
+14
View File
@@ -427,6 +427,20 @@ export default {
batchDeleteSuccess: 'Deleted {count} files',
batchDeletePartialSuccess: 'Deleted {count} files, {failed} failed',
batchDeleteFailed: 'Batch delete failed',
batchEdit: 'Batch Edit',
batchEditTitle: 'Batch Edit File Policy',
batchEditSelected: 'Update the selected {count} files',
batchEditMode: 'Update Mode',
batchEditExpiresAt: 'Set Expiration Time',
batchEditDownloadLimit: 'Set Retrieval Limit',
batchEditForever: 'Make Permanent',
batchEditForeverHint: 'Clear the expiration time and make retrievals unlimited.',
batchUpdateConfirm: 'Update the selected {count} files?',
batchUpdateSuccess: 'Updated {count} files',
batchUpdatePartialSuccess: 'Updated {count} files, {failed} failed',
batchUpdateFailed: 'Batch update failed',
batchUpdateNoFields: 'Choose a policy to update',
applyBatchEdit: 'Apply Changes',
headers: {
select: 'Select',
code: 'Retrieve Code',
+14
View File
@@ -425,6 +425,20 @@ export default {
batchDeleteSuccess: '已删除 {count} 个文件',
batchDeletePartialSuccess: '已删除 {count} 个文件,{failed} 个失败',
batchDeleteFailed: '批量删除失败',
batchEdit: '批量编辑',
batchEditTitle: '批量编辑文件策略',
batchEditSelected: '将更新选中的 {count} 个文件',
batchEditMode: '更新方式',
batchEditExpiresAt: '设置过期时间',
batchEditDownloadLimit: '设置取件次数',
batchEditForever: '设为永久有效',
batchEditForeverHint: '清空过期时间,并将取件次数设为不限。',
batchUpdateConfirm: '确认更新选中的 {count} 个文件?',
batchUpdateSuccess: '已更新 {count} 个文件',
batchUpdatePartialSuccess: '已更新 {count} 个文件,{failed} 个失败',
batchUpdateFailed: '批量更新失败',
batchUpdateNoFields: '请选择要更新的策略',
applyBatchEdit: '应用更改',
headers: {
select: '选择',
code: '取件码',