提交 7024b064 编写于 作者: JunZai's avatar JunZai

update

上级 bf7227b2
<button nz-button nzType="primary" (click)="${item.name}_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>">
<button [ngClass]="[ detailsModel.${item.name}.visible ? '' : 'hidden'<#if item.getPSSysCss?? && item.getPSSysCss()??>, '${item.getPSSysCss().getCssName()}'</#if> ]" nz-button nzType="primary" (click)="${item.name}_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 className="${img.getCssClass()}"></i></#if></#if>
<#if item.isShowCaption()><span >${item.getCaption()}</span></#if>
</button>
\ No newline at end of file
<#assign dritem = item.getPSDEDRItem()>
<app-form-druipart formState={this.formState} paramitem='<#if item.getParamItem()??>${item.getParamItem()}<#else>srfkey</#if>'
parentdata={<#if dritem.getParentDataJO?? && dritem.getParentDataJO()??>${dritem.getParentDataJO()}<#else>{}</#if>}
refviewtype='<#if item.getPSAppView()?? && item.getPSAppView().getPSViewType()??>${item.getPSAppView().getPSViewType().getId()}</#if>'
refreshitems='<#if item.getRefreshItems()??>${item.getRefreshItems()}</#if>'
ignorefieldvaluechange={this.ignorefieldvaluechange}
viewname='${srffilepath2(item.getPSAppView().codeName)}' data={JSON.stringify(this.data)} style="<#if item.getPSLayoutPos()?? && item.getPSLayoutPos().getLayout() == "FLEX">height: 100%</#if><#if item.getContentHeight() == 0><#if item.getPSAppView().getHeight() gt 0>height:${item.getPSAppView().getHeight()?c}px</#if><#else>height:${item.getContentHeight()?c}px</#if>;overflow: auto;">
</app-form-druipart>
<#if !item.isHidden()>
<nz-form-item [nzFlex]="true" class="<#if item.getPSSysCss?? && item.getPSSysCss()??>${item.getPSSysCss().getCssName()}</#if>">
<nz-form-item [nzFlex]="true" [ngClass]="[ detailsModel.${item.name}.visible ? '' : 'hidden'<#if item.getPSSysCss?? && item.getPSSysCss()??>, '${item.getPSSysCss().getCssName()}'</#if> ]">
<nz-form-label style="width: <#if item.getLabelWidth() gt 0>${item.getLabelWidth()?c}<#else>130</#if>px;">${item.getCaption()}</nz-form-label>
<nz-form-control style="flex-grow: 1;">
<@ibizindent blank=8>
......
......@@ -7,7 +7,7 @@
</#if>
</#list>
</#assign>
<nz-card [nzBordered]="false" nzTitle="${item.getCaption()}">
<nz-card [nzBordered]="false" nzTitle="${item.getCaption()}" [ngClass]="[ detailsModel.${item.name}.visible ? '' : 'hidden'<#if item.getPSSysCss?? && item.getPSSysCss()??>, '${item.getPSSysCss().getCssName()}'</#if> ]">
<@ibizindent blank=4>
<#if item.getPSLayout()?? && item.getPSLayout().getLayout() == "FLEX">
<#assign pageLayout = item.getPSLayout()>
......
<#if item.render??>
${item.render.code}
<#else>
<div className="<#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 [ngClass]="[ detailsModel.${item.name}.visible ? '' : 'hidden'<#if item.getPSSysCss?? && 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
......@@ -10,4 +10,8 @@
${css.getCssStyle()}
</#if>
</#list>
</#if>
\ No newline at end of file
</#if>
.hidden {
display: none;
}
\ No newline at end of file
<input nz-input name="${item.name}" placeholder="<#if item.getPlaceHolder()??>${item.getPlaceHolder()}<#else>请输入...</#if>" style="${item.getEditorCssStyle()}"/>
\ No newline at end of file
<input nz-input name="${item.name}" [ngModel]="formData.${item.name}" placeholder="<#if item.getPlaceHolder()??>${item.getPlaceHolder()}<#else>请输入...</#if>" style="${item.getEditorCssStyle()}"/>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册