提交 770144ab 编写于 作者: zhangpingchuan's avatar zhangpingchuan

zpc

上级 8b1e09dc
<#assign layout='TABLE_24COL'><#if formmenber.getPSLayoutPos()??><#if formmenber.getPSLayoutPos().getParentPSLayout()??><#assign layout='${formmenber.getPSLayoutPos().getParentPSLayout().getLayout()}'></#if></#if> <#assign layout='TABLE_24COL'><#if formmenber.getPSLayoutPos()??><#if formmenber.getPSLayoutPos().getParentPSLayout()??><#assign layout='${formmenber.getPSLayoutPos().getParentPSLayout().getLayout()}'></#if></#if>
<#assign LayoutPos = formmenber.getPSLayoutPos()> <#assign LayoutPos = formmenber.getPSLayoutPos()>
<#if layout == 'TABLE_24COL' && LayoutPos??> <#if layout == 'TABLE_24COL' && LayoutPos??>
<a-col v-show="this.detailsModel.${formmenber.name}.visible" style="<#if (formmenber.getHeight?? && formmenber.getHeight() gt 0)>height: ${formmenber.getHeight()?c}px !important;</#if><#if (formmenber.getWidth?? && formmenber.getWidth() gt 0)>width: ${formmenber.getWidth()?c}px !important;</#if>" <#if LayoutPos.getColXS() != -1> :sm="{ span: ${LayoutPos.getColXS()}, offset: <#if LayoutPos.getColXSOffset() != -1>${LayoutPos.getColXSOffset()}<#else>0</#if> }"</#if><#if LayoutPos.getColSM() != -1> :md="{span: ${LayoutPos.getColSM()}, offset: <#if LayoutPos.getColSMOffset() != -1>${LayoutPos.getColSMOffset()}<#else>0</#if>}"</#if><#if LayoutPos.getColMD() != -1> :lg="{ span: ${LayoutPos.getColMD()}, offset: <#if LayoutPos.getColMDOffset() != -1>${LayoutPos.getColMDOffset()}<#else>0</#if>}"</#if><#if LayoutPos.getColLG() != -1> :xl="{ span: ${LayoutPos.getColLG()}, offset: <#if LayoutPos.getColLGOffset() != -1>${LayoutPos.getColLGOffset()}<#else>0</#if>}"</#if>> <a-col v-show="this.detailsModel.${formmenber.name}.visible" style="<#if (formmenber.getWidth?? && formmenber.getWidth() gt 0)>width: ${formmenber.getWidth()?c}px !important;</#if>" <#if LayoutPos.getColXS() != -1> :sm="{ span: ${LayoutPos.getColXS()}, offset: <#if LayoutPos.getColXSOffset() != -1>${LayoutPos.getColXSOffset()}<#else>0</#if> }"</#if><#if LayoutPos.getColSM() != -1> :md="{span: ${LayoutPos.getColSM()}, offset: <#if LayoutPos.getColSMOffset() != -1>${LayoutPos.getColSMOffset()}<#else>0</#if>}"</#if><#if LayoutPos.getColMD() != -1> :lg="{ span: ${LayoutPos.getColMD()}, offset: <#if LayoutPos.getColMDOffset() != -1>${LayoutPos.getColMDOffset()}<#else>0</#if>}"</#if><#if LayoutPos.getColLG() != -1> :xl="{ span: ${LayoutPos.getColLG()}, offset: <#if LayoutPos.getColLGOffset() != -1>${LayoutPos.getColLGOffset()}<#else>0</#if>}"</#if>>
${P.getPartCode(formmenber).code} ${P.getPartCode(formmenber).code}
</a-col> </a-col>
<#elseif layout == 'FLEX'> <#elseif layout == 'FLEX'>
<div v-show="this.detailsModel.${formmenber.name}.visible" style="flex-grow:<#if LayoutPos.getGrow() != -1>${LayoutPos.getGrow()?c}<#else>1</#if>;<#if LayoutPos.getWidth()??>width: ${LayoutPos.getWidth()?c}px;</#if><#if LayoutPos.getHeight()??>height: ${LayoutPos.getHeight()?c}px;</#if>"> <div v-show="this.detailsModel.${formmenber.name}.visible" style="flex-grow:<#if LayoutPos.getGrow() != -1>${LayoutPos.getGrow()?c}<#else>1</#if>;<#if LayoutPos.getWidth()??>width: ${LayoutPos.getWidth()?c}px;</#if>">
${P.getPartCode(formmenber).code} ${P.getPartCode(formmenber).code}
</div> </div>
<#else> <#else>
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
</#list> </#list>
</#assign> </#assign>
<div class="app-form-group app-form-group-${item.getName()}<#if item.getPSSysCss?? && item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if><#if item.isInfoGroupMode()?? && item.isInfoGroupMode() == true> app-info-form-group</#if>" style="<#if item.getContentHeight()?? && item.getContentHeight() !=0 >height:${item.getContentHeight()}px;</#if><#if item.getContentWidth()?? && item.getContentWidth() !=0>width:${item.getContentWidth()}px;</#if>"> <div class="app-form-group app-form-group-${item.getName()}<#if item.getPSSysCss?? && item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if><#if item.isInfoGroupMode()?? && item.isInfoGroupMode() == true> app-info-form-group</#if>" style="<#if item.getContentHeight()?? && item.getContentHeight() !=0 >height:${item.getContentHeight()}px;</#if><#if item.getContentWidth()?? && item.getContentWidth() !=0>width:${item.getContentWidth()}px;</#if>">
<#assign LayoutPos = item.getPSLayoutPos()>
<#if item.render??> <#if item.render??>
${item.render.code} ${item.render.code}
<#else> <#else>
...@@ -25,7 +26,7 @@ ${item.render.code} ...@@ -25,7 +26,7 @@ ${item.render.code}
</#if> </#if>
${item.getCaption()} ${item.getCaption()}
</template> </template>
<div class="app-form-group-content"> <div class="app-form-group-content" style="<#if LayoutPos.getHeight()??>height: calc(${LayoutPos.getHeight()?c}px - 78px);</#if>">
<#if item.getPSLayout()?? && item.getPSLayout().getLayout() == "FLEX"> <#if item.getPSLayout()?? && item.getPSLayout().getLayout() == "FLEX">
<#assign pageLayout = item.getPSLayout()> <#assign pageLayout = item.getPSLayout()>
<div style="height: 100%;display: flex;<#if pageLayout.getDir()!="">flex-direction: ${pageLayout.getDir()};</#if><#if pageLayout.getAlign()!="">justify-content: ${pageLayout.getAlign()};</#if><#if pageLayout.getVAlign()!="">align-items: ${pageLayout.getVAlign()};</#if>"> <div style="height: 100%;display: flex;<#if pageLayout.getDir()!="">flex-direction: ${pageLayout.getDir()};</#if><#if pageLayout.getAlign()!="">justify-content: ${pageLayout.getAlign()};</#if><#if pageLayout.getVAlign()!="">align-items: ${pageLayout.getVAlign()};</#if>">
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册