<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@include file="/context/mytags.jsp"%> <#-- update--begin--author:zhangjiaqiang Date:20170509 for:修订生成页面乱 --> <#include "../../ui/datatype.ftl"/> <#include "../../ui/dictInfo.ftl"/> <#-- update--end--author:zhangjiaqiang Date:20170509 for:修订生成页面乱 --> <#assign callbackFlag = false /> <#assign fileName = "" /> <#list pageColumns as callBackTestPo> <#if callBackTestPo.showType=='file' || callBackTestPo.showType == 'image'> <#assign callbackFlag = true /> <#break> ${ftl_description} <#if callbackFlag == true> <#-- update--begin--author:zhangjiaqiang date:20170522 for:ueditor配置文件只加载一次 --> <#assign ue_widget_count = 0> <#-- update--end--author:zhangjiaqiang date:20170522 for:ueditor配置文件只加载一次 -->
<#-- update--begin--author:zhangjiaqiang date:20170607 for:隐藏字段显示 --> <#list columns as po> <#if po.isShow == 'N'> <#-- update--end--author:zhangjiaqiang date:20170607 for:隐藏字段显示 -->
<#list pageColumns as po> <#if (pageColumns?size>1)> <#if po_index%2==0>
<#else>
${po.content}:
<#if po.showType=='text'> <#-- update--begin--author:zhangjiaqiang Date:20170509 for:修订生成页面乱 --> /> <#-- update--end--author:zhangjiaqiang Date:20170509 for:修订生成页面乱 --> <#elseif po.showType=='popup'> <#-- update--begin--author:zhangjiaqiang Date:20170509 for:修订生成页面乱 --> <#if po.dictTable?if_exists?html!=""> onclick="inputClick(this,'${po.dictField}','${po.dictTable}')" /> <#-- update--end--author:zhangjiaqiang Date:20170509 for:修订生成页面乱 --> <#elseif po.showType=='textarea'> <#-- update--begin--author:zhangjiaqiang Date:20170509 for:修订生成页面乱 --> <#-- update--begin--author:zhangjiaqiang Date:20170509 for:修订生成页面乱 --> <#elseif po.showType=='password'> <#-- update--begin--author:zhangjiaqiang Date:20170509 for:修订生成页面乱 --> /> <#-- update--begin--author:zhangjiaqiang Date:20170509 for:修订生成页面乱 --> <#elseif po.showType=='radio' || po.showType=='select' || po.showType=='checkbox' || po.showType=='list'> <#-- update--begin--author:zhangjiaqiang Date:20170509 for:修订生成页面乱 --> <@dictInfo dictTable="${po.dictTable}" dictField="${po.dictField}" dictText="${po.dictText}" /> hasLabel="false" title="${po.content}"> <#-- update--begin--author:zhangjiaqiang Date:20170509 for:修订生成页面乱 --> <#elseif po.showType=='date'> <#-- update--begin--author:zhangjiaqiang Date:20170509 for:修订生成页面乱 --> style="background: url('plug-in/ace/images/datetime.png') no-repeat scroll right center transparent;" class="form-control" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" /> <#-- update--begin--author:zhangjiaqiang Date:20170509 for:修订生成页面乱 --> <#elseif po.showType=='datetime'> <#-- update--begin--author:zhangjiaqiang Date:20170509 for:修订生成页面乱 --> style="background: url('plug-in/ace/images/datetime.png') no-repeat scroll right center transparent;" class="form-control" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" /> <#-- update--begin--author:zhangjiaqiang Date:20170509 for:修订生成页面乱 --> <#elseif po.showType=='file' || po.showType == 'image'> <#assign fileName = fileName + "${po.fieldName}," />
<#--update-start--Author: jg_huangxg Date:20160421 for:TASK #1027 【online】代码生成器模板不支持UE编辑器 --> <#elseif po.showType='umeditor'> <#-- update--begin--author:zhangjiaqiang date:20170522 for:ueditor配置文件只加载一次 --> <#assign ue_widget_count = ue_widget_count + 1> <#if ue_widget_count == 1> <#-- update--end--author:zhangjiaqiang date:20170522 for:ueditor配置文件只加载一次 --> <#--update-end--Author: jg_huangxg Date:20160421 for:TASK #1027 【online】代码生成器模板不支持UE编辑器 --> <#else> <#-- update--begin--author:zhangjiaqiang Date:20170509 for:修订生成页面乱 --> /> <#-- update--begin--author:zhangjiaqiang Date:20170509 for:修订生成页面乱 -->
<#if (pageColumns?size>1)> <#if (po_index%2==0)&&(!po_has_next)>
<#if (po_index%2!=0)||(!po_has_next)>
<#else>
<#-- update--begin--author:zhoujf Date:20170523 for:TASK #1961 【代码生成器】一对多富文本编辑器,生成代码格式问题 --> <#list pageAreatextColumns as po>
${po.content}:
<#if po.showType=='textarea'> <#-- update--begin--author:zhangjiaqiang Date:20170509 for:修订生成页面乱 --> <#-- update--begin--author:zhangjiaqiang Date:20170509 for:修订生成页面乱 --> <#elseif po.showType='umeditor'> <#-- update--begin--author:zhangjiaqiang date:20170522 for:ueditor配置文件只加载一次 --> <#assign ue_widget_count = ue_widget_count + 1> <#if ue_widget_count == 1> <#-- update--end--author:zhangjiaqiang date:20170522 for:ueditor配置文件只加载一次 -->
<#-- update--end--author:zhoujf Date:20170523 for:TASK #1961 【代码生成器】一对多富文本编辑器,生成代码格式问题 -->
<#list subTab as sub>
<#list subTab as sub> <#list subPageColumnsMap[sub.tableName] as po> <#assign check = 0 > <#list sub.foreignKeys as key> <#if subFieldMeta[po.fieldName]==key?uncap_first> <#assign check = 1 > <#break> <#if check==0>
<#if po.showType == "text"> <#-- update--begin--author:zhangjiaqiang Date:20170509 for:修订生成页面乱 --> type="text" class="form-control" style="width:120px;" /> <#-- update--begin--author:zhangjiaqiang Date:20170509 for:修订生成页面乱 --> <#elseif po.showType=='password'> <#-- update--begin--author:zhangjiaqiang Date:20170509 for:修订生成页面乱 --> /> <#-- update--begin--author:zhangjiaqiang Date:20170509 for:修订生成页面乱 --> <#elseif po.showType=='radio' || po.showType=='select' || po.showType=='checkbox' || po.showType=='list'> <#-- update--begin--author:zhangjiaqiang Date:20170509 for:修订生成页面乱 --> datatype="*" <@dictInfo dictTable="${po.dictTable}" dictField="${po.dictField}" dictText="${po.dictText}" /> defaultVal="" hasLabel="false" title="${po.content}"> <#-- update--begin--author:zhangjiaqiang Date:20170509 for:修订生成页面乱 --> <#elseif po.showType=='date'> <#-- update--begin--author:zhangjiaqiang Date:20170509 for:修订生成页面乱 --> /> <#-- update--begin--author:zhangjiaqiang Date:20170509 for:修订生成页面乱 --> <#elseif po.showType=='datetime'> <#-- update--begin--author:zhangjiaqiang Date:20170509 for:修订生成页面乱 --> /> <#-- update--begin--author:zhangjiaqiang Date:20170509 for:修订生成页面乱 --> <#-- update--begin--author:zhangjiaqiang date:20170531 for:增加图片和文件的支持 --> <#elseif po.showType=='file' || po.showType == 'image'> <#-- update--end--author:zhangjiaqiang date:20170531 for:增加图片和文件的支持 --> 未上传 <#-- update--begin--author:zhangjiaqiang date:20170614 for:修订上传附件按钮的大小 --> <#-- update--begin--author:zhangjiaqiang date:20170614 for:修订上传附件按钮的大小 --> <#else> <#-- update--begin--author:zhangjiaqiang Date:20170509 for:修订生成页面乱 --> /> <#-- update--begin--author:zhangjiaqiang Date:20170509 for:修订生成页面乱 -->
<#if callbackFlag == true>