liuyifan 4 年 前
コミット
960557ff58

+ 1 - 0
WebUI/CallCenterWeb.UI/Appeal/Lawsuit.html

@@ -297,6 +297,7 @@
297 297
         </div>
298 298
         <input type="hidden" id="PID" />
299 299
         <input type="hidden" id="Dpment" />
300
+        <input type="hidden" id="phoneType" value="2" />
300 301
     </div>
301 302
     <script src="../js/layui/layui.js"></script>
302 303
     <script src="../js/bootstrap-select.js"></script>

+ 9 - 3
WebUI/CallCenterWeb.UI/CommonHtml/WorkDatil.html

@@ -890,7 +890,7 @@
890 890
                                     isProtect = result.data.data[0].F_IsProtect
891 891
                                     if (Data[0].F_CusPhone) {
892 892
                                         if (roleCode === "GLY" || roleCode === "ZXHWY" ||
893
-                                            roleCode === "ZXLD") {
893
+                                            roleCode === "ZXLD" || roleCode === "DBZY" || roleCode === "MTDD") {
894 894
                                             $(".F_ConPhone").hide()
895 895
                                         } else {
896 896
                                             $(".phoneTitle").unbind("click");
@@ -901,7 +901,7 @@
901 901
                                     }
902 902
                                     if (Data[0].F_CusName) {
903 903
                                         if (roleCode === "GLY" || roleCode === "ZXHWY" ||
904
-                                            roleCode === "ZXLD") {
904
+                                            roleCode === "ZXLD" || roleCode === "DBZY" || roleCode === "MTDD") {
905 905
                                             $(".F_CusName").hide()
906 906
                                         } else {
907 907
                                             $(".callerTitle").unbind("click");
@@ -1009,7 +1009,13 @@
1009 1009
                                         },
1010 1010
                                     });
1011 1011
                                     if (State == 0) {
1012
-                                        $('.ZT').text("新工单");
1012
+                                        var entryTimeDate = new Date(Date.parse(Data[0].F_CreateTime));
1013
+                                        var defaultTimeDate = new Date(Date.parse("2020-10-16 00:00:00"));
1014
+                                        if (entryTimeDate >= defaultTimeDate) {
1015
+                                            $('.ZT').text("新工单");
1016
+                                        } else if (entryTimeDate < defaultTimeDate) {
1017
+                                            $('.ZT').text("新工单(历史工单)");
1018
+                                        }
1013 1019
                                     } else if (State == 1) {
1014 1020
                                         $('.ZT').text("待交办");
1015 1021
                                     } else if (State == 2) {

+ 33 - 8
WebUI/CallCenterWeb.UI/CommonHtml/editProcessingResult.html

@@ -24,7 +24,8 @@
24 24
         <div class="btn_box">
25 25
             <input type="hidden" id="F_guid" value="" />
26 26
             <button class="btns CB">保存</button>
27
-            <button class="btns mediaTransfer">转公开</button>
27
+            <button class="btns publicTransfer">转公开</button>
28
+            <button class="btns mediaTransfer">转媒体</button>
28 29
         </div>
29 30
     </div>
30 31
 
@@ -39,8 +40,10 @@
39 40
                 CB();
40 41
             })
41 42
             if (roleCode === "ZXHWY" || roleCode === "ZXBZ" || roleCode === "ZXLD" || roleCode === "GLY") {
43
+                $(".publicTransfer").hide()
42 44
                 $(".mediaTransfer").hide()
43 45
             } else {
46
+                $(".publicTransfer").show()
44 47
                 $(".mediaTransfer").show()
45 48
             }
46 49
             getDetail()
@@ -66,8 +69,8 @@
66 69
                 }
67 70
             })
68 71
         }
