fix:菜单管理-增加菜单英文名称字段
This commit is contained in:
+1
@@ -559,6 +559,7 @@ public class SysPermissionController {
|
||||
/* update_end author:wuxianquan date:20190908 for: 往菜单信息里添加外链菜单打开方式*/
|
||||
|
||||
meta.put("title", permission.getName());
|
||||
meta.put("titleEn", permission.getMenuEn());
|
||||
|
||||
//update-begin--Author:scott Date:20201015 for:路由缓存问题,关闭了tab页时再打开就不刷新 #842
|
||||
String component = permission.getComponent();
|
||||
|
||||
@@ -42,6 +42,10 @@ public class SysPermission implements Serializable {
|
||||
* 菜单名称
|
||||
*/
|
||||
private String name;
|
||||
/**
|
||||
* 菜单英文名称
|
||||
*/
|
||||
private String menuEn;
|
||||
|
||||
/**
|
||||
* 菜单权限编码,例如:“sys:schedule:list,sys:schedule:info”,多个逗号隔开
|
||||
@@ -170,6 +174,7 @@ public class SysPermission implements Serializable {
|
||||
if(index) {
|
||||
this.id = "9502685863ab87f0ad1134142788a385";
|
||||
this.name="首页";
|
||||
this.menuEn="Home Page";
|
||||
this.component="dashboard/Analysis";
|
||||
this.componentName="dashboard-analysis";
|
||||
this.url="/dashboard/analysis";
|
||||
|
||||
@@ -30,6 +30,11 @@ public class SysPermissionTree implements Serializable {
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 菜单英文名称
|
||||
*/
|
||||
private String menuEn;
|
||||
|
||||
/**
|
||||
* 菜单权限编码
|
||||
*/
|
||||
@@ -147,6 +152,7 @@ public class SysPermissionTree implements Serializable {
|
||||
this.isLeaf = permission.isLeaf();
|
||||
this.menuType = permission.getMenuType();
|
||||
this.name = permission.getName();
|
||||
this.menuEn = permission.getMenuEn();
|
||||
this.parentId = permission.getParentId();
|
||||
this.sortNo = permission.getSortNo();
|
||||
this.updateBy = permission.getUpdateBy();
|
||||
@@ -248,6 +254,10 @@ public class SysPermissionTree implements Serializable {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getMenuEn() { return menuEn; }
|
||||
|
||||
public void setMenuEn(String menuEn) { this.menuEn = menuEn; }
|
||||
|
||||
public String getIcon() {
|
||||
return icon;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user