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

权限资源调整

上级 08a29f29
......@@ -137,15 +137,15 @@ TARGET=PSSYSTEM
<#comment>获取数据范围</#comment>
<#function getDataScope dataEntity>
<#assign result_DataScope="[">
<#assign result_DataScope=result_DataScope+"{\"id\":\"ALL\",\"name\":\"全部数据\"},">
<#assign result_DataScope=result_DataScope+"{\"id\":\"ALL\",\"name\":\"全部数据\"}">
<#if de.getPSDEFieldByPDT('ORGID',true)?? >
<#assign result_DataScope=result_DataScope+"{\"id\":\"CURORG\",\"name\":\"当前单位\"},{\"id\":\"PORG\",\"name\":\"上级单位\"},{\"id\":\"SORG\",\"name\":\"下级单位\"} ,">
<#assign result_DataScope=result_DataScope+", {\"id\":\"CURORG\",\"name\":\"当前单位\"},{\"id\":\"PORG\",\"name\":\"上级单位\"},{\"id\":\"SORG\",\"name\":\"下级单位\"} ,">
</#if>
<#if de.getPSDEFieldByPDT('ORGSECTORID',true)?? >
<#assign result_DataScope=result_DataScope+"{\"id\":\"CURORGDEPT\",\"name\":\"当前部门\"},{\"id\":\"PORGDEPT\",\"name\":\"上级部门\"},{\"id\":\"SORGDEPT\",\"name\":\"下级部门\"} ,">
<#assign result_DataScope=result_DataScope+", {\"id\":\"CURORGDEPT\",\"name\":\"当前部门\"},{\"id\":\"PORGDEPT\",\"name\":\"上级部门\"},{\"id\":\"SORGDEPT\",\"name\":\"下级部门\"} ,">
</#if>
<#if de.getPSDEFieldByPDT('CREATEMAN',true)??>
<#assign result_DataScope=result_DataScope+"{\"id\":\"CREATEMAN\",\"name\":\"创建人\"}">
<#assign result_DataScope=result_DataScope+", {\"id\":\"CREATEMAN\",\"name\":\"创建人\"}">
</#if>
<#assign result_DataScope=result_DataScope+"]">
<#return result_DataScope>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册