69
-        //转媒体
70
-        $('.mediaTransfer').click(function () {
72
+        //转公开
73
+        $('.publicTransfer').click(function () {
71 74
             layer.open({
72 75
                 content: '是否要转公开?',
73 76
                 btn: ['是', '否'],
@@ -80,6 +83,31 @@
80 83
                     }, function (result) {
81 84
                         var data = JSON.parse(result);
82 85
                         if (data.state == "success") {
86
+                            $(".publicTransfer").hide();
87
+                            var index = parent.layer.getFrameIndex(window
88
+                                .name); //先得到当前iframe层的索引
89
+                            parent.layer.close(index); //再执行关闭
90
+                            parent.$('#orderlist').bootstrapTable('refresh');
91
+                            parent.layer.msg("操作成功");
92
+                        }
93
+                    })
94
+                }
95
+            })
96
+        });
97
+
98
+        //转媒体
99
+        $('.mediaTransfer').click(function () {
100
+            layer.open({
101
+                content: '是否要转媒体?',
102
+                btn: ['是', '否'],
103
+                yes: function (index, layero) {
104
+                    $.post(huayi.config.callcenter_url + "WorkOrder/MediaWorkOrder", {
105
+                        workorderid: wid, //工单编号
106
+                        isrelease: 1, //(0撤回,1转媒体)
107
+                        token: $.cookie("token")
108
+                    }, function (result) {
109
+                        var data = JSON.parse(result);
110
+                        if (data.state == "success") {
83 111
                             $(".mediaTransfer").hide();
84 112
                             var index = parent.layer.getFrameIndex(window
85 113
                                 .name); //先得到当前iframe层的索引
@@ -96,26 +124,23 @@
96 124
         function getDetail() {
97 125
             $.ajax({
98 126
                 type: "get",
99
-                url: huayi.config.callcenter_url + "WorkOrder/GetWorkOrder",
127
+                url: huayi.config.callcenter_url + "WorkOrder/GetWorkOrderNew",
100 128
                 dataType: 'json',
101 129
                 async: false,
102 130
                 data: {
103 131
                     workorderid: wid,
132
+                    type: 0,
104 133
                     token: $.cookie("token")
105 134
                 },
106 135
                 success: function (result) {
107 136
                     if (result.state.toLowerCase() == "success") {
108 137
                         var content = result.data;
109
-                        // var bldataLength = content.bldata.length
110 138
                         if (content.data[0].F_Content === "" || content.data[0].F_Content === null) {
111 139
                             $("#content").text(content.data[0].F_ComContent)
112 140
                         } else {
113 141
                             $("#content").text(content.data[0].F_Content)
114 142
                         }
115 143
                         $("#result").val(content.data[0].F_Result)
116
-                        // if ( bldataLength > 0) {
117
-                        //     $("#result").val(content.bldata[bldataLength - 1].F_Result)
118
-                        // }
119 144
                     }
120 145
                 }
121 146
             })

+ 370 - 0
WebUI/CallCenterWeb.UI/Media/MediaWorkOrderList.html

@@ -0,0 +1,370 @@
1
+<!DOCTYPE html>
2
+<html>
3
+
4
+<head>
5
+    <meta charset="UTF-8">
6
+    <title>媒体工单</title>
7
+    <script src="../Script/Common/huayi.load.js"></script>
8
+    <script src="../Script/Common/huayi.config.js"></script>
9
+    <link rel="stylesheet" href="../css/bootstrap-select.css">
10
+    <link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
11
+    <link rel="stylesheet" href="../css/init.css" />
12
+    <link rel="stylesheet" href="../css/WorkOrder/WorkOrderList.css">
13
+    <link rel="stylesheet" href="../js/layui/css/layui.css">
14
+</head>
15
+
16
+<body class="gray-bg">
17
+    <div class="wrapper wrapper-content animated fadeInRight">
18
+        <div class="daoHang clearfix">
19
+            <div class="dhLeft">
20
+                <sapn>
21
+                    <i class="syIcon"></i>位置:
22
+                    <a href="javaScript:;" id="ReIndex">首页</a>&gt;
23
+                    <a href="javaScript:;">媒体监督</a>&gt;
24
+                    <a href="" class="nowPosition">媒体工单</a>
25
+                </sapn>
26
+            </div>
27
+            <div class="dhRight">
28
+                <a href="" title="刷新"><i class="fa fa-refresh"></i></a>
29
+            </div>
30
+        </div>
31
+        <div style="padding: 10px;" class="tj_content clearFix">
32
+            <div style="padding: 10px;" class="tj_content clearFix">
33
+                <div>
34
+                    <span>【搜索信息】</span>
35
+                    <div class="box_content">
36
+                        <table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
37
+                            <tr>
38
+                                <th>工单来源:</th>
39
+                                <td>
40
+                                    <select class="form-control" id="source">
41
+                                    </select>
42
+                                </td>
43
+                                <th>来电号码:</th>
44
+                                <td>
45
+                                    <input type="text" id="tel" class="form-control" />
46
+                                </td>
47
+                                <th>来电时间:</th>
48
+                                <td colspan="3">
49
+                                    <input type="text" id="starttime" class="photo x-color laydate-icon"
50
+                                        autocomplete="off" style="height: 35px;" />&nbsp;——&nbsp;<input type="text"
51
+                                        id="endtime" class="photo x-color laydate-icon" autocomplete="off"
52
+                                        style="height: 35px;" />
53
+                                </td>
54
+                            </tr>
55
+                            <tr>
56
+                                <th>事项编号:</th>
57
+                                <td>
58
+                                    <input type="text" placeholder="输入工单号" id="wids" class="form-control" />
59
+                                </td>
60
+                                <th><span class="nameJustified">来电人:</span></th>
61
+                                <td>
62
+                                    <input type="text" id="name" class="form-control" />
63
+                                </td>
64
+                                <th><span class="nameJustified">关键字:</span></th>
65
+                                <td>
66
+                                    <input type="text" placeholder="输入关键字" id="key" class="form-control Min-width" />
67
+                                    <botton class="btns Seach">搜索</botton>
68
+                                </td>
69
+                            </tr>
70
+                            <tr>
71
+                                <th>来电类型:</th>
72
+                                <td>
73
+                                    <select class="form-control" id="type">
74
+                                    </select>
75
+                                </td>
76
+                                <th></th>
77
+                                <td style="text-align: center;">
78
+                                </td>
79
+                            </tr>
80
+                        </table>
81
+                    </div>
82
+                </div>
83
+                <div>
84
+                    <div style="width: 100%;padding: 10px;">
85
+                        <table id="orderlist" data-row-style="rowStyle" data-query-params="queryParams"
86
+                            data-pagination="true">
87
+                            <thead>
88
+                                <tr>
89
+                                    <th data-formatter="serialNumber" data-align="center">
90
+                                        序号
91
+                                    </th>
92
+                                    <th data-field="F_WorkOrderId" data-formatter="View" data-align="center">工单单号</th>
93
+                                    <th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">诉求标题</th>
94
+                                    <th data-field="UserName" data-align="center">受理人</th>
95
+                                    <th data-field="F_WorkState" data-align="center" data-formatter="States">办理状态</th>
96
+                                    <th data-field="F_WorkOrderId" data-formatter="Dispose" data-align="center">操作</th>
97
+                                </tr>
98
+                            </thead>
99
+                            <tbody class="list"></tbody>
100
+                        </table>
101
+                    </div>
102
+                </div>
103
+            </div>
104
+        </div>
105
+    </div>
106
+    <script src="../js/layui/layui.js"></script>
107
+    <script src="../js/bootstrap-select.js"></script>
108
+    <script src="../css/laydate/laydate.js"></script>
109
+    <script src="../My97DatePicker/WdatePicker.js"></script>
110
+    <script src="../js/zTree/jquery.ztree.core.js"></script>
111
+    <script src="../js/WorkOrder/WorkOrderList.js"></script>
112
+    <script>
113
+        $(document).ready(function () {
114
+            load();
115
+            LY($("#source"));
116
+            LB($("#type"));
117
+            ZT($("#keyid"));
118
+            //ZX($("#ZX"));
119
+            laydate.skin('blue');
120
+            laydate({
121
+                elem: '#starttime',
122
+                event: 'focus'
123
+            });
124
+            laydate({
125
+                elem: '#endtime',
126
+                event: 'focus'
127
+            });
128
+            $(".Seach").click(function () {
129
+                load();
130
+            });
131
+
132
+            $("#orderlist").on("click-row.bs.table", function (e, row, ele) {
133
+                $('.success').removeClass('success'); //去除之前选中的行的,选中样式
134
+                $(ele).addClass('success'); //添加当前选中的 success样式用于区别
135
+            });
136
+
137
+            $("#sqzx").bind("keydown", function (event) {
138
+                var keyCode = event.keyCode ? event.keyCode : event.which ? event.which : event
139
+                    .charCode;
140
+                if (keyCode == 13) {
141
+                    load();
142
+                }
143
+            })
144
+        });
145
+        //获取查询信息
146
+        function load() {
147
+            //先销毁表格
148
+            $('#orderlist').bootstrapTable('destroy');
149
+            //初始化表格,动态从服务器加载数据
150
+            $("#orderlist").bootstrapTable({
151
+                method: "get", //使用get请求到服务器获取数据
152
+                url: huayi.config.callcenter_url + "WorkOrder/GetMassList",
153
+                contentType: "application/x-www-form-urlencoded",
154
+                striped: true, //表格显示条纹
155
+                pagination: true, //启动分页
156
+                pageSize: 10, //每页显示的记录数
157
+                pageNumber: 1, //当前第几页
158
+                pageList: [10, 20, 50, 100], //记录数可选列表
159
+                search: false, //是否启用查询
160
+                showColumns: false, //显示下拉框勾选要显示的列
161
+                showRefresh: false, //显示刷新按钮
162
+                sidePagination: "server", //表示服务端请求
163
+                //设置为undefined可以获取pageNumber,pageSize,searchText,sortName,sortOrder
164
+                //设置为limit可以获取limit, offset, search, sort, order
165
+                queryParamsType: "undefined",
166
+                queryParams: function queryParams(params) { //设置查询参数
167
+                    var param = {
168
+                        page: params.pageNumber,
169
+                        pagesize: params.pageSize,
170
+                        key: $("#key").val(), //关键字
171
+                        starttime: $("#starttime").val(), //开始时间
172
+                        endtime: $("#endtime").val(), //结束时间						
173
+                        workid: $('#wids').val(), //工单编号
174
+                        type: $('#type').val(), //工单类型
175
+                        tel: $('#tel').val(), //客户电话
176
+                        name: $('#name').val(), //客户名称
177
+                        //usercode: $("#ZX").val(),//坐席工号
178
+                        keyid: $('#keyid').val(), //关键词id
179
+                        source: $("#source").val(), //来源
180
+                        token: $.cookie("token"),
181
+                    };
182
+                    return param;
183
+                },
184
+                onLoadSuccess: function (data) { //加载成功时执行
185
+                    //layer.msg("加载成功");	
186
+                },
187
+                onLoadError: function () { //加载失败时执行
188
+                    //layer.msg("加载数据失败", { time: 1500, icon: 2 });
189
+                }
190
+            });
191
+        }
192
+        //来源
193
+        function LY(obj) {
194
+            obj.empty();
195
+            obj.append('<option selected="selected" value="">请选择</option>');
196
+            $.getJSON(huayi.config.callcenter_url + "Dictionary/GetDicValueListById", {
197
+                "token": $.cookie("token"),
198
+                id: 1
199
+            }, function (data) {
200
+                if (data.state.toLowerCase() == "success") {
201
+                    var content = data.data;
202
+                    $(content).each(function (i, n) {
203
+                        $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(
204
+                            obj);
205
+                    })
206
+                }
207
+            })
208
+        }
209
+        //类别
210
+        function LB(obj) {
211
+            obj.empty();
212
+            obj.append('<option selected="selected" value="">请选择</option>');
213
+            $.getJSON(huayi.config.callcenter_url + "Dictionary/GetDicValueListById", {
214
+                "token": $.cookie("token"),
215
+                id: 2
216
+            }, function (data) {
217
+                if (data.state.toLowerCase() == "success") {
218
+                    var content = data.data;
219
+                    $(content).each(function (i, n) {
220
+                        $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(
221
+                            obj);
222
+                    })
223
+                }
224
+            })
225
+        }
226
+        //主题
227
+        function ZT(obj) {
228
+            obj.empty();
229
+            obj.append('<option selected="selected" value="">请选择</option>');
230
+            $.getJSON(huayi.config.callcenter_url + "Dictionary/GetDicValueListById", {
231
+                "token": $.cookie("token"),
232
+                id: 3
233
+            }, function (data) {
234
+                if (data.state.toLowerCase() == "success") {
235
+                    var content = data.data;
236
+                    $(content).each(function (i, n) {
237
+                        $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(
238
+                            obj);
239
+                    })
240
+                }
241
+            })
242
+        }
243
+        ///坐席 
244
+        /*		function ZX(obj) {
245
+        			obj.empty();
246
+        			obj.append('<option selected="selected" value="">请选择</option>');
247
+        			$.getJSON(huayi.config.callcenter_url + "UserAccount/GetSeatList", {
248
+        				"token": $.cookie("token"),
249
+        			}, function(data) {
250
+        				if(data.state.toLowerCase() == "success") {
251
+        					var content = data.data;
252
+        					$(content).each(function(i, n) {
253
+        						$("<option value='" + n.F_UserCode + "'>" + n.F_UserName + "</option>").appendTo(obj);
254
+        					})
255
+        				}
256
+        			})
257
+        		}*/
258
+
259
+        //编号
260
+        function serialNumber(val, row, index) {
261
+            return index + 1;
262
+        }
263
+
264
+        //述求标题
265
+        function GetCont(val) {
266
+            if (val) {
267
+                var str = '<div '
268
+                if (val.length > 10) {
269
+                    str = str + ' title="' + val + '" ';
270
+                    val = val.substr(0, 10) + "...";
271
+                }
272
+                return str + '>' + val + '</div>';
273
+            } else {
274
+                return '';
275
+            }
276
+        }
277
+        //办理状态
278
+        function States(val, row) {
279
+            var html = '';
280
+            switch (val + '') {
281
+                case '0':
282
+                    html = '新工单';
283
+                    if (row.F_IsReturn == 1) {
284
+                        html = '新工单(回退)';
285
+                    }
286
+                    break;
287
+                case '1':
288
+                    html = '待交办';
289
+                    break;
290
+                case '2':
291
+                    html = '待查收';
292
+                    break;
293
+                case '3':
294
+                    html = '退回审核中';
295
+                    break;
296
+                case '4':
297
+                    html = '办理中';
298
+                    break;
299
+                case '5':
300
+                    html = '延时审核';
301
+                    break;
302
+                case '6':
303
+                    html = '已办理';
304
+                    break;
305
+                case '7':
306
+                    html = '已回访';
307
+                    break;
308
+                case '8':
309
+                    html = '重办中';
310
+                    break;
311
+                case '9':
312
+                    html = '已结案';
313
+                    break;
314
+            }
315
+            return html;
316
+
317
+        }
318
+
319
+        //操作
320
+        function Dispose(val, row) {
321
+            //按钮
322
+            var showOrnot = 'none';
323
+            //转媒体撤回按钮显示或隐藏
324
+            if (row.IsReturnMedia == 1) {
325
+                showOrnot = 'inline-block';
326
+            } else {
327
+                showOrnot = 'none';
328
+            }
329
+            return '<div class="imgs" >' +
330
+                '<a class="xg"  title="查看" onclick="ckxq(\'' + val + '\')">查看</a>' +
331
+                '<a class="xg withDrawBtn" style="display: ' + showOrnot + '" title="撤回" onclick="withDraw(\'' + val +
332
+                '\')">撤回</a>' +
333
+                '</div>';
334
+        }
335
+        //查看详情
336
+        function ckxq(str) {
337
+            layer.open({
338
+                type: 2,
339
+                content: "../CommonHtml/WorkDatil.html?wid=" + str, //iframe的url,no代表不显示滚动条
340
+                title: '工单详情',
341
+                area: ['100%', '100%'], //宽高
342
+            });
343
+        }
344
+        //撤回
345
+        function withDraw(str) {
346
+            layer.open({
347
+                content: '是否要撤回?',
348
+                btn: ['是', '否'],
349
+                yes: function (index, layero) {
350
+                    $.post(huayi.config.callcenter_url + "WorkOrder/MediaWorkOrder", {
351
+                        workorderid: str, //工单编号
352
+                        isrelease: 0, //(0撤回,1转媒体)
353
+                        token: $.cookie("token")
354
+                    }, function (result) {
355
+                        var data = JSON.parse(result);
356
+                        if (data.state == "success") {
357
+                            //debugger;
358
+                            $(".withDrawBtn").hide();
359
+                            layer.close();
360
+                            load();
361
+                            layer.msg("撤回成功");
362
+                        }
363
+                    })
364
+                }
365
+            })
366
+        }
367
+    </script>
368
+</body>
369
+
370
+</html>

+ 2 - 2
WebUI/CallCenterWeb.UI/PerformanceEvaluation/performanceBonus.html

@@ -49,8 +49,8 @@
49 49
     <div class="container-fluid wrapper-content animated fadeInRight">
50 50
         <div class="daoHang clearfix">
51 51
             <div class="dhLeft">
52
-                <sapn><i class="syIcon"></i>位置:<a id="ReIndex">首页</a>&gt;<a href="javaScript:;">知识库</a>&gt;<a href=""
53
-                        class="nowPosition">政策专家库</a></sapn>
52
+                <sapn><i class="syIcon"></i>位置:<a id="ReIndex">首页</a>&gt;<a href="javaScript:;">绩效考评</a>&gt;<a href=""
53
+                        class="nowPosition">绩效加分</a></sapn>
54 54
             </div>
55 55
             <div class="dhRight"><a href="" title="刷新"><i class="fa fa-refresh"></i></a></div>
56 56
         </div>

+ 3 - 3
WebUI/CallCenterWeb.UI/PerformanceEvaluation/performanceReduce.html

@@ -9,7 +9,7 @@
9 9
     <link rel="stylesheet" href="../css/init.css" />
10 10
     <link rel="stylesheet" href="../js/layui/css/layui.css">
11 11
     <link rel="stylesheet" href="./css/department.css"></link>
12
-    <title>绩效分</title>
12
+    <title>绩效分</title>
13 13
     <style>
14 14
         .toolBar {
15 15
             padding: 15px 0;
@@ -49,8 +49,8 @@
49 49
     <div class="container-fluid wrapper-content animated fadeInRight">
50 50
         <div class="daoHang clearfix">
51 51
             <div class="dhLeft">
52
-                <sapn><i class="syIcon"></i>位置:<a id="ReIndex">首页</a>&gt;<a href="javaScript:;">知识库</a>&gt;<a href=""
53
-                        class="nowPosition">政策专家库</a></sapn>
52
+                <sapn><i class="syIcon"></i>位置:<a id="ReIndex">首页</a>&gt;<a href="javaScript:;">绩效考评</a>&gt;<a href=""
53
+                        class="nowPosition">绩效减分</a></sapn>
54 54
             </div>
55 55
             <div class="dhRight"><a href="" title="刷新"><i class="fa fa-refresh"></i></a></div>
56 56
         </div>

+ 2 - 2
WebUI/CallCenterWeb.UI/Report/CallTime.html

@@ -157,8 +157,8 @@
157 157
 							var content = data.rows;
158 158
 							$(".tbody").html("");
159 159
 							for(var i = 0; i < content.length; i++) {
160
-							    //$("<tr><td>" + content[i].时间 + "</td><td>" + content[i].电话呼入次数 + "</td><td>" + content[i].电话呼出次数 + "</td><td>" + content[i].正常接听次数 + "</td><td>" + content[i].未接通次数 + "</td><td>" + content[i].语音留言次数 + "</td><td>" + content[i].主动放弃次数 + "</td><td>" + content[i].电话骚扰次数 + "</td><td>" + content[i].平均呼入时间 + "</td></tr>").appendTo(".hwbb tbody");
161
-							    $("<tr><td>" + content[i].时间 + "</td><td>" + content[i].电话呼入次数 + "</td><td>" + content[i].电话呼出次数 + "</td><td>" + content[i].正常呼入接听次数 + "</td><td>" + content[i].呼入未接通次数 + "</td><td>" + content[i].呼入主动放弃次数 + "</td><td>" + content[i].电话骚扰次数 + "</td><td>" + content[i].平均呼入时间 + "</td><td>" + content[i].峰值排队人数 + "</td></tr>").appendTo(".hwbb tbody");
160
+							    $("<tr><td>" + content[i].时间 + "</td><td>" + content[i].电话呼入次数 + "</td><td>" + content[i].电话呼出次数 + "</td><td>" + content[i].正常接听次数 + "</td><td>" + content[i].未接通次数 + "</td><td>" + content[i].主动放弃次数 + "</td><td>" + content[i].电话骚扰次数 + "</td><td>" + content[i].平均呼入时间 + "</td><td>" + content[i].峰值排队人数 + "</td></tr>").appendTo(".hwbb tbody");
161
+							    // $("<tr><td>" + content[i].时间 + "</td><td>" + content[i].电话呼入次数 + "</td><td>" + content[i].电话呼出次数 + "</td><td>" + content[i].正常呼入接听次数 + "</td><td>" + content[i].呼入未接通次数 + "</td><td>" + content[i].呼入主动放弃次数 + "</td><td>" + content[i].电话骚扰次数 + "</td><td>" + content[i].平均呼入时间 + "</td><td>" + content[i].峰值排队人数 + "</td></tr>").appendTo(".hwbb tbody");
162 162
 								//$("<tr><td>" + content[i].时间 + "</td><td>" + content[i].电话呼入次数 + "</td><td>" + content[i].电话呼出次数 + "</td><td>" + content[i].正常接听次数 + "</td><td>" + content[i].语音留言次数 + "</td><td>" + content[i].主动放弃次数 + "</td><td>" + content[i].平均呼入时间 + "</td></tr>").appendTo(".hwbb tbody");
163 163
 							}
164 164
 						}

+ 5 - 3
WebUI/CallCenterWeb.UI/ReportForm/chuliliang.html

@@ -156,9 +156,11 @@
156 156
                 dataType: "json",
157 157
                 async: true,
158 158
                 success: function (returnValue) {
159
-                    //异步获取数据
160
-                    var resultData1 = returnValue.data.Dept3DayReport;
161
-                    $('#workorderlist').bootstrapTable('load', resultData1);
159
+                    if (returnValue.state.toLowerCase() === "success") {
160
+                        //异步获取数据
161
+                        var resultData1 = returnValue.data.Dept3DayReport;
162
+                        $('#workorderlist').bootstrapTable('load', resultData1);
163
+                    }
162 164
                 }
163 165
             });
164 166
             $('#workorderlist').bootstrapTable('destroy').bootstrapTable({

+ 5 - 3
WebUI/CallCenterWeb.UI/ReportForm/threeworkCLL.html

@@ -156,9 +156,11 @@
156 156
                 dataType: "json",
157 157
                 async: true,
158 158
                 success: function (returnValue) {
159
-                    //异步获取数据
160
-                    var resultData1 = returnValue.data.Dept3EfficiencyReport;
161
-                    $('#workorderlist').bootstrapTable('load', resultData1);
159
+                    if (returnValue.state.toLowerCase() === "success") {
160
+                        //异步获取数据
161
+                        var resultData1 = returnValue.data.Dept3EfficiencyReport;
162
+                        $('#workorderlist').bootstrapTable('load', resultData1);                    
163
+                    }
162 164
                 }
163 165
             });
164 166
             $('#workorderlist').bootstrapTable('destroy').bootstrapTable({

+ 5 - 3
WebUI/CallCenterWeb.UI/ReportForm/threeworkMY.html

@@ -155,9 +155,11 @@
155 155
                 dataType: "json",
156 156
                 async: true,
157 157
                 success: function (returnValue) {
158
-                    //异步获取数据
159
-                    var resultData1 = returnValue.data.Dept3SatisfiedReport;
160
-                    $('#workorderlist').bootstrapTable('load', resultData1);
158
+                    if (returnValue.state.toLowerCase() === "success") {
159
+                        //异步获取数据
160
+                        var resultData1 = returnValue.data.Dept3SatisfiedReport;
161
+                        $('#workorderlist').bootstrapTable('load', resultData1);
162
+                    }
161 163
                 }
162 164
             });
163 165
             $('#workorderlist').bootstrapTable('destroy').bootstrapTable({

+ 21 - 0
WebUI/CallCenterWeb.UI/SuperviseManagement/superviseCommission.html

@@ -119,6 +119,14 @@
119 119
 
120 120
                 </div>
121 121
                 <div>
122
+                    <ul class="nav nav-tabs ul_tab" role="tablist">
123
+                        <li class="active">
124
+                            <a>督办待办</a>
125
+                        </li>
126
+                        <li>
127
+                            <a>督办重办</a>
128
+                        </li>
129
+                    </ul>
122 130
                     <div style="width: 100%;padding: 10px;">
123 131
                         <table id="orderlist" data-row-style="rowStyle" data-query-params="queryParams"
124 132
                             data-pagination="true">
@@ -166,6 +174,7 @@
166 174
     <script>
167 175
         var wid = helper.request.queryString("states");
168 176
         var roleCode = $.cookie("code");
177
+        var iscb = 0;
169 178
         if (wid) {
170 179
             $("#state").val(wid);
171 180
         }
@@ -180,6 +189,17 @@
180 189
                 elem: '#endtime',
181 190
                 event: 'focus'
182 191
             });
192
+
193
+            $('.ul_tab li').click(function () {
194
+                $(this).addClass("active").siblings().removeClass("active");
195
+                var index = $(this).index();
196
+                if (index === 0) {
197
+                    iscb = 0;
198
+                } else if (index === 1) {
199
+                    iscb = 1
200
+                }
201
+                load();
202
+            })
183 203
         });
184 204
         //关闭录音弹出
185 205
         $(".gbly").click(function () {
@@ -259,6 +279,7 @@
259 279
                         tab: 1, //办理中
260 280
                         sourcearea: $('#sourceAreas').val(), //区域
261 281
                         Supervisor: 1,
282
+                        iscb: iscb, // 0督办待办、1督办重办
262 283
                         token: $.cookie("token")
263 284
                     };
264 285
                     return param;

+ 17 - 17
WebUI/CallCenterWeb.UI/SuperviseManagement/superviseOverdue.html

@@ -384,12 +384,27 @@
384 384
                     html1 = html1.replace("row", row.F_MainDeptId);
385 385
                 }
386 386
                 html += html1;
387
-
388 387
             }
388
+            html += '<a class="xg sendMsg" onclick="sendMsg(\'' + row.F_WorkOrderId + '\')" title="催办">催办</a>';
389 389
 
390 390
             return html;
391 391
         }
392
-
392
+        //催办
393
+        function sendMsg(wid, depId) {
394
+            layer.confirm('确定催办吗', {
395
+                btn: ['确定', '取消']
396
+            }, function () {
397
+                $.post(huayi.config.callcenter_url + 'WorkOrder/Reminders', {
398
+                    workorderid: wid,
399
+                    token: $.cookie("token")
400
+                }, function (result) {
401
+                    result = JSON.parse(result);
402
+                    if (result.state.toLowerCase() == 'success') {
403
+                        layer.msg('催办成功')
404
+                    }
405
+                })
406
+            })
407
+        }
393 408
         //转派
394 409
         function redeploy(WorkOrderId) {
395 410
             layer.open({
@@ -513,21 +528,6 @@
513 528
             });
514 529
         }
515 530
 
516
-        function messagesUrge(str) {
517
-            layer.confirm('确定催办吗?', {
518
-                btn: ['是', '否'] //按钮
519
-            }, function () {
520
-                $.post(huayi.config.callcenter_url + 'WorkOrder/Reminders', {
521
-                    workorderid: str,
522
-                    token: $.cookie("token")
523
-                }, function (result) {
524
-                    result = JSON.parse(result);
525
-                    if (result.state.toLowerCase() == 'success') {
526
-                        layer.msg('催办成功')
527
-                    }
528
-                })
529
-            });
530
-        }
531 531
         //督查
532 532
         function Supervision_(str) {
533 533
             layer.open({

+ 1 - 1
WebUI/CallCenterWeb.UI/SuperviseManagement/superviseProcessing.html

@@ -404,7 +404,7 @@
404 404
                 html += html1;
405 405
 
406 406
             }
407
-            if (roleCode !== "WLDW" && Supervisor !== 1) {
407
+            if (roleCode !== "WLDW" && tab === 1) {
408 408
                 html += '<a class="xg sendMsg" onclick="sendMsg(\'' + row.F_WorkOrderId + '\')" title="催办">催办</a>';
409 409
             }
410 410
             return html;

+ 61 - 12
WebUI/CallCenterWeb.UI/SuperviseManagement/superviseUpcoming.html

@@ -44,13 +44,21 @@
44 44
                                 <td>
45 45
                                     <input type="text" id="tel" class="form-control" />
46 46
                                 </td>
47
-                                <th>来电时间:</th>
47
+                                <th>办理时间:</th>
48
+                                <td colspan="3">
49
+                                    <input id="dealstarttime" class="photo x-color laydate-icon" type="text"
50
+                                        autocomplete="off" style="height: 35px;" />&nbsp;——&nbsp;<input id="dealstrendtime"
51
+                                        class="photo x-color laydate-icon" type="text" autocomplete="off"
52
+                                        style="height: 35px;" />
53
+                                </td>
54
+
55
+                                <!-- <th>来电时间:</th>
48 56
                                 <td colspan="3">
49 57
                                     <input type="text" id="starttime" class="photo x-color laydate-icon"
50 58
                                         autocomplete="off" style="height: 35px;" />&nbsp;——&nbsp;<input type="text"
51 59
                                         id="endtime" class="photo x-color laydate-icon" autocomplete="off"
52 60
                                         style="height: 35px;" />
53
-                                </td>
61
+                                </td> -->
54 62
                             </tr>
55 63
                             <tr>
56 64
                                 <th>事项编号:</th>
@@ -61,10 +69,12 @@
61 69
                                 <td>
62 70
                                     <input type="text" id="name" class="form-control" />
63 71
                                 </td>
64
-                                <th><span class="nameJustified">关键字:</span></th>
65
-                                <td>
66
-                                    <input type="text" placeholder="输入关键字" id="key" class="form-control Min-width" />
67
-                                    <botton class="btns Seach">搜索</botton>
72
+                                <th>转督办时间:</th>
73
+                                <td colspan="3">
74
+                                    <input type="text" id="dbstarttime" class="photo x-color laydate-icon"
75
+                                        autocomplete="off" style="height: 35px;" />&nbsp;——&nbsp;<input type="text"
76
+                                        id="dbstrendtime" class="photo x-color laydate-icon" autocomplete="off"
77
+                                        style="height: 35px;" />
68 78
                                 </td>
69 79
                             </tr>
70 80
                             <tr>
@@ -86,8 +96,13 @@
86 96
                                 <td>
87 97
                                     <select name="" id="sourceAreas" class="form-control Min-width">
88 98
                                     </select>
99
+                                    <botton class="btns Seach">搜索</botton>
89 100
                                     <!-- <botton class="btns exportFile">导出</botton> -->
90 101
                                 </td>
102
+                                <!-- <th><span class="nameJustified">关键字:</span></th>
103
+                                <td>
104
+                                    <input type="text" placeholder="输入关键字" id="key" class="form-control Min-width" />
105
+                                </td> -->
91 106
                             </tr>
92 107
                             <tr>
93 108
                                 <th>承办单位:</th>
@@ -110,8 +125,29 @@
110 125
                                     <select class="form-control" id="type">
111 126
                                     </select>
112 127
                                 </td>
113
-                                <th></th>
114
-                                <td style="text-align: center;">
128
+                                <th>办理结果:</th>
129
+                                <td>
130
+                                    <input type="text" placeholder="输入办理结果" id="result" class="form-control Min-width" />
131
+                                </td>
132
+                            </tr>
133
+                            <tr>
134
+                                <th>反映类别:</th>
135
+                                <td class="reflectCategory-wrapper">
136
+                                    <input type="text" id="reflectCategory" class="form-control" autocomplete="off" />
137
+                                    <i class="CleansReactionCategory fa fa-close"></i>
138
+                                    <input type="hidden" id="keyid" />
139
+                                    <div class="reflectCategoryList-wrapper">
140
+                                        <ul id="reflectCategoryList">
141
+                                        </ul>
142
+                                    </div>
143
+                                </td>
144
+                                <th>工单标题:</th>
145
+                                <td>
146
+                                    <input type="text" placeholder="输入工单标题" id="comtitle" class="form-control" />
147
+                                </td>
148
+                                <th>来电内容:</th>
149
+                                <td>
150
+                                    <input type="text" placeholder="输入来电内容" id="comContent" class="form-control Min-width" />
115 151
                                 </td>
116 152
                             </tr>
117 153
                         </table>
@@ -173,11 +209,19 @@
173 209
             load();
174 210
             laydate.skin('blue');
175 211
             laydate({
176
-                elem: '#starttime',
212
+                elem: '#dealstarttime',
213
+                event: 'focus'
214
+            });
215
+            laydate({
216
+                elem: '#dealstrendtime',
217
+                event: 'focus'
218
+            });
219
+            laydate({
220
+                elem: '#dbstarttime',
177 221
                 event: 'focus'
178 222
             });
179 223
             laydate({
180
-                elem: '#endtime',
224
+                elem: '#dbstrendtime',
181 225
                 event: 'focus'
182 226
             });
183 227
         });
@@ -252,10 +296,15 @@
252 296
                         ddusercode: ddusercodeID,
253 297
                         keyid: $("#keyid").val(), //=关键词id
254 298
                         source: $("#source").val(), //=来源&
255
-                        starttime: $("#starttime").val(), //=开始时间
256
-                        endtime: $("#endtime").val(), //=结束时间
299
+                        dealstarttime: $("#dealstarttime").val(), // 办理开始时间
300
+                        dealstrendtime: $("#dealstrendtime").val(), // 办理结束时间
301
+                        dbstarttime: $("#dbstarttime").val(), // 转督办开始时间
302
+                        dbstrendtime: $("#dbstrendtime").val(), // 转督办结束时间
257 303
                         deptid: $("#PID").val(),
258 304
                         type: $("#type").val(),
305
+                        result: $("#result").val(), // 办理结果
306
+                        comtitle: $("#comtitle").val(), // 工单标题
307
+                        comContent: $("#comContent").val(), // 来电内容
259 308
                         tab: 0, // 督办待办
260 309
                         sourcearea: $('#sourceAreas').val(), //区域
261 310
                         Supervisor: 2, // 督办待办

+ 11 - 4
WebUI/CallCenterWeb.UI/TelCall/CallRecord.html

@@ -235,10 +235,9 @@
235 235
                             </td>
236 236
                             <th><span class="nameJustified">时间:</span></th>
237 237
                             <td colspan="3">
238
-                                <input id="start" class="photo x-color laydate-icon" type="text" /> - <input id="end"
239
-                                    class="photo x-color laydate-icon" type="text" />
240
-                                    <a class="sc_btn Ss">搜索</a>
241
-                                    <a class="sc_btn exportFile">导出</a>
238
+                                <input id="start" class="photo x-color laydate-icon" type="text" autocomplete="off" /> - <input id="end" class="photo x-color laydate-icon" type="text" autocomplete="off" />
239
+                                <a class="sc_btn Ss">搜索</a>
240
+                                <a class="sc_btn exportFile">导出</a>
242 241
                             </td>
243 242
                         </tr>
244 243
                         <!-- <tr>
@@ -692,6 +691,14 @@
692 691
             url += "&usercode=" + usercode + "&phone=" + phone + "&starttime=" + starttime + "&endtime=" + endtime + "&callstate=" + callstate + "&calltype=" + calltype + "&type=" + type + "&actiontype=" + actiontype + "&tasktype=" + tasktype + "&extnumber=" + extnumber + "&phoneType=" + phoneType + "&islike=" + islike;
693 692
             window.location.href = url;
694 693
         })
694
+
695
+        document.onkeydown = function (e) { // 回车提交表单
696
+            var theEvent = window.event || e;
697
+            var code = theEvent.keyCode || theEvent.which || theEvent.charCode;
698
+            if (code == 13) {
699
+                initTable();
700
+            }
701
+        }
695 702
     </script>
696 703
 
697 704
 </body>

+ 105 - 105
WebUI/CallCenterWeb.UI/home.html

@@ -1759,111 +1759,6 @@
1759 1759
             </ul> -->
1760 1760
             <div class="ld-sercon">
1761 1761
                 <div class="complain">
1762
-                    <div class="ld-sercon-con clearfix second-con">
1763
-                        <div><span class="callPopupTitle">历史记录</span></div>
1764
-                        <!-- <div class="Ps-chaxun">
1765
-                            <span>查询:
1766
-                                <input type="text" id="old_startTime" class="laydate-icon" />&nbsp;——&nbsp;<input
1767
-                                    type="text" id="old_endTime" class="laydate-icon" /></span>
1768
-                            <span class="searchbtn"></span>
1769
-                        </div> -->
1770
-                        <div class="table-responsive col-sm-12 tbold">
1771
-                            <table id="oldlist" data-row-style="rowStyle" data-query-params="queryParams"
1772
-                                data-pagination="true">
1773
-                                <thead>
1774
-                                    <tr>
1775
-                                        <th data-field="CallNumber">
1776
-                                            电话号码
1777
-                                        </th>
1778
-                                        <th data-field="CallState" data-formatter="GetCallState">
1779
-                                            呼叫状态
1780
-                                        </th>
1781
-                                        <th data-field="TypeName">
1782
-                                            通话类型
1783
-                                        </th>
1784
-                                        <th data-field="UserCode">
1785
-                                            坐席工号
1786
-                                        </th>
1787
-                                        <th data-field="UserName">
1788
-                                            坐席姓名
1789
-                                        </th>
1790
-                                        <th data-field="TalkStartTime">
1791
-                                            通话开始时间
1792
-                                        </th>
1793
-                                        <th data-field="TalkEndTime">
1794
-                                            通话结束时间
1795
-                                        </th>
1796
-                                        <th data-field="TalkLongTime" data-formatter="ftime">
1797
-                                            通话时长
1798
-                                        </th>
1799
-                                        <th data-field="FilePath" data-formatter="setCode">
1800
-                                            录音
1801
-                                        </th>
1802
-                                    </tr>
1803
-                                </thead>
1804
-                                <tbody class="list"></tbody>
1805
-                            </table>
1806
-                        </div>
1807
-                    </div>
1808
-                </div>
1809
-                <div class="complain">
1810
-                    <div class="ld-sercon-con clearfix second-con">
1811
-                        <!-- <div><span class="callPopupTitle">历史工单</span></div>
1812
-                        <div class="Ps-chaxun">
1813
-                            <span>查询:
1814
-                                <input type="text" id="con_startTime" class="laydate-icon" />&nbsp;——&nbsp;<input
1815
-                                    type="text" id="con_endTime" class="laydate-icon" /></span>
1816
-                            <span class="searchbtn"></span>
1817
-                        </div> -->
1818
-                        <div class="table-responsive col-sm-12 tbold">
1819
-                            <table id="orderlist" data-row-style="rowStyle" data-query-params="queryParams"
1820
-                                data-pagination="true">
1821
-                                <thead>
1822
-                                    <tr>
1823
-                                        <th data-field="F_WorkOrderId" data-formatter="GetLink">
1824
-                                            工单编号
1825
-                                        </th>
1826
-                                        <th data-field="F_CreateTime">
1827
-                                            创建时间
1828
-                                        </th>
1829
-                                        <!-- <th data-field="UserName">
1830
-                                            创建人
1831
-                                        </th>
1832
-                                        <th data-field="SourceName">
1833
-                                            信息来源
1834
-                                        </th>
1835
-                                        <th data-field="TypeName">
1836
-                                            信息类别
1837
-                                        </th> -->
1838
-                                        <th data-field="F_ComContent" data-formatter="GetCont">
1839
-                                            工单内容
1840
-                                        </th>
1841
-                                        <th data-field="F_Result" data-formatter="formatterResult">
1842
-                                            处理内容
1843
-                                        </th>
1844
-                                        <th data-field="DeptName">
1845
-                                            承办单位
1846
-                                        </th>
1847
-                                        <!-- <th data-field="OtherDeptName">
1848
-                                            协办单位
1849
-                                        </th> -->
1850
-                                        <th data-field="WorkStateName">
1851
-                                            工单状态
1852
-                                        </th>
1853
-                                        <th data-field="FilePath" data-formatter="setCode">
1854
-                                            录音文件
1855
-                                        </th>
1856
-                                        <!-- <th data-formatter="setReminder">
1857
-                                            操作
1858
-                                        </th> -->
1859
-                                    </tr>
1860
-                                </thead>
1861
-                                <tbody class="list"></tbody>
1862
-                            </table>
1863
-                        </div>
1864
-                    </div>
1865
-                </div>
1866
-                <div class="complain">
1867 1762
                     <div class="ld-sercon-con clearfix" style="position: relative;">
1868 1763
                         <div class="Pre-second second-con addgd" style="position: relative">
1869 1764
                             <div class="reposit">知</div>
@@ -2214,6 +2109,111 @@
2214 2109
 
2215 2110
                     </div>
2216 2111
                 </div>
2112
+                <div class="complain">
2113
+                    <div class="ld-sercon-con clearfix second-con">
2114
+                        <div><span class="callPopupTitle">历史记录</span></div>
2115
+                        <div class="Ps-chaxun">
2116
+                            <span>查询:
2117
+                                <input type="text" id="old_startTime" class="laydate-icon" />&nbsp;——&nbsp;<input
2118
+                                    type="text" id="old_endTime" class="laydate-icon" /></span>
2119
+                            <span class="searchbtn"></span>
2120
+                        </div>
2121
+                        <div class="table-responsive col-sm-12 tbold">
2122
+                            <table id="oldlist" data-row-style="rowStyle" data-query-params="queryParams"
2123
+                                data-pagination="true">
2124
+                                <thead>
2125
+                                    <tr>
2126
+                                        <th data-field="CallNumber">
2127
+                                            电话号码
2128
+                                        </th>
2129
+                                        <th data-field="CallState" data-formatter="GetCallState">
2130
+                                            呼叫状态
2131
+                                        </th>
2132
+                                        <th data-field="TypeName">
2133
+                                            通话类型
2134
+                                        </th>
2135
+                                        <th data-field="UserCode">
2136
+                                            坐席工号
2137
+                                        </th>
2138
+                                        <th data-field="UserName">
2139
+                                            坐席姓名
2140
+                                        </th>
2141
+                                        <th data-field="TalkStartTime">
2142
+                                            通话开始时间
2143
+                                        </th>
2144
+                                        <th data-field="TalkEndTime">
2145
+                                            通话结束时间
2146
+                                        </th>
2147
+                                        <th data-field="TalkLongTime" data-formatter="ftime">
2148
+                                            通话时长
2149
+                                        </th>
2150
+                                        <th data-field="FilePath" data-formatter="setCode">
2151
+                                            录音
2152
+                                        </th>
2153
+                                    </tr>
2154
+                                </thead>
2155
+                                <tbody class="list"></tbody>
2156
+                            </table>
2157
+                        </div>
2158
+                    </div>
2159
+                </div>
2160
+                <div class="complain">
2161
+                    <div class="ld-sercon-con clearfix second-con">
2162
+                        <div><span class="callPopupTitle">历史工单</span></div>
2163
+                        <div class="Ps-chaxun">
2164
+                            <span>查询:
2165
+                                <input type="text" id="con_startTime" class="laydate-icon" />&nbsp;——&nbsp;<input
2166
+                                    type="text" id="con_endTime" class="laydate-icon" /></span>
2167
+                            <span class="searchbtn"></span>
2168
+                        </div>
2169
+                        <div class="table-responsive col-sm-12 tbold">
2170
+                            <table id="orderlist" data-row-style="rowStyle" data-query-params="queryParams"
2171
+                                data-pagination="true">
2172
+                                <thead>
2173
+                                    <tr>
2174
+                                        <th data-field="F_WorkOrderId" data-formatter="GetLink">
2175
+                                            工单编号
2176
+                                        </th>
2177
+                                        <th data-field="F_CreateTime">
2178
+                                            创建时间
2179
+                                        </th>
2180
+                                        <!-- <th data-field="UserName">
2181
+                                            创建人
2182
+                                        </th>
2183
+                                        <th data-field="SourceName">
2184
+                                            信息来源
2185
+                                        </th>
2186
+                                        <th data-field="TypeName">
2187
+                                            信息类别
2188
+                                        </th> -->
2189
+                                        <th data-field="F_ComContent" data-formatter="GetCont">
2190
+                                            工单内容
2191
+                                        </th>
2192
+                                        <th data-field="F_Result" data-formatter="formatterResult">
2193
+                                            处理内容
2194
+                                        </th>
2195
+                                        <th data-field="DeptName">
2196
+                                            承办单位
2197
+                                        </th>
2198
+                                        <!-- <th data-field="OtherDeptName">
2199
+                                            协办单位
2200
+                                        </th> -->
2201
+                                        <th data-field="WorkStateName">
2202
+                                            工单状态
2203
+                                        </th>
2204
+                                        <th data-field="FilePath" data-formatter="setCode">
2205
+                                            录音文件
2206
+                                        </th>
2207
+                                        <!-- <th data-formatter="setReminder">
2208
+                                            操作
2209
+                                        </th> -->
2210
+                                    </tr>
2211
+                                </thead>
2212
+                                <tbody class="list"></tbody>
2213
+                            </table>
2214
+                        </div>
2215
+                    </div>
2216
+                </div>
2217 2217
             </div>
2218 2218
         </div>
2219 2219
     </div>

+ 20 - 23
WebUI/CallCenterWeb.UI/js/index.js

@@ -11,25 +11,22 @@ $(document).ready(function () {
11 11
     getReactionCategory();
12 12
     // 来电弹屏
13 13
     laydate.skin("blue");
14
-
15
-    // laydate({
16
-    //     elem: "#old_startTime",
17
-    //     event: "focus",
18
-    // });
19
-
20
-    // laydate({
21
-    //     elem: "#old_endTime",
22
-    //     event: "focus",
23
-    // });
24
-    // laydate({
25
-    //     elem: "#con_startTime",
26
-    //     event: "focus",
27
-    // });
28
-
29
-    // laydate({
30
-    //     elem: "#con_endTime",
31
-    //     event: "focus",
32
-    // });
14
+    laydate({
15
+        elem: "#old_startTime",
16
+        event: "focus",
17
+    });
18
+    laydate({
19
+        elem: "#old_endTime",
20
+        event: "focus",
21
+    });
22
+    laydate({
23
+        elem: "#con_startTime",
24
+        event: "focus",
25
+    });
26
+    laydate({
27
+        elem: "#con_endTime",
28
+        event: "focus",
29
+    });
33 30
     //获取消息
34 31
     getTopMsgs();
35 32
     //获取电话类别
@@ -1155,9 +1152,9 @@ function loadOld() {
1155 1152
         contentType: "application/x-www-form-urlencoded",
1156 1153
         striped: true, //表格显示条纹
1157 1154
         pagination: true, //启动分页
1158
-        pageSize: 3, //每页显示的记录数
1155
+        pageSize: 5, //每页显示的记录数
1159 1156
         pageNumber: 1, //当前第几页
1160
-        pageList: [3, 5, 10], //记录数可选列表
1157
+        pageList: [5, 10], //记录数可选列表
1161 1158
         search: false, //是否启用查询
1162 1159
         showColumns: false, //显示下拉框勾选要显示的列
1163 1160
         showRefresh: false, //显示刷新按钮
@@ -1196,9 +1193,9 @@ function loadOld() {
1196 1193
         contentType: "application/x-www-form-urlencoded",
1197 1194
         striped: true, //表格显示条纹
1198 1195
         pagination: true, //启动分页
1199
-        pageSize: 3, //每页显示的记录数
1196
+        pageSize: 5, //每页显示的记录数
1200 1197
         pageNumber: 1, //当前第几页
1201
-        pageList: [3, 5, 10], //记录数可选列表
1198
+        pageList: [5, 10], //记录数可选列表
1202 1199
         search: false, //是否启用查询
1203 1200
         showColumns: false, //显示下拉框勾选要显示的列
1204 1201
         showRefresh: false, //显示刷新按钮

+ 8 - 4
WebUI/CallCenterWeb.UI/js/search/screen.js

@@ -216,10 +216,13 @@ function dcexcel(obj) {
216 216
     var ComTitle = $("#workOrderTitle").val().replace(/\s+/g, ""); // 工单标题
217 217
     var ComContent = $("#workOrderContent").val().replace(/\s+/g, ""); // 工单内容
218 218
     var Result = $("#workOrderProcessingResult").val().replace(/\s+/g, ""); // 办理结果
219
-    var dealstarttime = $("#dealstarttime").val(); //办理开始时间
220
-    var dealstrendtime = $("#dealstrendtime").val(); //办理结束时间
219
+    var dealstarttime = $("#dealstarttime").val(); // 办理开始时间
220
+    var dealstrendtime = $("#dealstrendtime").val(); // 办理结束时间
221
+    var phoneType = $("#phoneType").val();
221 222
     var isopen = $("#isopen").val(); // 是否公开
222 223
 
224
+    console.log("phoneType", phoneType)
225
+
223 226
     var url =
224 227
         huayi.config.callcenter_url +
225 228
         "WorkOrder/GetList?token=" +
@@ -268,9 +271,10 @@ function dcexcel(obj) {
268 271
         dealstarttime +
269 272
         "&dealstrendtime=" +
270 273
         dealstrendtime +
274
+        "&phoneType=" + 
275
+        phoneType +
271 276
         "&isopen=" +
272
-        isopen +
273
-        "&isdc=1";
277
+        isopen
274 278
     window.location.href = url;
275 279
     //obj.href = url;
276 280
 }