| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <#-- 表单列表当中每一列的处理 -->
- <#macro dgcol columns>
- <#list columns as po><#rt/>
- <t:dgCol title="${po.content}" <#rt/>
- field="${po.fieldName}" <#rt/>
- <#if po.showType?index_of("datetime")!=-1><#rt/>
- formatter="yyyy-MM-dd hh:mm:ss" <#rt/>
- <#else><#rt/>
- <#if po.showType?index_of("date")!=-1><#rt/>
- formatter="yyyy-MM-dd" <#rt/>
- </#if><#rt/>
- </#if><#rt/>
- <#if po.isShowList?if_exists?html =='N'><#rt/>
- hidden="true" <#rt/>
- <#else><#rt/>
- </#if><#rt/>
- <#if po.isQuery =='Y'><#rt/>
- query="true" <#rt/>
- </#if><#rt/>
- <#if po.queryMode =='single'><#rt/>
- queryMode="single" <#rt/>
- <#elseif po.queryMode =='group'><#rt/>
- queryMode="group" <#rt/>
- </#if><#rt/>
- <#if po.dictTable?if_exists?html!=""><#rt/>
- dictionary="${po.dictTable},${po.dictField},${po.dictText}" <#rt/>
- <#if po.showType=='popup'><#rt/>
- popup="true" <#rt/>
- </#if><#rt/>
- <#else><#rt/>
- <#if po.dictTable?if_exists?html=="" && po.dictField?if_exists?html!=""><#rt/>
- dictionary="${po.dictField}" <#rt/>
- </#if><#rt/>
- </#if><#rt/>
- <#if po.showType?index_of("image") != -1><#rt/>
- image="true" imageSize="50,50" <#rt/>
- <#elseif po.showType?index_of("file") != -1><#rt/>
- downloadName="附件下载" <#rt/>
- </#if><#rt/>
- width="${po.fieldLength}"></t:dgCol>
- </#list>
- </#macro>
|