|
@@ -22,6 +22,7 @@ public class TreeSelect implements Serializable
|
|
|
|
|
|
/** 节点名称 */
|
|
/** 节点名称 */
|
|
private String label;
|
|
private String label;
|
|
|
|
+ private String titleSize;
|
|
|
|
|
|
/** 子节点 */
|
|
/** 子节点 */
|
|
@JsonInclude(JsonInclude.Include.NON_EMPTY)
|
|
@JsonInclude(JsonInclude.Include.NON_EMPTY)
|
|
@@ -42,6 +43,7 @@ public class TreeSelect implements Serializable
|
|
{
|
|
{
|
|
this.id = dept.getInvestigateDispositionId();
|
|
this.id = dept.getInvestigateDispositionId();
|
|
this.label = dept.getTitle();
|
|
this.label = dept.getTitle();
|
|
|
|
+ this.titleSize = dept.getTitleSize();
|
|
this.children = dept.getChildren().stream().map(TreeSelect::new).collect(Collectors.toList());
|
|
this.children = dept.getChildren().stream().map(TreeSelect::new).collect(Collectors.toList());
|
|
}
|
|
}
|
|
|
|
|
|
@@ -82,4 +84,12 @@ public class TreeSelect implements Serializable
|
|
{
|
|
{
|
|
this.children = children;
|
|
this.children = children;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ public String getTitleSize() {
|
|
|
|
+ return titleSize;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setTitleSize(String titleSize) {
|
|
|
|
+ this.titleSize = titleSize;
|
|
|
|
+ }
|
|
}
|
|
}
|