From 19ec0269a9ce3a57ccfcd1d36585bb1c31977b60 Mon Sep 17 00:00:00 2001 From: ludc <ludc@vci-tech.com> Date: 星期五, 10 一月 2025 10:25:22 +0800 Subject: [PATCH] ui定义为树或树表时默认设置orientation为positive --- Source/plt-web/plt-web-parent/plt-web-api/src/main/java/com/vci/pagemodel/MenuVO.java | 143 ++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 138 insertions(+), 5 deletions(-) diff --git a/Source/plt-web/plt-web-parent/plt-web-api/src/main/java/com/vci/pagemodel/MenuVO.java b/Source/plt-web/plt-web-parent/plt-web-api/src/main/java/com/vci/pagemodel/MenuVO.java index 48769fb..0e7159d 100644 --- a/Source/plt-web/plt-web-parent/plt-web-api/src/main/java/com/vci/pagemodel/MenuVO.java +++ b/Source/plt-web/plt-web-parent/plt-web-api/src/main/java/com/vci/pagemodel/MenuVO.java @@ -2,6 +2,8 @@ package com.vci.pagemodel; +import java.io.Serializable; +import java.util.ArrayList; import java.util.HashMap; import java.util.List; @@ -10,7 +12,7 @@ * * @author Chill */ -public class MenuVO { +public class MenuVO implements Serializable { private static final long serialVersionUID = 1L; /** @@ -26,13 +28,12 @@ /** * 瀛愬瓩鑺傜偣 */ - private List<MenuVO> children; + private List<MenuVO> children = new ArrayList<>(); /** * 鏄惁鏈夊瓙瀛欒妭鐐� */ private Boolean hasChildren; - /** * 鑿滃崟缂栧彿 @@ -50,9 +51,24 @@ private String alias; /** - * 璇锋眰鍦板潃 + * 璇锋眰鍦板潃锛岀晫闈㈣矾寰� */ private String path; + + /** + * 瀹㈡埛绔湴鍧� + */ + private String pathC; + + /** + * resourceDotNet + */ + private String resourceDotNet; + + /** + * resourceDotMobile + */ + private String resourceMobile; /** * 鑿滃崟璧勬簮 @@ -65,7 +81,7 @@ private Integer sort; /** - * 鑿滃崟绫诲瀷 + * 鑿滃崟绫诲瀷: 0锛氳彍鍗曪紝1锛氭寜閽� */ private Integer category; @@ -103,11 +119,128 @@ * 鏄惁鏂扮獥鍙f墦寮� */ private String isOpenName; + + /** + * 鍙拡瀵逛簬棣栭〉绯荤粺妯″潡閰嶇疆浣跨敤锛岀敤浜庡尯鍒嗙偣鍑讳笉鍚岀殑鑺傜偣锛屽睍寮�鐨勪笉鍚屾煡璇㈤�昏緫 + */ + private String modeType; + + /** + * 鍔熻兘绫诲瀷锛�0锛氬姛鑳借彍鍗曡妭鐐癸紝1锛氬垎绫� + */ + private int functionType; + + /** + * 鏄ā鍧椾笅瀛愬璞℃槸妯″潡杩樻槸鎿嶄綔锛�0琛ㄧず鏃犲瓙鑺傜偣锛�1琛ㄧず鏄ā鍧楋紝2琛ㄧず鏄搷浣� + */ + private Integer childType; + + /** + * 1鏈夋晥0鏃犳晥锛氭棤鏁堟椂锛屽湪鍔熻兘鏉冮檺鐣岄潰涓嶆樉绀� + */ + private Boolean isValid; + + /** + * 鍚堝苟浜唂unctionOperate瀵硅薄涓殑灞炴�х殑妯″潡鐨刬d + */ + private String funcId; + + /** + * 妯″潡涓嬪叧鑱旂殑鎿嶄綔绫诲瀷id + */ + private String operId; + /** + * 鏄惁鏈夋潈闄愶紝0娌℃湁锛�1鏈� + */ + private Integer havePermission; + /** * 鍓嶇鏄惁闅愯棌 */ private HashMap<String,Boolean> meta = new HashMap<>(); + public void setFuncId(String funcId) { + this.funcId = funcId; + } + + public void setOperId(String operId) { + this.operId = operId; + } + + public String getFuncId() { + return funcId; + } + + public void setFunctionType(int functionType) { + this.functionType = functionType; + } + + public void setHavePermission(Integer havePermission) { + this.havePermission = havePermission; + } + + public int getFunctionType() { + return functionType; + } + + public Integer getHavePermission() { + return havePermission; + } + + public String getOperId() { + return operId; + } + + public void setPathC(String pathC) { + this.pathC = pathC; + } + + public void setResourceDotNet(String resourceDotNet) { + this.resourceDotNet = resourceDotNet; + } + + public void setResourceMobile(String resourceMobile) { + this.resourceMobile = resourceMobile; + } + + public String getPathC() { + return pathC; + } + + public String getResourceDotNet() { + return resourceDotNet; + } + + public String getResourceMobile() { + return resourceMobile; + } + + public void setIsValid(Boolean isValid) { + this.isValid = isValid; + } + + public Boolean getIsValid() { + return isValid; + } + + + + public void setChildType(Integer childType) { + this.childType = childType; + } + + public Integer getChildType() { + return childType; + } + + public String getModeType() { + return modeType; + } + + public void setModeType(String modeType) { + this.modeType = modeType; + } + public String getId() { return id; } -- Gitblit v1.9.3