#foreach($column in $columns)
#if ($column.listOperation)
#set ($dictType=$column.dictType)
#set ($javaField = $column.javaField)
#set ($AttrName=$column.javaField.substring(0,1).toUpperCase() + ${column.javaField.substring(1)})
#set ($comment=$column.columnComment)
#if ($column.htmlType == "input")
#elseif ($column.htmlType == "select" || $column.htmlType == "radio")
#if ("" != $dictType)## 设置了 dictType 数据字典的情况
#else## 未设置 dictType 数据字典的情况
#end
#elseif($column.htmlType == "datetime")
#if ($column.listOperationCondition != "BETWEEN")## 非范围
#else## 范围
#end
#end
#end
#end
搜索
重置
新增
导出
#foreach($column in $columns)
#if ($column.listOperationResult)
#set ($dictType=$column.dictType)
#set ($javaField = $column.javaField)
#set ($AttrName=$column.javaField.substring(0,1).toUpperCase() + ${column.javaField.substring(1)})
#set ($comment=$column.columnComment)
#if ($column.javaType == "Date")## 时间类型
{{ parseTime(scope.row.${javaField}, '{y}-{m}-{d}') }}
#elseif("" != $column.dictType)## 数据字典
{{ getDictDataLabel(DICT_TYPE.$dictType.toUpperCase(), scope.row.${column.javaField}) }}
>
#else
#end
#end
#end
修改
删除
#foreach($column in $columns)
#if ($column.createOperation || $column.updateOperation)
#set ($dictType = $column.dictType)
#set ($javaField = $column.javaField)
#set ($AttrName = $column.javaField.substring(0,1).toUpperCase() + ${column.javaField.substring(1)})
#set ($comment = $column.columnComment)
#if ($column.htmlType == "input")
#if (!$column.primaryKey)## 忽略主键,不用在表单里
#end
#elseif($column.htmlType == "imageUpload")## 图片上传
#set ($hasImageUploadColumn = true)
#elseif($column.htmlType == "fileUpload")## 文件上传
#set ($hasFileUploadColumn = true)
#elseif($column.htmlType == "editor")## 文本编辑器
#set ($hasEditorColumn = true)
#elseif($column.htmlType == "select")## 下拉框
#if ("" != $dictType)## 有数据字典
#else##没数据字典
#end
#elseif($column.htmlType == "checkbox")## 多选框
#if ("" != $dictType)## 有数据字典
{{dict.label}}
#else##没数据字典
请选择字典生成
#end
#elseif($column.htmlType == "radio")## 单选框
#if ("" != $dictType)## 有数据字典
{{dict.label}}
#else##没数据字典
请选择字典生成
#end
#elseif($column.htmlType == "datetime")## 时间框
#elseif($column.htmlType == "textarea")## 文本框
#end
#end
#end