等级方案 职等职级接口
parent
2775d2486e
commit
0f9c8572a3
@ -1,26 +0,0 @@
|
||||
package com.engine.organization.entity;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
*
|
||||
* @description: TODO
|
||||
* @author:dxfeng
|
||||
* @createTime: 2022/05/09
|
||||
* @version: 1.0
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class TopMenuBtn {
|
||||
private String isBatch;
|
||||
private String isTop;
|
||||
private String menuFun;
|
||||
private String menuIcon;
|
||||
private String menuName;
|
||||
private String type;
|
||||
}
|
@ -0,0 +1,69 @@
|
||||
package com.engine.organization.util;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
*
|
||||
* @description: MenuBtn工具类
|
||||
* @author:dxfeng
|
||||
* @createTime: 2022/05/09
|
||||
* @version: 1.0
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class MenuBtn {
|
||||
private String isBatch;
|
||||
private String isTop;
|
||||
private String menuFun;
|
||||
private String menuIcon;
|
||||
private String menuName;
|
||||
private String type;
|
||||
|
||||
/**
|
||||
* topMenu新增
|
||||
* @return
|
||||
*/
|
||||
public static MenuBtn topMenu_addNew(){
|
||||
return MenuBtn.builder().isBatch("1").isTop("1").menuFun("new").menuIcon("icon-coms-New-Flow").menuName("新建").type( "BTN_Addnew").build();
|
||||
}
|
||||
|
||||
/**
|
||||
* topMenu批量删除
|
||||
* @return
|
||||
*/
|
||||
public static MenuBtn topMenu_batchDelete(){
|
||||
return MenuBtn.builder().isBatch("1").isTop("1").menuFun("new").menuIcon("icon-coms-New-Flow").menuName("新建").type( "BTN_Addnew").build();
|
||||
}
|
||||
|
||||
/**
|
||||
* rightMenu新增
|
||||
* @return
|
||||
*/
|
||||
public static MenuBtn rightMenu_addNew(){
|
||||
return MenuBtn.builder().isBatch("0").isTop("1").menuFun("new").menuIcon("icon-coms-New-Flow").menuName("新建").type( "BTN_Addnew").build();
|
||||
}
|
||||
|
||||
/**
|
||||
* rightMenu日志
|
||||
* @return
|
||||
*/
|
||||
public static MenuBtn rightMenu_btnLog(){
|
||||
return MenuBtn.builder().isBatch("0").isTop("0").menuFun("log").menuIcon("icon-coms-Print-log").menuName("日志").type( "BTN_log").build();
|
||||
}
|
||||
|
||||
/**
|
||||
* rightMenu显示列定制
|
||||
* @return
|
||||
*/
|
||||
public static MenuBtn rightMenu_btnColumn(){
|
||||
return MenuBtn.builder().isBatch("0").isTop("0").menuFun("custom").menuIcon("icon-coms-task-list").menuName("显示列定制").type( "BTN_COLUMN").build();
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
Loading…
Reference in New Issue