|
@@ -85,11 +85,11 @@ public abstract class AbstractCompService { |
|
|
|
|
|
|
|
|
//树数据 |
|
|
//树数据 |
|
|
public R tree(@SwBody SwMap params, UserSession us) { |
|
|
public R tree(@SwBody SwMap params, UserSession us) { |
|
|
return pageHandler(params, us, TYPE_COMBO, handler -> ((AbstractTreeHandler<Object>)handler).data()); |
|
|
|
|
|
|
|
|
return pageHandler(params, us, TYPE_TREE, handler -> ((AbstractTreeHandler<Object>)handler).data()); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//树过滤 |
|
|
//树过滤 |
|
|
public R treeFilter(@SwBody SwMap params, UserSession us) { |
|
|
public R treeFilter(@SwBody SwMap params, UserSession us) { |
|
|
return pageHandler(params, us, TYPE_COMBO, handler -> ((AbstractTreeHandler<Object>)handler).filter()); |
|
|
|
|
|
|
|
|
return pageHandler(params, us, TYPE_TREE, handler -> ((AbstractTreeHandler<Object>)handler).filter()); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |