From 844935c3559e4a135aba5a4499f9f4d2100d3ffe Mon Sep 17 00:00:00 2001 From: lsymicc Date: Fri, 6 Jun 2025 11:13:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B2=97=E4=BD=8D=E7=AE=A1=E7=90=86=E5=9B=BD?= =?UTF-8?q?=E9=99=85=E5=8C=96=E4=BF=AE=E6=94=B9=E5=92=8C=E9=83=A8=E9=97=A8?= =?UTF-8?q?=E8=A7=92=E8=89=B2=E7=AE=A1=E7=90=86=E5=AD=97=E6=AE=B5=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/lang/en.js | 67 ++++++++++++- ruoyi-ui/src/lang/zh.js | 73 +++++++++++++- ruoyi-ui/src/views/system/dept/index.vue | 116 +++++++++++++++-------- ruoyi-ui/src/views/system/menu/index.vue | 3 +- 4 files changed, 210 insertions(+), 49 deletions(-) diff --git a/ruoyi-ui/src/lang/en.js b/ruoyi-ui/src/lang/en.js index e048514..de5fbb0 100644 --- a/ruoyi-ui/src/lang/en.js +++ b/ruoyi-ui/src/lang/en.js @@ -780,8 +780,8 @@ export default { MainTitle: 'MainTitle', //---函数:handleDelete--- - txtDeleteConfirm1: 'Are you sure to delete the data item with menu name "', - txtDeleteConfirm2: '"?', + textDeleteConfirm1: 'Are you sure to delete the data item with menu name "', + textDeleteConfirm2: '"?', //--------------操作提示-------------- addSuccessInfo: 'Add Success', @@ -793,8 +793,71 @@ export default { checkOrderNumIsNull: 'OrderNum cannot be null', checkRouterPathIsNull: 'RouterPath cannot be null', + }, + + + //=====================系统管理:部门管理===================== + systemManagement_DeptManagement: { + //--------------数据表标题-------------- + deptName: 'DeptName', + orderNum: 'OrderNum', + status: 'Status', + createTime: 'CreateTime', + operation: 'Operation', + + //--------------交互框操作提示-------------- + placeholderDeptName: 'Enter DeptName', + placeholderStatus: 'Select ParentDept', + + //--------------二级窗口标题-------------- + 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 menu 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', }, + + } diff --git a/ruoyi-ui/src/lang/zh.js b/ruoyi-ui/src/lang/zh.js index cbd84a4..1560b43 100644 --- a/ruoyi-ui/src/lang/zh.js +++ b/ruoyi-ui/src/lang/zh.js @@ -799,8 +799,63 @@ export default { MainTitle: '主类目', //---函数:handleDelete--- - txtDeleteConfirm1: '是否确认删除菜单名称为"', - txtDeleteConfirm2: '"的数据项?', + textDeleteConfirm1: '是否确认删除菜单名称为"', + textDeleteConfirm2: '"的数据项?', + + //--------------操作提示-------------- + addSuccessInfo: '新增成功', + editSuccessInfo: '编辑成功', + deleteSuccessInfo: '删除成功', + + //--------------校验提示-------------- + checkMenuNameIsNull: '菜单名称不能为空', + checkOrderNumIsNull: '菜单顺序不能为空', + checkRouterPathIsNull: '路由地址不能为空', + + }, + + //=====================系统管理:部门管理===================== + systemManagement_DeptManagement: { + //--------------数据表标题-------------- + deptName: '部门名称', + orderNum: '排序', + status: '部门状态', + createTime: '创建时间', + operation: '操作', + + //--------------交互框操作提示-------------- + placeholderDeptName: '请输入部门名称', + placeholderStatus: '选择部门状态', + + //--------------二级窗口标题-------------- + addDeptItem: '添加部门', + editDeptItem: '添加部门', + + parentDept: '上级部门', + setOrderNum: '显示排序', + leader : '负责人', + phoneNumber: '联系电话', + email: '邮箱', + + //--------------二级窗口操作提示-------------- + placeholderParentDept: '请选择上级部门', + placeholderLeader : '请输入负责人', + placeholderPhoneNumber: '请输入联系电话', + placeholderEmail: '请输入邮箱', + + //--------------交互按钮-------------- + btnSearch: '搜索', + btnReset: '重置', + btnAdd: '新增', + btnEdit: '修改', + btnDelete: '删除', + btnImport: '导入', + btnExport: '导出', + btnSubmit: '确定', + btnCancel: '取消', + btnExpandOrCollapse: '展开/折叠', + + //--------------提示文本-------------- //---handleDelete--- textDeleteConfirm1: '是否确认删除用户编号为"', @@ -812,9 +867,17 @@ export default { deleteSuccessInfo: '删除成功', //--------------校验提示-------------- - checkMenuNameIsNull: '校验:菜单名称不能为空', - checkOrderNumIsNull: '菜单顺序不能为空', - checkRouterPathIsNull: '路由地址不能为空', + checkParentDeptIsNull: '上级部门不能为空', + checkDeptNameIsNull: '部门名称不能为空', + checkOrderNumIsNull: '显示排序不能为空', + checkPhoneNumberFormat: '请输入正确的邮箱地址', + checkEmailFormat: '请输入正确的手机号', + + }, + + + //=====================系统管理:岗位管理===================== + systemManagement_PostManagement: { }, diff --git a/ruoyi-ui/src/views/system/dept/index.vue b/ruoyi-ui/src/views/system/dept/index.vue index 088f09d..4330096 100644 --- a/ruoyi-ui/src/views/system/dept/index.vue +++ b/ruoyi-ui/src/views/system/dept/index.vue @@ -1,16 +1,18 @@