<!doctype html>
|
<html class="no-js">
|
<head>
|
<meta charset="utf-8">
|
<title>交付管理</title>
|
</head>
|
|
<body class="fullscreen">
|
[#include "/business/pages/include/static.html" /]
|
[#include "/business/pages/include/header.html" /]
|
[#include "/component/newsel.html" /]
|
[#include "/component/DatePicker.html" /]
|
[#assign label = GnConstants.THJL]
|
[#include "/business/pages/include/gps.html" /]
|
<form id="search">
|
<div class="fs_main clearfix">
|
<div class="event_fill list_common_select">
|
|
<table><tr><th width="90%">
|
|
<div class="fill_item">
|
<label>客户电话:</label>
|
<input class="general" type="text" name="customer_mobile" id="customer_mobile"/>
|
</div>
|
<div class="fill_item">
|
<label>处理人员:</label>
|
<input class="general" type="text" name="user_name" id="user_name"/>
|
</div>
|
<div class="fill_item"><label>状态:</label>
|
<select id="tra_state" name="tra_state" class="mysel">
|
<option value="">全部</option>
|
<option value="0">未通话</option>
|
<option value="1">通话</option>
|
</select>
|
</div>
|
<div class="fill_item">
|
<label>开始日期:</label>
|
[@datepicker id="start_time" name="start_time" value="" length=8/]
|
</div>
|
<div class="fill_item">
|
<label>结束日期:</label>
|
[@datepicker id="end_time" name="end_time" value="" length=8/]
|
</div>
|
</th><td width="10%">
|
<a class="retrievebtn" id="reset">重置</a><a class="retrievebtn focus" onclick="query();">查询</a>
|
</td></tr></table>
|
</div>
|
|
</div>
|
</form>
|
|
<div class="fs_main clearfix">
|
<div id="main"></div>
|
<div class="paging clearfix" id="pagination"></div>
|
</div>
|
|
<script type="text/javascript">
|
function query(){
|
var customer_mobile = $("#customer_mobile").val();
|
var user_name = $("#user_name").val();
|
var tra_state = $("#tra_state").val();
|
var start_time=$("#start_time").val();
|
var end_time=$("#end_time").val();
|
var params = {"customer_mobile":customer_mobile,"user_name":user_name,"tra_state":tra_state,"start_time":start_time,"end_time":end_time};
|
pagination("${base}/business/pages/traffic/trafficData.html","${base}/business/pages/traffic/trafficCount.html","main","pagination",{psize:10},params);
|
}
|
|
$(function() {
|
query();
|
$("#reset").click(function () {
|
$("#search")[0].reset();
|
$("#start_time").val("");
|
$("#_start_time").val("");
|
$("#end_time").val("");
|
$("#_end_time").val("");
|
});
|
|
})
|
|
|
function details(planId){
|
window.top.openDialog("0","详情",
|
{},
|
{"width":"70","height":"80"},
|
[],
|
"${base}/business/pages/traffic/trafficDetail.html?id="+planId);
|
}
|
function deliverReport(tra_id,mobile){
|
window.top.openDialog("10","通话弹屏",
|
{},
|
{"width":"80","height":"90"},
|
[],
|
"${base}/business/pages/traffic/trafficAddIncident.html?tra_id="+tra_id+"&mobile="+mobile);
|
}
|
function delPlan(id){
|
var tip = "确定要 删除该交付管理吗?";
|
window.top.confirmInfo('提示', tip, function(){
|
$.post("${base}/business/pages/deliver/delPlan.html", {id:id},function(data){
|
if(data == "1"){
|
window.top.popupTips("操作成功");
|
query();
|
} else {
|
window.top.popupTips("操作失败");
|
}
|
},"json");
|
})
|
}
|
</script>
|
[#include "/business/pages/include/footer.html" /]
|
</body>
|
</html>
|