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

usr代码

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