提交 6dbd5f2f 编写于 作者: Mosher's avatar Mosher

增加门户部件界面行为组权限校验 --- fix1

上级 11fd9f3a
......@@ -290,12 +290,12 @@ import { Environment } from '@/environments/environment';
<#list UIActionDetails as uiactiondetail>
<#if uiactiondetail.getPSUIAction()??>
<#assign uiaction = uiactiondetail.getPSUIAction() />
<#if uiaction.getCodeName?? && uiaction.getCodeName()??>
<#assign uiactionname = uiaction.getCodeName()?lower_case />
<#else>
<#assign uiactionname = uiactiondetail.getName()?lower_case />
</#if>
<#if uiaction.getUiActionTag == 'ExportExcel'>
<#if uiaction.getCodeName?? && uiaction.getCodeName()??>
<#assign uiactionname = uiaction.getCodeName()?lower_case />
<#else>
<#assign uiactionname = uiactiondetail.getName()?lower_case />
</#if>
<#if uiaction.getUiActionTag() == 'ExportExcel'>
${uiactionname}: {name: '${uiactionname}', actiontarget: 'NONE', <#if uiactiondetail.isShowCaption()>caption: '${uiactiondetail.caption}',</#if> disabled: false, type: '${uiactiondetail.getDetailType}', visabled: true, dataaccaction: '<#if uiaction.getDataAccessAction()??>${uiaction.getDataAccessAction()}</#if>' uiaction: { tag: '${uiaction.getUIActionTag()}', target: '${deuiaction.getActionTarget()}' } <#if view.hasPSControl("GRID")><#assign gridhandler = view.getPSControl("GRID").getPSAjaxControlHandler()>, MaxRowCount: <#if gridhandler?? && gridhandler.getPSDEDataExport()??>${gridhandler.getPSDEDataExport().getMaxRowCount()?c}<#elseif sys.getDEDataExportMaxRowCount() gt 0>${sys.getDEDataExportMaxRowCount()?c}<#else>10000</#if></#if> },
<#elseif uiaction.getUIActionTag() == 'ToggleRowEdit'>
${uiactionname}: {name: '${uiactionname}', actiontarget: 'NONE', <#if uiactiondetail.isShowCaption()>caption: '${uiactiondetail.caption}',</#if> disabled: false, type: '${uiactiondetail.getDetailType}', visabled: true, dataaccaction: '<#if uiaction.getDataAccessAction()??>${uiaction.getDataAccessAction()}</#if>' uiaction: { tag: '${uiaction.getUIActionTag()}', target: '${deuiaction.getActionTarget()}' } },
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册