ソースを参照

外呼页面搜索不可用
外呼页面展示字段调整

yuqian 8 年 前
コミット
8a6b5444fb

+ 2 - 38
HyBaseCallCenter/BaseCallCenter.Web/calloutmanage/ajax/calloutopt.ashx.cs

@@ -61,44 +61,8 @@ namespace HySoft.BaseCallCenter.Web.calloutmanage.ajax
61 61
                 string userid = context.Request.Params["userid"];
62 62
 
63 63
                 string updatesql = "";
64
-
65
-
66
-                fielddt = new BLL.T_Call_PageField().GetList(" [F_TaskId]=" + taskid + " order by F_Sort ").Tables[0];
67
-                int fieldcount = fielddt.Rows.Count;
68
-                for (int i = 0; i < fieldcount; i++)
69
-                {
70
-                    if (i == (fieldcount - 1))
71
-                    {
72
-                        updatesql += "" + fielddt.Rows[i]["F_DBFieldlName"].ToString().Trim() + "='" + context.Request.Form["txt_field_" + fielddt.Rows[i]["F_Id"].ToString().Trim()].ToString().Replace(",", "").Replace("'", "") + "'";
73
-                    }
74
-                    else
75
-                    {
76
-                        updatesql += "" + fielddt.Rows[i]["F_DBFieldlName"].ToString().Trim() + "='" + context.Request.Form["txt_field_" + fielddt.Rows[i]["F_Id"].ToString().Trim()].ToString().Replace(",", "").Replace("'", "") + "',";
77
-                    }
78
-                }
79
-
80
-                if (updatesql.Trim() != "")
81
-                {
82
-                    //保存呼叫结果
83
-
84
-                    updatesql += ", F_HJJGId=" + context.Request.Form["txtHJJGId"] + ",F_HJJGName='" + context.Request.Form["txtHJJGName"] + "' ";
85
-                }
86
-                else
87
-                {
88
-                    updatesql += " F_HJJGId=" + context.Request.Form["txtHJJGId"] + ",F_HJJGName='" + context.Request.Form["txtHJJGName"] + "' ";
89
-                }
90
-
91
-
92
-                if (updatesql.Trim() != "")
93
-                {
94
-                    //保存用户反馈
95
-                    updatesql += ", F_YHFKId=" + context.Request.Form["txtYHFKId"] + ",F_YHFKName='" + context.Request.Form["txtYHFKName"] + "' ";
96
-                }
97
-                else
98
-                {
99
-                    updatesql += " F_YHFKId=" + context.Request.Form["txtYHFKId"] + ",F_YHFKName='" + context.Request.Form["txtYHFKName"] + "' ";
100
-                }
101
-
64
+                //保存用户反馈
65
+                updatesql += "  F_YHFKId='" + context.Request.Form["txtYHFKId"] + "',F_YHFKName='" + context.Request.Form["txtYHFKName"] + "' ";
102 66
                 int r = DBUtility.DbHelperSQL.ExecuteSql("update [T_Call_TaskTelNum] set " + updatesql + " where [F_Id]=" + id);
103 67
                 if (r > 0)
