提交 ff01e205 编写于 作者: Shine-zwj's avatar Shine-zwj

导航工具栏权限--update

上级 2f4ab8c7
......@@ -533,19 +533,11 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
*/
public calcNavigationToolbarState(){
// 界面行为
<#if ctrl.getPSAppViewUIAction().getPSUIAction()??>
<#assign uiaction = ctrl.getPSAppViewUIAction().getPSUIAction()/>
<#-- 属于应用实体的界面行为走UI服务start -->
<#if uiaction.getPSAppDataEntity?? && uiaction.getPSAppDataEntity()??>
<#assign curAppEntity = uiaction.getPSAppDataEntity() />
<#if uiaction.getPSAppWFVer?? && uiaction.getPSAppWFVer()??>
const curUIService:${srfclassname('${uiaction.getPSAppWFVer().getCodeName()}')}WFUIService = new ${srfclassname('${uiaction.getPSAppWFVer().getCodeName()}')}WFUIService();
<#else>
<#if ctrl.getPSAppDataEntity?? ctrl.getPSAppDataEntity()??>
<#assign curAppEntity = ctrl.getPSAppDataEntity() />
const curUIService:${srfclassname('${curAppEntity.getCodeName()}')}UIService = new ${srfclassname('${curAppEntity.getCodeName()}')}UIService();
</#if>
</#if>
</#if>
ViewTool.calcActionItemAuthState({},this.${ModelsName},curUIService);
</#if>
}
/**
......
......@@ -542,19 +542,11 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
*/
public calcNavigationToolbarState(){
// 界面行为
<#if ctrl.getPSAppViewUIAction().getPSUIAction()??>
<#assign uiaction = ctrl.getPSAppViewUIAction().getPSUIAction()/>
<#-- 属于应用实体的界面行为走UI服务start -->
<#if uiaction.getPSAppDataEntity?? && uiaction.getPSAppDataEntity()??>
<#assign curAppEntity = uiaction.getPSAppDataEntity() />
<#if uiaction.getPSAppWFVer?? && uiaction.getPSAppWFVer()??>
const curUIService:${srfclassname('${uiaction.getPSAppWFVer().getCodeName()}')}WFUIService = new ${srfclassname('${uiaction.getPSAppWFVer().getCodeName()}')}WFUIService();
<#else>
<#if ctrl.getPSAppDataEntity?? ctrl.getPSAppDataEntity()??>
<#assign curAppEntity = ctrl.getPSAppDataEntity() />
const curUIService:${srfclassname('${curAppEntity.getCodeName()}')}UIService = new ${srfclassname('${curAppEntity.getCodeName()}')}UIService();
</#if>
</#if>
</#if>
ViewTool.calcActionItemAuthState({},this.${ModelsName},curUIService);
</#if>
}
/**
......
......@@ -422,19 +422,11 @@
*/
public calcNavigationToolbarState(){
// 界面行为
<#if ctrl.getPSAppViewUIAction().getPSUIAction()??>
<#assign uiaction = ctrl.getPSAppViewUIAction().getPSUIAction()/>
<#-- 属于应用实体的界面行为走UI服务start -->
<#if uiaction.getPSAppDataEntity?? && uiaction.getPSAppDataEntity()??>
<#assign curAppEntity = uiaction.getPSAppDataEntity() />
<#if uiaction.getPSAppWFVer?? && uiaction.getPSAppWFVer()??>
const curUIService:${srfclassname('${uiaction.getPSAppWFVer().getCodeName()}')}WFUIService = new ${srfclassname('${uiaction.getPSAppWFVer().getCodeName()}')}WFUIService();
<#else>
<#if ctrl.getPSAppDataEntity?? ctrl.getPSAppDataEntity()??>
<#assign curAppEntity = ctrl.getPSAppDataEntity() />
const curUIService:${srfclassname('${curAppEntity.getCodeName()}')}UIService = new ${srfclassname('${curAppEntity.getCodeName()}')}UIService();
</#if>
</#if>
</#if>
ViewTool.calcActionItemAuthState({},this.${ModelsName},curUIService);
</#if>
}
/**
......
......@@ -421,19 +421,11 @@
*/
public calcNavigationToolbarState(){
// 界面行为
<#if ctrl.getPSAppViewUIAction().getPSUIAction()??>
<#assign uiaction = ctrl.getPSAppViewUIAction().getPSUIAction()/>
<#-- 属于应用实体的界面行为走UI服务start -->
<#if uiaction.getPSAppDataEntity?? && uiaction.getPSAppDataEntity()??>
<#assign curAppEntity = uiaction.getPSAppDataEntity() />
<#if uiaction.getPSAppWFVer?? && uiaction.getPSAppWFVer()??>
const curUIService:${srfclassname('${uiaction.getPSAppWFVer().getCodeName()}')}WFUIService = new ${srfclassname('${uiaction.getPSAppWFVer().getCodeName()}')}WFUIService();
<#else>
<#if ctrl.getPSAppDataEntity?? ctrl.getPSAppDataEntity()??>
<#assign curAppEntity = ctrl.getPSAppDataEntity() />
const curUIService:${srfclassname('${curAppEntity.getCodeName()}')}UIService = new ${srfclassname('${curAppEntity.getCodeName()}')}UIService();
</#if>
</#if>
</#if>
ViewTool.calcActionItemAuthState({},this.${ModelsName},curUIService);
</#if>
}
<#if ctrl.getPSControls()??>
......
......@@ -539,19 +539,11 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
*/
public calcNavigationToolbarState(){
// 界面行为
<#if ctrl.getPSAppViewUIAction().getPSUIAction()??>
<#assign uiaction = ctrl.getPSAppViewUIAction().getPSUIAction()/>
<#-- 属于应用实体的界面行为走UI服务start -->
<#if uiaction.getPSAppDataEntity?? && uiaction.getPSAppDataEntity()??>
<#assign curAppEntity = uiaction.getPSAppDataEntity() />
<#if uiaction.getPSAppWFVer?? && uiaction.getPSAppWFVer()??>
const curUIService:${srfclassname('${uiaction.getPSAppWFVer().getCodeName()}')}WFUIService = new ${srfclassname('${uiaction.getPSAppWFVer().getCodeName()}')}WFUIService();
<#else>
<#if ctrl.getPSAppDataEntity?? ctrl.getPSAppDataEntity()??>
<#assign curAppEntity = ctrl.getPSAppDataEntity() />
const curUIService:${srfclassname('${curAppEntity.getCodeName()}')}UIService = new ${srfclassname('${curAppEntity.getCodeName()}')}UIService();
</#if>
</#if>
</#if>
ViewTool.calcActionItemAuthState({},this.${ModelsName},curUIService);
</#if>
}
<#ibizinclude>
../@MACRO/CONTROL/CONTROL_BOTTOM-BASE.vue.ftl
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册