Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
inori_templ
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
zpc
inori_templ
提交
770144ab
提交
770144ab
编写于
9月 24, 2019
作者:
zhangpingchuan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
zpc
上级
8b1e09dc
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
4 行增加
和
3 行删除
+4
-3
FORM_MEMBER_LAYOUT.vue.ftl
@CONTROL/@MACRO/CONTROL/FORM_MEMBER_LAYOUT.vue.ftl
+2
-2
CONTROL.vue#DETAIL_GROUPPANEL.ftl
@CONTROL/表单/CONTROL.vue#DETAIL_GROUPPANEL.ftl
+2
-1
未找到文件。
@CONTROL/@MACRO/CONTROL/FORM_MEMBER_LAYOUT.vue.ftl
浏览文件 @
770144ab
<#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.get
Height?? && formmenber.getHeight() gt 0)>height: ${formmenber.getHeight()?c}px !important;</#if><#if (formmenber.get
Width?? && 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>
...
...
@CONTROL/表单/CONTROL.vue#DETAIL_GROUPPANEL.ftl
浏览文件 @
770144ab
...
@@ -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
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录