From d7f823cef2487ac27f59099770ebae5f4d809779 Mon Sep 17 00:00:00 2001 From: lsymicc Date: Fri, 6 Jun 2025 15:48:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=9B=BD=E9=99=85=E5=8C=96?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/lang/en.js | 406 ++++++++++++++++------- ruoyi-ui/src/lang/zh.js | 167 ++++++++++ ruoyi-ui/src/views/system/dict/index.vue | 125 ++++--- 3 files changed, 533 insertions(+), 165 deletions(-) diff --git a/ruoyi-ui/src/lang/en.js b/ruoyi-ui/src/lang/en.js index 69ff13e..6adc974 100644 --- a/ruoyi-ui/src/lang/en.js +++ b/ruoyi-ui/src/lang/en.js @@ -928,7 +928,115 @@ export default { }, + //=====================系统管理:用户管理===================== + systemManagement_UserManagement: { + //--------------数据表标题-------------- + userId: 'UserId', + userName: 'UserName', + password: 'Password', + nickName: 'NickName', + deptName: 'DeptName', + phoneNumber: 'PhoneNumber', + status: 'Status', + creatTime: 'CreatTime', + operation: 'Operation', + email: 'Email', + post: 'Post', + role: 'Role', + gender: 'Gender', + remark: 'Remark', + //--------------交互框操作提示-------------- + placeholderDeptName: 'Enter DeptName', + placeholderUserId: 'Enter UserId', + placeholderUserName: 'Enter UserName', + placeholderPassword: 'Enter Password', + placeholderNickName: 'Enter NickName', + placeholderPhoneNumber: 'Enter PhoneNumber', + placeholderStatus: 'Enter Status', + placeholderCreatTime: 'Enter CreatTime', + placeholderDateStart: 'DateStart', + placeholderDateEnd: 'DateEnd', + placeholderEmail: 'Enter Email', + placeholderPost: 'Select Post', + placeholderRole: 'Select Role', + placeholderGender: 'Select Gender', + placeholderRemark: 'Enter Remark', + + //--------------交互按钮-------------- + btnSearch: 'Search', + btnReset: 'Reset', + btnAdd: 'Add', + btnEdit: 'Edit', + btnDelete: 'Delete', + btnImport: 'Import', + btnExport: 'Export', + btnSubmit: 'Submit', + btnCancel: 'Cancel', + btnMore: 'More', + btnResetPassword: 'Reset Password', + btnAssignRole: 'Assign Role', + + //--------------二级窗口标题-------------- + addUserItem: 'Add User', + editUserItem: 'Edit User', + + //--------------提示文本-------------- + //---布局--- + textDragOrClick1: 'Drag file here, or ', + textDragOrClick2: 'click to upload', + textUpdateExistingData: 'Do you want to update existing user data?', + textUploadTip: 'Only xlsx and xls files are allowed.', + textDownloadTemplate: 'Download Template', + + //---函数:handleStatusChange--- + textEnable: 'enable', + textDisable: 'disable', + textUserConfirm1:"Are you sure you want to \"", + textUserConfirm2:"\" user?", + textSuccess: 'success', + + //---函数:handleResetPwd--- + textInputPassword1: 'Please enter the new password for the \"', + textInputPassword2: '\" user', + textTips: 'Tip', + textConfirm: 'Confirm', + textCancel: 'Cancel', + textResetPassword: 'The change was successful and the new password is:', + + //---函数:handleDelete--- + textDeleteConfirm1: 'Is it confirmed to delete the data item with user number "', + textDeleteConfirm2: '"?', + + //---函数:handleImport--- + textImportTitle: 'Import User Data', + + //---函数:textUploadTitle--- + textImportResult: 'Result', + + + //--------------操作提示-------------- + addSuccessInfo: 'Add Success', + editSuccessInfo: 'Edit Success', + deleteSuccessInfo: 'Delete Success', + resetPasswordSuccessInfo: 'Reset Password Success', + assignRoleSuccessInfo: 'Assign Role Success', + + //--------------校验提示-------------- + checkUserNameIsNull: 'UserName cannot be null!', + checkUserNameLength: 'UserName length must be between 2-20 characters!', + checkNickNameIsNull: 'NickName cannot be null!', + checkPasswordIsNull: 'Password cannot be null!', + checkPasswordLength: 'Password length must be between 5-20 characters!', + checkPasswordCharacter: "Password cannot contain illegal characters: < > \" \' \\\ |", + checkEmailFormat: 'Please enter a valid email address!', + checkPhoneNumberFormat: 'Please enter a valid phone number!', + + //--------------其他-------------- + lblWidthUserName: '80px', + lblWidthPhoneNumber: '90px', + + }, //=====================系统管理:角色管理===================== systemManagement_RoleManagement: { @@ -1124,6 +1232,185 @@ export default { }, + //=====================系统管理:部门管理===================== + systemManagement_DeptManagement: { + //--------------数据表标题-------------- + deptName: 'DeptName', + orderNum: 'OrderNum', + status: 'Status', + createTime: 'CreateTime', + operation: 'Operation', + + //--------------交互框操作提示-------------- + placeholderDeptName: 'Enter DeptName', + placeholderStatus: 'Select Status', + + //--------------二级窗口标题-------------- + addDeptItem: 'Add Department', + editDeptItem: 'Edit Department', + + parentDept: 'Parent Department', + setOrderNum: 'OrderNumber', + leader : 'Leader', + phoneNumber: 'PhoneNumber', + email: 'Email', + + //--------------二级窗口操作提示-------------- + placeholderParentDept: 'Select Parent Department', + placeholderLeader : 'Enter Leader', + placeholderPhoneNumber: 'Enter PhoneNumber', + placeholderEmail: 'Enter Email', + + //--------------交互按钮-------------- + btnSearch: 'Search', + btnReset: 'Reset', + btnAdd: 'Add', + btnEdit: 'Edit', + btnDelete: 'Delete', + btnImport: 'Import', + btnExport: 'Export', + btnSubmit: 'Submit', + btnCancel: 'Cancel', + btnExpandOrCollapse: 'Expand/Collapse', + + //--------------提示文本-------------- + + //---handleDelete--- + textDeleteConfirm1: 'Are you sure to delete the data item with dept name "', + textDeleteConfirm2: '"?', + + //--------------操作提示-------------- + addSuccessInfo: 'Add Success', + editSuccessInfo: 'Edit Success', + deleteSuccessInfo: 'Delete Success', + + //--------------校验提示-------------- + checkParentDeptIsNull: 'Parent Department cannot be null', + checkDeptNameIsNull: 'Department Name cannot be null', + checkOrderNumIsNull: 'Order Number cannot be null', + checkPhoneNumberFormat: 'Please enter a valid phone number', + checkEmailFormat: 'Please enter a valid email address', + + }, + + + //=====================系统管理:岗位管理===================== + systemManagement_PostManagement: { + //--------------数据表标题-------------- + postId: 'PostId', + postCode: 'PostCode', + postName: 'PostName', + postSort: 'PostSort', + status: 'Status', + createTime: 'CreateTime', + operation: 'Operation', + remark: 'Remark', + + //--------------交互框操作提示-------------- + placeholderPostCode: 'Enter PostCode', + placeholderPostName: 'Enter PostName', + placeholderRemark: 'Enter Remark', + + //--------------二级窗口标题-------------- + addPostItem: 'Add Department', + editPostItem: 'Edit Department', + + //--------------二级窗口操作提示-------------- + placeholderPostSort: 'Enter PostSort', + placeholderStatus : 'Select Status', + + //--------------交互按钮-------------- + btnSearch: 'Search', + btnReset: 'Reset', + btnAdd: 'Add', + btnEdit: 'Edit', + btnDelete: 'Delete', + btnImport: 'Import', + btnExport: 'Export', + btnSubmit: 'Submit', + btnCancel: 'Cancel', + btnExpandOrCollapse: 'Expand/Collapse', + + //--------------提示文本-------------- + + //---handleDelete--- + textDeleteConfirm1: 'Are you sure to delete the data item with post name "', + textDeleteConfirm2: '"?', + + //--------------操作提示-------------- + addSuccessInfo: 'Add Success', + editSuccessInfo: 'Edit Success', + deleteSuccessInfo: 'Delete Success', + + //--------------校验提示-------------- + checkPostNameIsNull: 'PostName Can Not Be Null', + checkPostCodeIsNull: 'PostCode Can Not Be Null', + checkPostSortIsNull: 'PostSort Can Not Be Null', + + + }, + + // =====================系统管理:字典管理===================== + systemManagement_DictManagement: { + //--------------数据表标题-------------- + dictId: 'DictId', + dictName: 'DictName', + dictType: 'DictType', + status: 'Status', + remark: 'Remark', + createTime: 'CreateTime', + operation: 'Operation', + + //--------------交互框操作提示-------------- + placeholderDictName: 'Enter DictName', + placeholderDictType: 'Enter DictType', + placeholderStatus: 'Select Status', + placeholderCreateTime: 'Select CreateTime', + placeholderDateStart: 'Date Start', + placeholderDateEnd: 'Date End', + + //--------------二级窗口标题-------------- + addDictTypeItem: 'Add DictType', + editDictTypeItem: 'Edit DictType', + + //--------------二级窗口操作提示-------------- + placeholderRemark: 'Enter Remark', + + //--------------交互按钮-------------- + btnSearch: 'Search', + btnReset: 'Reset', + btnAdd: 'Add', + btnEdit: 'Edit', + btnDelete: 'Delete', + btnImport: 'Import', + btnExport: 'Export', + btnSubmit: 'Submit', + btnCancel: 'Cancel', + btnExpandOrCollapse: 'Expand/Collapse', + btnRefreshCache: 'Refresh Cache', + + //--------------提示文本-------------- + + //---handleDelete--- + textDeleteConfirm1: 'Are you sure you want to delete the data item "', + textDeleteConfirm2: '"?', + + //--------------操作提示-------------- + addSuccessInfo: 'Add success', + editSuccessInfo: 'Edit success', + deleteSuccessInfo: 'Delete success', + + //--------------校验提示-------------- + checkDictNameIsNull: 'DictName cannot be Null', + checkDictTypeIsNull: 'DictType cannot be Null', + + }, + + + + + + // ***************出库作业流水查询************* searchViewOutJobFlow: { title: '出库作业流水查询', @@ -1646,124 +1933,5 @@ export default { }, - //=====================系统管理:部门管理===================== - systemManagement_DeptManagement: { - //--------------数据表标题-------------- - deptName: 'DeptName', - orderNum: 'OrderNum', - status: 'Status', - createTime: 'CreateTime', - operation: 'Operation', - - //--------------交互框操作提示-------------- - placeholderDeptName: 'Enter DeptName', - placeholderStatus: 'Select Status', - - //--------------二级窗口标题-------------- - addDeptItem: 'Add Department', - editDeptItem: 'Edit Department', - - parentDept: 'Parent Department', - setOrderNum: 'OrderNumber', - leader : 'Leader', - phoneNumber: 'PhoneNumber', - email: 'Email', - - //--------------二级窗口操作提示-------------- - placeholderParentDept: 'Select Parent Department', - placeholderLeader : 'Enter Leader', - placeholderPhoneNumber: 'Enter PhoneNumber', - placeholderEmail: 'Enter Email', - - //--------------交互按钮-------------- - btnSearch: 'Search', - btnReset: 'Reset', - btnAdd: 'Add', - btnEdit: 'Edit', - btnDelete: 'Delete', - btnImport: 'Import', - btnExport: 'Export', - btnSubmit: 'Submit', - btnCancel: 'Cancel', - btnExpandOrCollapse: 'Expand/Collapse', - - //--------------提示文本-------------- - - //---handleDelete--- - textDeleteConfirm1: 'Are you sure to delete the data item with dept name "', - textDeleteConfirm2: '"?', - - //--------------操作提示-------------- - addSuccessInfo: 'Add Success', - editSuccessInfo: 'Edit Success', - deleteSuccessInfo: 'Delete Success', - - //--------------校验提示-------------- - checkParentDeptIsNull: 'Parent Department cannot be null', - checkDeptNameIsNull: 'Department Name cannot be null', - checkOrderNumIsNull: 'Order Number cannot be null', - checkPhoneNumberFormat: 'Please enter a valid phone number', - checkEmailFormat: 'Please enter a valid email address', - - }, - - - //=====================系统管理:岗位管理===================== - systemManagement_PostManagement: { - //--------------数据表标题-------------- - postId: 'PostId', - postCode: 'PostCode', - postName: 'PostName', - postSort: 'PostSort', - status: 'Status', - createTime: 'CreateTime', - operation: 'Operation', - remark: 'Remark', - - //--------------交互框操作提示-------------- - placeholderPostCode: 'Enter PostCode', - placeholderPostName: 'Enter PostName', - placeholderRemark: 'Enter Remark', - - //--------------二级窗口标题-------------- - addPostItem: 'Add Department', - editPostItem: 'Edit Department', - - //--------------二级窗口操作提示-------------- - placeholderPostSort: 'Enter PostSort', - placeholderStatus : 'Select Status', - - //--------------交互按钮-------------- - btnSearch: 'Search', - btnReset: 'Reset', - btnAdd: 'Add', - btnEdit: 'Edit', - btnDelete: 'Delete', - btnImport: 'Import', - btnExport: 'Export', - btnSubmit: 'Submit', - btnCancel: 'Cancel', - btnExpandOrCollapse: 'Expand/Collapse', - - //--------------提示文本-------------- - - //---handleDelete--- - textDeleteConfirm1: 'Are you sure to delete the data item with post name "', - textDeleteConfirm2: '"?', - - //--------------操作提示-------------- - addSuccessInfo: 'Add Success', - editSuccessInfo: 'Edit Success', - deleteSuccessInfo: 'Delete Success', - - //--------------校验提示-------------- - checkPostNameIsNull: 'PostName Can Not Be Null', - checkPostCodeIsNull: 'PostCode Can Not Be Null', - checkPostSortIsNull: 'PostSort Can Not Be Null', - - }, - - - } diff --git a/ruoyi-ui/src/lang/zh.js b/ruoyi-ui/src/lang/zh.js index ebf66dc..927c576 100644 --- a/ruoyi-ui/src/lang/zh.js +++ b/ruoyi-ui/src/lang/zh.js @@ -929,6 +929,117 @@ export default { lockedIsNull: '是否可用不能为空', }, + //=====================系统管理:用户管理===================== + systemManagement_UserManagement: { + //--------------数据表标题-------------- + userId: '用户编号', + userName: '用户名称', + password: '密码', + nickName: '用户昵称', + deptName: '部门', + phoneNumber: '手机号', + status: '状态', + creatTime: '创建时间', + operation: '操作', + email: '邮箱', + post: '岗位', + role: '角色', + gender: '性别', + remark: '备注', + + //--------------交互框操作提示-------------- + placeholderDeptName: '请输入部门名称', + placeholderUserId: '请输入用户编号', + placeholderUserName: '请输入用户名称', + placeholderPassword: '请输入密码', + placeholderNickName: '请输入用户昵称', + placeholderPhoneNumber: '请输入手机号', + placeholderStatus: '请选择状态', + placeholderCreatTime: '请选择创建时间', + placeholderDateStart: '开始日期', + placeholderDateEnd: '结束日期', + placeholderEmail: '请输入邮箱', + placeholderPost: '请选择岗位', + placeholderRole: '请选择角色', + placeholderGender: '请选择性别', + placeholderRemark: '请输入备注信息', + + //--------------交互按钮-------------- + btnSearch: '搜索', + btnReset: '重置', + btnAdd: '新增', + btnEdit: '修改', + btnDelete: '删除', + btnImport: '导入', + btnExport: '导出', + btnSubmit: '确定', + btnCancel: '取消', + btnMore: '更多', + btnResetPassword: '重置密码', + btnAssignRole: '分配角色', + + //--------------二级窗口标题-------------- + addUserItem: '添加用户', + editUserItem: '修改用户', + + //--------------提示文本-------------- + //---布局--- + textDragOrClick1: '将文件拖到此处,或', + textDragOrClick2: '点击上传', + textUpdateExistingData: '是否更新已经存在的用户数据?', + textUploadTip: '仅允许导入xls、xlsx格式文件。', + textDownloadTemplate: '下载模板', + + //---函数:handleStatusChange--- + textEnable: '启用', + textDisable: '禁用', + textUserConfirm1:"确认要\"", + textUserConfirm2:"\"用户吗?", + textSuccess: '成功', + + //---函数:handleResetPwd--- + textInputPassword1: '请输入', + textInputPassword2: '的新密码', + textTips: '提示', + textConfirm: '确认', + textCancel: '取消', + textResetPassword: '修改成功,新密码是:', + + //---函数:handleDelete--- + textDeleteConfirm1: '是否确认删除用户编号为"', + textDeleteConfirm2: '"的数据项?', + + //---函数:handleImport--- + textImportTitle: '导入成功', + + //---函数:textUploadTitle--- + textImportResult: '导入结果', + + + //--------------操作提示-------------- + addSuccessInfo: '新增成功', + editSuccessInfo: '编辑成功', + deleteSuccessInfo: '删除成功', + resetPasswordSuccessInfo: '重置密码成功', + assignRoleSuccessInfo: '分配角色成功', + + //--------------校验提示-------------- + checkUserNameIsNull: '用户名称不能为空', + checkUserNameLength: '用户名称长度必须介于2-20个字符', + checkNickNameIsNull: '用户昵称不能为空', + checkPasswordIsNull: '密码不能为空', + checkPasswordLength: '密码长度必须介于5-20个字符', + checkPasswordCharacter: "不能包含非法字符:< > \" ' \\\ |", + checkEmailFormat: '请输入正确的邮箱地址', + checkPhoneNumberFormat: '请输入正确的手机号', + + //--------------其他-------------- + lblWidthUserName: '68px', + lblWidthPhoneNumber: '68px', + lblWidthDialog: '80px', + + }, + //=====================系统管理:角色管理===================== systemManagement_RoleManagement: { //--------------数据表标题-------------- @@ -1257,6 +1368,62 @@ export default { }, + // =====================系统管理:字典管理===================== + systemManagement_DictManagement: { + //--------------数据表标题-------------- + dictId: '字典编号', + dictName: '字典名称', + dictType: '字典类型', + status: 'Sta状态tus', + remark: '备注', + createTime: '创建时间', + operation: '人工操作', + + //--------------交互框操作提示-------------- + placeholderDictName: '请输入字典名称', + placeholderDictType: '请输入字典类型', + placeholderStatus: '选择状态', + placeholderCreateTime: '创建时间', + placeholderDateStart: '开始时间', + placeholderDateEnd: '结束时间', + + //--------------二级窗口标题-------------- + addDictTypeItem: '新增字典类型', + editDictTypeItem: '编辑字典类型', + + //--------------二级窗口操作提示-------------- + placeholderRemark: '请输入内容', + + //--------------交互按钮-------------- + btnSearch: '搜索', + btnReset: '重置', + btnAdd: '新增', + btnEdit: '修改', + btnDelete: '删除', + btnImport: '导入', + btnExport: '导出', + btnSubmit: '确定', + btnCancel: '取消', + btnExpandOrCollapse: '展开/折叠', + btnRefreshCache: '刷新缓存', + + //--------------提示文本-------------- + + //---handleDelete--- + textDeleteConfirm1: '是否确认删除字典类型为"', + textDeleteConfirm2: '"的数据项?', + + //--------------操作提示-------------- + addSuccessInfo: '新增成功', + editSuccessInfo: '编辑成功', + deleteSuccessInfo: '删除成功', + + //--------------校验提示-------------- + checkDictNameIsNull: '字典名称不能为空', + checkDictTypeIsNull: '字典类型不能为空', + + }, + // ***************出库作业流水查询************* searchViewOutJobFlow: { diff --git a/ruoyi-ui/src/views/system/dict/index.vue b/ruoyi-ui/src/views/system/dict/index.vue index ada7e07..2b106e5 100644 --- a/ruoyi-ui/src/views/system/dict/index.vue +++ b/ruoyi-ui/src/views/system/dict/index.vue @@ -1,28 +1,32 @@