Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
inori_templ
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
junzai001
inori_templ
提交
9204f697
提交
9204f697
编写于
9月 15, 2019
作者:
neko
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update
上级
d695586a
变更
8
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
18 行增加
和
14 行删除
+18
-14
CONTROL.tsx#DETAIL_BUTTON.ftl
@CONTROL/表单/CONTROL.tsx#DETAIL_BUTTON.ftl
+2
-1
CONTROL.tsx#DETAIL_FORMITEM.ftl
@CONTROL/表单/CONTROL.tsx#DETAIL_FORMITEM.ftl
+1
-1
CONTROL.tsx#DETAIL_GROUPPANEL.ftl
@CONTROL/表单/CONTROL.tsx#DETAIL_GROUPPANEL.ftl
+1
-1
CONTROL.tsx#DETAIL_RAWITEM.ftl
@CONTROL/表单/CONTROL.tsx#DETAIL_RAWITEM.ftl
+2
-1
CONTROL.tsx#DETAIL_TABPANEL.ftl
@CONTROL/表单/CONTROL.tsx#DETAIL_TABPANEL.ftl
+4
-4
CONTROL.tsx#FORM.ftl
@CONTROL/表单/CONTROL.tsx#FORM.ftl
+2
-2
EDITOR.tsx.ftl
@EDITOR/多行输入框/EDITOR.tsx.ftl
+3
-2
EDITOR.tsx.ftl
@EDITOR/多行输入框(10行)/EDITOR.tsx.ftl
+3
-2
未找到文件。
@CONTROL/表单/CONTROL.tsx#DETAIL_BUTTON.ftl
浏览文件 @
9204f697
...
...
@@ -3,6 +3,6 @@
</#ibizinclude>
<i-button type="primary" on-click={($event: any) => this.${item.getName()}_click($event)}
style="<#if item.getHeight() gt 0>height: ${item.getHeight()?c}px;</#if><#if item.getWidth() gt 0>width: ${item.getWidth()?c}px;</#if>">
<#if item.getPSSysImage()??><#assign img=item.getPSSysImage()><#if img.getCssClass()?? && (img.getCssClass()?length gt 0)><i class="${img.getCssClass()}"></i></#if></#if>
<#if item.getPSSysImage()??><#assign img=item.getPSSysImage()><#if img.getCssClass()?? && (img.getCssClass()?length gt 0)><i class
Name
="${img.getCssClass()}"></i></#if></#if>
<#if item.isShowCaption()><span >{<#if item.getCaptionItemName()?? && item.getCaptionItemName()?length gt 0>this.data.${item.getCaptionItemName()}<#else><#if langbase??>this.$t('${langbase}.details.${item.name}')<#else>'${item.getCaption()}'</#if></#if>}</span></#if>
</i-button>
\ No newline at end of file
@CONTROL/表单/CONTROL.tsx#DETAIL_FORMITEM.ftl
浏览文件 @
9204f697
...
...
@@ -2,7 +2,7 @@
<#ibizinclude>
../@MACRO/CONTROL/LANGBASE.tsx.ftl
</#ibizinclude>
<Form.Item label="${item.getCaption()}" name='${item.name}' class='<#if item.getPSSysCss?? && item.getPSSysCss()??>${item.getPSSysCss().getCssName()}</#if>'>
<Form.Item label="${item.getCaption()}" name='${item.name}' class
Name
='<#if item.getPSSysCss?? && item.getPSSysCss()??>${item.getPSSysCss().getCssName()}</#if>'>
<@ibizindent blank=4>
${P.getEditorCode(item, "EDITOR.tsx").code}
</@ibizindent>
...
...
@CONTROL/表单/CONTROL.tsx#DETAIL_GROUPPANEL.ftl
浏览文件 @
9204f697
...
...
@@ -10,7 +10,7 @@
</#if>
</#list>
</#assign>
<Collapse defaultActiveKey={['${item.getName()}']} class='<#if item.getPSSysCss?? && item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>'>
<Collapse defaultActiveKey={['${item.getName()}']} class
Name
='<#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">
...
...
@CONTROL/表单/CONTROL.tsx#DETAIL_RAWITEM.ftl
浏览文件 @
9204f697
<#if item.render??>
${item.render.code}
<#else>
<div class="<#if item.getPSSysCss()??>${item.getPSSysCss().getCssName()}</#if>" style="<#if item.getRawContentHeight() gt 0>height: ${item.getRawContentHeight()?c}px;</#if><#if item.getRawContentWidth() gt 0>width: ${item.getRawContentWidth()?c}px;</#if>">
<div class
Name
="<#if item.getPSSysCss()??>${item.getPSSysCss().getCssName()}</#if>" style="<#if item.getRawContentHeight() gt 0>height: ${item.getRawContentHeight()?c}px;</#if><#if item.getRawContentWidth() gt 0>width: ${item.getRawContentWidth()?c}px;</#if>">
${item.getRawContent()}
</div>
</#if>
\ No newline at end of file
@CONTROL/表单/CONTROL.tsx#DETAIL_TABPANEL.ftl
浏览文件 @
9204f697
<#ibizinclude>
../@MACRO/CONTROL/LANGBASE.tsx.ftl
</#ibizinclude>
<tabs animated={false} name='${item.name}' v-show={this.detailsModel.${item.name}.visible} class='<#if item.getPSSysCss?? && item.getPSSysCss()??>${item.getPSSysCss().getCssName()}</#if><#if item.getPSLayoutPos()?? && item.getPSLayoutPos().getLayout() == "FLEX"> app-tabpanel-flex</#if>'
<tabs animated={false} name='${item.name}' v-show={this.detailsModel.${item.name}.visible} class
Name
='<#if item.getPSSysCss?? && item.getPSSysCss()??>${item.getPSSysCss().getCssName()}</#if><#if item.getPSLayoutPos()?? && item.getPSLayoutPos().getLayout() == "FLEX"> app-tabpanel-flex</#if>'
value={this.detailsModel.${item.name}.activiedPage} on-on-click={($event: any) => this.detailsModel.${item.name}.clickPage($event)}>
<#list item.getPSDEFormTabPages() as formmenber>
{
this.detailsModel.${formmenber.name}.visible ?
<tab-pane name='${formmenber.name}' index={${formmenber_index}} tab='${item.name}' class='<#if formmenber.getPSSysCss?? && formmenber.getPSSysCss()??>${formmenber.getPSSysCss().getCssName()}</#if>'
<tab-pane name='${formmenber.name}' index={${formmenber_index}} tab='${item.name}' class
Name
='<#if formmenber.getPSSysCss?? && formmenber.getPSSysCss()??>${formmenber.getPSSysCss().getCssName()}</#if>'
label={
(h: any) => {
return (
<span class='caption<#if formmenber.getLabelPSSysCss?? && formmenber.getLabelPSSysCss()??> ${formmenber.getLabelPSSysCss().getCssName()}</#if>'>
<span class
Name
='caption<#if formmenber.getLabelPSSysCss?? && formmenber.getLabelPSSysCss()??> ${formmenber.getLabelPSSysCss().getCssName()}</#if>'>
<#if formmenber.getPSSysImage()??>
<span>
<#assign sysimage = formmenber.getPSSysImage()/>
<#if sysimage.getImagePath() == "">
<i class='${sysimage.getCssClass()}'></i>
<i class
Name
='${sysimage.getCssClass()}'></i>
<#else>
<img src='${sysimage.getImagePath()}'/>
</#if>
...
...
@CONTROL/表单/CONTROL.tsx#FORM.ftl
浏览文件 @
9204f697
...
...
@@ -12,11 +12,11 @@
<#list ctrl.getPSDEFormPages() as formpage>
<TabPane
tab={
<span class='caption<#if formpage.getLabelPSSysCss?? && formpage.getLabelPSSysCss()??> ${formpage.getLabelPSSysCss().getCssName()}</#if>'>
<span class
Name
='caption<#if formpage.getLabelPSSysCss?? && formpage.getLabelPSSysCss()??> ${formpage.getLabelPSSysCss().getCssName()}</#if>'>
<#if formpage.getPSSysImage()??>
<#assign sysimage = formpage.getPSSysImage()/>
<#if sysimage.getImagePath() == "">
<i class='${sysimage.getCssClass()}'></i>
<i class
Name
='${sysimage.getCssClass()}'></i>
<#else>
<img src='${sysimage.getImagePath()}'/>
</#if>
...
...
@EDITOR/多行输入框/EDITOR.tsx.ftl
浏览文件 @
9204f697
<div class="ivu-input-wrapper ivu-input-wrapper-default ivu-input-type">
<textarea class="ivu-input" v-model={this.data.${item.name}} disabled={this.detailsModel.${item.name}.disabled} style="${item.getEditorCssStyle()}"<#if item.getPlaceHolder()??> placeholder="${item.getPlaceHolder()}"</#if>></textarea>
<div class
Name
="ivu-input-wrapper ivu-input-wrapper-default ivu-input-type">
<textarea class
Name
="ivu-input" v-model={this.data.${item.name}} disabled={this.detailsModel.${item.name}.disabled} style="${item.getEditorCssStyle()}"<#if item.getPlaceHolder()??> placeholder="${item.getPlaceHolder()}"</#if>></textarea>
</div>
\ No newline at end of file
@EDITOR/多行输入框(10行)/EDITOR.tsx.ftl
浏览文件 @
9204f697
<div class="ivu-input-wrapper ivu-input-wrapper-default ivu-input-type">
<textarea class="ivu-input" rows={10} v-model={this.data.${item.name}} disabled={this.detailsModel.${item.name}.disabled} style="${item.getEditorCssStyle()}"<#if item.getPlaceHolder()??> placeholder="${item.getPlaceHolder()}"</#if>></textarea>
<div class
Name
="ivu-input-wrapper ivu-input-wrapper-default ivu-input-type">
<textarea class
Name
="ivu-input" rows={10} v-model={this.data.${item.name}} disabled={this.detailsModel.${item.name}.disabled} style="${item.getEditorCssStyle()}"<#if item.getPlaceHolder()??> placeholder="${item.getPlaceHolder()}"</#if>></textarea>
</div>
\ No newline at end of file
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录