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

update:更新

上级 9c3b3a70
...@@ -13,7 +13,7 @@ ${P.getLayoutCode('VIEW.vue').code} ...@@ -13,7 +13,7 @@ ${P.getLayoutCode('VIEW.vue').code}
<#if view.getPSViewLayoutPanel().getRootPSPanelItems()??> <#if view.getPSViewLayoutPanel().getRootPSPanelItems()??>
<template v-show="!isLayoutLoadding"> <template v-show="!isLayoutLoadding">
<#list view.getPSViewLayoutPanel().getRootPSPanelItems() as panelDetail> <#list view.getPSViewLayoutPanel().getRootPSPanelItems() as panelDetail>
<@renderByDetailType P panelDetail view false/> <@renderByDetailType panelDetail view false/>
</#list> </#list>
</template> </template>
</#if> </#if>
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
</#if> </#if>
</#macro> </#macro>
<#-- 按类型绘制 --> <#-- 按类型绘制 -->
<#macro renderByDetailType P panelDetail view isMultiData> <#macro renderByDetailType panelDetail view isMultiData>
<#if panelDetail.getItemType()?? && panelDetail.getItemType() == "CONTAINER"> <#if panelDetail.getItemType()?? && panelDetail.getItemType() == "CONTAINER">
<#-- 边缘布局 --> <#-- 边缘布局 -->
<#if panelDetail.getPSLayout().getLayout()?? && panelDetail.getPSLayout().getLayout() == "BORDER" > <#if panelDetail.getPSLayout().getLayout()?? && panelDetail.getPSLayout().getLayout() == "BORDER" >
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<#if panelDetail.getPSPanelItems()??> <#if panelDetail.getPSPanelItems()??>
<#list panelDetail.getPSPanelItems() as panelItem> <#list panelDetail.getPSPanelItems() as panelItem>
<template #${panelItem.getName()}> <template #${panelItem.getName()}>
<@renderByDetailType P panelItem view isMultiData /> <@renderByDetailType panelItem view isMultiData />
</template> </template>
</#list> </#list>
</#if> </#if>
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
<#if panelDetail.getPSPanelItems()??> <#if panelDetail.getPSPanelItems()??>
<#list panelDetail.getPSPanelItems() as panelItem> <#list panelDetail.getPSPanelItems() as panelItem>
<template #${panelItem.getName()}> <template #${panelItem.getName()}>
<@renderByDetailType P panelItem view isMultiData /> <@renderByDetailType panelItem view isMultiData />
</template> </template>
</#list> </#list>
</#if> </#if>
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
<#if panelDetail.getPSPanelItems()??> <#if panelDetail.getPSPanelItems()??>
<#list panelDetail.getPSPanelItems() as panelItem> <#list panelDetail.getPSPanelItems() as panelItem>
<template <#if iscurMultiData == true>v-slot:${panelItem.getName()}="slotProps"<#else>#${panelItem.getName()}</#if>> <template <#if iscurMultiData == true>v-slot:${panelItem.getName()}="slotProps"<#else>#${panelItem.getName()}</#if>>
<@renderByDetailType P panelItem view isTempMultiData/> <@renderByDetailType panelItem view isTempMultiData/>
</template> </template>
</#list> </#list>
</#if> </#if>
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
<#if panelDetail.getPSPanelItems?? && panelDetail.getPSPanelItems()??> <#if panelDetail.getPSPanelItems?? && panelDetail.getPSPanelItems()??>
<#list panelDetail.getPSPanelItems() as panelItem> <#list panelDetail.getPSPanelItems() as panelItem>
<template #${panelItem.getName()}> <template #${panelItem.getName()}>
<@renderByDetailType P panelItem view isMultiData /> <@renderByDetailType panelItem view isMultiData />
</template> </template>
</#list> </#list>
</#if> </#if>
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
<#if panelDetail.getPSPanelTabPages?? && panelDetail.getPSPanelTabPages()??> <#if panelDetail.getPSPanelTabPages?? && panelDetail.getPSPanelTabPages()??>
<#list panelDetail.getPSPanelTabPages() as tabPage> <#list panelDetail.getPSPanelTabPages() as tabPage>
<template #${tabPage.getName()}> <template #${tabPage.getName()}>
<@renderByDetailType P tabPage view isMultiData/> <@renderByDetailType tabPage view isMultiData/>
</template> </template>
</#list> </#list>
</#if> </#if>
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
<#if isMultiData == true >:index="slotProps.data.index"</#if> <#if isMultiData == true >:index="slotProps.data.index"</#if>
:data="layoutData" :data="layoutData"
:value=<#if isMultiData == true >"layoutData[`${panelDetail.getName()}_<#noparse>${slotProps.data.index}</#noparse>`]"<#else>"layoutData.${panelDetail.getName()}"</#if>> :value=<#if isMultiData == true >"layoutData[`${panelDetail.getName()}_<#noparse>${slotProps.data.index}</#noparse>`]"<#else>"layoutData.${panelDetail.getName()}"</#if>>
<#-- ${P.getEditorCode(panelDetail, "PANELEDITOR.vue").code} --> ${P.getEditorCode(panelDetail.getPSEditor().getEditorType()., "PANELEDITOR.vue").code}
</app-panel-field></@compress> </app-panel-field></@compress>
</#if> </#if>
<#elseif panelDetail.getItemType()?? && panelDetail.getItemType() == "RAWITEM"> <#elseif panelDetail.getItemType()?? && panelDetail.getItemType() == "RAWITEM">
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册