username@email.com
2025-05-15 6fe02a16e55f17e45a3997171e1b2284d45af25b
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CustomerAccessRecordList.aspx.cs" Inherits="CY.WebForm.Pages.adminclient.CustomerAccessRecordList" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>意向客户访问管理</title>
    <uc:CMSHead ID="CMSHead1" runat="server" />
    <script type="text/javascript">
        //查看
        function onViewDeatil(keyid) {
            top.Dialog.open({ URL: "/Pages/business/IntentionCustomerDetail.aspx?Keyid=" + keyid, Title: "查看意向客户", Width: 900, Height: 490 });
        }
        //访问记录
        function onView(keyid) {
            top.Dialog.open({ URL: "/Pages/business/CustomerAccessRecordDetailList.aspx?Keyid=" + keyid, Title: "查看访问记录", Width: 900, Height: 490 });
        }
        //客户转移
        function ShiftIntention() {
            var keyid = "";
            $(".SelectCheck:checked").each(function (ii, vv) {
                keyid = keyid + "|" + $(vv).attr("value_cid");
            });
            if (keyid == "")
                alertMsg("未选中任何客户");
            else
                top.Dialog.open({ URL: "/Pages/business/ShiftIntOrCus.aspx?type=int&Keyid=" + keyid, Title: "客户转移", Width: 300, Height: 120, Modal: false });
        }
        //批量访问
        function StorageVolume() {
            var keyid = "";
            $(".SelectCheck:checked").each(function (ii, vv) {
                keyid = keyid + "|" + $(vv).attr("value_cid");
            });
            if (keyid == "")
                alertMsg("未选中任何客户");
            else
                top.Dialog.open({ URL: "/Pages/business/IntentionCustomerBatchAccess.aspx?Keyid=" + keyid, Title: "批量访问", Width: 560, Height: 265, Modal: false });
        }
        //群发短信
        function SendAllSMS() {
            var keyidszs = "";
            var keyid = "";
            $(".SelectCheck:checked").each(function (ii, vv) {
                if ($(vv).attr("value_mobile") != "" && $(vv).attr("value_mobile") != null) {
                    keyid = keyid + "|" + $(vv).attr("value_mobile");
                    keyidszs = keyidszs + "," + $(vv).attr("value_cid");
                }
            });
            if (keyid == "")
                alertMsg("未选中任何客户或所选客户未填写手机");
            else
                top.Dialog.open({ URL: "/Pages/business/SendAllSMS.aspx?Keyid=" + keyid + "&keyidszs=" + keyidszs + "&sendfrom=intention", Title: "群发短信", Width: 560, Height: 265, Modal: false });
        }
 
        //群发邮件
        function SendAllEmail() {
            var keyidszs = "";
            var keyid = "";
            $(".SelectCheck:checked").each(function (ii, vv) {
                if ($(vv).attr("value_email") != "" && $(vv).attr("value_email") != null) {
                    keyid = keyid + "," + $(vv).attr("value_email");
                    keyidszs = keyidszs + "," + $(vv).attr("value_cid");
                }
            });
            if (keyid == "")
                alertMsg("未选中任何客户或所选客户未填写邮箱");
            else
                top.Dialog.open({ URL: "/Pages/business/SendAllEmail.aspx?keyid=" + keyidszs + "&sendfrom=intention", Title: "群发邮件", Width: 880, Height: 665, Modal: false });
        }
 
        //商业信函
        function SendAllLetters() {
            var keyid = "";
            $(".SelectCheck:checked").each(function (ii, vv) {
                keyid = keyid + "," + $(vv).attr("value_cid");
            });
            if (keyid == "")
                alertMsg("未选中任何客户");
            else {
                top.Dialog.open({ URL: "/Pages/business/SendAllLettersChange.aspx?Keyid=" + keyid + "&&sendfrom=intention", Title: "商业信函", Width: 400, Height:180, Modal: false });
            }
        }
        //打印意向客户资料
        function PrintInList() {
            var keyid = "";
            $(".SelectCheck:checked").each(function (ii, vv) {
                keyid = keyid + "," + $(vv).attr("value_cid");
            });
            if (keyid == "")
                alertMsg("未选中任何客户");
            else {
                openWindowTransferData("/Pages/business/PrintInList.aspx", "Keyid", keyid);
            }
        }
 
        //打印意向客户A表
        function PrintInATable() {
            var keyid = "";
            $(".SelectCheck:checked").each(function (ii, vv) {
                keyid = keyid + "," + $(vv).attr("value_cid");
            });
            if (keyid == "")
                alertMsg("未选中任何客户");
            else {
                openWindowTransferData("/Pages/business/PrintInATable.aspx", "Keyid", keyid);
            }
        }
        //打印意向客户B表
        function PrintInBTable() {
            var keyid = "";
            $(".SelectCheck:checked").each(function (ii, vv) {
                keyid = keyid + "," + $(vv).attr("value_cid");
            });
            if (keyid == "")
                alertMsg("未选中任何客户");
            else {
                openWindowTransferData("/Pages/business/PrintInBTable.aspx", "Keyid", keyid);
            }
        }
