vm10.vue.index.vue.vm Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ucode-cms-code Show documentation
Show all versions of ucode-cms-code Show documentation
Java知识图谱之内容管理系统(CMS)代码自动生成部分
#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)
#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($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
#if($tables.sub)
${subTable.functionName}信息
添加
删除
#foreach($columns in $subTable.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 || $javaField == ${subTableFkclassName})
#elseif($columns.list && "" != $javaField)
#end
#end
#end