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

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

上级 6dbd5f2f
......@@ -295,12 +295,12 @@ import { Environment } from '@/environments/environment';
<#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> },
<#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: '${uiaction.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()}' } },
${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: '${uiaction.getActionTarget()}' } },
<#else>
${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()}' } },
${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: '${uiaction.getActionTarget()}' } },
</#if>
</#if>
</#list>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册