feat: 优化授权管理添加/编辑页面布局和样式
- 添加 i18n 国际化支持,新增 createForm 翻译 - 统一使用 KeyRound 图标作为授权配置标题 - 优化预览卡片,增加已授权卡类列表展示 - 添加 loading 状态和更完善的表单验证 - 统一使用 textarea 组件替代 UiTextarea - 与版本管理页面布局保持一致 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -1703,7 +1703,47 @@
|
||||
"my_request": "My Request"
|
||||
},
|
||||
"reject": "Reject",
|
||||
"remove": "Remove"
|
||||
"remove": "Remove",
|
||||
"createForm": {
|
||||
"title": "Add Authorization",
|
||||
"description": "Add new application authorization for agent",
|
||||
"editTitle": "Edit Authorization",
|
||||
"editDescription": "Modify agent's application authorization configuration",
|
||||
"authConfig": "Authorization Configuration",
|
||||
"authConfigDesc": "Select agent, application and configure card type permissions",
|
||||
"selectAgent": "Select Agent",
|
||||
"selectAgentPlaceholder": "Please select an agent",
|
||||
"selectApp": "Select Application",
|
||||
"selectAppPlaceholder": "Please select an application",
|
||||
"cardPermission": "Card Type Permissions",
|
||||
"selectCardType": "Select Card Type",
|
||||
"addCardType": "Add",
|
||||
"cardTypeList": "Authorized Card Types",
|
||||
"cardTypeName": "Card Type Name",
|
||||
"billingType": "Billing Type",
|
||||
"price": "Price",
|
||||
"pricePlaceholder": "Enter price",
|
||||
"noCardTypes": "Please select card types to add to authorization list",
|
||||
"selectAppFirst": "Please select an application first",
|
||||
"remark": "Remark",
|
||||
"remarkPlaceholder": "Enter remark (optional)",
|
||||
"preview": "Preview",
|
||||
"previewAgent": "Agent",
|
||||
"previewApp": "Application",
|
||||
"previewCardTypes": "Card Types",
|
||||
"previewRemark": "Remark",
|
||||
"confirmAuth": "Confirm Authorization",
|
||||
"updateAuth": "Save Changes",
|
||||
"createSuccess": "Authorization added successfully",
|
||||
"createFailed": "Failed to add authorization",
|
||||
"updateSuccess": "Authorization updated successfully",
|
||||
"updateFailed": "Failed to update authorization",
|
||||
"fetchFailed": "Failed to fetch authorization information",
|
||||
"selectAgentRequired": "Please select an agent",
|
||||
"selectAppRequired": "Please select an application",
|
||||
"selectCardRequired": "Please add at least one card type",
|
||||
"cardCount": "{count} items"
|
||||
}
|
||||
},
|
||||
"finance": {
|
||||
"title": "Finance Management",
|
||||
|
||||
Reference in New Issue
Block a user