104 68
                 {

+ 18 - 18
HyBaseCallCenter/BaseCallCenter.Web/calloutmanage/ajax/callplantelnum.ashx.cs

@@ -336,21 +336,21 @@ namespace HySoft.BaseCallCenter.Web.calloutmanage.ajax
336 336
 
337 337
             try
338 338
             {
339
-                string strpageindex = context.Request.Params["page"];
339
+                string strpageindex = CommonRequest.GetString("page");
340 340
                 int pageindex = 1;
341
-                string strpagesize = context.Request.Params["pagesize"];
341
+                string strpagesize = CommonRequest.GetString("pagesize");
342 342
                 int pagesize = 10;
343
-                string key = context.Request.Params["key"];
344
-                string taskid = context.Request.Params["taskid"];
345
-                string userid = context.Request.Params["userid"];
343
+                string key = CommonRequest.GetString("key");
344
+                string taskid = CommonRequest.GetString("taskid");
345
+                string userid = CommonRequest.GetString("userid");
346 346
                 string taskType = CommonRequest.GetString("taskType");
347 347
                 try
348 348
                 {
349
-                    string fpstate = context.Request.Params["fpstate"];
350
-                    string hcstate = context.Request.Params["hcstate"];
351
-                    string yjstate = context.Request.Params["yjstate"];
352
-                    string hjjg = CommonRequest.GetQueryString("hjjg");
353
-                    string yhfk = CommonRequest.GetQueryString("yhfk");
349
+                    string fpstate = CommonRequest.GetString("fpstate");
350
+                    string hcstate = CommonRequest.GetString("hcstate");
351
+                    string yjstate = CommonRequest.GetString("yjstate");
352
+                    string hjjg = CommonRequest.GetString("hjjg");
353
+                    string yhfk = CommonRequest.GetString("yhfk");
354 354
                     if (fpstate.Trim() != "")
355 355
                     {
356 356
                         sql += " and F_FPState=" + fpstate + " ";
@@ -378,8 +378,8 @@ namespace HySoft.BaseCallCenter.Web.calloutmanage.ajax
378 378
 
379 379
                 try
380 380
                 {
381
-                    string starttime = HttpUtility.UrlDecode(CommonRequest.GetQueryString("starttime"));
382
-                    string endtime = HttpUtility.UrlDecode(CommonRequest.GetQueryString("endtime"));
381
+                    string starttime = HttpUtility.UrlDecode(CommonRequest.GetString("starttime"));
382
+                    string endtime = HttpUtility.UrlDecode(CommonRequest.GetString("endtime"));
383 383
                     string timesql = "";
384 384
                     int t = 0;
385 385
                     if (starttime.Trim() != "")
@@ -487,16 +487,16 @@ namespace HySoft.BaseCallCenter.Web.calloutmanage.ajax
487 487
 
488 488
             try
489 489
             {
490
-                string strpageindex = context.Request.Params["page"];
490
+                string strpageindex = CommonRequest.GetString("page");
491 491
                 int pageindex = 1;
492
-                string strpagesize = context.Request.Params["pagesize"];
492
+                string strpagesize = CommonRequest.GetString("pagesize");
493 493
                 int pagesize = 10;
494
-                string key = context.Request.Params["key"];
495
-                string taskid = context.Request.Params["taskid"];
494
+                string key = CommonRequest.GetString("key");
495
+                string taskid = CommonRequest.GetString("taskid");
496 496
                 try
497 497
                 {
498
-                    string fpstate = context.Request.Params["fpstate"];
499
-                    string hcstate = context.Request.Params["hcstate"];
498
+                    string fpstate = CommonRequest.GetString("fpstate");
499
+                    string hcstate = CommonRequest.GetString("hcstate");
500 500
                     if (fpstate.Trim() != "")
501 501
                     {
502 502
                         sql += " and F_FPState=" + fpstate + " ";

+ 3 - 2
HyBaseCallCenter/BaseCallCenter.Web/calloutmanage/callout.aspx

@@ -3,6 +3,7 @@
3 3
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4 4
 <html xmlns="http://www.w3.org/1999/xhtml">
5 5
 <head id="Head1" runat="server">
6
+    <meta http-equiv="X-UA-Compatible" content="IE=8">
6 7
     <title>来电弹屏</title>
7 8
     <link href="../scripts/ui/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css" />
8 9
     <script src="../scripts/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>
@@ -25,7 +26,7 @@
25 26
         var historylist;
26 27
         $(function () {
27 28
             $("#layout1").ligerLayout({
28
-                leftWidth: 150
29
+                leftWidth: 250
29 30
             });
30 31
             var w = $("#form1").width();
31 32
             //historylist = $("#divHistoryForm").ligerPanel({
@@ -36,7 +37,7 @@
36 37
             $("#divOrderForm").ligerPanel({
37 38
                 title: '问卷信息',
38 39
                 height: 300,
39
-                width: w - 800
40
+                width: w - 300
40 41
             });
41 42
 
42 43
             //初始化选择

+ 72 - 64
HyBaseCallCenter/BaseCallCenter.Web/calloutmanage/callplantaskresult.aspx

@@ -5,7 +5,7 @@
5 5
 <head id="Head1" runat="server">
6 6
     <title>我的任务结果</title>
7 7
     <link href="../scripts/ui/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css" />
8
-   <script src="/scripts/jquery/jquery-1.8.3.min.js" type="text/javascript"></script>
8
+    <script src="/scripts/jquery/jquery-1.8.3.min.js" type="text/javascript"></script>
9 9
     <script type="text/javascript" src="/scripts/jquery/jquery.form.js"></script>
10 10
     <script type="text/javascript" src="/scripts/jquery/jquery.validate.min.js"></script>
11 11
     <script type="text/javascript" src="/scripts/jquery/messages_cn.js"></script>
@@ -38,10 +38,11 @@
38 38
             }
39 39
             catch (e) {
40 40
             }
41
-            $.ligerDialog.open({ url: 'calloutopt.aspx?otype=new&id=' + id + '&taskid=' + taskid + '&phone=' + phone, title: vtitle, height: vheight, width: vwidth, isResize: true
41
+            $.ligerDialog.open({
42
+                url: 'calloutopt.aspx?otype=new&id=' + id + '&taskid=' + taskid + '&phone=' + phone, title: vtitle, height: vheight, width: vwidth, isResize: true
42 43
             });
43 44
         }
44
-        function ShowInfo(id, taskid,phone) {
45
+        function ShowInfo(id, taskid, phone) {
45 46
             var vheight = $("#form1").height();
46 47
             var vwidth = $("#form1").width() * 0.9;
47 48
             if (vwidth > 700) {
@@ -53,7 +54,8 @@
53 54
             }
54 55
             catch (e) {
55 56
             }
56
-            $.ligerDialog.open({ url: 'calloutoptshow.aspx?otype=new&id=' + id + '&taskid=' + taskid + '&phone=' + phone, title: vtitle, height: vheight, width: vwidth, isResize: true
57
+            $.ligerDialog.open({
58
+                url: 'calloutoptshow.aspx?otype=new&id=' + id + '&taskid=' + taskid + '&phone=' + phone, title: vtitle, height: vheight, width: vwidth, isResize: true
57 59
             });
58 60
         }
59 61
         function ShowTelInfo(id, taskid, phone) {
@@ -68,7 +70,8 @@
68 70
             }
69 71
             catch (e) {
70 72
             }
71
-            $.ligerDialog.open({ url: 'calloutoptrecordlist.aspx?otype=new&id=' + id + '&taskid=' + taskid + '&phone=' + phone, title: vtitle, height: vheight, width: vwidth, isResize: true
73
+            $.ligerDialog.open({
74
+                url: 'calloutoptrecordlist.aspx?otype=new&id=' + id + '&taskid=' + taskid + '&phone=' + phone, title: vtitle, height: vheight, width: vwidth, isResize: true
72 75
             });
73 76
         }
74 77
         function CallOutRes() {
@@ -91,31 +94,36 @@
91 94
                 dateFormat: "yyyy-MM-dd hh:mm:ss",
92 95
                 columns: [
93 96
                 { display: '外呼计划', align: 'center', width: '130', name: '_taskname' },
94
-                { display: '结果', width: '60', name: '_f_phone', render: function (rowdata, rowindex, value) {
95
-                    return "<a href=" + "\"javascript:onclick=ShowInfo('" + rowdata._f_id + "','" + rowdata._f_taskid + "','" + value + "')\">查看</a> "; ;
96
-                }
97
+                {
98
+                    display: '结果', width: '60', name: '_f_phone', render: function (rowdata, rowindex, value) {
99
+                        return "<a href=" + "\"javascript:onclick=ShowInfo('" + rowdata._f_id + "','" + rowdata._f_taskid + "','" + value + "')\">查看</a> ";;
100
+                    }
97 101
                 },
98
-                { display: '号码', width: '130', name: '_f_phone', render: function (rowdata, rowindex, value) {
99
-                    return "<img src='../images/phone3.png' style=\"cursor:hand; width:24px;\" title=\"拨打" + value + "\" onclick='CallOut(\"" + rowdata._f_id + "\",\"" + rowdata._f_taskid + "\",\"" + value + "\")' />&nbsp;&nbsp;<font color='green'>" + value + "</font>";
100
-                }
102
+                {
103
+                    display: '号码', width: '130', name: '_f_phone', render: function (rowdata, rowindex, value) {
104
+                        return "<img src='../images/phone3.png' style=\"cursor:hand; width:24px;\" title=\"拨打" + value + "\" onclick='CallOut(\"" + rowdata._f_id + "\",\"" + rowdata._f_taskid + "\",\"" + value + "\")' />&nbsp;&nbsp;<font color='green'>" + value + "</font>";
105
+                    }
101 106
                 },
102 107
                 { display: '名称', align: 'left', width: '130', name: '_f_customer' },
103 108
                 { display: '导入时间', align: 'center', width: '130', name: '_f_createtime', type: 'date', format: 'yyyy-MM-dd hh:mm:ss' },
104 109
                 { display: '分配坐席', align: 'center', width: '70', name: '_f_username' },
105
-                { display: '呼叫状态', align: 'center', width: '70', name: '_f_hcstate', render: function (rowdata, rowindex, value) {
106
-                    if (value == 0) {
107
-                        return "未呼叫";
108
-                    }
109
-                    else {
110
-                        return "已呼叫";
110
+                {
111
+                    display: '呼叫状态', align: 'center', width: '70', name: '_f_hcstate', render: function (rowdata, rowindex, value) {
112
+                        if (value == 0) {
113
+                            return "未呼叫";
114
+                        }
115
+                        else {
116
+                            return "已呼叫";
117
+                        }
111 118
                     }
112
-                }
113
-            },
119
+                },
114 120
                 { display: '呼叫结果', align: 'center', width: '70', name: '_f_hjjgname' },
115 121
                 { display: '用户反馈', align: 'center', width: '70', name: '_f_yhfkname' },
116
-                { display: '最后接通状态', align: 'center', width: '90', name: '_f_yjstate', render: function (rowdata, rowindex, value) {
117
-                    if (value == 0) {
118
-                        return "未接通";
122
+                {
123
+                    display: '最后接通状态', align: 'center', width: '90', name: '_f_yjstate', render: function (rowdata, rowindex, value) {
124
+                        if (value == 0) {
125
+                            return "未接通";
126
+                        }
119 127
                     }
120 128
                 },
121 129
                 {
@@ -123,9 +131,10 @@
123 131
                 },
124 132
 				{ display: '呼叫次数', align: 'center', width: '70', name: '_calloutcount' },
125 133
                 { display: '接通次数', align: 'center', width: '70', name: '_calloutjtcount' },
126
-                { display: '通话记录', width: '60', name: '_f_id', render: function (rowdata, rowindex, value) {
127
-                    return "<a href=" + "\"javascript:onclick=ShowTelInfo('" + rowdata._f_id + "','" + rowdata._f_taskid + "','" + rowdata._f_phone + "')\">查看</a> "; ;
128
-                }
134
+                {
135
+                    display: '通话记录', width: '60', name: '_f_id', render: function (rowdata, rowindex, value) {
136
+                        return "<a href=" + "\"javascript:onclick=ShowTelInfo('" + rowdata._f_id + "','" + rowdata._f_taskid + "','" + rowdata._f_phone + "')\">查看</a> ";;
137
+                    }
129 138
                 }
130 139
                 ],
131 140
                 url: 'ajax/callplantelnum.ashx?action=getmyresultlist&userid=' + userid + '&taskid=' + selectplan + '&key=' + key + '&fpstate=' + fpstate + '&hcstate=' + hcstate + '&yjstate=' + yjstate + '&starttime=' + starttime + '&endtime=' + endtime + '&hjjg=' + hjjg + '&yhfk=' + yhfk, pageSize: 50, pageSizeOptions: [10, 20, 50, 100], rownumbers: true,
@@ -220,53 +229,52 @@
220 229
 </head>
221 230
 <body>
222 231
     <form id="form1" runat="server">
223
-    <div id="divShowPlanList" style="display: none; position: absolute; z-index: 9999;
224
-        top: 38px; left: 7px; width: 470px; height: 230px;">
225
-        <div id="divPlanList" style="width: 470px; height: 200px;">
226
-        </div>
232
+        <div id="divShowPlanList" style="display: none; position: absolute; z-index: 9999; top: 38px; left: 7px; width: 470px; height: 230px;">
233
+            <div id="divPlanList" style="width: 470px; height: 200px;">
234
+            </div>
227 235
 
228
-        <table id="tableMessage" cellpadding="3" cellspacing="3" border="0" style="width: 100%;">
229
-            <tr>
230
-                <td valign="top" style="padding: 0px 2px 5px 2px;">
231
-                    <div class="tools_box">
232
-                        <asp:HiddenField ID="txtUserId" runat="server" />
233
-                        <div class="tools_bar">
234
-                            <div class="search_box" style="float: left;">
235
-                                外呼计划:
236
+            <table id="tableMessage" cellpadding="3" cellspacing="3" border="0" style="width: 100%;">
237
+                <tr>
238
+                    <td valign="top" style="padding: 0px 2px 5px 2px;">
239
+                        <div class="tools_box">
240
+                            <asp:HiddenField ID="txtUserId" runat="server" />
241
+                            <div class="tools_bar">
242
+                                <div class="search_box" style="float: left;">
243
+                                    外呼计划:
236 244
                            
237 245
                                 <asp:HiddenField ID="txtPlanId" runat="server" Value="" />
238
-                                <asp:TextBox ID="txtPlanName" runat="server" CssClass="txtInput normal" onclick="SelectPlan();"
239
-                                    onPropertyChange="ChangeKey();" Style="width: 100px;"></asp:TextBox>&nbsp;关键字:<asp:TextBox
240
-                                        ID="txtKeywords" runat="server" Style="width: 80px;" CssClass="txtInput"></asp:TextBox>&nbsp;&nbsp;开始回访时间:<asp:TextBox ID="txtStartTime" runat="server" CssClass="txtInput" Width="100px" onfocus="WdatePicker({skin:'whyGreen'})"></asp:TextBox>&nbsp;&nbsp;结束时间:<asp:TextBox ID="txtEndTime" runat="server" CssClass="txtInput" Width="100px" onfocus="WdatePicker({skin:'whyGreen'})"></asp:TextBox>
246
+                                    <asp:TextBox ID="txtPlanName" runat="server" CssClass="txtInput normal" onclick="SelectPlan();"
247
+                                        onPropertyChange="ChangeKey();" Style="width: 100px;"></asp:TextBox>&nbsp;关键字:<asp:TextBox
248
+                                            ID="txtKeywords" runat="server" Style="width: 80px;" CssClass="txtInput"></asp:TextBox>&nbsp;&nbsp;开始回访时间:<asp:TextBox ID="txtStartTime" runat="server" CssClass="txtInput" Width="100px" onfocus="WdatePicker({skin:'whyGreen'})"></asp:TextBox>&nbsp;&nbsp;结束时间:<asp:TextBox ID="txtEndTime" runat="server" CssClass="txtInput" Width="100px" onfocus="WdatePicker({skin:'whyGreen'})"></asp:TextBox>
249
+                                </div>
241 250
                             </div>
242 251
                         </div>
243
-                    </div>
244
-                    <div class="tools_box">
245
-                        <div class="tools_bar">
246
-                            <div class="search_box" style="float: left;">
247
-                                呼叫状态:<asp:DropDownList ID="dropHC" runat="server" onchange="LoadTelList();" CssClass="selectBox" Width="80px">
248
-                                    <asp:ListItem Value="">--全部--</asp:ListItem>
249
-                                    <asp:ListItem Value="0">未呼叫</asp:ListItem>
250
-                                    <asp:ListItem Value="1">已呼叫</asp:ListItem>
251
-                                </asp:DropDownList>&nbsp;&nbsp;接通状态:<asp:DropDownList ID="dropYJ" runat="server" onchange="LoadTelList();" CssClass="selectBox" Width="80px">
252
-                                    <asp:ListItem Value="">--全部--</asp:ListItem>
253
-                                    <asp:ListItem Value="0">未接通</asp:ListItem>
254
-                                    <asp:ListItem Value="1">已接通</asp:ListItem>
255
-                                </asp:DropDownList>&nbsp;&nbsp;呼叫结果:<asp:DropDownList ID="dropHJJG" runat="server" onchange="LoadTelList();" CssClass="selectBox" Width="80px">
256
-                                    <asp:ListItem Value="">--全部--</asp:ListItem>
257
-                                </asp:DropDownList>&nbsp;&nbsp;
252
+                        <div class="tools_box">
253
+                            <div class="tools_bar">
254
+                                <div class="search_box" style="float: left;">
255
+                                    呼叫状态:<asp:DropDownList ID="dropHC" runat="server" onchange="LoadTelList();" CssClass="selectBox" Width="80px">
256
+                                        <asp:ListItem Value="">--全部--</asp:ListItem>
257
+                                        <asp:ListItem Value="0">未呼叫</asp:ListItem>
258
+                                        <asp:ListItem Value="1">已呼叫</asp:ListItem>
259
+                                    </asp:DropDownList>&nbsp;&nbsp;接通状态:<asp:DropDownList ID="dropYJ" runat="server" onchange="LoadTelList();" CssClass="selectBox" Width="80px">
260
+                                        <asp:ListItem Value="">--全部--</asp:ListItem>
261
+                                        <asp:ListItem Value="0">未接通</asp:ListItem>
262
+                                        <asp:ListItem Value="1">已接通</asp:ListItem>
263
+                                    </asp:DropDownList>&nbsp;&nbsp;呼叫结果:<asp:DropDownList ID="dropHJJG" runat="server" onchange="LoadTelList();" CssClass="selectBox" Width="80px">
264
+                                        <asp:ListItem Value="">--全部--</asp:ListItem>
265
+                                    </asp:DropDownList>&nbsp;&nbsp;
258 266
 								&nbsp;&nbsp;用户反馈:<asp:DropDownList ID="dropYHFK" runat="server" onchange="LoadTelList();" CssClass="selectBox" Width="80px">
259
-                                <asp:ListItem Value="">--全部--</asp:ListItem>
260
-								</asp:DropDownList>
261
-                                <input id="btnSearch" type="button" value="搜 索" class="btnSearch" onclick="LoadTelList();" />
262
-                            </div>
267
+                                    <asp:ListItem Value="">--全部--</asp:ListItem>
268
+                                </asp:DropDownList>
269
+                                    <input id="btnSearch" type="button" value="搜 索" class="btnSearch" onclick="LoadTelList();" />
270
+                                </div>
263 271
 
272
+                            </div>
264 273
                         </div>
265
-                    </div>
266
-                </div>
267
-                <div id="divTelList">
268
-                </div>
269
-            </td>
274
+        </div>
275
+        <div id="divTelList">
276
+        </div>
277
+        </td>
270 278
         </tr>
271 279
     </table>
272 280
     </form>

+ 91 - 265
HyBaseCallCenter/BaseCallCenter.Web/calloutmanage/callplantaskresultdata.aspx

@@ -1,12 +1,11 @@
1 1
 <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="callplantaskresultdata.aspx.cs" Inherits="HySoft.BaseCallCenter.Web.calloutmanage.callplantaskresultdata" %>
2 2
 
3 3
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
-
5 4
 <html xmlns="http://www.w3.org/1999/xhtml">
6 5
 <head id="Head1" runat="server">
7 6
     <title>评测结果</title>
8 7
     <link href="../scripts/ui/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css" />
9
-   <script src="/scripts/jquery/jquery-1.8.3.min.js" type="text/javascript"></script>
8
+    <script src="/scripts/jquery/jquery-1.8.3.min.js" type="text/javascript"></script>
10 9
     <script type="text/javascript" src="/scripts/jquery/jquery.form.js"></script>
11 10
     <script type="text/javascript" src="/scripts/jquery/jquery.validate.min.js"></script>
12 11
     <script type="text/javascript" src="/scripts/jquery/messages_cn.js"></script>
@@ -21,7 +20,7 @@
21 20
     <link href="../scripts/ui/skins/ligerui-icons.css" rel="stylesheet" type="text/css" />
22 21
     <script src="../scripts/My97DatePicker/lang/zh-cn.js" type="text/javascript"></script>
23 22
     <link href="../images/style.css" rel="stylesheet" type="text/css" />
24
-     <script src="../scripts/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
23
+    <script src="../scripts/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
25 24
     <script type="text/javascript">
26 25
         var selectplan = "";
27 26
         var tellist;
@@ -39,7 +38,8 @@
39 38
             }
40 39
             catch (e) {
41 40
             }
42
-            $.ligerDialog.open({ url: 'calloutopt.aspx?otype=new&id=' + id + '&taskid=' + taskid + '&phone=' + phone, title: vtitle, height: vheight, width: vwidth, isResize: true
41
+            $.ligerDialog.open({
42
+                url: 'calloutopt.aspx?otype=new&id=' + id + '&taskid=' + taskid + '&phone=' + phone, title: vtitle, height: vheight, width: vwidth, isResize: true
43 43
             });
44 44
         }
45 45
         function ShowInfo(id, taskid, phone) {
@@ -54,7 +54,8 @@
54 54
             }
55 55
             catch (e) {
56 56
             }
57
-            $.ligerDialog.open({ url: 'calloutoptshow.aspx?otype=new&id=' + id + '&taskid=' + taskid + '&phone=' + phone, title: vtitle, height: vheight, width: vwidth, isResize: true
57
+            $.ligerDialog.open({
58
+                url: 'calloutoptshow.aspx?otype=new&id=' + id + '&taskid=' + taskid + '&phone=' + phone, title: vtitle, height: vheight, width: vwidth, isResize: true
58 59
             });
59 60
         }
60 61
         function ShowTelInfo(id, taskid, phone) {
@@ -69,7 +70,8 @@
69 70
             }
70 71
             catch (e) {
71 72
             }
72
-            $.ligerDialog.open({ url: 'calloutoptrecordlist.aspx?otype=new&id=' + id + '&taskid=' + taskid + '&phone=' + phone, title: vtitle, height: vheight, width: vwidth, isResize: true
73
+            $.ligerDialog.open({
74
+                url: 'calloutoptrecordlist.aspx?otype=new&id=' + id + '&taskid=' + taskid + '&phone=' + phone, title: vtitle, height: vheight, width: vwidth, isResize: true
73 75
             });
74 76
         }
75 77
         var pagesize = 20;
@@ -94,7 +96,7 @@
94 96
             if (selectplan != "") {
95 97
                 $.ajax({
96 98
                     type: 'get',
97
-					url: 'ajax/callplanresultdata.aspx?action=resulstdata&pagesize=' + pagesize + '&pageindex=' + pageindex + '&userid=' + userid + '&taskid=' + selectplan + '&key=' + key + '&fpstate=' + fpstate + '&hcstate=' + hcstate + '&yjstate=' + yjstate + '&starttime=' + starttime + '&endtime=' + endtime + '&hjjg=' + hjjg + "&timeno=" + timeno + "&khbqid=" + khbqid + '&tasktype=1'+ '&yhfk=' + yhfk ,
99
+                    url: 'ajax/callplanresultdata.aspx?action=resulstdata&pagesize=' + pagesize + '&pageindex=' + pageindex + '&userid=' + userid + '&taskid=' + selectplan + '&key=' + key + '&fpstate=' + fpstate + '&hcstate=' + hcstate + '&yjstate=' + yjstate + '&starttime=' + starttime + '&endtime=' + endtime + '&hjjg=' + hjjg + "&timeno=" + timeno + "&khbqid=" + khbqid + '&tasktype=1' + '&yhfk=' + yhfk,
98 100
                     dataType: 'html',
99 101
                     success: function (res) {
100 102
                         try {
@@ -235,8 +237,7 @@
235 237
 <body>
236 238
     <form id="form1" runat="server">
237 239
         <div class="l-loading" style="display: block" id="pageloading">
238
-            数据查询中...
239
-       
240
+            数据查询中... 
240 241
         </div>
241 242
         <asp:HiddenField ID="htHtmlReport" runat="server" />
242 243
         <div id="divShowPlanList" style="display: none; position: absolute; z-index: 9999; top: 38px; left: 7px; width: 470px; height: 230px;">
@@ -244,265 +245,90 @@
244 245
             </div>
245 246
         </div>
246 247
         <table id="tableMessage" cellpadding="3" cellspacing="3" border="0" style="width: 100%;">
247
-            <tr>
248
-                <td valign="top" style="padding: 0px 2px 5px 2px;">
249
-                    <div class="tools_box">
250
-                        <asp:HiddenField ID="txtUserId" runat="server" />
251
-                        <div class="tools_bar">
252
-                            <div class="search_box" style="float: left;">
253
-                                外呼计划:
254
-                           
255
-                                <asp:HiddenField ID="txtPlanId" runat="server" Value="" />
256
-                                <asp:TextBox ID="txtPlanName" runat="server" CssClass="txtInput normal" onclick="SelectPlan();"
257
-                                    onPropertyChange="ChangeKey();" Style="width: 100px;"></asp:TextBox>&nbsp;关键字:<asp:TextBox
258
-                                        ID="txtKeywords" runat="server" Style="width: 80px;" CssClass="txtInput"></asp:TextBox>&nbsp;&nbsp;开始回访时间:<asp:TextBox ID="txtStartTime" runat="server" CssClass="txtInput" Width="100px" onfocus="WdatePicker({skin:'whyGreen'})"></asp:TextBox>&nbsp;&nbsp;结束时间:<asp:TextBox ID="txtEndTime" runat="server" CssClass="txtInput" Width="100px" onfocus="WdatePicker({skin:'whyGreen'})"></asp:TextBox>
248
+            <tbody>
249
+                <tr>
250
+                    <td valign="top" style="padding: 0px 2px 5px 2px;">
251
+                        <div class="tools_box">
252
+                            <asp:HiddenField ID="txtUserId" runat="server" />
253
+                            <div class="tools_bar">
254
+                                <div class="search_box" style="float: left;">
255
+                                    外呼计划: 
256
+          <asp:HiddenField ID="txtPlanId" runat="server" Value="" />
257
+                                    <asp:TextBox ID="txtPlanName" runat="server" CssClass="txtInput normal" onclick="SelectPlan();" onpropertychange="ChangeKey();" Style="width: 100px;"></asp:TextBox>&nbsp;关键字:
258
+          <asp:TextBox ID="txtKeywords" runat="server" Style="width: 80px;" CssClass="txtInput"></asp:TextBox>&nbsp;&nbsp;开始回访时间:
259
+          <asp:TextBox ID="txtStartTime" runat="server" CssClass="txtInput" Width="100px" onfocus="WdatePicker({skin:'whyGreen'})"></asp:TextBox>&nbsp;&nbsp;结束时间:
260
+          <asp:TextBox ID="txtEndTime" runat="server" CssClass="txtInput" Width="100px" onfocus="WdatePicker({skin:'whyGreen'})"></asp:TextBox>
261
+                                </div>
259 262
                             </div>
260 263
                         </div>
261
-                    </div>
262
-                    <div class="tools_box">
263
-                        <div class="tools_bar">
264
-                            <div class="search_box" style="float: left;">
265
-                                坐席:
266
-								<asp:DropDownList ID="ddlAccount" runat="server" CssClass="selectBox" onchange="pagination(1);" Width="70px"></asp:DropDownList>
267
-								&nbsp;&nbsp;分配状态:
268
-								<asp:DropDownList ID="dropFP" runat="server" onchange="pagination(1);" CssClass="selectBox" Width="80px">
269
-                                    <asp:ListItem Value="">--全部--</asp:ListItem>
270
-                                    <asp:ListItem Value="0">未分配</asp:ListItem>
271
-                                    <asp:ListItem Value="1">已分配</asp:ListItem>
272
-                                </asp:DropDownList>
273
-								&nbsp;&nbsp;呼叫状态:
274
-								<asp:DropDownList ID="dropHC" runat="server" onchange="pagination(1);" CssClass="selectBox" Width="80px">
275
-                                    <asp:ListItem Value="">--全部--</asp:ListItem>
276
-                                    <asp:ListItem Value="0">未呼叫</asp:ListItem>
277
-                                    <asp:ListItem Value="1">已呼叫</asp:ListItem>
278
-                                </asp:DropDownList>
279
-								&nbsp;&nbsp;接通状态:
280
-								<asp:DropDownList ID="dropYJ" runat="server" onchange="pagination(1);" CssClass="selectBox" Width="80px">
281
-                                    <asp:ListItem Value="">--全部--</asp:ListItem>
282
-                                    <asp:ListItem Value="0">未接通</asp:ListItem>
283
-                                    <asp:ListItem Value="1">已接通</asp:ListItem>
284
-                                </asp:DropDownList>
285
-								&nbsp;&nbsp;呼叫结果:
286
-								<asp:DropDownList ID="dropHJJG" runat="server" onchange="LoadTelList();" CssClass="selectBox" Width="80px">
287
-                                    <asp:ListItem Value="">--全部--</asp:ListItem>
288
-                                </asp:DropDownList>&nbsp;&nbsp;
289
-								&nbsp;&nbsp;用户反馈:
290
-								<asp:DropDownList ID="dropYHFK" runat="server" onchange="LoadTelList();" CssClass="selectBox" Width="80px">
291
-                                <asp:ListItem Value="">--全部--</asp:ListItem>
292
-								</asp:DropDownList>
293
-							
294
-								客户标签:
295
-								<asp:DropDownList ID="dropKHBQ" runat="server" onchange="LoadTelList();" CssClass="selectBox" Width="80px"></asp:DropDownList>
296
-                                
297
-								<input id="btnSearch" type="button" value="搜 索" class="btnSearch" onclick="pagination(1);" />&nbsp;&nbsp;
298
-								<input id="Button1" type="button" value="导出Excel" class="btnSearch" onclick="DaoChu();" />
299
-                                <iframe id="exportExcelFrame" src="" style="display: none;"></iframe>
300
-                                <%--<asp:LinkButton ID="exportExcel" Height="24px" runat="server" class="btnSearch" OnClientClick="return DaoChu()" >导出Excel</asp:LinkButton>--%>
264
+                        <div class="tools_box">
265
+                            <div class="tools_bar">
266
+                                <div class="search_box" style="float: left;">
267
+                                    坐席: 
268
+          <asp:DropDownList ID="ddlAccount" runat="server" CssClass="selectBox" onchange="pagination(1);" Width="70px"></asp:DropDownList>
269
+                                    &nbsp;&nbsp;分配状态: 
270
+          <asp:DropDownList ID="dropFP" runat="server" onchange="pagination(1);" CssClass="selectBox" Width="80px">
271
+              <asp:ListItem Value="">
272
+            --全部--
273
+              </asp:ListItem>
274
+              <asp:ListItem Value="0">
275
+            未分配
276
+              </asp:ListItem>
277
+              <asp:ListItem Value="1">
278
+            已分配
279
+              </asp:ListItem>
280
+          </asp:DropDownList>
281
+                                    &nbsp;&nbsp;呼叫状态: 
282
+          <asp:DropDownList ID="dropHC" runat="server" onchange="pagination(1);" CssClass="selectBox" Width="80px">
283
+              <asp:ListItem Value="">
284
+            --全部--
285
+              </asp:ListItem>
286
+              <asp:ListItem Value="0">
287
+            未呼叫
288
+              </asp:ListItem>
289
+              <asp:ListItem Value="1">
290
+            已呼叫
291
+              </asp:ListItem>
292
+          </asp:DropDownList>
293
+                                    &nbsp;&nbsp;接通状态: 
294
+          <asp:DropDownList ID="dropYJ" runat="server" onchange="pagination(1);" CssClass="selectBox" Width="80px">
295
+              <asp:ListItem Value="">
296
+            --全部--
297
+              </asp:ListItem>
298
+              <asp:ListItem Value="0">
299
+            未接通
300
+              </asp:ListItem>
301
+              <asp:ListItem Value="1">
302
+            已接通
303
+              </asp:ListItem>
304
+          </asp:DropDownList>
305
+                                    &nbsp;&nbsp;呼叫结果: 
306
+          <asp:DropDownList ID="dropHJJG" runat="server" onchange="LoadTelList();" CssClass="selectBox" Width="80px">
307
+              <asp:ListItem Value="">
308
+            --全部--
309
+              </asp:ListItem>
310
+          </asp:DropDownList>
311
+                                    &nbsp;&nbsp;用户反馈: 
312
+          <asp:DropDownList ID="dropYHFK" runat="server" onchange="LoadTelList();" CssClass="selectBox" Width="80px">
313
+              <asp:ListItem Value="">
314
+            --全部--
315
+              </asp:ListItem>
316
+          </asp:DropDownList>
317
+                                    客户标签: 
318
+          <asp:DropDownList ID="dropKHBQ" runat="server" onchange="LoadTelList();" CssClass="selectBox" Width="80px"></asp:DropDownList>
319
+                                    <input id="btnSearch" type="button" value="搜 索" class="btnSearch" onclick="pagination(1);" />&nbsp;&nbsp; 
320
+          <input id="Button1" type="button" value="导出Excel" class="btnSearch" onclick="DaoChu();" />
321
+                                    <iframe id="exportExcelFrame" src="#" style="display: none;"></iframe>
322
+
323
+                                </div>
301 324
                             </div>
302
-						</div>
303
-                    </div>
304
-                </div>
305
-                <div id="divTelList">
306
-                <br />
307
-                <h1 style='font-size: 18px; font-weight: bold; color: #333333; text-align: center;
308
-                    width: 100%;'>
309
-                    <b>外呼计划回访数据</b></h1>
310
-                <br />
311
-        <table border="0" cellpadding="0" cellspacing="0" width="99%" style="display:none;" align='center'>
312
-                    <tr style="text-align: center;">
313
-                        <td style="height: 18px; background-color: #D5EDFE; border-left: 1px solid #CCCCCC;
314
-                            border-right: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
315
-                            padding: 3px 3px 3px 3px; text-align: center;">
316
-                            外呼计划
317
-                        </td>
318
-                        <td style="height: 18px; background-color: #D5EDFE; border-left: 1px solid #CCCCCC;
319
-                            border-right: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
320
-                            padding: 3px 3px 3px 3px; text-align: center;">
321
-                            号码
322
-                        </td>
323
-                        <td style="height: 18px; background-color: #D5EDFE; border-left: 1px solid #CCCCCC;
324
-                            border-right: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
325
-                            padding: 3px 3px 3px 3px; text-align: center;">
326
-                            名称
327
-                        </td>
328
-                        <td style="height: 18px; background-color: #D5EDFE; border-left: 1px solid #CCCCCC;
329
-                            border-right: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
330
-                            padding: 3px 3px 3px 3px; text-align: center;">
331
-                            门店
332
-                        </td>
333
-                        <td style="height: 18px; background-color: #D5EDFE; border-left: 1px solid #CCCCCC;
334
-                            border-right: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
335
-                            padding: 3px 3px 3px 3px; text-align: center;">
336
-                            回访坐席
337
-                        </td>
338
-                        <td style="height: 18px; background-color: #D5EDFE; border-left: 1px solid #CCCCCC;
339
-                            border-right: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
340
-                            padding: 3px 3px 3px 3px; text-align: center;">
341
-                            呼叫状态
342
-                        </td>
343
-                        <td style="height: 18px; background-color: #D5EDFE; border-left: 1px solid #CCCCCC;
344
-                            border-right: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
345
-                            padding: 3px 3px 3px 3px; text-align: center;">
346
-                            购物时遇到导购是否主动问好
347
-                        </td>
348
-                        <td style="height: 18px; background-color: #D5EDFE; border-left: 1px solid #CCCCCC;
349
-                            border-right: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
350
-                            padding: 3px 3px 3px 3px; text-align: center;">
351
-                            结账时是否给小票 
352
-                        </td>
353
-                        <td style="height: 18px; background-color: #D5EDFE; border-left: 1px solid #CCCCCC;
354
-                            border-right: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
355
-                            padding: 3px 3px 3px 3px; text-align: center;">
356
-                            是否介绍商品存放周期或使用方法 
357
-                        </td>
358
-                        <td style="height: 18px; background-color: #D5EDFE; border-left: 1px solid #CCCCCC;
359
-                            border-right: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
360
-                            padding: 3px 3px 3px 3px; text-align: center;">
361
-                            介绍当季育儿注意事项 
362
-                        </td>
363
-                        <td style="height: 18px; background-color: #D5EDFE; border-left: 1px solid #CCCCCC;
364
-                            border-right: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
365
-                            padding: 3px 3px 3px 3px; text-align: center;">
366
-                            整体服务满意 
367
-                        </td>
368
-                        <td style="height: 18px; background-color: #D5EDFE; border-left: 1px solid #CCCCCC;
369
-                            border-right: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
370
-                            padding: 3px 3px 3px 3px; text-align: center;">
371
-                            意见建议
372
-                        </td>
373
-                    </tr>
374
-                    <tr align="center" valign="middle" onmouseover="this.style.backgroundColor='#F6F6F6'"
375
-                        onmouseout="this.style.backgroundColor='#ffffff'" bgcolor="#ffffff">
376
-                        <td style="width:120px; vertical-align: middle; border-top: 0px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
377
-                            border-left: 1px solid #CCCCCC; border-right: 1px solid #CCCCCC; padding-left: 2px;
378
-                            height: 18px; padding-top: 3px; padding-bottom: 3px;">
379
-                            &nbsp;
380
-                        </td>
381
-                        <td style="width:120px; vertical-align: middle; border-top: 0px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
382
-                            border-left: 1px solid #CCCCCC; border-right: 1px solid #CCCCCC; padding-left: 2px;
383
-                            height: 18px; padding-top: 3px; padding-bottom: 3px;">
384
-                            &nbsp;
385
-                        </td>
386
-                        <td style="width:100px; vertical-align: middle; border-top: 0px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
387
-                            border-left: 1px solid #CCCCCC; border-right: 1px solid #CCCCCC; padding-left: 2px;
388
-                            height: 18px; padding-top: 3px; padding-bottom: 3px;">
389
-                            &nbsp;
390
-                        </td>
391
-                        <td style="width:120px; vertical-align: middle; border-top: 0px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
392
-                            border-left: 1px solid #CCCCCC; border-right: 1px solid #CCCCCC; padding-left: 2px;
393
-                            height: 18px; padding-top: 3px; padding-bottom: 3px;">
394
-                            &nbsp;
395
-                        </td>
396
-                        <td style="width:80px; vertical-align: middle; border-top: 0px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
397
-                            border-left: 1px solid #CCCCCC; border-right: 1px solid #CCCCCC; padding-left: 2px;
398
-                            height: 18px; padding-top: 3px; padding-bottom: 3px;">
399
-                            &nbsp;
400
-                        </td>
401
-                        <td style="vertical-align: middle; border-top: 0px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
402
-                            border-left: 1px solid #CCCCCC; border-right: 1px solid #CCCCCC; padding-left: 2px;
403
-                            height: 18px; padding-top: 3px; padding-bottom: 3px;">
404
-                            &nbsp;
405
-                        </td>
406
-                        <td style="vertical-align: middle; border-top: 0px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
407
-                            border-left: 1px solid #CCCCCC; border-right: 1px solid #CCCCCC; padding-left: 2px;
408
-                            height: 18px; padding-top: 3px; padding-bottom: 3px;">
409
-                            &nbsp;
410
-                        </td>
411
-                        <td style="vertical-align: middle; border-top: 0px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
412
-                            border-left: 1px solid #CCCCCC; border-right: 1px solid #CCCCCC; padding-left: 2px;
413
-                            height: 18px; padding-top: 3px; padding-bottom: 3px;">
414
-                            &nbsp;
415
-                        </td>
416
-                        <td style="vertical-align: middle; border-top: 0px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
417
-                            border-left: 1px solid #CCCCCC; border-right: 1px solid #CCCCCC; padding-left: 2px;
418
-                            height: 18px; padding-top: 3px; padding-bottom: 3px;">
419
-                            &nbsp;
420
-                        </td>
421
-                        <td style="vertical-align: middle; border-top: 0px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
422
-                            border-left: 1px solid #CCCCCC; border-right: 1px solid #CCCCCC; padding-left: 2px;
423
-                            height: 18px; padding-top: 3px; padding-bottom: 3px;">
424
-                            &nbsp;
425
-                        </td>
426
-                        <td style="vertical-align: middle; border-top: 0px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
427
-                            border-left: 1px solid #CCCCCC; border-right: 1px solid #CCCCCC; padding-left: 2px;
428
-                            height: 18px; padding-top: 3px; padding-bottom: 3px;">
429
-                            &nbsp;
430
-                        </td>
431
-                        <td style="vertical-align: middle; border-top: 0px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
432
-                            border-left: 1px solid #CCCCCC; border-right: 1px solid #CCCCCC; padding-left: 2px;
433
-                            height: 18px; padding-top: 3px; padding-bottom: 3px;">
434
-                            &nbsp;
435
-                        </td>
436
-                    </tr>
437
-                    <tr align="center" valign="middle" onmouseover="this.style.backgroundColor='#F6F6F6'"
438
-                        onmouseout="this.style.backgroundColor='#ffffff'" bgcolor="#ffffff">
439
-                        <td style="width:120px; vertical-align: middle; border-top: 0px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
440
-                            border-left: 1px solid #CCCCCC; border-right: 1px solid #CCCCCC; padding-left: 2px;
441
-                            height: 18px; padding-top: 3px; padding-bottom: 3px;">
442
-                            &nbsp;
443
-                        </td>
444
-                        <td style="width:120px; vertical-align: middle; border-top: 0px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
445
-                            border-left: 1px solid #CCCCCC; border-right: 1px solid #CCCCCC; padding-left: 2px;
446
-                            height: 18px; padding-top: 3px; padding-bottom: 3px;">
447
-                            &nbsp;
448
-                        </td>
449
-                        <td style="width:100px; vertical-align: middle; border-top: 0px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
450
-                            border-left: 1px solid #CCCCCC; border-right: 1px solid #CCCCCC; padding-left: 2px;
451
-                            height: 18px; padding-top: 3px; padding-bottom: 3px;">
452
-                            &nbsp;
453
-                        </td>
454
-                        <td style="width:120px; vertical-align: middle; border-top: 0px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
455
-                            border-left: 1px solid #CCCCCC; border-right: 1px solid #CCCCCC; padding-left: 2px;
456
-                            height: 18px; padding-top: 3px; padding-bottom: 3px;">
457
-                            &nbsp;
458
-                        </td>
459
-                        <td style="width:80px; vertical-align: middle; border-top: 0px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
460
-                            border-left: 1px solid #CCCCCC; border-right: 1px solid #CCCCCC; padding-left: 2px;
461
-                            height: 18px; padding-top: 3px; padding-bottom: 3px;">
462
-                            &nbsp;
463
-                        </td>
464
-                        <td style="vertical-align: middle; border-top: 0px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
465
-                            border-left: 1px solid #CCCCCC; border-right: 1px solid #CCCCCC; padding-left: 2px;
466
-                            height: 18px; padding-top: 3px; padding-bottom: 3px;">
467
-                            &nbsp;
468
-                        </td>
469
-                        <td style="vertical-align: middle; border-top: 0px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
470
-                            border-left: 1px solid #CCCCCC; border-right: 1px solid #CCCCCC; padding-left: 2px;
471
-                            height: 18px; padding-top: 3px; padding-bottom: 3px;">
472
-                            &nbsp;
473
-                        </td>
474
-                        <td style="vertical-align: middle; border-top: 0px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
475
-                            border-left: 1px solid #CCCCCC; border-right: 1px solid #CCCCCC; padding-left: 2px;
476
-                            height: 18px; padding-top: 3px; padding-bottom: 3px;">
477
-                            &nbsp;
478
-                        </td>
479
-                        <td style="vertical-align: middle; border-top: 0px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
480
-                            border-left: 1px solid #CCCCCC; border-right: 1px solid #CCCCCC; padding-left: 2px;
481
-                            height: 18px; padding-top: 3px; padding-bottom: 3px;">
482
-                            &nbsp;
483
-                        </td>
484
-                        <td style="vertical-align: middle; border-top: 0px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
485
-                            border-left: 1px solid #CCCCCC; border-right: 1px solid #CCCCCC; padding-left: 2px;
486
-                            height: 18px; padding-top: 3px; padding-bottom: 3px;">
487
-                            &nbsp;
488
-                        </td>
489
-                        <td style="vertical-align: middle; border-top: 0px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
490
-                            border-left: 1px solid #CCCCCC; border-right: 1px solid #CCCCCC; padding-left: 2px;
491
-                            height: 18px; padding-top: 3px; padding-bottom: 3px;">
492
-                            &nbsp;
493
-                        </td>
494
-                        <td style="vertical-align: middle; border-top: 0px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
495
-                            border-left: 1px solid #CCCCCC; border-right: 1px solid #CCCCCC; padding-left: 2px;
496
-                            height: 18px; padding-top: 3px; padding-bottom: 3px;">
497
-                            &nbsp;
498
-                        </td>
499
-                    </tr>
500
-                </table>
501
-                <br />
502
-                </div>
503
-            </td>
504
-        </tr>
505
-    </table>
325
+                        </div>
326
+                        <div id="divTelList">
327
+                        </div>
328
+                    </td>
329
+                </tr>
330
+            </tbody>
331
+        </table>
506 332
     </form>
507 333
 </body>
508 334
 </html>

+ 9 - 0
HyBaseCallCenter/BaseCallCenter.Web/calloutmanage/callplantaskresultdata.aspx.designer.cs

@@ -146,5 +146,14 @@ namespace HySoft.BaseCallCenter.Web.calloutmanage {
146 146
         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
147 147
         /// </remarks>
148 148
         protected global::System.Web.UI.WebControls.DropDownList dropYHFK;
149
+        
150
+        /// <summary>
151
+        /// dropKHBQ 控件。
152
+        /// </summary>
153
+        /// <remarks>
154
+        /// 自动生成的字段。
155
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
156
+        /// </remarks>
157
+        protected global::System.Web.UI.WebControls.DropDownList dropKHBQ;
149 158
     }
150 159
 }

+ 74 - 66
HyBaseCallCenter/BaseCallCenter.Web/calloutmanage/callplantaskresultsearch.aspx

@@ -5,7 +5,7 @@
5 5
 <head id="Head1" runat="server">
6 6
     <title>任务结果查询</title>
7 7
     <link href="../scripts/ui/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css" />
8
-   <script src="/scripts/jquery/jquery-1.8.3.min.js" type="text/javascript"></script>
8
+    <script src="/scripts/jquery/jquery-1.8.3.min.js" type="text/javascript"></script>
9 9
     <script type="text/javascript" src="/scripts/jquery/jquery.form.js"></script>
10 10
     <script type="text/javascript" src="/scripts/jquery/jquery.validate.min.js"></script>
11 11
     <script type="text/javascript" src="/scripts/jquery/messages_cn.js"></script>
@@ -20,7 +20,7 @@
20 20
     <link href="../scripts/ui/skins/ligerui-icons.css" rel="stylesheet" type="text/css" />
21 21
     <script src="../scripts/My97DatePicker/lang/zh-cn.js" type="text/javascript"></script>
22 22
     <link href="../images/style.css" rel="stylesheet" type="text/css" />
23
-     <script src="../scripts/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
23
+    <script src="../scripts/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
24 24
     <script type="text/javascript">
25 25
         var selectplan = "";
26 26
         var tellist;
@@ -41,7 +41,8 @@
41 41
             }
42 42
             catch (e) {
43 43
             }
44
-            $.ligerDialog.open({ url: 'calloutopt.aspx?otype=new&id=' + id + '&taskid=' + taskid + '&phone=' + phone, title: vtitle, height: vheight, width: vwidth, isResize: true
44
+            $.ligerDialog.open({
45
+                url: 'calloutopt.aspx?otype=new&id=' + id + '&taskid=' + taskid + '&phone=' + phone, title: vtitle, height: vheight, width: vwidth, isResize: true
45 46
             });
46 47
         }
47 48
         function ShowInfo(id, taskid, phone) {
@@ -56,7 +57,8 @@
56 57
             }
57 58
             catch (e) {
58 59
             }
59
-            $.ligerDialog.open({ url: 'calloutoptshow.aspx?otype=new&id=' + id + '&taskid=' + taskid + '&phone=' + phone, title: vtitle, height: vheight, width: vwidth, isResize: true
60
+            $.ligerDialog.open({
61
+                url: 'calloutoptshow.aspx?otype=new&id=' + id + '&taskid=' + taskid + '&phone=' + phone, title: vtitle, height: vheight, width: vwidth, isResize: true
60 62
             });
61 63
         }
62 64
         function ShowTelInfo(id, taskid, phone) {
@@ -71,7 +73,8 @@
71 73
             }
72 74
             catch (e) {
73 75
             }
74
-            $.ligerDialog.open({ url: 'calloutoptrecordlist.aspx?otype=new&id=' + id + '&taskid=' + taskid + '&phone=' + phone, title: vtitle, height: vheight, width: vwidth, isResize: true
76
+            $.ligerDialog.open({
77
+                url: 'calloutoptrecordlist.aspx?otype=new&id=' + id + '&taskid=' + taskid + '&phone=' + phone, title: vtitle, height: vheight, width: vwidth, isResize: true
75 78
             });
76 79
         }
77 80
         function LoadTelList() {
@@ -90,47 +93,52 @@
90 93
                 checkbox: true,
91 94
                 columns: [
92 95
                 { display: '外呼计划', align: 'center', width: '130', name: '_taskname' },
93
-                { display: '结果', width: '60', name: '_f_phone', render: function (rowdata, rowindex, value) {
94
-                    return "<a href=" + "\"javascript:onclick=ShowInfo('" + rowdata._f_id + "','" + rowdata._f_taskid + "','" + value + "')\">查看</a> "; ;
95
-                }
96
+                {
97
+                    display: '结果', width: '60', name: '_f_phone', render: function (rowdata, rowindex, value) {
98
+                        return "<a href=" + "\"javascript:onclick=ShowInfo('" + rowdata._f_id + "','" + rowdata._f_taskid + "','" + value + "')\">查看</a> ";;
99
+                    }
96 100
                 },
97
-                { display: '号码', width: '130', name: '_f_phone', render: function (rowdata, rowindex, value) {
98
-                    return "<img src='../images/phone3.png' style=\"cursor:hand; width:24px;\" title=\"拨打" + value + "\" onclick='CallOut(\"" + rowdata._f_id + "\",\"" + rowdata._f_taskid + "\",\"" + value + "\")' />&nbsp;&nbsp;<font color='green'>" + value + "</font>";
99
-                }
101
+                {
102
+                    display: '号码', width: '130', name: '_f_phone', render: function (rowdata, rowindex, value) {
103
+                        return "<img src='../images/phone3.png' style=\"cursor:hand; width:24px;\" title=\"拨打" + value + "\" onclick='CallOut(\"" + rowdata._f_id + "\",\"" + rowdata._f_taskid + "\",\"" + value + "\")' />&nbsp;&nbsp;<font color='green'>" + value + "</font>";
104
+                    }
100 105
                 },
101 106
                 { display: '名称', align: 'left', width: '130', name: '_f_customer' },
102
-                { display: '门店', align: 'left', width: '130', name: '_expandvchfield1' },
107
+
103 108
                 { display: '导入时间', align: 'center', width: '130', name: '_f_createtime', type: 'date', format: 'yyyy-MM-dd hh:mm:ss' },
104 109
                 { display: '分配坐席', align: 'center', width: '70', name: '_f_username' },
105
-                { display: '呼叫状态', align: 'center', width: '70', name: '_f_hcstate', render: function (rowdata, rowindex, value) {
106
-                    if (value == 0) {
107
-                        return "未呼叫";
108
-                    }
109
-                    else {
110
-                        return "已呼叫";
110
+                {
111
+                    display: '呼叫状态', align: 'center', width: '70', name: '_f_hcstate', render: function (rowdata, rowindex, value) {
112
+                        if (value == 0) {
113
+                            return "未呼叫";
114
+                        }
115
+                        else {
116
+                            return "已呼叫";
117
+                        }
111 118
                     }
112
-                }
113
-            },
119
+                },
114 120
                 { display: '呼叫结果', align: 'center', width: '70', name: '_f_hjjgname' },
115 121
                 { display: '用户反馈', align: 'center', width: '70', name: '_f_yhfkname' },
116
-                { display: '最后接通状态', align: 'center', width: '90', name: '_f_yjstate', render: function (rowdata, rowindex, value) {
117
-                    if (value == 0) {
118
-                        return "未接通";
119
-                    }
120
-                    else {
121
-                        return "已接通";
122
+                {
123
+                    display: '最后接通状态', align: 'center', width: '90', name: '_f_yjstate', render: function (rowdata, rowindex, value) {
124
+                        if (value == 0) {
125
+                            return "未接通";
126
+                        }
127
+                        else {
128
+                            return "已接通";
129
+                        }
122 130
                     }
123
-                }
124 131
                 },
125 132
                 { display: '最后呼叫时间', align: 'center', width: '130', name: '_lastcalltime', type: 'date', format: 'yyyy-MM-dd hh:mm:ss' },
126
-                { display: '呼叫次数', align: 'center', width: '70', name: '_calloutcount' },
127
-                { display: '接通次数', align: 'center', width: '70', name: '_calloutjtcount' },
128
-                { display: '通话记录', width: '60', name: '_f_id', render: function (rowdata, rowindex, value) {
129
-                    return "<a href=" + "\"javascript:onclick=ShowTelInfo('" + rowdata._f_id + "','" + rowdata._f_taskid + "','" + rowdata._f_phone + "')\">查看</a> "; ;
130
-                }
131
-                }
133
+                //{ display: '呼叫次数', align: 'center', width: '70', name: '_calloutcount' },
134
+                //{ display: '接通次数', align: 'center', width: '70', name: '_calloutjtcount' },
135
+                //{
136
+                //    display: '通话记录', width: '60', name: '_f_id', render: function (rowdata, rowindex, value) {
137
+                //        return "<a href=" + "\"javascript:onclick=ShowTelInfo('" + rowdata._f_id + "','" + rowdata._f_taskid + "','" + rowdata._f_phone + "')\">查看</a> ";;
138
+                //    }
139
+                //}
132 140
                 ],
133
-				url: 'ajax/callplantelnum.ashx?action=getsearchresultlist&tasktype=1&userid=' + userid + '&taskid=' + selectplan + '&key=' + key + '&fpstate=' + fpstate + '&hcstate=' + hcstate + '&yjstate=' + yjstate + '&starttime=' + starttime + '&endtime=' + endtime + '&hjjg=' + hjjg + '&yhfk=' + yhfk, pageSize: 50, pageSizeOptions: [10, 20, 50, 100], rownumbers: true,
141
+                url: 'ajax/callplantelnum.ashx?action=getsearchresultlist&tasktype=1&userid=' + userid + '&taskid=' + selectplan + '&key=' + key + '&fpstate=' + fpstate + '&hcstate=' + hcstate + '&yjstate=' + yjstate + '&starttime=' + starttime + '&endtime=' + endtime + '&hjjg=' + hjjg + '&yhfk=' + yhfk, pageSize: 50, pageSizeOptions: [10, 20, 50, 100], rownumbers: true,
134 142
                 onSelectRow: function (data, rowindex, rowobj) {
135 143
                 },
136 144
                 onSuccess: function (data, obj) {
@@ -228,24 +236,24 @@
228 236
             if (idStr == "") {
229 237
                 alert("请选择行!");
230 238
             } else {
231
-            $.ligerDialog.confirm('确定要删除选择的任务吗?', function (yes) {
232
-                if (yes) {
233
-                    var timeno = new Date().getTime();
234
-                    $.ajax({
235
-                        type: "get",
236
-                        url: "ajax/callplantelnum.ashx?action=deletetelnum&arrid=" + idStr.toString() + "&timeno=" + timeno,
237
-                        dataType: "html",
238
-                        success: function (res) {
239
-                            if (res == "success") {
240
-                                $.ligerDialog.success("删除成功");
241
-                                LoadTelList();
242
-                            } else {
243
-                                $.ligerDialog.error("删除失败");
239
+                $.ligerDialog.confirm('确定要删除选择的任务吗?', function (yes) {
240
+                    if (yes) {
241
+                        var timeno = new Date().getTime();
242
+                        $.ajax({
243
+                            type: "get",
244
+                            url: "ajax/callplantelnum.ashx?action=deletetelnum&arrid=" + idStr.toString() + "&timeno=" + timeno,
245
+                            dataType: "html",
246
+                            success: function (res) {
247
+                                if (res == "success") {
248
+                                    $.ligerDialog.success("删除成功");
249
+                                    LoadTelList();
250
+                                } else {
251
+                                    $.ligerDialog.error("删除失败");
252
+                                }
244 253
                             }
245
-                        }
246
-                    });
247
-                }
248
-            });
254
+                        });
255
+                    }
256
+                });
249 257
             }
250 258
         }
251 259
         function QXTelList() {
@@ -282,9 +290,9 @@
282 290
 </head>
283 291
 <body>
284 292
     <form id="form1" runat="server">
285
-    <div id="divShowPlanList" style="display: none; position: absolute; z-index: 9999;
286
-        top: 38px; left: 7px; width: 470px; height: 230px;">
287
-        <div id="divPlanList" style="width: 470px; height: 200px;">
293
+        <div id="divShowPlanList" style="display: none; position: absolute; z-index: 9999; top: 38px; left: 7px; width: 470px; height: 230px;">
294
+            <div id="divPlanList" style="width: 470px; height: 200px;">
295
+            </div>
288 296
         </div>
289 297
         <table id="tableMessage" cellpadding="3" cellspacing="3" border="0" style="width: 100%;">
290 298
             <tr>
@@ -307,31 +315,31 @@
307 315
                             <div class="search_box" style="float: left;">
308 316
                                 坐席:
309 317
 								<asp:DropDownList ID="ddlAccount" runat="server" CssClass="selectBox" onchange="LoadTelList();" Width="70px"></asp:DropDownList>
310
-								&nbsp;&nbsp;分配状态:
318
+                                &nbsp;&nbsp;分配状态:
311 319
 								<asp:DropDownList ID="dropFP" runat="server" onchange="LoadTelList();" CssClass="selectBox" Width="80px">
312 320
                                     <asp:ListItem Value="">--全部--</asp:ListItem>
313 321
                                     <asp:ListItem Value="0">未分配</asp:ListItem>
314 322
                                     <asp:ListItem Value="1">已分配</asp:ListItem>
315 323
                                 </asp:DropDownList>
316
-								&nbsp;&nbsp;呼叫状态:
324
+                                &nbsp;&nbsp;呼叫状态:
317 325
 								<asp:DropDownList ID="dropHC" runat="server" onchange="LoadTelList();" CssClass="selectBox" Width="80px">
318 326
                                     <asp:ListItem Value="">--全部--</asp:ListItem>
319 327
                                     <asp:ListItem Value="0">未呼叫</asp:ListItem>
320 328
                                     <asp:ListItem Value="1">已呼叫</asp:ListItem>
321 329
                                 </asp:DropDownList>
322
-								&nbsp;&nbsp;接通状态:
330
+                                &nbsp;&nbsp;接通状态:
323 331
 								<asp:DropDownList ID="dropYJ" runat="server" onchange="LoadTelList();" CssClass="selectBox" Width="80px">
324 332
                                     <asp:ListItem Value="">--全部--</asp:ListItem>
325 333
                                     <asp:ListItem Value="0">未接通</asp:ListItem>
326 334
                                     <asp:ListItem Value="1">已接通</asp:ListItem>
327 335
                                 </asp:DropDownList>
328
-								&nbsp;&nbsp;呼叫结果:
336
+                                &nbsp;&nbsp;呼叫结果:
329 337
 								<asp:DropDownList ID="dropHJJG" runat="server" onchange="LoadTelList();" CssClass="selectBox" Width="80px">
330 338
                                     <asp:ListItem Value="">--全部--</asp:ListItem>
331 339
                                 </asp:DropDownList>&nbsp;&nbsp;
332 340
 								&nbsp;&nbsp;用户反馈:<asp:DropDownList ID="dropYHFK" runat="server" onchange="LoadTelList();" CssClass="selectBox" Width="80px">
333
-                                <asp:ListItem Value="">--全部--</asp:ListItem>
334
-								</asp:DropDownList>
341
+                                    <asp:ListItem Value="">--全部--</asp:ListItem>
342
+                                </asp:DropDownList>
335 343
                                 <input id="btnSearch" type="button" value="搜 索" class="btnSearch" onclick="LoadTelList();" />&nbsp;&nbsp;
336 344
                            
337 345
                                 <input id="Button1" type="button" value="删 除" class="btnSearch" style="color: Red;" onclick="DeleteTelList();" />&nbsp;&nbsp;
@@ -340,12 +348,12 @@
340 348
                             </div>
341 349
                         </div>
342 350
                     </div>
343
-                </div>
344
-                <div id="divTelList">
345
-                </div>
346
-            </td>
347
-        </tr>
348
-    </table>
351
+                </td>
352
+            </tr>
353
+        </table>
354
+
355
+        <div id="divTelList">
356
+        </div>
349 357
     </form>
350 358
 </body>
351 359
 </html>