From ed8d0914b272da2006b2ec53cc7374d2e0734de8 Mon Sep 17 00:00:00 2001
From: zhuo <2089219845@qq.com>
Date: 星期六, 22 二月 2025 16:04:59 +0800
Subject: [PATCH] 移植设备事故和作业指导书
---
ruoyi-common/src/main/java/com/ruoyi/common/core/domain/TreeSelect.java | 16 +++++++++++++++-
1 files changed, 15 insertions(+), 1 deletions(-)
diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/TreeSelect.java b/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/TreeSelect.java
index ae25df2..e4785df 100644
--- a/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/TreeSelect.java
+++ b/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/TreeSelect.java
@@ -11,7 +11,7 @@
/**
* Treeselect鏍戠粨鏋勫疄浣撶被
- *
+ *
* @author ruoyi
*/
public class TreeSelect implements Serializable
@@ -23,6 +23,9 @@
/** 鑺傜偣鍚嶇О */
private String label;
+
+ /** 鏄惁鍙互閫夋嫨浠呯湅鎴�, 0:鍚�, 1:鏄� */
+ private Integer isRersonalButton;
/** 鑺傜偣绂佺敤 */
private boolean disabled = false;
@@ -48,6 +51,7 @@
{
this.id = menu.getMenuId();
this.label = menu.getMenuName();
+ this.isRersonalButton = menu.getIsRersonalButton();
this.children = menu.getChildren().stream().map(TreeSelect::new).collect(Collectors.toList());
}
@@ -90,4 +94,14 @@
{
this.children = children;
}
+
+ public Integer geIsRersonalButton()
+ {
+ return isRersonalButton;
+ }
+
+ public void setIsRersonalButton(Integer isRersonalButton)
+ {
+ this.isRersonalButton = isRersonalButton;
+ }
}
--
Gitblit v1.9.3