修复id重复导致时间日期框失效的问题

This commit is contained in:
anjie 2020-06-21 23:33:44 +08:00
parent 9c763dceab
commit 65e58773e5
1 changed files with 6 additions and 6 deletions

View File

@ -17,9 +17,9 @@
#set($parentheseIndex=$column.columnComment.indexOf("")) #set($parentheseIndex=$column.columnComment.indexOf(""))
#if($parentheseIndex != -1) #if($parentheseIndex != -1)
#set($comment=$column.columnComment.substring(0, $parentheseIndex)) #set($comment=$column.columnComment.substring(0, $parentheseIndex))
#else #else
#set($comment=$column.columnComment) #set($comment=$column.columnComment)
#end #end
#if($column.htmlType == "input") #if($column.htmlType == "input")
<li> <li>
<label>${comment}</label> <label>${comment}</label>
@ -44,9 +44,9 @@
#elseif($column.htmlType == "datetime") #elseif($column.htmlType == "datetime")
<li class="select-time"> <li class="select-time">
<label>${comment}</label> <label>${comment}</label>
<input type="text" class="time-input" id="startTime" placeholder="开始时间" name="params[begin${AttrName}]"/> <input type="text" class="time-input" placeholder="开始时间" name="params[begin${AttrName}]"/>
<span>-</span> <span>-</span>
<input type="text" class="time-input" id="endTime" placeholder="结束时间" name="params[end${AttrName}]"/> <input type="text" class="time-input" placeholder="结束时间" name="params[end${AttrName}]"/>
</li> </li>
#end #end
#end #end
@ -129,7 +129,7 @@
field: '${javaField}', field: '${javaField}',
title: '${comment}' title: '${comment}'
}, },
#end #end
#end #end
{ {
title: '操作', title: '操作',
@ -146,4 +146,4 @@
}); });
</script> </script>
</body> </body>
</html> </html>