vm.vue.index2.vue.vm Maven / Gradle / Ivy
The newest version!
#foreach($column in $columns)
#if($column.query)
#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($column.htmlType == "input")
#elseif(($column.htmlType == "select" || $column.htmlType == "radio") && "" != $dictType)
{{ dict.dictLabel }}
#elseif(($column.htmlType == "select" || $column.htmlType == "radio") && $dictType)
请选择字典生成
#elseif($column.htmlType == "datetime" && $column.queryType != "BETWEEN")
#elseif($column.htmlType == "datetime" && $column.queryType == "BETWEEN")
#end
#end
#end
查询
重置
{{ advanced ? '收起' : '展开' }}
新增
修改
删除
导出
#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}, '{y}-{m}-{d}') }}
#end
#end
修改
删除
#foreach($column in $columns)
#set($field=$column.javaField)
#if($column.insert && !$column.pk)
#if(($column.usableColumn) || (!$column.superColumn))
#set($parentheseIndex=$column.columnComment.indexOf("("))
#if($parentheseIndex != -1)
#set($comment=$column.columnComment.substring(0, $parentheseIndex))
#else
#set($comment=$column.columnComment)
#end
#set($dictType=$column.dictType)
#if($column.htmlType == "input")
#elseif($column.htmlType == "imageUpload")
#elseif($column.htmlType == "fileUpload")
#elseif($column.htmlType == "editor")
#elseif($column.htmlType == "select" && "" != $dictType)
{{ dict.dictLabel }}
#elseif($column.htmlType == "select" && $dictType)
请选择字典生成
#elseif($column.htmlType == "checkbox" && "" != $dictType)
{{dict.dictLabel}}
#elseif($column.htmlType == "checkbox" && $dictType)
请选择字典生成
#elseif($column.htmlType == "radio" && "" != $dictType)
{{dict.dictLabel}}
#elseif($column.htmlType == "radio" && $dictType)
请选择字典生成
#elseif($column.htmlType == "datetime")
#elseif($column.htmlType == "textarea")
#end
#end
#end
#end
#if($table.sub)
${subTable.functionName}信息
添加
删除
#foreach($column in $subTable.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.pk || $javaField == ${subTableFkclassName})
#elseif($column.list && "" != $javaField)
#end
#end
#end
确 定
取 消