提交 3ca12434 编写于 作者: ibizdev's avatar ibizdev

xignzi006 发布系统代码

上级 4960a009
...@@ -360,6 +360,13 @@ export default class GradationService extends ControlService { ...@@ -360,6 +360,13 @@ export default class GradationService extends ControlService {
Object.assign(treeNode, { id: strNodeId + '_#_' + filter.srfnodeid }); Object.assign(treeNode, { id: strNodeId + '_#_' + filter.srfnodeid });
Object.assign(treeNode, { collapsed: true }); Object.assign(treeNode, { collapsed: true });
Object.assign(treeNode, { leaf: true }); Object.assign(treeNode, { leaf: true });
let objLeafFlag = entity.childaccountcount;
if (objLeafFlag != null ) {
let strLeafFlag: string = objLeafFlag.toString().toLowerCase();
if (Object.is(strLeafFlag, '1') || Object.is(strLeafFlag, 'true')){
Object.assign(treeNode, { leaf: true });
}
}
Object.assign(treeNode, { navparams: '{}' }); Object.assign(treeNode, { navparams: '{}' });
Object.assign(treeNode, { nodeid: treeNode.srfkey }); Object.assign(treeNode, { nodeid: treeNode.srfkey });
Object.assign(treeNode, { nodeid2: filter.strRealNodeId }); Object.assign(treeNode, { nodeid2: filter.strRealNodeId });
...@@ -526,6 +533,13 @@ export default class GradationService extends ControlService { ...@@ -526,6 +533,13 @@ export default class GradationService extends ControlService {
Object.assign(treeNode, { id: strNodeId + '_#_' + filter.srfnodeid }); Object.assign(treeNode, { id: strNodeId + '_#_' + filter.srfnodeid });
Object.assign(treeNode, { collapsed: true }); Object.assign(treeNode, { collapsed: true });
Object.assign(treeNode, { leaf: false }); Object.assign(treeNode, { leaf: false });
let objLeafFlag = entity.childaccountcount;
if (objLeafFlag != null ) {
let strLeafFlag: string = objLeafFlag.toString().toLowerCase();
if (Object.is(strLeafFlag, '1') || Object.is(strLeafFlag, 'true')){
Object.assign(treeNode, { leaf: true });
}
}
Object.assign(treeNode, { navparams: '{}' }); Object.assign(treeNode, { navparams: '{}' });
Object.assign(treeNode, { nodeid: treeNode.srfkey }); Object.assign(treeNode, { nodeid: treeNode.srfkey });
Object.assign(treeNode, { nodeid2: filter.strRealNodeId }); Object.assign(treeNode, { nodeid2: filter.strRealNodeId });
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册