forked from integrated_whb/integrated_whb
八项作业电子围栏第一级不让选择,返前端disabled
parent
b0e31da418
commit
77e20d7586
|
@ -107,6 +107,7 @@ public class ElectronicFenceServiceImpl implements ElectronicFenceService {
|
||||||
Map<String, Object> node = entry.getValue();
|
Map<String, Object> node = entry.getValue();
|
||||||
String pId = (String) node.get("pId");
|
String pId = (String) node.get("pId");
|
||||||
if ("0".equals(pId)) {
|
if ("0".equals(pId)) {
|
||||||
|
node.put("disabled",true);
|
||||||
rootNodes.add(node);
|
rootNodes.add(node);
|
||||||
} else {
|
} else {
|
||||||
Map<String, Object> parentNode = idToNodeMap.get(pId);
|
Map<String, Object> parentNode = idToNodeMap.get(pId);
|
||||||
|
|
Loading…
Reference in New Issue