提交 1c44bdcc 编写于 作者: tony001's avatar tony001

调整面板内容

上级 f8bd13b3
......@@ -12,7 +12,7 @@ new PanelButtonModel({ ${detail} })
<#elseif item.getItemType() == 'USERCONTROL'>
new PanelUserControlModel({ ${detail} })
<#elseif item.getItemType() == 'TABPANEL'>
new PanelTabPanelModel({ ${detail}<#if item.getPSPanelTabPages()??>,tabPages:[<#list item.getPSPanelTabPages() as tabpage>'${tabpage.getName()}<#if tabpage_has_next>,</#if>'</#list>]</#if> })
new PanelTabPanelModel({ ${detail}<#if item.getPSPanelTabPages()??>,tabPages:[<#list item.getPSPanelTabPages() as tabpage>'${tabpage.getName()}'<#if tabpage_has_next>,</#if></#list>]</#if> })
<#elseif item.getItemType() == 'TABPAGE'>
new PanelTabPageModel({ ${detail} })
</#if>
\ No newline at end of file
......@@ -6,7 +6,7 @@
${item.render.code}
<#else>
<@ibizindent blank=8>
<el-tabs>
<el-tabs v-model="detailsModel.${item.name}.activiedPage" type="card" @tab-click="handleTabPanelClick">
<#if item.getPSPanelTabPages?? && item.getPSPanelTabPages()??>
<#list item.getPSPanelTabPages() as tabPage>
${P.getPartCode(tabPage).code}
......
......@@ -69,6 +69,15 @@ import CodeListService from "@service/app/codelist-service";
</#list>
};
/**
* 详情模型集合
*
* @memberof ${srfclassname('${ctrl.codeName}')}Base
*/
public handleTabPanelClick($event:any){
console.log($event);
}
/**
* 面板逻辑
*
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册