<!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" /]
|
<nav class="fs_nav">
|
<div class="fsnav_con">
|
<h3>值班列表</h3>
|
</div>
|
</nav>
|
<div class="fs_navpath">
|
<h3>当前位置</h3>
|
<span></span>
|
<em>值班管理</em>
|
</div>
|
|
<div class="fs_main clearfix">
|
|
</div>
|
|
|
<div class="fs_main clearfix">
|
<div id="main"></div>
|
<div class="paging clearfix" id="pagination"></div>
|
</div>
|
|
<script type="text/javascript">
|
function query(){
|
var proId = '${RequestParameters.proId}';
|
var cusId = $("#customer_id").val();
|
var subCusId = $("#sub_customer_id").val();
|
var state = $("#state").val();
|
var params = {"cusId":cusId,"subCusId":subCusId,"state":state,"proId":proId};
|
pagination("${base}/business/pages/duty/dutyPlanListDataRead.html","${base}/business/pages/duty/dutyPlanListCountRead.html","main","pagination",{psize:10},params);
|
}
|
|
$(function() {
|
var proId = '${RequestParameters.proId}';
|
query();
|
$("#reset").click(function() {
|
window.location.reload(true);
|
});
|
$("#addBtn").click(function() {
|
window.top.openDialog("0","添加",
|
{},
|
{"width":"50","height":"60"},
|
[{btnId:"btnSure", btnName:"确定", btnStyle:"bluebtn"}],
|
"${base}/business/pages/duty/addDutyPlan.html?proId="+proId);
|
});
|
|
})
|
|
|
function subCus() {
|
var customer_id = $("#customer_id").val();
|
if($.util.isEmpty(customer_id)) {
|
popupTips("请先选择客户");
|
return;
|
}
|
|
var sub_customer_id = $("#sub_customer_id").val();
|
|
var url = "${base}/business/pages/servicelist/slaproject/subCus.html?type=2&customerId="+customer_id+"&subCustomerId="+sub_customer_id;
|
window.top.openDialog("selectSubCus","操作",
|
{},
|
{"width":80,"height":80},
|
[{btnId:"btnSure", btnName:"确定", btnStyle:"bluebtn"}],url);
|
}
|
|
function showCus(labelId,labelName) {
|
$("#sub_customer_name").val(labelName);
|
$("#sub_customer_id").val(labelId);
|
}
|
|
|
function edit(planId){
|
var proId = '${RequestParameters.proId}';
|
window.top.openDialog("0","修改",
|
{},
|
{"width":"50","height":"60"},
|
[{btnId:"btnSure", btnName:"确定", btnStyle:"bluebtn"}],
|
"${base}/business/pages/duty/addDutyPlan.html?proId="+proId+"&planId="+planId);
|
}
|
|
function config(planId){
|
window.top.openDialog("0","设置",
|
{},
|
{"width":"50","height":"60"},
|
[{btnId:"btnSure", btnName:"确定", btnStyle:"bluebtn"}],
|
"${base}/business/pages/duty/configDutyPlan.html?planId="+planId);
|
}
|
|
function selPerson(planId){
|
window.top.openDialog("0","选择人员",
|
{},
|
{"width":"70","height":"60"},
|
[{btnId:"btnSure", btnName:"确定", btnStyle:"bluebtn"}],
|
"${base}/business/pages/duty/selPerson.html?planId="+planId);
|
}
|
|
</script>
|
|
[#include "/business/pages/include/footer.html" /]
|
</body>
|
</html>
|