Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
inori_templ
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
zpc
inori_templ
提交
b58f89ba
提交
b58f89ba
编写于
9月 15, 2019
作者:
neko
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update
上级
ad5e9e90
变更
4
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
16 行增加
和
8 行删除
+16
-8
FORM_MEMBER_LAYOUT.tsx.ftl
@CONTROL/@MACRO/CONTROL/FORM_MEMBER_LAYOUT.tsx.ftl
+2
-2
CONTROL.tsx#DETAIL_GROUPPANEL.ftl
@CONTROL/表单/CONTROL.tsx#DETAIL_GROUPPANEL.ftl
+9
-5
CONTROL.tsx#FORM.ftl
@CONTROL/表单/CONTROL.tsx#FORM.ftl
+3
-0
CONTROL.tsx.ftl
@CONTROL/表单/CONTROL.tsx.ftl
+2
-1
未找到文件。
@CONTROL/@MACRO/CONTROL/FORM_MEMBER_LAYOUT.tsx.ftl
浏览文件 @
b58f89ba
<#assign layout='TABLE_24COL'><#if formmenber.getPSLayoutPos()??><#if formmenber.getPSLayoutPos().getParentPSLayout()??><#assign layout='${formmenber.getPSLayoutPos().getParentPSLayout().getLayout()}'></#if></#if>
<#assign LayoutPos = formmenber.getPSLayoutPos()>
<#if layout == 'TABLE_24COL' && LayoutPos??>
<
i-c
ol 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>>
<
C
ol 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>>
${P.getPartCode(formmenber).code}
</
i-c
ol>
</
C
ol>
<#elseif layout == 'FLEX'>
<div v-show={this.detailsModel.${formmenber.name}.visible} style="<#if LayoutPos.getGrow() != -1>flex-grow: ${LayoutPos.getGrow()?c};<#if !LayoutPos.getHeight()??>height: 0;</#if></#if><#if LayoutPos.getWidth()??>width: ${LayoutPos.getWidth()?c}px;</#if><#if LayoutPos.getHeight()??>height: ${LayoutPos.getHeight()?c}px;</#if>">
${P.getPartCode(formmenber).code}
...
...
@CONTROL/表单/CONTROL.tsx#DETAIL_GROUPPANEL.ftl
浏览文件 @
b58f89ba
<#ibizinclude>
../@MACRO/CONTROL/LANGBASE.tsx.ftl
</#ibizinclude>
<app-form-group layoutType="<#if item.getPSLayoutPos()??>${item.getPSLayoutPos().getLayout()}</#if>" class='<#if item.getPSSysCss?? && item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>' uiActionGroup={this.detailsModel.${item.name}.uiActionGroup} on-groupuiactionclick={($event:any) => this.groupUIActionClick($event)} caption={<#if langbase??>this.$t('${langbase}.details.${item.name}')<#else>'${item.getCaption()}'</#if>} isShowCaption={${item.isShowCaption()?c}} uiStyle={'${item.getDetailStyle()}'} titleBarCloseMode={${item.getTitleBarCloseMode()}} isInfoGroupMode={${item.isInfoGroupMode()?c}}>
<#assign content>
<#list item.getPSDEFormDetails() as formmenber>
<#if !(formmenber.isHidden?? && formmenber.isHidden())>
...
...
@@ -11,14 +10,19 @@
</#if>
</#list>
</#assign>
<Collapse defaultActiveKey={['${item.getName()}']} class='<#if item.getPSSysCss?? && item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>'>
<Panel header="${item.getCaption()}" key="${item.getName()}">
<@ibizindent blank=8>
<#if item.getPSLayout()?? && item.getPSLayout().getLayout() == "FLEX">
<#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>">
${content}
</div>
<#else>
<
r
ow>
<
R
ow>
${content}
</
r
ow>
</
R
ow>
</#if>
</app-form-group>
\ No newline at end of file
</@ibizindent>
</Panel>
</Collapse>
\ No newline at end of file
@CONTROL/表单/CONTROL.tsx#FORM.ftl
浏览文件 @
b58f89ba
...
...
@@ -25,7 +25,10 @@
</span>
}
key="${formpage_index}">
<@ibizindent blank=28>
${P.getPartCode(formpage).code}
</@ibizindent>
</TabPane>
</#list>
</Tabs>
...
...
@CONTROL/表单/CONTROL.tsx.ftl
浏览文件 @
b58f89ba
import React, { PureComponent } from 'react';
import { Form, Input, Row, Col, Tabs, Icon } from 'antd';
import { Form, Input, Row, Col, Tabs, Icon
, Collapse
} from 'antd';
import './${srffilepath2(ctrl.codeName)}.less';
const { TabPane } = Tabs;
const { Panel } = Collapse;
/**
* ${srfclassname(ctrl.codeName)}
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录