|
|
@ -59,11 +59,11 @@
|
|
|
|
<input type="text" name="user_nickname" placeholder="请输入角色名称" class="" value="{:I('user_nickname')}" style="width: 180px"/>
|
|
|
|
<input type="text" name="user_nickname" placeholder="请输入角色名称" class="" value="{:I('user_nickname')}" style="width: 180px"/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="input-list">
|
|
|
|
<div class="input-list">
|
|
|
|
<input type="text" readonly id="time-start" name="timestart" class="" value="{$startDate}"
|
|
|
|
<input type="text" readonly id="time_start" name="time_start" class="" value="{:I('time_start')}"
|
|
|
|
placeholder="开始时间" />
|
|
|
|
placeholder="开始时间" />
|
|
|
|
-
|
|
|
|
-
|
|
|
|
<div class="input-append date" id="datetimepicker" style="display:inline-block">
|
|
|
|
<div class="input-append date" id="datetimepicker" style="display:inline-block">
|
|
|
|
<input type="text" readonly id="time-end" name="timeend" class="" value="{$endDate}"
|
|
|
|
<input type="text" readonly id="time_end" name="time_end" class="" value="{:I('time_end')}"
|
|
|
|
placeholder="结束时间" />
|
|
|
|
placeholder="结束时间" />
|
|
|
|
<span class="add-on"><i class="icon-th"></i></span>
|
|
|
|
<span class="add-on"><i class="icon-th"></i></span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -89,7 +89,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
<div class="input-list">
|
|
|
|
<div class="input-list">
|
|
|
|
|
|
|
|
|
|
|
|
<a class="sch-btn" href="javascript:;" id="search" url="{:U('Finance/gameStatisticsDetail','model='.$model['name'].'&row='.I('row'),false)}"
|
|
|
|
<a class="sch-btn" href="javascript:;" id="search" url="{:U('FinancePromote/gameStatisticsDetail','model='.$model['name'].'&row='.I('row'),false)}"
|
|
|
|
style="">搜索</a>
|
|
|
|
style="">搜索</a>
|
|
|
|
<if condition="$_GET['all'] neq 1">
|
|
|
|
<if condition="$_GET['all'] neq 1">
|
|
|
|
<a class="sch-btn" href="{:U('Export/gameStatisticsDetail',
|
|
|
|
<a class="sch-btn" href="{:U('Export/gameStatisticsDetail',
|
|
|
@ -209,44 +209,25 @@
|
|
|
|
console.log(href)
|
|
|
|
console.log(href)
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
$('#time-start').datetimepicker({
|
|
|
|
$('#time_start').datetimepicker({
|
|
|
|
format: 'yyyy-mm-dd',
|
|
|
|
format: 'yyyy-mm-dd',
|
|
|
|
language: "zh-CN",
|
|
|
|
language: "zh-CN",
|
|
|
|
showMeridian:true,
|
|
|
|
|
|
|
|
pickDate:true,
|
|
|
|
|
|
|
|
minView: 2,
|
|
|
|
minView: 2,
|
|
|
|
autoclose: true,
|
|
|
|
autoclose: true
|
|
|
|
pickTime:true,
|
|
|
|
|
|
|
|
todayBtn:true,
|
|
|
|
|
|
|
|
}).on('change',function(ev){
|
|
|
|
|
|
|
|
var val = new Date($.trim($(this).val())).getTime();
|
|
|
|
|
|
|
|
var end = new Date($.trim($('#time-end').val())).getTime();
|
|
|
|
|
|
|
|
if (val>end) {
|
|
|
|
|
|
|
|
layer.msg('开始时间大于结束时间!');$(this).val('');
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
$("#time-end").datetimepicker({
|
|
|
|
$('#datetimepicker').datetimepicker({
|
|
|
|
format:"yyyy-mm-dd",
|
|
|
|
format: 'yyyy-mm-dd',
|
|
|
|
language: "zh-CN",
|
|
|
|
language: "zh-CN",
|
|
|
|
showMeridian:true,
|
|
|
|
|
|
|
|
minView: 2,
|
|
|
|
minView: 2,
|
|
|
|
autoclose: true,
|
|
|
|
autoclose: true,
|
|
|
|
todayBtn:true,
|
|
|
|
pickerPosition: 'bottom-left'
|
|
|
|
}).on('change',function(ev){
|
|
|
|
})
|
|
|
|
var val = new Date($.trim($(this).val())).getTime();
|
|
|
|
|
|
|
|
var start = new Date($.trim($('#time-start').val())).getTime();
|
|
|
|
|
|
|
|
if (val<start) {
|
|
|
|
|
|
|
|
layer.msg('开始时间大于结束时间!');$(this).val('');
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//搜索功能
|
|
|
|
//搜索功能
|
|
|
|
$("#search").click(function(){
|
|
|
|
$("#search").click(function(){
|
|
|
|
var starttime = $.trim($('#time-start').val());
|
|
|
|
var starttime = $.trim($('#time_start').val());
|
|
|
|
var endtime = $.trim($('#time-end').val());
|
|
|
|
var endtime = $.trim($('#time_end').val());
|
|
|
|
|
|
|
|
|
|
|
|
if (starttime && endtime && starttime > endtime) {layer.msg('开始时间必须小于等于结束时间');return false;}
|
|
|
|
if (starttime && endtime && starttime > endtime) {layer.msg('开始时间必须小于等于结束时间');return false;}
|
|
|
|
|
|
|
|
|
|
|
|