--在线用户,角色管理国际化

This commit is contained in:
lai
2023-11-10 14:44:44 +08:00
parent 22f2cd9a2e
commit d02339c1ea
4 changed files with 246 additions and 135 deletions

View File

@@ -12,6 +12,7 @@ export default {
msgSuccess: 'Success {msg}',
errorFields: 'Please fill in the required information in {num} correctly!',
tablePaginationTotal: 'A total of {total} items',
zebra:'Tabular zebra pattern',
ok: 'Ok',
cancel: 'Cancel',
close: 'Close',
@@ -538,7 +539,7 @@ export default {
delSure:'Confirm deletion of data item with user ID {userId}?',
export:'Export',
import:'Import',
exportSure:'Are you sure to export the xlsx table file based on search criteria??',
exportSure:'Are you sure to export the xlsx table file based on search criteria?',
phone:'Phone Number',
createTime:'Creation time',
userTop:'User profile',
@@ -550,7 +551,20 @@ export default {
loginPwd:'Login password',
updateSure:'Do you want to update existing data',
downloadObj:'Download Tpl',
}
},
role:{
allScopeOptions:'All data permissions',
byMyselfScopeOptions:'Custom data permissions',
onlyClassScopeOptions:'Data permissions of this department',
classAllScopeOptions:'Data permissions for this department and the following',
myselfScopeOptions:'Only personal data permissions',
roleId:'Role number',
roleName:'Role Name',
roleKey:'Role key',
roleSort:'Role order',
roleStatus:'Role status',
createTime:'Creation time',
}
},
},
};

View File

@@ -12,6 +12,7 @@ export default {
msgSuccess: '{msg}成功 ',
errorFields: '请正确填写 {num} 处必填信息!',
tablePaginationTotal: '总共 {total} 条',
zebraL:'表格斑马纹',
ok: '确定',
cancel: '取消',
close: '关闭',
@@ -515,7 +516,7 @@ export default {
}
},
system:{
user: {
user:{
userInfo:'用户信息',
userNum: '用户编号',
account: '登录账号',
@@ -550,7 +551,39 @@ export default {
loginPwd:'登入密码',
updateSure:'是否更新已经存在的数据',
downloadObj:'下载模板',
},
},
role:{
allScopeOptions:'全部数据权限',
byMyselfScopeOptions:'自定数据权限',
onlyClassScopeOptions:'本部门数据权限',
classAllScopeOptions:'本部门及以下数据权限',
myselfScopeOptions:'仅本人数据权限',
roleId:'角色编号',
roleName:'角色名称',
roleKey:'角色键值',
roleSort:'角色顺序',
roleStatus:'角色状态',
createTime:'创建时间',
trueValue:'请正确输入{msg}',
roleInfo:'角色信息',
distribute:'分配数据权限',
open:'启用',
close:'停用',
statusSure:'确定要 {text} {roleName} 角色吗?',
statusFailed:'${roleName} {text}失败',
delSure:'确认删除角色编号为 【{roleId}】 的数据项?',
distributeUser:'分配用户',
roleMark:'角色说明',
menu:'菜单权限',
roleKeyTip:"权限标识示例:dba 控制器中使用权限标识,如: @PreAuthorize({ hasRoles: ['dba'] })",
openSwitch:'展开/折叠',
selAllSwitch:'全选/全不选',
relationSwitch:'父子联动',
normal:'正常',
stop:'暂停',
preScope:'权限范围',
dataPer:'数据权限',
}
},
},
};