提交 eaa51a4f 编写于 作者: zhouweidong's avatar zhouweidong

usr代码

上级 f3d0c546
......@@ -161,14 +161,14 @@
let srfappctx: any = {};
if (node.disabled == true) {// 单位
temp.id = "Dept;" + node.id;
temp.srfparentdename = "IBZOrganization";
temp.ibzorganization = node.id;
srfappctx.ibzorganization = temp.ibzorganization;
temp.srfparentdename = "SysOrganization";
temp.sysorganization = node.id;
srfappctx.sysorganization = temp.sysorganization;
}else {// 部门
temp.id = "Dept;" + node.id;
temp.srfparentdename = "IBZDepartment";
temp.ibzdepartment = node.id;
srfappctx.ibzdepartment = temp.ibzdepartment;
temp.srfparentdename = "SysDepartment";
temp.sysdepartment = node.id;
srfappctx.sysdepartment = temp.sysdepartment;
}
temp.srfparentkey = node.id;
temp.navparams = "{}";
......
......@@ -158,14 +158,14 @@
// 获取右侧视图渲染数据需要的参数
let temp = JSON.parse(JSON.stringify(node));
temp.id = "Org;" + node.id;
temp.srfparentdename = "IBZOrganization";
temp.srfparentdename = "SysOrganization";
temp.srfparentkey = node.id;
temp.navparams = "{}";
temp.ibzorganization = node.id;
temp.sysorganization = node.id;
let srfappctx: any = {};
srfappctx.srfparentkey = temp.srfparentkey;
srfappctx.srfparentdename = temp.srfparentdename;
srfappctx.ibzorganization = temp.ibzorganization;
srfappctx.sysorganization = temp.sysorganization;
temp.srfappctx = srfappctx;
// 抛出参数
let selectiondata: any = [temp];
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册