<!doctype html>
|
<html class="no-js">
|
<head>
|
<meta charset="utf-8">
|
<title>厂商/集成商联系人列表</title>
|
</head>
|
|
<body class="fullscreen service">
|
[#include "/business/pages/include/static.html" /]
|
[#include "/uc/include/header.html" /]
|
[#include "/component/DatePicker.html" /]
|
[#include "/component/newsel.html" /]
|
[#assign focusLabel = "CSLXR"]
|
[#include "/uc/include/searchheader.html" /]
|
<script type="text/javascript">
|
</script>
|
<div class="fs_navpath">
|
<h3>当前位置</h3>
|
<span></span>
|
<a>信息查询 </a>
|
<span></span>
|
<em>厂商/集成商联系人列表</em>
|
</div>
|
|
<div class="fs_main clearfix">
|
<div class="event_fill list_common_select">
|
<table><tr><th width="85%">
|
<div class="fill_item">
|
<label>联系人名称:</label>
|
<input class="general" type="text" name="personName" id="personName" />
|
</div>
|
|
<div class="fill_item">
|
<label>类型:</label>
|
[#if typeList?? && typeList?size>0]
|
[#list typeList as type]
|
<input type="checkbox" name="type" class="nfcheckbox cbx ordertype" value="${type.ID}" /><em class="totxt">${type.VALUE}</em>
|
[/#list]
|
[/#if]
|
</div>
|
<div class="fill_item">
|
<label>公司名称:</label>
|
<input class="general" type="text" name="contactsName" id="contactsName" />
|
</div>
|
<div class="fill_item">
|
<label>手机号码:</label>
|
<input class="general" type="text" name="phone" id="phone" />
|
</div>
|
|
</th><td width="15%">
|
<a class="retrievebtn" id="reset">重置</a><a class="retrievebtn focus" onclick="query();">查询</a>
|
</td></tr></table>
|
</div>
|
</div>
|
|
<div class="fs_main clearfix">
|
<div id="mainData"></div>
|
<div class="paging clearfix" id="pagination"></div>
|
</div>
|
|
|
|
|
<script type="text/javascript">
|
var father_id = '${RequestParameters.customerId}';
|
var nowPage = 1;
|
function query(){
|
var customerId = $.trim($("#customer_id").val());
|
var projectId = $.trim($("#project_id").val());
|
var personName = $.trim($("#personName").val());
|
var contactsName=$.trim($("#contactsName").val());
|
var phone=$.trim($("#phone").val());
|
var type="";
|
$("input[type=checkbox]:checked").each(function(){
|
if(this.checked){
|
type+=$(this).val()+",";
|
}
|
});
|
var params = {"customerId":customerId,"personName":personName,"type":type,"contactsName":contactsName,"phone":phone};
|
pagination("${base}/uc/ucsearch/uccontactPersonData.html","${base}/uc/ucsearch/uccontactPersonCount.html","mainData","pagination",{cpage:nowPage,psize:10},params);
|
}
|
|
function queryStatus(status) {
|
query();
|
}
|
|
$(function() {
|
query();
|
|
$("#reset").click(function() {
|
window.location.reload(true);
|
});
|
})
|
|
|
//${Constants.CUSTOMER_CONSTANTS} 项目联动
|
function changeProject(customerId,customerName) {
|
|
//$("#sub_customer_name,#sub_customer_id").val("");
|
$.post("${base}/business/pages/servicelist/slaproject/queryProByCusId.html",{"customerId":customerId},function(data,textStatus) {
|
var optionHtml = "<option value=''>请选择</option>";
|
$.each(data,function(i,item) {
|
optionHtml += "<option value='"+item.PROJECT_ID+"'>"+item.PROJECT_NAME+"</option>";
|
})
|
$('#project_id').html(optionHtml);
|
},"json")
|
}
|
|
</script>
|
|
[#include "/uc/include/foot.html" /]
|
</body>
|
</html>
|