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

This commit is contained in:
anjie 2020-06-22 00:17:10 +08:00
parent 65e58773e5
commit cd3f027978
1 changed files with 7 additions and 7 deletions

View File

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