#set($isInsert=0)
#set($isEdit=0)
#set($queryCount=0)
#set($querySpace="")
#foreach($column in $columns)
#if($column.insert)
#set($isInsert=1)
#end
#if($column.edit)
#set($isEdit=1)
#end
#if($column.query)
#set($queryCount=$queryCount+1)
#set($dictType=$column.dictType)
#set($AttrName=$column.javaField.substring(0,1).toUpperCase() + ${column.javaField.substring(1)})
#set($parentheseIndex=$column.columnComment.indexOf("("))
#if($parentheseIndex != -1)
#set($comment=$column.columnComment.substring(0, $parentheseIndex))
#else
#set($comment=$column.columnComment)
#end
#if($queryCount == 3)
#set($querySpace=" ")
#end
#if($column.htmlType == "input")
${querySpace}
${querySpace}
${querySpace}
${querySpace}
${querySpace}
#elseif(($column.htmlType == "select" || $column.htmlType == "radio") && "" != $dictType)
${querySpace}
${querySpace}
${querySpace}
${querySpace}{{ d.dictLabel }}
${querySpace}
${querySpace}
${querySpace}
#elseif(($column.htmlType == "select" || $column.htmlType == "radio") && $dictType)
${querySpace}
${querySpace}
${querySpace}
${querySpace}请选择字典生成
${querySpace}
${querySpace}
${querySpace}
#elseif($column.htmlType == "datetime" && $column.queryType != "BETWEEN")
${querySpace}
${querySpace}
${querySpace}
${querySpace}
${querySpace}
#elseif($column.htmlType == "datetime" && $column.queryType == "BETWEEN")
${querySpace}
${querySpace}
${querySpace}
${querySpace}
${querySpace}
#end
#end
#end
#if($queryCount > 2)
#end
查询
重置
#if($queryCount > 2)
{{ advanced ? '收起' : '展开' }}
#end
#if($isInsert == 1)
新增
#end
#if($isEdit == 1)
修改
#end
删除
导出
#if($isInsert == 1 || $isEdit == 1)
#end
#foreach($column in $columns)
#set($javaField=$column.javaField)
#set($parentheseIndex=$column.columnComment.indexOf("("))
#if($parentheseIndex != -1)
#set($comment=$column.columnComment.substring(0, $parentheseIndex))
#else
#set($comment=$column.columnComment)
#end
#if($column.list && $column.htmlType == "datetime")
{{ parseTime(record.${javaField}) }}
#elseif($column.list && "" != $column.dictType)
{{ ${javaField}Format(record) }}
#end
#end
#if($isEdit == 1)
修改
#end
#if($tplCategory == 'tree' && ($isInsert == 1 || $isEdit == 1))
新增
#end
删除
#if($tplCategory != 'tree')
#end