cy
2022-06-21 129904537f66509f97b285e7eb4f42b3dc349dd0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<!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>