修复id重复导致时间日期框失效的问题
This commit is contained in:
parent
65e58773e5
commit
cd3f027978
|
|
@ -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,10 +44,10 @@
|
||||||
#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
|
||||||
#end
|
#end
|
||||||
|
|
@ -129,7 +129,7 @@
|
||||||
title: '${comment}',
|
title: '${comment}',
|
||||||
align: 'left'
|
align: 'left'
|
||||||
},
|
},
|
||||||
#end
|
#end
|
||||||
#end
|
#end
|
||||||
{
|
{
|
||||||
title: '操作',
|
title: '操作',
|
||||||
|
|
@ -148,4 +148,4 @@
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue