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

调整面板内容

上级 bcf5f49c
...@@ -12,7 +12,7 @@ new PanelButtonModel({ ${detail} }) ...@@ -12,7 +12,7 @@ new PanelButtonModel({ ${detail} })
<#elseif item.getItemType() == 'USERCONTROL'> <#elseif item.getItemType() == 'USERCONTROL'>
new PanelUserControlModel({ ${detail} }) new PanelUserControlModel({ ${detail} })
<#elseif item.getItemType() == 'TABPANEL'> <#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>{name:'${tabpage.getName()}'}<#if tabpage_has_next>,</#if></#list>]</#if> })
<#elseif item.getItemType() == 'TABPAGE'> <#elseif item.getItemType() == 'TABPAGE'>
new PanelTabPageModel({ ${detail} }) new PanelTabPageModel({ ${detail} })
</#if> </#if>
\ No newline at end of file
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
${item.render.code} ${item.render.code}
<#else> <#else>
<@ibizindent blank=8> <@ibizindent blank=8>
<el-tabs <#compress>v-model="detailsModel.${item.name}.activiedPage"</#compress> type="card" @tab-click="handleTabPanelClick('${item.name}',$event)"> <el-tabs<#compress>v-model="detailsModel.${item.name}.activiedPage"</#compress>type="card" <#compress>@tab-click="handleTabPanelClick('${item.name}',$event)"</#compress>>
<#if item.getPSPanelTabPages?? && item.getPSPanelTabPages()??> <#if item.getPSPanelTabPages?? && item.getPSPanelTabPages()??>
<#list item.getPSPanelTabPages() as tabPage> <#list item.getPSPanelTabPages() as tabPage>
${P.getPartCode(tabPage).code} ${P.getPartCode(tabPage).code}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册