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

权限资源调整

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