feat: 重构管理后台前端架构并新增完整功能
This commit is contained in:
commit
93304a1803
88 files changed
+9941
-6500
No files matched your search
@@ -156,6 +156,9 @@ const messages = {
|
||||
generic: 'Request failed.',
|
||||
codes: {
|
||||
AUTH_UNAUTHORIZED: 'Please log in first.',
|
||||
AUTH_INCORRECT_PASSWORD: 'Incorrect password',
|
||||
AUTH_USER_NOT_FOUND: 'User not found',
|
||||
AUTH_ACCOUNT_DISABLED: 'Account is disabled',
|
||||
AUTH_FORBIDDEN: 'You do not have permission to perform this action.',
|
||||
RESOURCE_NOT_FOUND: 'The requested resource was not found.',
|
||||
RESOURCE_CONFLICT: 'Request conflict. Please refresh and try again.',
|
||||
@@ -578,7 +581,11 @@ const messages = {
|
||||
confirmClean: 'Are you sure you want to delete all REJECTED users?',
|
||||
confirmBatchDelete: 'Are you sure you want to delete {count} users?',
|
||||
msgs: {
|
||||
realNameRequired: 'Real name is required',
|
||||
employeeIdRequired: 'Employee ID is required',
|
||||
phoneRequired: 'Phone number is required',
|
||||
usernameRequired: 'Username is required',
|
||||
emailRequired: 'Email is required',
|
||||
passwordRequired: 'Password is required for new users',
|
||||
invalidEmail: 'Invalid email format',
|
||||
created: 'User created successfully',
|
||||
@@ -1682,6 +1689,9 @@ const messages = {
|
||||
generic: '请求失败。',
|
||||
codes: {
|
||||
AUTH_UNAUTHORIZED: '请先登录。',
|
||||
AUTH_INCORRECT_PASSWORD: '密码错误',
|
||||
AUTH_USER_NOT_FOUND: '用户不存在',
|
||||
AUTH_ACCOUNT_DISABLED: '账号已禁用',
|
||||
AUTH_FORBIDDEN: '你没有权限执行该操作。',
|
||||
RESOURCE_NOT_FOUND: '请求的资源不存在。',
|
||||
RESOURCE_CONFLICT: '请求冲突,请刷新后重试。',
|
||||
@@ -2105,7 +2115,11 @@ const messages = {
|
||||
confirmClean: '确定要删除所有“已拒绝”的用户吗?',
|
||||
confirmBatchDelete: '确定要删除选中的 {count} 个用户吗?',
|
||||
msgs: {
|
||||
realNameRequired: '真实姓名必填',
|
||||
employeeIdRequired: '工号必填',
|
||||
phoneRequired: '手机号必填',
|
||||
usernameRequired: '用户名必填',
|
||||
emailRequired: '邮箱必填',
|
||||
passwordRequired: '新用户必须设置密码',
|
||||
invalidEmail: '邮箱格式不正确',
|
||||
created: '用户创建成功',
|
||||
@@ -3172,6 +3186,9 @@ const messages = {
|
||||
generic: '請求失敗。',
|
||||
codes: {
|
||||
AUTH_UNAUTHORIZED: '請先登入。',
|
||||
AUTH_INCORRECT_PASSWORD: '密碼錯誤',
|
||||
AUTH_USER_NOT_FOUND: '用戶不存在',
|
||||
AUTH_ACCOUNT_DISABLED: '帳號已禁用',
|
||||
AUTH_FORBIDDEN: '你沒有權限執行此操作。',
|
||||
RESOURCE_NOT_FOUND: '請求的資源不存在。',
|
||||
RESOURCE_CONFLICT: '請求衝突,請刷新後重試。',
|
||||
@@ -3560,7 +3577,11 @@ const messages = {
|
||||
confirmClean: '確定要刪除所有“已拒絕”的用戶嗎?',
|
||||
confirmBatchDelete: '確定要刪除選中的 {count} 個用戶嗎?',
|
||||
msgs: {
|
||||
realNameRequired: '真實姓名必填',
|
||||
employeeIdRequired: '工號必填',
|
||||
phoneRequired: '手機號必填',
|
||||
usernameRequired: '用戶名必填',
|
||||
emailRequired: '郵箱必填',
|
||||
passwordRequired: '新用戶必須設置密碼',
|
||||
invalidEmail: '郵箱格式不正確',
|
||||
created: '用戶創建成功',
|
||||
@@ -4494,6 +4515,9 @@ const messages = {
|
||||
generic: 'คำขอล้มเหลว',
|
||||
codes: {
|
||||
AUTH_UNAUTHORIZED: 'กรุณาเข้าสู่ระบบก่อน',
|
||||
AUTH_INCORRECT_PASSWORD: 'รหัสผ่านไม่ถูกต้อง',
|
||||
AUTH_USER_NOT_FOUND: 'ไม่พบผู้ใช้',
|
||||
AUTH_ACCOUNT_DISABLED: 'บัญชีถูกปิดใช้งาน',
|
||||
AUTH_FORBIDDEN: 'คุณไม่มีสิทธิ์ดำเนินการนี้',
|
||||
RESOURCE_NOT_FOUND: 'ไม่พบทรัพยากรที่ร้องขอ',
|
||||
RESOURCE_CONFLICT: 'คำขอขัดแย้ง โปรดรีเฟรชแล้วลองใหม่',
|
||||
@@ -4799,7 +4823,11 @@ const messages = {
|
||||
confirmClean: 'คุณแน่ใจหรือไม่ว่าต้องการลบผู้ใช้ที่ถูกปฏิเสธทั้งหมด?',
|
||||
confirmBatchDelete: 'คุณแน่ใจหรือไม่ว่าต้องการลบผู้ใช้ {count} คน?',
|
||||
msgs: {
|
||||
realNameRequired: 'กรุณากรอกชื่อจริง',
|
||||
employeeIdRequired: 'กรุณากรอกรหัสพนักงาน',
|
||||
phoneRequired: 'กรุณากรอกเบอร์โทรศัพท์',
|
||||
usernameRequired: 'กรุณากรอกชื่อผู้ใช้',
|
||||
emailRequired: 'กรุณากรอกอีเมล',
|
||||
passwordRequired: 'ต้องระบุรหัสผ่านสำหรับผู้ใช้ใหม่',
|
||||
invalidEmail: 'รูปแบบอีเมลไม่ถูกต้อง',
|
||||
created: 'สร้างผู้ใช้สำเร็จ',
|
||||
|
||||
Reference in new issue
Block a user