feat: 新增角色管理模块,优化API与交互体验
1. 新增角色管理后台页面、路由与国际化文案 2. 重构API请求错误处理逻辑,统一拦截业务与HTTP错误 3. 新增确认弹窗组合式函数,区分取消与请求错误场景 4. 完善表格按钮权限与显示控制逻辑 5. 更新API参数规范与文档说明 6. 修复部分页面分页数据解析问题
This commit is contained in:
@@ -4,7 +4,10 @@
|
||||
"page": {
|
||||
"common": {
|
||||
"help": "Help",
|
||||
"use": "Apply"
|
||||
"use": "Apply",
|
||||
"confirm": "Confirm",
|
||||
"cancel": "Cancel",
|
||||
"tip": "Tip"
|
||||
},
|
||||
"demo": {
|
||||
"playground": {
|
||||
@@ -45,6 +48,38 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"system_administration": {
|
||||
"user_management": {
|
||||
"role": {
|
||||
"search": "Search",
|
||||
"reset": "Reset",
|
||||
"index": "No.",
|
||||
"name": "Role Name",
|
||||
"status": "Status",
|
||||
"enabled": "Enabled",
|
||||
"disabled": "Disabled",
|
||||
"description": "Description",
|
||||
"actions": "Actions",
|
||||
"add": "Add",
|
||||
"edit": "Edit",
|
||||
"delete": "Delete",
|
||||
"add_title": "Add Role",
|
||||
"edit_title": "Edit Role",
|
||||
"enter_name": "Please enter role name",
|
||||
"enter_description": "Please enter description",
|
||||
"select_status": "Please select status",
|
||||
"select_rows_first": "Please select rows first",
|
||||
"operation_success": "Operation succeeded",
|
||||
"confirm_delete": "Are you sure to delete this role?",
|
||||
"length_limit": "Length should be 1 to 100 characters",
|
||||
"assign_permissions": "Assign Permissions",
|
||||
"permission_assignment": "Permission Assignment",
|
||||
"confirm": "Confirm",
|
||||
"cancel": "Cancel",
|
||||
"tip": "Tip"
|
||||
}
|
||||
}
|
||||
},
|
||||
"system": {
|
||||
"login": {
|
||||
"time_is_most_precious": "Time is the most precious of all wealth",
|
||||
|
||||
Reference in New Issue
Block a user