You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
2.3 KiB
53 lines
2.3 KiB
<?php
|
|
use \common\libs\MyLib;
|
|
?>
|
|
<script type="text/javascript" language="javascript" src="/js/jquery-1.8.3.js"></script>
|
|
<script type="text/javascript" language="javascript" src="/js/datepicker/WdatePicker.js"></script>
|
|
<script type="text/javascript" language="javascript" src="/js/ajax.js"></script>
|
|
<script type="text/javascript" language="javascript" src="/js/func.js"></script>
|
|
<script type="text/javascript" language="javascript">
|
|
$(function(){
|
|
$("#search-btn").click(function(){
|
|
$('#page').val(0);
|
|
var params = $('#searchForm').serialize();
|
|
window.location.href = "/statistics/clean-work-zj?" + params;
|
|
});
|
|
|
|
//导出
|
|
$("#back-btn").click(function(){
|
|
window.location.href = "/statistics/clean-work";
|
|
});
|
|
});
|
|
</script>
|
|
<table width="98%" border="0" align="center" cellpadding="2" cellspacing="1" class="table">
|
|
<form id="searchForm">
|
|
<tr>
|
|
<td class="td_bg">
|
|
分配日期:从<input name="date_begin" type="text" value="<?=$date_begin?>" style="width:100px;" onclick="WdatePicker()">到<input name="date_end" type="text" value="<?=$date_end?>" style="width:100px;" onclick="WdatePicker()">截止
|
|
|
|
|
|
|
|
|
|
<input type="button" class="act_btn" id="search-btn" name="search-btn" value="搜索">
|
|
<input type="button" class="act_btn" id="back-btn" name="back-btn" value="返回">
|
|
|
|
|
|
<a href="/statistics/clean-work-zj?date_begin=<?=date('Y-m-d')?>&date_end=<?=date('Y-m-d')?>">当天</a>
|
|
<a href="/statistics/clean-work-zj?date_begin=<?=date('Y-m-d',strtotime("-7 day"))?>&date_end=<?=date('Y-m-d')?>">7天</a>
|
|
<a href="/statistics/clean-work-zj?date_begin=<?=date('Y-m-d',strtotime("-1 month"))?>&date_end=<?=date('Y-m-d')?>">1个月</a>
|
|
<a href="/statistics/clean-work-zj?date_begin=<?=date('Y-m-d',strtotime("-3 month"))?>&date_end=<?=date('Y-m-d')?>">3个月</a>
|
|
</td>
|
|
</tr>
|
|
</form>
|
|
</table>
|
|
<table width="98%" border="0" align="center" cellpadding="2" cellspacing="1" class="table">
|
|
<tr>
|
|
<td width="50" align="center" class="bg_tr" nowrap>分配数据合计</td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td align="center" class="td_bg" nowrap><?=$CleanFenpei?></td>
|
|
</tr>
|
|
|
|
|
|
</table>
|
|
|