vm10.vue.index-tree.vue.vm Maven / Gradle / Ivy
#foreach($columns in $columns)
#if($columns.query)
#set($dictType=$columns.dictType)
#set($AttrName=$columns.javaField.substring(0,1).toUpperCase() + ${columns.javaField.substring(1)})
#set($parentheseIndex=$columns.columnComment.indexOf("("))
#if($parentheseIndex != -1)
#set($comment=$columns.columnComment.substring(0, $parentheseIndex))
#else
#set($comment=$columns.columnComment)
#end
#if($columns.htmlType == "input")
#elseif(($columns.htmlType == "select" || $columns.htmlType == "radio") && "" != $dictType)
#elseif(($columns.htmlType == "select" || $columns.htmlType == "radio") && $dictType)
#elseif($columns.htmlType == "datetime" && $columns.queryType != "BETWEEN")
#elseif($columns.htmlType == "datetime" && $columns.queryType == "BETWEEN")
#end
#end
#end
搜索
重置
新增
#foreach($columns in $columns)
#set($javaField=$columns.javaField)
#set($parentheseIndex=$columns.columnComment.indexOf("("))
#if($parentheseIndex != -1)
#set($comment=$columns.columnComment.substring(0, $parentheseIndex))
#else
#set($comment=$columns.columnComment)
#end
#if($columns.pk)
#elseif($columns.list && $columns.htmlType == "datetime")
{{ parseTime(scope.row.${javaField}, '{y}-{m}-{d}') }}
#elseif($columns.list && "" != $columns.dictType)
#elseif($columns.list && "" != $javaField)
#if(${foreach.index} == 1)
#else
#end
#end
#end
修改
新增
删除
#foreach($columns in $columns)
#set($field=$columns.javaField)
#if($columns.insert && !$columns.pk)
#if(($columns.usableColumn) || (!$columns.superColumn))
#set($parentheseIndex=$columns.columnComment.indexOf("("))
#if($parentheseIndex != -1)
#set($comment=$columns.columnComment.substring(0, $parentheseIndex))
#else
#set($comment=$columns.columnComment)
#end
#set($dictType=$columns.dictType)
#if("" != $treeParentCode && $columns.javaField == $treeParentCode)
#elseif($columns.htmlType == "input")
#elseif($columns.htmlType == "imageUpload")
#elseif($columns.htmlType == "fileUpload")
#elseif($columns.htmlType == "editor")
#elseif($columns.htmlType == "select" && "" != $dictType)
#elseif($columns.htmlType == "select" && $dictType)
#elseif($columns.htmlType == "checkbox" && "" != $dictType)
{{dict.dictLabel}}
#elseif($columns.htmlType == "checkbox" && $dictType)
请选择字典生成
#elseif($columns.htmlType == "radio" && "" != $dictType)
{{dict.dictLabel}}
#elseif($columns.htmlType == "radio" && $dictType)
请选择字典生成
#elseif($columns.htmlType == "datetime")
#elseif($columns.htmlType == "textarea")
#end
#end
#end
#end