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

导航工具栏--update3

上级 ff01e205
......@@ -533,7 +533,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
*/
public calcNavigationToolbarState(){
// 界面行为
<#if ctrl.getPSAppDataEntity?? ctrl.getPSAppDataEntity()??>
<#if ctrl.getPSAppDataEntity?? && ctrl.getPSAppDataEntity()??>
<#assign curAppEntity = ctrl.getPSAppDataEntity() />
const curUIService:${srfclassname('${curAppEntity.getCodeName()}')}UIService = new ${srfclassname('${curAppEntity.getCodeName()}')}UIService();
ViewTool.calcActionItemAuthState({},this.${ModelsName},curUIService);
......
......@@ -542,7 +542,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
*/
public calcNavigationToolbarState(){
// 界面行为
<#if ctrl.getPSAppDataEntity?? ctrl.getPSAppDataEntity()??>
<#if ctrl.getPSAppDataEntity?? && ctrl.getPSAppDataEntity()??>
<#assign curAppEntity = ctrl.getPSAppDataEntity() />
const curUIService:${srfclassname('${curAppEntity.getCodeName()}')}UIService = new ${srfclassname('${curAppEntity.getCodeName()}')}UIService();
ViewTool.calcActionItemAuthState({},this.${ModelsName},curUIService);
......
......@@ -422,7 +422,7 @@
*/
public calcNavigationToolbarState(){
// 界面行为
<#if ctrl.getPSAppDataEntity?? ctrl.getPSAppDataEntity()??>
<#if ctrl.getPSAppDataEntity?? && ctrl.getPSAppDataEntity()??>
<#assign curAppEntity = ctrl.getPSAppDataEntity() />
const curUIService:${srfclassname('${curAppEntity.getCodeName()}')}UIService = new ${srfclassname('${curAppEntity.getCodeName()}')}UIService();
ViewTool.calcActionItemAuthState({},this.${ModelsName},curUIService);
......
......@@ -421,7 +421,7 @@
*/
public calcNavigationToolbarState(){
// 界面行为
<#if ctrl.getPSAppDataEntity?? ctrl.getPSAppDataEntity()??>
<#if ctrl.getPSAppDataEntity?? && ctrl.getPSAppDataEntity()??>
<#assign curAppEntity = ctrl.getPSAppDataEntity() />
const curUIService:${srfclassname('${curAppEntity.getCodeName()}')}UIService = new ${srfclassname('${curAppEntity.getCodeName()}')}UIService();
ViewTool.calcActionItemAuthState({},this.${ModelsName},curUIService);
......
......@@ -539,7 +539,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
*/
public calcNavigationToolbarState(){
// 界面行为
<#if ctrl.getPSAppDataEntity?? ctrl.getPSAppDataEntity()??>
<#if ctrl.getPSAppDataEntity?? && ctrl.getPSAppDataEntity()??>
<#assign curAppEntity = ctrl.getPSAppDataEntity() />
const curUIService:${srfclassname('${curAppEntity.getCodeName()}')}UIService = new ${srfclassname('${curAppEntity.getCodeName()}')}UIService();
ViewTool.calcActionItemAuthState({},this.${ModelsName},curUIService);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册