提交 8437eb59 编写于 作者: tony001's avatar tony001

适配分页导航面板主状态逻辑

上级 cbbc63b0
...@@ -126,7 +126,7 @@ import { Environment } from '@/environments/environment'; ...@@ -126,7 +126,7 @@ import { Environment } from '@/environments/environment';
* @type {*} * @type {*}
* @memberof ${srfclassname('${ctrl.codeName}')}Base * @memberof ${srfclassname('${ctrl.codeName}')}Base
*/ */
public authResourceObject:any = {<#list ctrl.getPSControls() as tabviewpanel>'${tabviewpanel.name}':<#if tabviewpanel.getEmbeddedPSAppDEView()?? && tabviewpanel.getEmbeddedPSAppDEView().getAccessKey()??>'${tabviewpanel.getEmbeddedPSAppDEView().getAccessKey()}'<#else>null</#if><#if tabviewpanel_has_next>,</#if></#list>}; public authResourceObject:any = {<#list ctrl.getPSControls() as tabviewpanel>'${tabviewpanel.name}':{resourcetag:<#if tabviewpanel.getEmbeddedPSAppDEView()?? && tabviewpanel.getEmbeddedPSAppDEView().getAccessKey()??>'${tabviewpanel.getEmbeddedPSAppDEView().getAccessKey()}'<#else>null</#if><#if tabviewpanel.getPSDEOPPriv?? && tabviewpanel.getPSDEOPPriv()??>,actiontarget: 'SINGLEKEY',noprivdisplaymode:2,dataaccaction:'${tabviewpanel.getPSDEOPPriv().getName()}',visabled: true,disabled: false</#if>}<#if tabviewpanel_has_next>,</#if></#list>};
/** /**
* 被激活的分页面板 * 被激活的分页面板
...@@ -210,9 +210,13 @@ import { Environment } from '@/environments/environment'; ...@@ -210,9 +210,13 @@ import { Environment } from '@/environments/environment';
if (!Object.is(tag, this.name)) { if (!Object.is(tag, this.name)) {
return; return;
} }
this.action = action; if(Object.is(action,'loadmodel')){
this.viewState.next({ tag: this.activiedTabViewPanel, action: action, data: data });
this.$forceUpdate(); }else{
this.action = action;
this.viewState.next({ tag: this.activiedTabViewPanel, action: action, data: data });
this.$forceUpdate();
}
}); });
} }
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册