feat: dept add i18n

This commit is contained in:
王中奇
2025-05-16 22:15:11 +08:00
parent e8c83e6bc6
commit 37070381d5
6 changed files with 118 additions and 37 deletions

View File

@ -396,13 +396,18 @@ const local: App.I18n.Schema = {
dept: {
empty: '暂无部门信息',
title: '部门列表',
parentId: '上级部门',
deptName: '部门名称',
orderNum: '排序',
deptCategory: '类别编码',
leader: '负责人',
phone: '联系电话',
email: '邮箱',
status: '状态',
sort: '排序',
createTime: '创建时间',
expandAll: '全部展开',
collapseAll: '全部收起',
form: {
parentId: {
required: '请选择上级部门',
@ -412,6 +417,14 @@ const local: App.I18n.Schema = {
required: '请输入部门名称',
invalid: '部门名称不能为空'
},
orderNum: {
required: '请输入排序',
invalid: '排序不能为空'
},
deptCategory: {
required: '请输入类别编码',
invalid: '类别编码不能为空'
},
leader: {
required: '请输入负责人',
invalid: '负责人不能为空'
@ -431,8 +444,21 @@ const local: App.I18n.Schema = {
sort: {
required: '请输入排序',
invalid: '排序不能为空'
},
deptId: {
required: '请输入部门id',
invalid: '部门id不能为空'
}
},
error: {
getDeptDataFail: '获取部门用户数据失败',
getDeptUserDataFail: '获取部门用户数据失败'
},
placeholder: {
defaultLeaderPlaceHolder: '请选择负责人',
addDataLeaderPlaceHolder: '仅在更新时可选择部门负责人',
deptUserIsEmptyLeaderPlaceHolder: '该部门没有负责人'
},
addDept: '新增部门',
editDept: '编辑部门'
},