package uca.module.system.constant; import uca.module.system.constant.common.MenuConst; import uca.module.system.constant.common.MenuDescript; import com.ztlFramework.author.annotation.RightCode; /**普通会员*/ public class CommonMenu{ public static class OrderManagement { /** * @author andy.lv * description: 订单导入管理 */ public static class OrderImportManagement extends MenuDescript { public static final int MENU_ID = 177; public OrderImportManagement(){ super(MENU_ID); this .r(BROWSE, "查看") .r(EDIT, "编辑"); } public static final String BROWSE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.BROWSE; public static final String EDIT = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.EDIT; } /** * @author andy.lv * description: 发货单导入管理 */ public static class SendImportManagement extends MenuDescript { public static final int MENU_ID = 178; public SendImportManagement(){ super(MENU_ID); this .r(BROWSE, "查看") .r(EDIT, "编辑"); } public static final String BROWSE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.BROWSE; public static final String EDIT = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.EDIT; } /** * * @author andy * description: 单边订单 * */ public static class SingleSideOrder extends MenuDescript { public static final int MENU_ID = 216; public SingleSideOrder(){ super(MENU_ID); this .r(BROWSE, "查看") .r(PURCHASE_NEW, "新建采购订单") .r(PURCHASE_EDIT, "编辑采购订单") .r(PURCHASE_DELETE, "删除采购订单") .r(PURCHASE_CANCEL, "取消采购订单") .r(PURCHASE_SAVE, "保存采购订单") .r(PURCHASE_SUBMIT, "提交采购订单") .r(SELL_NEW, "新建销售订单") .r(SELL_EDIT, "编辑销售订单") .r(SELL_DELETE, "删除销售订单") .r(SELL_CANCEL, "取消销售订单") .r(SELL_SAVE, "保存销售订单") .r(SELL_SUBMIT, "提交销售订单") ; } public static final String BROWSE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.BROWSE; public static final String PURCHASE_NEW = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.NEW; public static final String PURCHASE_EDIT = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.EDIT; public static final String PURCHASE_DELETE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.DELETE; public static final String PURCHASE_CANCEL = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.C12; public static final String PURCHASE_SAVE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.C13; public static final String PURCHASE_SUBMIT = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.C14; public static final String SELL_NEW = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.C15; public static final String SELL_EDIT = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.C16; public static final String SELL_DELETE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.C17; public static final String SELL_CANCEL = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.C18; public static final String SELL_SAVE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.C19; public static final String SELL_SUBMIT = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.C20; } /** * @author andy * description: 客户管理 */ public static class CustomerCorporateManagement extends MenuDescript { public static final int MENU_ID = 217; public CustomerCorporateManagement(){ super(MENU_ID); this .r(BROWSE, "查看") .r(EDIT, "编辑") .r(NEW, "新建") .r(DELETE, "删除") ; } public static final String BROWSE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.BROWSE; public static final String EDIT = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.EDIT; public static final String NEW = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.NEW; public static final String DELETE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.DELETE; } } /** * @author andy.lv * description: 交易管理 */ public static class TradeManagement { /** * @author andy.lv * description: 我的委托交易 */ public static class MyEntrust extends MenuDescript { public static final int MENU_ID = 140; public MyEntrust() { super(MENU_ID); this .r(EDIT, "编辑") .r(BROWSE, "查看") .r(NEW, "新增") ; } public static final String BROWSE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.BROWSE; public static final String EDIT = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.EDIT; public static final String NEW = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.NEW; } } /** * @author andy.lv * description: 财务管理 */ public static class FinanceManagement { /** * @author andy.lv * description: 资金账户管理 */ public static class FundAccountManagement extends MenuDescript { public static final int MENU_ID = 105; public FundAccountManagement() { super(MENU_ID); this .r(EDIT, "编辑") .r(BROWSE, "查看") .r(NEW, "新增") .r(DELETE, "删除") ; } public static final String BROWSE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.BROWSE; public static final String EDIT = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.EDIT; public static final String NEW = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.NEW; public static final String DELETE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.DELETE; } /** * @author andy.lv * description: 资金明细管理 */ public static class FundDetailManagement extends MenuDescript { public static final int MENU_ID = 106; public FundDetailManagement() { super(MENU_ID); this .r(BROWSE, "查看") .r(EXPORT, "导出") ; } public static final String BROWSE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.BROWSE; public static final String EXPORT = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.EXP; } /** * @author andy.lv * description: 账户规则设置 */ public static class AccountRuleSetting extends MenuDescript { public static final int MENU_ID = 150; public AccountRuleSetting() { super(MENU_ID); this .r(BROWSE, "查看") .r(EDIT, "编辑") ; } public static final String BROWSE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.BROWSE; public static final String EDIT = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.EDIT; } /** * @author andy.lv * descripition: 付款管理 */ public static class PayApply extends MenuDescript { public static final int MENU_ID = 148; public PayApply() { super(MENU_ID); this .r(BROWSE, "查看") .r(PAY, "付款") .r(EDIT_BILL, "票据编辑") ; } public static final String BROWSE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.BROWSE; public static final String PAY = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.EDIT; public static final String EDIT_BILL = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.C12; } /** * @author andy.lv * description: 出金审核 */ public static class TransferOutAudit extends MenuDescript { public static final int MENU_ID = 180; public TransferOutAudit() { super(MENU_ID); this .r(BROWSE, "查看") .r(BUSINESS_AUDIT, "付款审核") .r(TRANSFER_AUDIT, "转账审核") .r(WITHDRAWALS_AUDIT, "提现审核") ; } public static final String BROWSE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.BROWSE; public static final String BUSINESS_AUDIT = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.AUDIT; public static final String TRANSFER_AUDIT = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.C12; public static final String WITHDRAWALS_AUDIT = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.C13; } /** * @author andy.lv * description: 提现管理 */ public static class WithdrawalsManagement extends MenuDescript { public static final int MENU_ID = 168; public WithdrawalsManagement() { super(MENU_ID); this .r(BROWSE, "查看") .r(NEW, "新增") ; } public static final String BROWSE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.BROWSE; public static final String NEW = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.NEW; } /** * @author andy.lv * description: 转账管理 */ public static class TransferManagement extends MenuDescript { public static final int MENU_ID = 184; public TransferManagement() { super(MENU_ID); this .r(BROWSE, "查看") .r(NEW, "发起转账") .r(DELETE, "取消或撤回") .r(EXPORT, "导出") ; } public static final String BROWSE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.BROWSE; public static final String NEW = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.NEW; public static final String DELETE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.DELETE; public static final String EXPORT = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.EXP; } /** * @author andy.lv * description: 收款方管理 */ public static class BeneficiaryManagement extends MenuDescript { public static final int MENU_ID = 183; public BeneficiaryManagement() { super(MENU_ID); this .r(BROWSE, "查看") .r(NEW, "新增") .r(EDIT, "编辑") .r(DELETE, "删除") ; } public static final String BROWSE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.BROWSE; public static final String NEW = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.NEW; public static final String EDIT = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.EDIT; public static final String DELETE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.DELETE; } } /** * @author andy.lv * description: 企业门户管理 */ public static class CorporatePortalManagement { /** * @author andy.lv * description: 地址管理 */ public static class AddressManagement extends MenuDescript { public static final int MENU_ID = 99; public AddressManagement() { super(MENU_ID); this .r(EDIT, "编辑") .r(BROWSE, "查看") .r(NEW, "新增") .r(DELETE, "删除") ; } public boolean only4Identified(){return false;} public static final String BROWSE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.BROWSE; public static final String EDIT = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.EDIT; public static final String NEW = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.NEW; public static final String DELETE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.DELETE; } /** * @author andy.lv * description: 企业门户设置 */ public static class PortalSetting extends MenuDescript { public static final int MENU_ID = 100; public PortalSetting() { super(MENU_ID); this .r(EDIT, "编辑") .r(BROWSE, "查看") ; } public static final String BROWSE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.BROWSE; public static final String EDIT = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.EDIT; } } /** * @author andy.lv * description: 金融产品管理 */ public static class FinancialProductManagement { /** * @author andy.lv * description: 我的金融产品 */ public static class MyFinancialProduct extends MenuDescript { public static final int MENU_ID = 145; public MyFinancialProduct() { super(MENU_ID); this .r(EDIT, "编辑") .r(BROWSE, "查看") .r(NEW, "新增") ; } public static final String BROWSE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.BROWSE; public static final String EDIT = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.EDIT; public static final String NEW = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.NEW; } } /** * @author andy.lv * description: 数据分析 */ public static class DataAnalysis { /** * @author andy.lv * description: 需求分析 */ public static class RequirementAnalysis extends MenuDescript { public static final int MENU_ID = 163; public RequirementAnalysis() { super(MENU_ID); this .r(BROWSE, "查看") ; } public static final String BROWSE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.BROWSE; } public static class ProductAnalysis extends MenuDescript { public static final int MENU_ID = 164; public ProductAnalysis() { super(MENU_ID); this .r(BROWSE, "查看") ; } public static final String BROWSE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.BROWSE; } public static class TradeAnalysis extends MenuDescript { public static final int MENU_ID = 165; public TradeAnalysis() { super(MENU_ID); this .r(BROWSE, "查看") ; } public static final String BROWSE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.BROWSE; } } /** * @author andy.lv * description: 客服中心 */ public static class ServiceCenter { /** * @author andy.lv * description: 我的消息 */ public static class MyMessage extends MenuDescript { public static final int MENU_ID = 97; public MyMessage() { super(MENU_ID); this .r(BROWSE, "查看") ; } public static final String BROWSE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.BROWSE; } /** * @author andy.lv * description: 我的投诉 */ public static class MyComplaint extends MenuDescript { public static final int MENU_ID = 113; public MyComplaint() { super(MENU_ID); this .r(BROWSE, "查看") ; } public static final String BROWSE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.BROWSE; } /** * @author andy.lv * description: 我的留言 */ public static class MyLeaveMessage extends MenuDescript { public static final int MENU_ID = 114; public MyLeaveMessage() { super(MENU_ID); this .r(BROWSE, "查看") ; } public static final String BROWSE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.BROWSE; } /** * @author andy.lv * description: 我的收藏 */ public static class MyCollection extends MenuDescript { public static final int MENU_ID = 135; public MyCollection() { super(MENU_ID); this .r(BROWSE, "查看") .r(DELETE, "删除") ; } public static final String BROWSE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.BROWSE; public static final String DELETE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.DELETE; } public static class LogChecking extends MenuDescript { public static final int MENU_ID = 131; public LogChecking() { super(MENU_ID); this .r(BROWSE, "查看") ; } public static final String BROWSE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.BROWSE; } } /** * @author andy.lv * description: 成员管理 */ public static class MemberManagement { /** * @author andy.lv * description: 部门管理 */ public static class DepartmentManagement extends MenuDescript { public static final int MENU_ID = 119; public DepartmentManagement(){ super(MENU_ID); this .r(EDIT, "编辑") .r(BROWSE, "查看") .r(NEW, "新增") .r(DELETE, "删除") ; } public static final String BROWSE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.BROWSE; public static final String EDIT = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.EDIT; public static final String NEW = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.NEW; public static final String DELETE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.DELETE; } /** * @author andy.lv * description: 成员管理 */ public static class ManageMember extends MenuDescript { public static final int MENU_ID = 86; public ManageMember() { super(MENU_ID); this .r(EDIT, "编辑") .r(BROWSE, "查看") .r(NEW, "新增") .r(DELETE, "删除") ; } public static final String BROWSE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.BROWSE; public static final String EDIT = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.EDIT; public static final String NEW = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.NEW; public static final String DELETE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.DELETE; } /** * @author andy.lv * description: 角色管理 */ public static class RoleManagement extends MenuDescript { public static final int MENU_ID = 126; public RoleManagement() { super(MENU_ID); this .r(EDIT, "编辑") .r(BROWSE, "查看") .r(NEW, "新增") .r(DELETE, "删除") .r(DISPLAY_MEMBER, "显示成员") .r(GRANT, "权限分配") ; } public static final String BROWSE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.BROWSE; public static final String EDIT = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.EDIT; public static final String NEW = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.NEW; public static final String DELETE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.DELETE; public static final String GRANT = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.DEEP_BROWSE; public static final String DISPLAY_MEMBER = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.C12; } } /** * @author andy.lv * description: 会员中心 */ public static class VipCenter { public static final int VIP_CENTER_MENU_ID = 109; /** * @author andy.lv * description: 会员基本信息 */ public static class BasicVipInfo extends MenuDescript { public static final int MENU_ID = 110; public BasicVipInfo(){ super(MENU_ID); this .r(BROWSE, "查看") .r(EDIT, "编辑") .r(NEW, "新增") ; } public boolean only4Identified(){return false;} public static final String BROWSE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.BROWSE; public static final String EDIT = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.EDIT; public static final String NEW = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.NEW; } /** * @author andy.lv * description: 集团子公司关系维护 */ public static class MaintainSubCorporate extends MenuDescript { public static final int MENU_ID = 123; public MaintainSubCorporate(){ super(MENU_ID); this .r(BROWSE, "查看") .r(NEW, "新增"); } public boolean only4Identified(){return false;} public static final String BROWSE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.BROWSE; public static final String NEW = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.NEW; } } /** * @author 无花果 * description: 个人中心 */ public static class IndividualCenter { public static final int INDIVIDUAL_CENTER_MENU_ID = 52; /** * @author 无花果 * description: 个人基本信息 */ public static class PersonalInfo extends MenuDescript { public static final int MENU_ID = 84; public PersonalInfo(){ super(MENU_ID); this .r(BROWSE, "查看") ; } public boolean only4Identified(){return false;} public static final String BROWSE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.BROWSE; } /** * @author 无花果 * description: 修改个人资料 */ public static class PersonalManagerment extends MenuDescript { public static final int MENU_ID = 53; public PersonalManagerment(){ super(MENU_ID); this .r(BROWSE, "查看"); } public boolean only4Identified(){return false;} public static final String BROWSE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.BROWSE; } /** * @author 无花果 * description: 修改密码 */ public static class PasswordManagerment extends MenuDescript { public static final int MENU_ID = 83; public PasswordManagerment(){ super(MENU_ID); this .r(BROWSE, "查看"); } public boolean only4Identified(){return false;} public static final String BROWSE = MENU_ID + MenuConst.MENU_RIGHT_CODE_SEPARATOR + RightCode.BROWSE; } } }