1.监测页面增加时间选择限制,只能选取一周内时间

2.增加数据清除异常处理
This commit is contained in:
wangwenrui
2019-01-18 18:46:58 +08:00
parent b1ec7f1cc4
commit 5b9c2c792d
5 changed files with 14 additions and 6 deletions

View File

@@ -169,7 +169,7 @@ function createChart() {
<input type="hidden" name="titleId" value="#(titleId)"/>
<div style="margin:10px 0 10px 15px; position:relative;">
<label class="bar">#(_res.get("startTime"))</label>
<input id="startTime" value="#(startTime)" name="startTime" class="bar bar-input" onfocus="this.blur()" onclick="WdatePicker({skin:'simple',maxDate:'#F{$dp.$D(\'endTime\')||\'%y-%M-%d\',lang:'#(_locale)'}'})">&nbsp;
<input id="startTime" value="#(startTime)" name="startTime" class="bar bar-input" onfocus="this.blur()" onclick="WdatePicker({skin:'simple',maxDate:'#F{$dp.$D(\'endTime\')||\'%y-%M-%d\'}',minDate:'%y-%M-#{%d-7}',lang:'#(_locale)'})">&nbsp;
<label class="bar">#(_res.get("endTime"))</label>
<input id="endTime" value="#(endTime)" name="endTime" class="bar bar-input" onfocus="this.blur()" onclick="WdatePicker({skin:'simple',minDate:'#F{$dp.$D(\'startTime\')}',maxDate:'%y-%M-%d',lang:'#(_locale)'})">
<div id="search" style="display:inline-block; background-color:#ce0000; width:50px; line-height:18px; text-align:center; padding:3px 0 5px 0;position:absolute; margin-left: 10px;">