mirror of https://gitee.com/y_project/RuoYi.git
修正普通文本框字段如果查询方式为BETWEEN,list.html无法正确生成代码的问题
parent
9c9567a5e7
commit
f7942187e0
|
@ -20,11 +20,18 @@
|
|||
#else
|
||||
#set($comment=$column.columnComment)
|
||||
#end
|
||||
#if($column.htmlType == "input")
|
||||
#if($column.htmlType == "input" && $column.queryType != "BETWEEN")
|
||||
<li>
|
||||
<label>${comment}:</label>
|
||||
<input type="text" name="${column.javaField}"/>
|
||||
</li>
|
||||
#elseif($column.htmlType == "input" && $column.queryType == "BETWEEN")
|
||||
<li class="select-time">
|
||||
<label>${comment}:</label>
|
||||
<input type="text" id="begin${AttrName}" placeholder="开始${comment}" name="params[begin${AttrName}]"/>
|
||||
<span>-</span>
|
||||
<input type="text" id="end${AttrName}" placeholder="结束${comment}" name="params[end${AttrName}]"/>
|
||||
</li>
|
||||
#elseif(($column.htmlType == "select" || $column.htmlType == "radio") && "" != $dictType)
|
||||
<li>
|
||||
<label>${comment}:</label>
|
||||
|
|
|
@ -20,11 +20,18 @@
|
|||
#else
|
||||
#set($comment=$column.columnComment)
|
||||
#end
|
||||
#if($column.htmlType == "input")
|
||||
#if($column.htmlType == "input" && $column.queryType != "BETWEEN")
|
||||
<li>
|
||||
<label>${comment}:</label>
|
||||
<input type="text" name="${column.javaField}"/>
|
||||
</li>
|
||||
#elseif($column.htmlType == "input" && $column.queryType == "BETWEEN")
|
||||
<li class="select-time">
|
||||
<label>${comment}:</label>
|
||||
<input type="text" id="begin${AttrName}" placeholder="开始${comment}" name="params[begin${AttrName}]"/>
|
||||
<span>-</span>
|
||||
<input type="text" id="end${AttrName}" placeholder="结束${comment}" name="params[end${AttrName}]"/>
|
||||
</li>
|
||||
#elseif(($column.htmlType == "select" || $column.htmlType == "radio") && "" != $dictType)
|
||||
<li>
|
||||
<label>${comment}:</label>
|
||||
|
|
Loading…
Reference in New Issue