</script>
</head>
<body>
    <div id="scrollContent">
        <form id="form1" runat="server">
        <div class="box1" paneltitle="功能面板" roller="false">
            <table class="TableNewStyle" width="100%">
                <tr>
                    <td class="ali03">
                        操作时间:
                    </td>
                    <td>
                        <input id="txtRegTimeStart" type="text" class="date w80px" datefmt="yyyy-MM-dd" runat="server" />-<input id="txtRegTimeEnd" type="text" class="date w80px" datefmt="yyyy-MM-dd" runat="server" />
                    </td>
                    <td class="ali03">
                        客户名称:
                    </td>
                    <td>
                        <input type="text" class="w122px" runat="server" id="txtquery_userName" />
                    </td>
                    <td class="ali03">
                        客户来源:
                    </td>
                    <td>
                        <select id="selSourcesInfoId" runat="server" datatextfield="Name" datavaluefield="Keyid" keepdefaultstyle='true'>
                        </select>
                    </td>
                    <td class="ali03">
                        所属行业:
                    </td>
                    <td>
                        <select id="selCustomerIndustriesId" runat="server" datatextfield="Name" datavaluefield="Keyid" keepdefaultstyle='true'>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td class="ali03 ">
                        客户状态:
                    </td>
                    <td>
                        <select id="selCustomerStatusId" runat="server" datatextfield="Name" datavaluefield="Keyid" keepdefaultstyle='true'>
                        </select>
                    </td>
                    <td class="ali03">
                        意向产品:
                    </td>
                    <td>
                        <select id="selCustomerTypeId" runat="server" datatextfield="Name" datavaluefield="Keyid" keepdefaultstyle='true'>
                        </select>
                    </td>
                    <td class="ali03 ">
                        客户级别:
                    </td>
                    <td>
                        <select id="selDegreeImportanId" runat="server" datatextfield="Name" datavaluefield="Keyid" keepdefaultstyle='true'>
                        </select>
                    </td>
                    <td class="ali03 ">
                        成交意向:
                    </td>
                    <td>
                        <select id="selTurnoverIntentionId" runat="server" datatextfield="Name" datavaluefield="Keyid" keepdefaultstyle='true'>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td class="ali03">
                        所在区域:
                    </td>
                    <td>
                        <div id="PCACCommon">
                        </div>
                    </td>
                    <td class="ali03 ">
                        业务经理:
                    </td>
                    <td>
                        <select id="selBusinessManagerId" runat="server" datatextfield="Name" datavaluefield="Keyid" keepdefaultstyle='true'>
                        </select>
                    </td>
                    <td class="ali03 ">
                        客户经理:
                    </td>
                    <td>
                        <select id="selAccountManagerId" runat="server" datatextfield="Name" datavaluefield="Keyid" keepdefaultstyle='true'>
                        </select>
                    </td>
                    <td class="ali03">
                        是否访问:
                    </td>
                    <td>
                        <select id="selNall" runat="server" keepdefaultstyle="true" style="width: 62px">
                            <option selected="selected" value="">全部</option>
                            <option value="false">未访问</option>
                            <option value="true">已访问</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td class="ali03">
                        电话访问:
                    </td>
                    <td>
                        <select id="selNphone" runat="server" keepdefaultstyle="true" style="width: 62px">
                            <option selected="selected" value="">全部</option>
                            <option value="&gt;=">>=</option>
                            <option value="&lt;="><=</option>
                        </select>
                        <input type="text" style="width: 53px" runat="server" id="txtNphone" />
                    </td>
                    <td class="ali03">
                        QQ 访 问:
                    </td>
                    <td>
                        <select id="selNqq" runat="server" keepdefaultstyle="true" style="width: 62px">
                            <option selected="selected" value="">全部</option>
                            <option value="&gt;=">>=</option>
                            <option value="&lt;="><=</option>
                        </select>
                        <input type="text" style="width: 53px" runat="server" id="txtNqq" />
                    </td>
                    <td class="ali03">
                        短信访问:
                    </td>
                    <td>
                        <select id="selNmessage" keepdefaultstyle="true" runat="server" style="width: 62px">
                            <option selected="selected" value="">全部</option>
                            <option value="&gt;=">>=</option>
                            <option value="&lt;="><=</option>
                        </select>
                        <input type="text" style="width: 53px" runat="server" id="txtNmessage" />
                    </td>
                    <td class="ali03">
                        邮件访问:
                    </td>
                    <td>
                        <select id="selNemial" runat="server" keepdefaultstyle="true" style="width: 62px">
                            <option selected="selected" value="">全部</option>
                            <option value="&gt;=">>=</option>
                            <option value="&lt;="><=</option>
                        </select>
                        <input type="text" style="width: 53px" runat="server" id="txtNemial" />
                    </td>
                </tr>
                <tr>
                    <td class="ali03">
                        商函访问:
                    </td>
                    <td>
                        <select id="selNDirectMail" runat="server" keepdefaultstyle="true" style="width: 62px">
                            <option selected="selected" value="">全部</option>
                            <option value="&gt;=">>=</option>
                            <option value="&lt;="><=</option>
                        </select>
                        <input type="text" style="width: 53px" runat="server" id="txtNDirectMail" />
                    </td>
                    <td class="ali03">
                        上门访问:
                    </td>
                    <td>
                        <select id="selNupdoor" keepdefaultstyle="true" runat="server" style="width: 62px">
                            <option selected="selected" value="">全部</option>
                            <option value="&gt;=">>=</option>
                            <option value="&lt;="><=</option>
                        </select>
                        <input type="text" style="width: 53px" runat="server" id="txtNupdoor" />
                    </td>
                    <td class="ali03" colspan="3">
                    </td>
                    <td>
                        <asp:Button ID="btn_Register" Text="查询" runat="server" padding="0px" OnClick="btn_Register_Click" />
                        <input type="button" onclick="resetSearch()" value="重置" />
                    </td>
                </tr>
            </table>
        </div>
        <div class="box_tool_min ">
            <div class="left padding_top5 padding_left10">
                <a href="javascript:;" onclick="ShiftIntention()" menu_member_case_id="case_ShiftIntention" menu_member_case_name="转移客户"><span class="icon_add">转移客户</span></a>
                <div class="box_tool_line">
                </div>
                <a href="javascript:;" onclick="StorageVolume()" menu_member_case_id="case_StorageVolume" menu_member_case_name="批量访问"><span class="icon_add">批量访问</span></a>
                <div class="box_tool_line">
                </div>
                <a href="javascript:;" onclick="SendAllSMS()" menu_member_case_id="case_SendAllSMS" menu_member_case_name="群发短信"><span class="icon_reply">群发短信</span></a>
                <div class="box_tool_line">
                </div>
                <a href="javascript:;" onclick="SendAllEmail()" menu_member_case_id="case_SendAllEmail" menu_member_case_name="群发邮件"><span class="icon_reply">群发邮件</span></a>
                <div class="box_tool_line">
                </div>
                <a href="javascript:;" onclick="SendAllLetters()" menu_member_case_id="case_SendAllLetters" menu_member_case_name="商业信函"><span class="icon_reply">商业信函</span></a>
                <div class="box_tool_line">
                </div>
                <a href="javascript:;" onclick="PrintInList()" menu_member_case_id="case_PrintInList" menu_member_case_name="打印客户资料"><span class="icon_reply">打印客户资料</span></a>
                <div class="box_tool_line">
                </div>
                <%--<a href="javascript:;" onclick="PrintInVisit()"><span class="icon_reply">打印访问记录</span></a>
                <div class="box_tool_line">
                </div>--%>
                <a href="javascript:;" onclick="PrintInATable()" menu_member_case_id="case_PrintCorATable" menu_member_case_name="打印A表"><span class="icon_reply">打印A表</span></a>
                <div class="box_tool_line">
                </div>
                <a href="javascript:;" onclick="PrintInBTable()" menu_member_case_id="case_PrintInBTable" menu_member_case_name="打印B表"><span class="icon_reply">打印B表</span></a>
                <div class="clear">
                </div>
            </div>
        </div>
        <div>
            <asp:Repeater ID="RepCustomerList" runat="server">
                <HeaderTemplate>
                    <table class="tableStyle">
                        <tr>
                            <th width="25">
                            </th>
                            <th>
                                编号
                            </th>
                            <th>
                                公司全称
                            </th>
                            <th>
                                信息来源
                            </th>
                            <th>
                                上门
                            </th>
                            <th>
                                电话
                            </th>
                            <th>
                                QQ
                            </th>
                            <th>
                                短信
                            </th>
                            <th>
                                商函
                            </th>
                            <th>
                                Email
                            </th>
                            <th>
                                客户级别
                            </th>
                            <th>
                                访问次数
                            </th>
                            <th>
                                业务经理
                            </th>
                            <th>
                                客户经理
                            </th>
                            <th>
                                状态
                            </th>
                            <th width="80">
                                操作
                            </th>
                        </tr>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr>
                        <td>
                            <input type="checkbox" class="SelectCheck" value_mobile="<%#Eval("MobileNum")%>" value_email="<%#Eval("Email")%>" value_cid="<%#Eval("Keyid")%>" />
                        </td>
                        <td>
                            <%#Container.ItemIndex + 1%>
                        </td>
                        <td>
                            <a class="a_under" onclick="onViewDeatil(<%#Eval("Keyid")%>)">
                                <%#Eval("CompanyName")%></a>
                        </td>
                        <td>
                            <%#Eval("SourcesInfo.Name")%>
                        </td>
                        <td>
                            <%#Eval("Nupdoor")??0%>
                        </td>
                        <td>
                            <%# Eval("Nphone")??0%>
                        </td>
                        <td>
                            <%#Eval("Nqq")??0%>
                        </td>
                        <td>
                            <%# Eval("Nmessage")??0%>
                        </td>
                        <td>
                            <%# Eval("NDirectMail")??0%>
                        </td>
                        <td>
                            <%#Eval("Nemial")??0%>
                        </td>
                        <td>
                            <%#Eval("DegreeImportan.Name")%>
                        </td>
                        <td>
                            <%#Eval("Nall")??0%>
                        </td>
                        <td>
                            <%#Eval("BusinessmanagerName")%>
                        </td>
                        <td>
                            <%#Eval("AccountmanagerName")%>
                        </td>
                        <td>
                            <%#Eval("CustomerStatus.Name")%>
                        </td>
                        <td class="Operate">
                            <a class="a_under" menu_member_case_id="case_visitrecord" menu_member_case_name="访问记录" onclick="onView(<%#Eval("Keyid")%>)">访问记录</a>
                        </td>
                    </tr>
                </ItemTemplate>
                <FooterTemplate>
                    </table>
                </FooterTemplate>
            </asp:Repeater>
        </div>
        </form>
    </div>
</body>
<script type="text/javascript">
    PCAC('<%=Province %>', '<%=City %>', '<%=County %>', "Name"); //城市数据存名称用Name,存编号则空字符
</script>
</html>