liuyifan лет назад: 4
Родитель
Сommit
e67deb138e

+ 59 - 15
WebUI/CallCenterWeb.UI/Appeal/AddAppeal.html

@@ -5,6 +5,7 @@
5 5
     <meta charset="UTF-8">
6 6
     <script src="../Script/Common/huayi.load.js"></script>
7 7
     <script src="../Script/Common/huayi.config.js"></script>
8
+    <link rel="stylesheet" href="../css/bootstrap-select.css" />
8 9
     <link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
9 10
     <link href="../css/layer/need/layer.css" />
10 11
     <link rel="stylesheet" href="../css/init.css" />
@@ -67,7 +68,7 @@
67 68
                         <td colspan="">
68 69
                             <input type="radio" value="1" name="banli" class="Nows_ radioStyle" />当即办理
69 70
                             <input checked="true" type="radio" value="0" name="banli" class="Nows_ radioStyle" />网络转办
70
-                            <input id="threeWayCall" type="checkbox"  value="1" name="" class="Nows_ radioStyle" />三方通话
71
+                            <input id="threeWayCall" type="checkbox" value="1" name="" class="Nows_ radioStyle" />三方通话
71 72
                         </td>
72 73
                         <th>来电号码密级:</th>
73 74
                         <td>
@@ -76,6 +77,21 @@
76 77
                         </td>
77 78
                     </tr>
78 79
                     <tr>
80
+                        <th>反映类别:</th>
81
+                        <td colspan="">
82
+                            <select id="reflectCategoryFirst" class="form-control">
83
+                            </select>
84
+                        </td>
85
+                        <td colspan="2">
86
+                            <select id="reflectCategorySecond" class="selectpicker show-tick form-control" name="select" data-live-search="true" style="display: inline-block; width: 40%;">
87
+                            </select>
88
+                        </td>
89
+                        <th>来源:</th>
90
+                        <td>
91
+                            <select class="form-control" id="source"></select>
92
+                        </td>
93
+                    </tr>
94
+                    <tr>
79 95
                         <th class="">来电人:</th>
80 96
                         <td>
81 97
                             <input type="text" id="cusname" class="form-control" />
@@ -98,7 +114,7 @@
98 114
                         <td>
99 115
                             <select class="form-control" id="type"></select>
100 116
                         </td>
101
-                        <th class="Importent">反映类别:</th>
117
+                        <!-- <th class="Importent">反映类别:</th>
102 118
                         <td style="position: relative">
103 119
                             <div class="inpBox">
104 120
                                 <input type="text" class="inps" onkeyup="darptSearch()" />
@@ -111,7 +127,7 @@
111 127
                             <div class="selDpart1">
112 128
                                 <ul id="sponsor"></ul>
113 129
                             </div>
114
-                        </td>
130
+                        </td> -->
115 131
                         <th class="Importent">紧急程度:</th>
116 132
                         <td>
117 133
                             <select class="form-control" id="level">
@@ -120,12 +136,6 @@
120 136
                                 <option value="2">紧急</option>
121 137
                             </select>
122 138
                         </td>
123
-                    </tr>
124
-                    <tr>
125
-                        <th>来源:</th>
126
-                        <td>
127
-                            <select class="form-control" id="source"></select>
128
-                        </td>
129 139
                         <th>自动派单:</th>
130 140
                         <td>
131 141
                             <select class="form-control" id="automaticDispatch">
@@ -165,7 +175,7 @@
165 175
                         <th>直办内容:</th>
166 176
                         <td colspan="7">
167 177
                             <textarea id="result" class="form-control" name="" rows="3" cols=""
168
-                            style="width: 100%;"></textarea>
178
+                                style="width: 100%;"></textarea>
169 179
                             <!-- <input type="text" style="width: 100%;" id="result" class="form-control" /> -->
170 180
                         </td>
171 181
                     </tr>
@@ -193,7 +203,8 @@
193 203
             </div>
194 204
         </div>
195 205
     </div>
196
-    <input type="hidden" id="PID" value="" />
206
+    <!-- <input type="hidden" id="PID" value="" /> -->
207
+    <script src="../js/bootstrap-select.js"></script>
197 208
     <script src="https://api.map.baidu.com/api?v=2.0&ak=ZG4gLQZUD6Eq1K11cqlYAR4by8CKgLyu&callback=mapinit"></script>
198 209
     <script src="../css/laydate/laydate.js"></script>
199 210
     <script src="../js/adjustHeight.js"></script>
@@ -208,6 +219,7 @@
208 219
             LB($("#type"));
209 220
             ZT($("#keys"));
210 221
             getPhoneType($("#phonetype"));
222
+            getReactionCategory();
211 223
             //当即办理
212 224
             $(' input[name="banli"]').change(function () {
213 225
                 var val = $(this).val();
@@ -243,7 +255,7 @@
243 255
             var threeWayCall;
244 256
             var value = $(' input[name="banli"]:checked ').val();
245 257
             var content = $("#content").val();
246
-            if($('#threeWayCall').is(':checked')) {
258
+            if ($('#threeWayCall').is(':checked')) {
247 259
                 threeWayCall = 1;
248 260
             } else {
249 261
                 threeWayCall = 0;
@@ -259,7 +271,7 @@
259 271
                 layer.msg("请输入标题");
260 272
             } else if (!$("#content").val()) {
261 273
                 layer.msg("请输入内容");
262
-            } else if (!$("#PID").val()) {
274
+            } else if (!$("#reflectCategorySecond").val()) {
263 275
                 layer.msg("请选择反映类别");
264 276
                 // } else if (!$("#sourcearea").val()) {
265 277
                 //     layer.msg("请选择事发区域");
@@ -298,7 +310,7 @@
298 310
                         isresult: $(' input[name="banli"]:checked ').val(), //=(0转办1直办)
299 311
                         business: threeWayCall,
300 312
                         result: $('#result').val(),
301
-                        keys: $("#PID").val(), //=关键词id(多个用英文逗号,隔开)
313
+                        keys: $("#reflectCategorySecond").val(), //=关键词id(多个用英文逗号,隔开)
302 314
                         type: $("#type").val(), //=类型
303 315
                         isprotect: $(' input[name="mj"]:checked ').val(), //=(0普通1保密)
304 316
                         level: $('#level').val(), //=(1普通2紧急)
@@ -553,11 +565,43 @@
553 565
             $("#sourcearea option:first").prop("selected", 'selected');
554 566
             $('#result').val('');
555 567
             $(".inps").val('');
556
-            $("#PID").val('');
568
+            // $("#PID").val('');
557 569
             $("#Dpment").val('');
558 570
             $(".Cleans").hide();
559 571
             $('#threeWayCall').attr('checked', false);
572
+            $("#reflectCategoryFirst").val("");
573
+            $("#reflectCategorySecond").val("");
574
+            $("#reflectCategorySecond").selectpicker("refresh");
575
+        }
576
+
577
+        function getReactionCategory(pid = 38) {
578
+            $('#reflectCategorySecond').empty()
579
+            $.get(
580
+                huayi.config.callcenter_url + "Dictionary/GetZTreeListNew", {
581
+                    token: $.cookie("token"),
582
+                    pid: pid,
583
+                },
584
+                function (result) {
585
+                    result = $.parseJSON(result);
586
+                    var content = result.data;
587
+                    $(content).each(function (i, n) {
588
+                        if(String(n.pId) === "38") {
589
+                            $("<option value='" + n.id + "'>" + n.text + "</option>").appendTo("#reflectCategoryFirst")
590
+                        } else {
591
+                            $("<option value='" + n.id + "'>" + n.text + "</option>").appendTo("#reflectCategorySecond");
592
+                        }
593
+                    });
594
+                    $("#reflectCategorySecond").selectpicker({
595
+                        noneSelectedText: "请选择", //默认显示内容
596
+                    });
597
+                    $("#reflectCategorySecond").selectpicker("refresh");
598
+                }
599
+            );
560 600
         }
601
+
602
+        $("#reflectCategoryFirst").change(function() {
603
+            getReactionCategory(Number($("#reflectCategoryFirst").val()))
604
+        })
561 605
     </script>
562 606
 </body>
563 607
 

+ 1 - 1
WebUI/CallCenterWeb.UI/ReportForm/superviseDataStatistics.html

@@ -508,7 +508,7 @@
508 508
             var source = $("#source").val();
509 509
             starttime = $("#squeryTime").val();
510 510
             endtime = $("#equeryTime").val();
511
-            if (endtime.length <= 10) {
511
+            if (endtime.length > 0 && endtime.length <= 10) {
512 512
                 endtime = encodeURIComponent(endtime + " 23:59:59");
513 513
             } else {
514 514
                 endtime = encodeURIComponent(endtime);

+ 1 - 1
WebUI/CallCenterWeb.UI/ReportForm/superviseDataStatisticsSecondaryUnit.html

@@ -512,7 +512,7 @@
512 512
             var source = $("#source").val();
513 513
             starttime = $("#squeryTime").val();
514 514
             endtime = $("#equeryTime").val();
515
-            if (endtime.length <= 10) {
515
+            if (endtime.length > 0 && endtime.length <= 10) {
516 516
                 endtime = encodeURIComponent(endtime + " 23:59:59");
517 517
             } else {
518 518
                 endtime = encodeURIComponent(endtime);

+ 137 - 93
WebUI/CallCenterWeb.UI/TelCall/CallRecord.html

@@ -8,8 +8,8 @@
8 8
     <script src="../Script/Common/huayi.load.js"></script>
9 9
     <script src="../Script/Common/huayi.config.js"></script>
10 10
     <link rel="stylesheet" href="../css/bootstrap-select.css" />
11
-    <link href="../css/Table/table1.css" rel="stylesheet" />
12
-    <link href="../css/init.css" rel="stylesheet" />
11
+    <link rel="stylesheet" href="../css/Table/table1.css" />
12
+    <link rel="stylesheet" href="../css/init.css" />
13 13
     <style>
14 14
         body {
15 15
             font-family: "微软雅黑";
@@ -124,11 +124,20 @@
124 124
 
125 125
         #sqzx th {
126 126
             padding: 5px 8px 5px 0;
127
-            text-align: right;
127
+            text-align: center;
128
+            width: 6%;
128 129
         }
129 130
 
130 131
         #sqzx td {
131 132
             padding: 6px 0 5px 10px;
133
+            width: 18%;
134
+        }
135
+
136
+        .nameJustified {
137
+            width: 5em;
138
+            display: inline-block;
139
+            text-align: justify;
140
+            text-align-last: justify;
132 141
         }
133 142
     </style>
134 143
 </head>
@@ -146,96 +155,97 @@
146 155
         </div>
147 156
         <div class="th-box">
148 157
             <div class="box_content">
149
-                <table id="sqzx" style="width: 100%" border="0" cellspacing="0" cellpadding="0">
150
-                    <tr>
151
-                        <th>电话号码:</th>
152
-                        <td><input id="tel" class="form-control" type="text" /></td>
153
-                        <th>呼叫状态:</th>
154
-                        <td>
155
-                            <select id="ss_hjzt" class="callstate form-control">
156
-                                <option value="">全部</option>
157
-                                <option value="0">未接通</option>
158
-                                <option value="1">已接通</option>
159
-                                <option value="2">黑名单拒接</option>
160
-                                <option value="3">主动放弃</option>
161
-                            </select>
162
-                        </td>
163
-                        <th>通话类型:</th>
164
-                        <td>
165
-                            <select id="callType" class="form-control callstate">
166
-                                <option value="">全部</option>
167
-                            </select>
168
-                        </td>
169
-                    </tr>
170
-                    <tr>
171
-                        <th>呼出方向:</th>
172
-                        <td>
173
-                            <select id="ss_hcfx" class="form-control calltype">
174
-                                <option value="">全部</option>
175
-                                <option value="0">呼入</option>
176
-                                <option value="1">呼出</option>
177
-                                <option value="3">呼出回访</option>
178
-                            </select>
179
-                        </td>
180
-                        <th>呼叫类型:</th>
181
-                        <td>
182
-                            <select id="ss_HJLX" class="form-control calltype">
183
-                                <option value="">全部</option>
184
-                                <option value="1">正常通话</option>
185
-                                <option value="2">转移</option>
186
-                                <option value="3">三方通话</option>
187
-                            </select>
188
-                        </td>
189
-                        <th>是否回访:</th>
190
-                        <td>
191
-                            <select id="sf_hf" class="form-control calltype">
192
-                                <option value="">全部</option>
193
-                                <option value="2">是</option>
194
-                                <option value="0">否</option>
195
-                            </select>
196
-                        </td>
197
-                    </tr>
198
-                    <tr>
199
-                        <th>坐席:</th>
200
-                        <td>
201
-                            <select class="selectpicker show-tick form-control" multiple id="seat">
202
-                                <option value="">全部</option>
203
-                            </select>
204
-                        </td>
205
-                        <th>分机号:</th>
206
-                        <td>
207
-                            <input id="extnumber" class="form-control" type="text" />
208
-                        </td>
209
-                        <th>电话类别:</th>
210
-                        <td>
211
-                            <select class="form-control" id="phoneType">
212
-                                <option value="">请选择</option>
213
-                            </select>
214
-                        </td>
215
-                    </tr>
216
-                    <tr>
217
-                        <th>查询类型:</th>
218
-                        <td>
219
-                            <select id="islike" class="form-control Min-width" name="select">
220
-                                <option value="1">
221
-                                    模糊查询
222
-                                </option>
223
-                                <option value="0">
224
-                                    精确查询
225
-                                </option>
226
-                            </select>
227
-                        </td>
228
-                    </tr>
229
-                    <tr>
230
-                        <th>时间:</th>
231
-                        <td colspan="3">
232
-                            <input id="start" class="photo x-color laydate-icon" type="text" />-<input id="end"
233
-                                class="photo x-color laydate-icon" type="text" />
234
-                        </td>
235
-                        <th>
236
-                            <a class="sc_btn Ss">搜索</a>
237
-                        </th>
238
-                    </tr>
158
+                <table id="sqzx" style="width: 100%" border="0">
159
+                    <tbody>
160
+                        <tr>
161
+                            <th>电话号码:</th>
162
+                            <td><input id="tel" class="form-control" type="text" /></td>
163
+                            <th>呼叫状态:</th>
164
+                            <td>
165
+                                <select id="ss_hjzt" class="callstate form-control">
166
+                                    <option value="">全部</option>
167
+                                    <option value="0">未接通</option>
168
+                                    <option value="1">已接通</option>
169
+                                    <option value="2">黑名单拒接</option>
170
+                                    <option value="3">主动放弃</option>
171
+                                </select>
172
+                            </td>
173
+                            <th><span class="nameJustified">分机号:</span></th>
174
+                            <td>
175
+                                <input id="extnumber" class="form-control" type="text" />
176
+                            </td>
177
+                            <th>呼出方向:</th>
178
+                            <td>
179
+                                <select id="ss_hcfx" class="form-control calltype">
180
+                                    <option value="">全部</option>
181
+                                    <option value="0">呼入</option>
182
+                                    <option value="1">呼出</option>
183
+                                    <option value="3">呼出回访</option>
184
+                                </select>
185
+                            </td>
186
+                        </tr>
187
+                        <tr>
188
+                            <th>呼叫类型:</th>
189
+                            <td>
190
+                                <select id="ss_HJLX" class="form-control calltype">
191
+                                    <option value="">全部</option>
192
+                                    <option value="1">正常通话</option>
193
+                                    <option value="2">转移</option>
194
+                                    <option value="3">三方通话</option>
195
+                                </select>
196
+                            </td>
197
+                            <th>是否回访:</th>
198
+                            <td>
199
+                                <select id="sf_hf" class="form-control calltype">
200
+                                    <option value="">全部</option>
201
+                                    <option value="2">是</option>
202
+                                    <option value="0">否</option>
203
+                                </select>
204
+                            </td>
205
+                            <th>受话坐席:</th>
206
+                            <td>
207
+                                <select class="selectpicker show-tick form-control" multiple id="seat">
208
+                                    <option value="">全部</option>
209
+                                </select>
210
+                            </td>
211
+                            <th>通话类型:</th>
212
+                            <td>
213
+                                <select id="callType" class="form-control callstate">
214
+                                    <option value="">全部</option>
215
+                                </select>
216
+                            </td>
217
+                        </tr>
218
+                        <tr>
219
+                            <th>电话类别:</th>
220
+                            <td>
221
+                                <select class="form-control" id="phoneType">
222
+                                    <option value="">请选择</option>
223
+                                </select>
224
+                            </td>
225
+                            <th>查询类型:</th>
226
+                            <td>
227
+                                <select id="islike" class="form-control" name="select">
228
+                                    <option value="1">
229
+                                        模糊查询
230
+                                    </option>
231
+                                    <option value="0">
232
+                                        精确查询
233
+                                    </option>
234
+                                </select>
235
+                            </td>
236
+                            <th><span class="nameJustified">时间:</span></th>
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>
242
+                            </td>
243
+                        </tr>
244
+                        <!-- <tr>
245
+                            <td colspan="2">
246
+                            </td>
247
+                        </tr> -->
248
+                    </tbody>
239 249
                 </table>
240 250
             </div>
241 251
             <!-- <ul> -->
@@ -264,6 +274,7 @@
264 274
                         <th data-field="BeginTime" data-align="center">开始时间</th>
265 275
                         <th data-field="TalkStartTime" data-align="center">通话开始时间</th>
266 276
                         <th data-field="TalkEndTime" data-align="center">通话结束时间</th>
277
+                        <th data-field="EndTime" data-align="center">结束时间</th>
267 278
                         <th data-field="TalkLongTime" data-align="center" data-formatter="ftime">通话时长</th>
268 279
                         <th data-field="RingLongTime" data-align="center" data-formatter="ftime">振铃时长</th>
269 280
                         <th data-field="LongTime" data-align="center" data-formatter="ftime">总时长</th>
@@ -444,6 +455,7 @@
444 455
                         token: $.cookie("token")
445 456
                     };
446 457
                     var usercode_ = $("#seat").val(); //坐席
458
+                    var usercodeID = "";
447 459
                     if (usercode_ != null) {
448 460
                         $(usercode_).each(function (i, n) {
449 461
                             var obj1 = "";
@@ -570,6 +582,7 @@
570 582
         //        return '';
571 583
         //    }
572 584
         //}
585
+
573 586
         //处理
574 587
         function isDeal(val) {
575 588
             if (val == 0) {
@@ -660,6 +673,37 @@
660 673
                 }
661 674
             });
662 675
         }
676
+
677
+        $(".exportFile").click(function () {
678
+            var usercode_ = $("#seat").val(); //坐席
679
+            var usercodeID = "";
680
+            if (usercode_ != null) {
681
+                $(usercode_).each(function (i, n) {
682
+                    var obj1 = "";
683
+                    obj1 = n + ",";
684
+                    usercodeID += obj1;
685
+                });
686
+                usercodeID = usercodeID.slice(0, -1);
687
+            } else {
688
+                usercodeID = "";
689
+            }
690
+
691
+            var usercode = usercodeID;
692
+            var phone = $("#tel").val();
693
+            var starttime = $("#start").val();
694
+            var endtime = $("#end").val();
695
+            var callstate = $("#ss_hjzt").val();
696
+            var calltype = $("#ss_hcfx").val();
697
+            var type = $("#callType").val(); //type=通话类型
698
+            var actiontype = $("#ss_HJLX").val(); //呼叫类型
699
+            var tasktype = $("#sf_hf").val(); //呼叫类型
700
+            var extnumber = $("#extnumber").val();
701
+            var phoneType = $("#phoneType").val();
702
+            var islike = $("#islike").val(); // 查询类型
703
+            var url = huayi.config.callcenter_url + "Callrecords/GetList?token=" + $.cookie("token") + "&isdc=1";
704
+            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;
705
+            window.location.href = url;
706
+        })
663 707
     </script>
664 708
 
665 709
 </body>

+ 13 - 8
WebUI/CallCenterWeb.UI/css/call.css

@@ -179,7 +179,8 @@ a {
179 179
 }
180 180
 
181 181
     .ld-sercon .Ps-chaxun span {
182
-        margin-right: 1.2em;
182
+        margin-left: 20px;
183
+        /* margin-right: 1.2em; */
183 184
     }
184 185
 
185 186
 .ld-sercon input {
@@ -228,10 +229,6 @@ a {
228 229
     text-align: center;
229 230
 }
230 231
 
231
-.second-con {
232
-    padding: 20px 0;
233
-}
234
-
235 232
 .ld-sercon .addjl {
236 233
     display: inline-block;
237 234
     width: 84px;
@@ -258,9 +255,9 @@ a {
258 255
     color: #1ab394;
259 256
 }
260 257
 
261
-.ld-sercon > div {
258
+/* .ld-sercon > div {
262 259
     display: none;
263
-}
260
+} */
264 261
 
265 262
 .ldcr-bottom .ldcrb-top > ul {
266 263
     float: left;
@@ -362,7 +359,9 @@ a {
362 359
     -webkit-border-radius: 5px;
363 360
     -moz-border-radius: 5px;
364 361
     border-radius: 5px;
365
-    margin: 15px 0;
362
+    margin: 10px 0 0 0;
363
+    padding: 10px 0 0 0;
364
+
366 365
 }
367 366
 
368 367
 .shows {
@@ -390,3 +389,9 @@ a {
390 389
     vertical-align: -2px;
391 390
     margin-right: 3px !important;
392 391
 }
392
+
393
+.callPopupTitle {
394
+    margin-left: 10px;
395
+    font-size: 16px;
396
+    font-weight: 700;
397
+}

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

@@ -343,10 +343,9 @@
343 343
 
344 344
         .dropdown-menu>li>a {
345 345
             margin: 0;
346
-            color: #fff;
347
-            /*color: #555;*/
346
+            color: #555;
348 347
             padding: 0;
349
-            /*text-align: center;*/
348
+            text-align: center;
350 349
         }
351 350
 
352 351
         .dropdown-menu>li>a:focus,
@@ -495,6 +494,7 @@
495 494
             background: url(img/satisfactionEvaluation.png) no-repeat !important;
496 495
             background-size: 24px 21px !important;
497 496
         }
497
+
498 498
         .navbar-top-links .satisfactionEvaluation.active {
499 499
             background: url(img/satisfactionEvaluation2.png) no-repeat !important;
500 500
             background-size: 24px 21px !important;
@@ -1279,10 +1279,12 @@
1279 1279
         .operation_bj {
1280 1280
             float: right;
1281 1281
         }
1282
+
1282 1283
         #sourcearea {
1283 1284
             display: inline-block;
1284 1285
             width: 30%;
1285 1286
         }
1287
+
1286 1288
         #sourceaddress {
1287 1289
             display: inline-block;
1288 1290
             width: 50%;
@@ -1709,21 +1711,127 @@
1709 1711
         <!--右侧内容-->
1710 1712
 
1711 1713
         <div class="ldtp-cr col-sm-12">
1712
-            <ul class="ld-service clearfix">
1714
+            <!-- <ul class="ld-service clearfix">
1713 1715
                 <li style="border-bottom: 1px solid #243747" itemtype="0" class="cr-click">
1714 1716
                     新增工单
1715 1717
                 </li>
1716 1718
                 <li style="border-bottom: 1px solid #243747" itemtype="1">
1717 1719
                     历史记录
1718 1720
                 </li>
1719
-                <!--<li style="border-bottom:1px solid #69cbd0;" itemtype="1" >售前咨询</li>
1720
-                <li style="border-bottom:1px solid #f95a83;" itemtype="2">保修服务</li>-->
1721 1721
                 <li style="border-bottom: 1px solid #243747" itemtype="2">
1722 1722
                     历史工单
1723 1723
                 </li>
1724
-            </ul>
1724
+            </ul> -->
1725 1725
             <div class="ld-sercon">
1726
-                <div class="complain" style="display: block">
1726
+                <div class="complain">
1727
+                    <div class="ld-sercon-con clearfix second-con">
1728
+                        <div><span class="callPopupTitle">历史记录</span></div>
1729
+                        <div class="Ps-chaxun">
1730
+                            <span>查询:
1731
+                                <input type="text" id="old_startTime" class="laydate-icon" />&nbsp;——&nbsp;<input
1732
+                                    type="text" id="old_endTime" class="laydate-icon" /></span>
1733
+
1734
+                            <span class="searchbtn"></span>
1735
+                        </div>
1736
+                        <div class="table-responsive col-sm-12 tbold">
1737
+                            <table id="oldlist" data-row-style="rowStyle" data-query-params="queryParams"
1738
+                                data-pagination="true">
1739
+                                <thead>
1740
+                                    <tr>
1741
+                                        <th data-field="CallNumber">
1742
+                                            电话号码
1743
+                                        </th>
1744
+                                        <th data-field="CallState" data-formatter="GetCallState">
1745
+                                            呼叫状态
1746
+                                        </th>
1747
+                                        <th data-field="TypeName">
1748
+                                            通话类型
1749
+                                        </th>
1750
+                                        <th data-field="UserCode">
1751
+                                            坐席工号
1752
+                                        </th>
1753
+                                        <th data-field="UserName">
1754
+                                            坐席姓名
1755
+                                        </th>
1756
+                                        <th data-field="TalkStartTime">
1757
+                                            通话开始时间
1758
+                                        </th>
1759
+                                        <th data-field="TalkEndTime">
1760
+                                            通话结束时间
1761
+                                        </th>
1762
+                                        <th data-field="TalkLongTime" data-formatter="ftime">
1763
+                                            通话时长
1764
+                                        </th>
1765
+                                        <th data-field="FilePath" data-formatter="setCode">
1766
+                                            录音
1767
+                                        </th>
1768
+                                    </tr>
1769
+                                </thead>
1770
+                                <tbody class="list"></tbody>
1771
+                            </table>
1772
+                        </div>
1773
+                    </div>
1774
+                </div>
1775
+                <div class="complain">
1776
+                    <div class="ld-sercon-con clearfix second-con">
1777
+                        <div><span class="callPopupTitle">历史工单</span></div>
1778
+                        <div class="Ps-chaxun">
1779
+                            <span>查询:
1780
+                                <input type="text" id="con_startTime" class="laydate-icon" />&nbsp;——&nbsp;<input
1781
+                                    type="text" id="con_endTime" class="laydate-icon" /></span>
1782
+
1783
+                            <span class="searchbtn"></span>
1784
+                            <!--<span class="addjl g" style="margin-left:5em;">新增工单</span>-->
1785
+                        </div>
1786
+                        <div class="table-responsive col-sm-12 tbold">
1787
+                            <table id="orderlist" data-row-style="rowStyle" data-query-params="queryParams"
1788
+                                data-pagination="true">
1789
+                                <thead>
1790
+                                    <tr>
1791
+                                        <th data-field="F_WorkOrderId" data-formatter="GetLink">
1792
+                                            工单编号
1793
+                                        </th>
1794
+                                        <th data-field="F_CreateTime">
1795
+                                            创建时间
1796
+                                        </th>
1797
+                                        <th data-field="UserName">
1798
+                                            创建人
1799
+                                        </th>
1800
+                                        <th data-field="SourceName">
1801
+                                            信息来源
1802
+                                        </th>
1803
+                                        <th data-field="TypeName">
1804
+                                            信息类别
1805
+                                        </th>
1806
+                                        <th data-field="F_Result" data-formatter="formatterResult">
1807
+                                            处理内容
1808
+                                        </th>
1809
+                                        <th data-field="DeptName">
1810
+                                            承办单位
1811
+                                        </th>
1812
+                                        <!-- <th data-field="OtherDeptName">
1813
+                                            协办单位
1814
+                                        </th> -->
1815
+                                        <th data-field="WorkStateName">
1816
+                                            工单状态
1817
+                                        </th>
1818
+                                        <th data-field="F_ComContent" data-formatter="GetCont">
1819
+                                            工单内容
1820
+                                        </th>
1821
+                                        <th data-field="FilePath" data-formatter="setCode">
1822
+                                            录音文件
1823
+                                        </th>
1824
+                                        <th data-formatter="setReminder">
1825
+                                            操作
1826
+                                        </th>
1827
+                                    </tr>
1828
+                                </thead>
1829
+                                <tbody class="list"></tbody>
1830
+                            </table>
1831
+                        </div>
1832
+                    </div>
1833
+                </div>
1834
+                <div class="complain">
1727 1835
                     <div class="ld-sercon-con clearfix">
1728 1836
                         <div class="Pre-second second-con addgd" style="position: relative">
1729 1837
                             <div class="reposit">知</div>
@@ -1782,20 +1890,22 @@
1782 1890
                                             处理方式:
1783 1891
                                         </span>
1784 1892
                                         <span class="col-sm-3">
1785
-                                            <label style="font-weight: normal"><input class="radioStyle" type="radio" name="banli"
1786
-                                                    value="1" class="Nows" />当即处理</label>
1787
-                                            <label style="font-weight: normal"><input class="radioStyle" type="radio" name="banli"
1788
-                                                    value="0" checked="checked" class="Nows" />网络转办</label>
1789
-                                            <label style="font-weight: normal"><input id="threeWayCall" class="radioStyle" type="checkbox"
1790
-                                                    value="1" name="" class="Nows_" />三方通话</label>
1893
+                                            <label style="font-weight: normal"><input class="radioStyle" type="radio"
1894
+                                                    name="banli" value="1" class="Nows" />当即处理</label>
1895
+                                            <label style="font-weight: normal"><input class="radioStyle" type="radio"
1896
+                                                    name="banli" value="0" checked="checked" class="Nows" />网络转办</label>
1897
+                                            <label style="font-weight: normal"><input id="threeWayCall"
1898
+                                                    class="radioStyle" type="checkbox" value="1" name=""
1899
+                                                    class="Nows_" />三方通话</label>
1791 1900
                                         </span>
1792 1901
                                         <span class="col-sm-1">
1793 1902
                                             来电号码密级:
1794 1903
                                         </span>
1795 1904
                                         <span class="col-sm-3">
1796
-                                            <label style="font-weight: normal"><input class="radioStyle" type="radio" name="mj" value="0" />普通</label>
1797
-                                            <label style="font-weight: normal"><input class="radioStyle" type="radio" name="mj" value="1"
1798
-                                                    checked="checked" />保密</label>
1905
+                                            <label style="font-weight: normal"><input class="radioStyle" type="radio"
1906
+                                                    name="mj" value="0" />普通</label>
1907
+                                            <label style="font-weight: normal"><input class="radioStyle" type="radio"
1908
+                                                    name="mj" value="1" checked="checked" />保密</label>
1799 1909
                                         </span>
1800 1910
                                     </div>
1801 1911
 
@@ -1853,11 +1963,6 @@
1853 1963
                                             反映类别:
1854 1964
                                         </span>
1855 1965
                                         <span class="col-sm-3" style="position: relative">
1856
-                                            <!-- <input type="text" style="width:100%;"  id="keys"/>-->
1857
-                                            <!--<select
1858
-                                                    name=""
1859
-                                                    id="keys"
1860
-                                                ></select>-->
1861 1966
                                             <div class="inpBox">
1862 1967
                                                 <input type="text" class="inps" onkeyup="darptSearch()" />
1863 1968
                                                 <i class="Cleans fa fa-close"></i>
@@ -1869,7 +1974,6 @@
1869 1974
                                             <div class="selDpart1">
1870 1975
                                                 <ul id="sponsor"></ul>
1871 1976
                                             </div>
1872
-                                            <!--<td style="position: relative"></td>-->
1873 1977
                                         </span>
1874 1978
                                         <span class="col-sm-1 Import">
1875 1979
                                             紧急程度:
@@ -1933,7 +2037,8 @@
1933 2037
                                             事发区域:
1934 2038
                                         </span>
1935 2039
                                         <span class="col-sm-11 source_area">
1936
-                                            <select name="sourcearea" id="sourcearea" class="form-control" style="display: inline-block; width: 20%;">
2040
+                                            <select name="sourcearea" id="sourcearea" class="form-control"
2041
+                                                style="display: inline-block; width: 20%;">
1937 2042
                                                 <!-- <option value="0">
1938 2043
                                                     请选择
1939 2044
                                                 </option> -->
@@ -1942,7 +2047,8 @@
1942 2047
                                                 </option>
1943 2048
                                             </select>
1944 2049
                                             <!--<img src="img/map_nav.png"/>-->
1945
-                                            <input id="sourceaddress" type="text" placeholder="输入详细地址" class="form-control" style="display: inline-block; width: 40%;" />
2050
+                                            <input id="sourceaddress" type="text" placeholder="输入详细地址"
2051
+                                                class="form-control" style="display: inline-block; width: 40%;" />
1946 2052
                                         </span>
1947 2053
                                         <div class="mapBJ" style="
1948 2054
                                                     width: 100%;
@@ -1990,112 +2096,6 @@
1990 2096
 
1991 2097
                     </div>
1992 2098
                 </div>
1993
-                <div class="complain" style="display: none">
1994
-                    <div class="ld-sercon-con clearfix">
1995
-                        <div class="Ps-chaxun">
1996
-                            <span>查询:
1997
-                                <input type="text" id="old_startTime" class="laydate-icon" />&nbsp;——&nbsp;<input
1998
-                                    type="text" id="old_endTime" class="laydate-icon" /></span>
1999
-
2000
-                            <span class="searchbtn"></span>
2001
-                        </div>
2002
-                        <div class="table-responsive col-sm-12 tbold" style="padding-left: 0">
2003
-                            <table id="oldlist" data-row-style="rowStyle" data-query-params="queryParams"
2004
-                                data-pagination="true">
2005
-                                <thead>
2006
-                                    <tr>
2007
-                                        <th data-field="CallNumber">
2008
-                                            电话号码
2009
-                                        </th>
2010
-                                        <th data-field="CallState" data-formatter="GetCallState">
2011
-                                            呼叫状态
2012
-                                        </th>
2013
-                                        <th data-field="TypeName">
2014
-                                            通话类型
2015
-                                        </th>
2016
-                                        <th data-field="UserCode">
2017
-                                            坐席工号
2018
-                                        </th>
2019
-                                        <th data-field="UserName">
2020
-                                            坐席姓名
2021
-                                        </th>
2022
-                                        <th data-field="TalkStartTime">
2023
-                                            通话开始时间
2024
-                                        </th>
2025
-                                        <th data-field="TalkEndTime">
2026
-                                            通话结束时间
2027
-                                        </th>
2028
-                                        <th data-field="TalkLongTime" data-formatter="ftime">
2029
-                                            通话时长
2030
-                                        </th>
2031
-                                        <th data-field="FilePath" data-formatter="setCode">
2032
-                                            录音
2033
-                                        </th>
2034
-                                    </tr>
2035
-                                </thead>
2036
-                                <tbody class="list"></tbody>
2037
-                            </table>
2038
-                        </div>
2039
-                    </div>
2040
-                </div>
2041
-                <div class="complain" style="display: none">
2042
-                    <div class="ld-sercon-con clearfix">
2043
-                        <div class="Ps-chaxun">
2044
-                            <span>查询:
2045
-                                <input type="text" id="con_startTime" class="laydate-icon" />&nbsp;——&nbsp;<input
2046
-                                    type="text" id="con_endTime" class="laydate-icon" /></span>
2047
-
2048
-                            <span class="searchbtn"></span>
2049
-                            <!--<span class="addjl g" style="margin-left:5em;">新增工单</span>-->
2050
-                        </div>
2051
-                        <div class="table-responsive col-sm-12 tbold" style="padding-left: 0">
2052
-                            <table id="orderlist" data-row-style="rowStyle" data-query-params="queryParams"
2053
-                                data-pagination="true">
2054
-                                <thead>
2055
-                                    <tr>
2056
-                                        <th data-field="F_WorkOrderId" data-formatter="GetLink">
2057
-                                            工单编号
2058
-                                        </th>
2059
-                                        <th data-field="F_CreateTime">
2060
-                                            创建时间
2061
-                                        </th>
2062
-                                        <th data-field="UserName">
2063
-                                            创建人
2064
-                                        </th>
2065
-                                        <th data-field="SourceName">
2066
-                                            信息来源
2067
-                                        </th>
2068
-                                        <th data-field="TypeName">
2069
-                                            信息类别
2070
-                                        </th>
2071
-                                        <th data-field="F_Result" data-formatter="formatterResult">
2072
-                                            处理内容
2073
-                                        </th>
2074
-                                        <th data-field="DeptName">
2075
-                                            承办单位
2076
-                                        </th>
2077
-                                        <!-- <th data-field="OtherDeptName">
2078
-                                            协办单位
2079
-                                        </th> -->
2080
-                                        <th data-field="WorkStateName">
2081
-                                            工单状态
2082
-                                        </th>
2083
-                                        <th data-field="F_ComContent" data-formatter="GetCont">
2084
-                                            工单内容
2085
-                                        </th>
2086
-                                        <th data-field="FilePath" data-formatter="setCode">
2087
-                                            录音文件
2088
-                                        </th>
2089
-                                        <th data-formatter="setReminder">
2090
-                                            操作
2091
-                                        </th>
2092
-                                    </tr>
2093
-                                </thead>
2094
-                                <tbody class="list"></tbody>
2095
-                            </table>
2096
-                        </div>
2097
-                    </div>
2098
-                </div>
2099 2099
             </div>
2100 2100
         </div>
2101 2101
     </div>

+ 24 - 24
WebUI/CallCenterWeb.UI/js/index.js

@@ -5,6 +5,7 @@ $(document).ready(function () {
5 5
     }
6 6
     getnew();
7 7
     domainPrompt();
8
+    loadOld()
8 9
     //来电弹屏
9 10
     laydate.skin("blue");
10 11
 
@@ -31,10 +32,10 @@ $(document).ready(function () {
31 32
     //获取电话类别
32 33
     getPhoneType($("#phonetype"));
33 34
     //弹屏右侧切换效果
34
-    $(".ldtp-cr ul.ld-service li").click(function () {
35
-        $(this).addClass("cr-click").siblings().removeClass("cr-click");
36
-        loadOld();
37
-    });
35
+    // $(".ldtp-cr ul.ld-service li").click(function () {
36
+    //     $(this).addClass("cr-click").siblings().removeClass("cr-click");
37
+    //     loadOld();
38
+    // });
38 39
 
39 40
     //最大化 最小化效果
40 41
     //最小化
@@ -1035,7 +1036,7 @@ function Adds() {
1035 1036
             $(".addts").attr("disabled", false);
1036 1037
             $(".addt_").text("保存");
1037 1038
             $(".addts").text("保存并提交");
1038
-            $(".ldtp-cr ul.ld-service li").eq(2).trigger("click");
1039
+            // $(".ldtp-cr ul.ld-service li").eq(2).trigger("click");
1039 1040
             //$(".hidCallID").val("");
1040 1041
             layer.msg("操作成功");
1041 1042
             Clean();
@@ -1108,12 +1109,12 @@ function clearworkorder() {
1108 1109
 }
1109 1110
 //获取历史记录
1110 1111
 function loadOld() {
1111
-    var type = $(".ldtp-cr ul.ld-service .cr-click").attr("itemtype");
1112
-    $(".complain").hide();
1113
-    $(".complain")
1114
-        .eq(type * 1)
1115
-        .show();
1116
-    if (type == "2") {
1112
+    // var type = $(".ldtp-cr ul.ld-service .cr-click").attr("itemtype");
1113
+    // $(".complain").hide();
1114
+    // $(".complain")
1115
+    //     .eq(type * 1)
1116
+    //     .show();
1117
+    // if (type == "2") {
1117 1118
         //先销毁表格
1118 1119
         $("#orderlist").bootstrapTable("destroy");
1119 1120
         //初始化表格,动态从服务器加载数据
@@ -1123,9 +1124,9 @@ function loadOld() {
1123 1124
             contentType: "application/x-www-form-urlencoded",
1124 1125
             striped: true, //表格显示条纹
1125 1126
             pagination: true, //启动分页
1126
-            pageSize: 5, //每页显示的记录数
1127
+            pageSize: 3, //每页显示的记录数
1127 1128
             pageNumber: 1, //当前第几页
1128
-            pageList: [5, 10, 50, 100], //记录数可选列表
1129
+            pageList: [3, 5, 10], //记录数可选列表
1129 1130
             search: false, //是否启用查询
1130 1131
             showColumns: false, //显示下拉框勾选要显示的列
1131 1132
             showRefresh: false, //显示刷新按钮
@@ -1154,7 +1155,7 @@ function loadOld() {
1154 1155
                 //layer.msg("加载数据失败", { time: 1500, icon: 2 });
1155 1156
             },
1156 1157
         });
1157
-    } else if (type == "1") {
1158
+    // } else if (type == "1") {
1158 1159
         //先销毁表格
1159 1160
         $("#oldlist").bootstrapTable("destroy");
1160 1161
         //初始化表格,动态从服务器加载数据
@@ -1164,9 +1165,9 @@ function loadOld() {
1164 1165
             contentType: "application/x-www-form-urlencoded",
1165 1166
             striped: true, //表格显示条纹
1166 1167
             pagination: true, //启动分页
1167
-            pageSize: 5, //每页显示的记录数
1168
+            pageSize: 3, //每页显示的记录数
1168 1169
             pageNumber: 1, //当前第几页
1169
-            pageList: [5, 10, 50, 100], //记录数可选列表
1170
+            pageList: [3, 5, 10], //记录数可选列表
1170 1171
             search: false, //是否启用查询
1171 1172
             showColumns: false, //显示下拉框勾选要显示的列
1172 1173
             showRefresh: false, //显示刷新按钮
@@ -1195,7 +1196,7 @@ function loadOld() {
1195 1196
                 //layer.msg("加载数据失败", { time: 1500, icon: 2 });
1196 1197
             },
1197 1198
         });
1198
-    }
1199
+    // }
1199 1200
 }
1200 1201
 
1201 1202
 function GetCallState(val) {
@@ -1243,7 +1244,7 @@ function ckxq(str) {
1243 1244
         type: 2,
1244 1245
         content: "CommonHtml/WorkDatil.html?wid=" + str, //iframe的url,no代表不显示滚动条
1245 1246
         title: "工单详情",
1246
-        area: ["100%", "100%"], //宽高
1247
+        area: ["80%", "80%"], //宽高
1247 1248
     });
1248 1249
 }
1249 1250
 //截取字符串
@@ -1837,10 +1838,10 @@ $(document).on("click", "#dicValueList li label", function () {
1837 1838
                             layer.msg("来电类型保存成功!");
1838 1839
                             if (dicTypeid == 50) {
1839 1840
                                 //催单
1840
-                                $(".ldtp-cr ul.ld-service li:last-child")
1841
-                                    .addClass("cr-click")
1842
-                                    .siblings()
1843
-                                    .removeClass("cr-click");
1841
+                                // $(".ldtp-cr ul.ld-service li:last-child")
1842
+                                //     .addClass("cr-click")
1843
+                                //     .siblings()
1844
+                                //     .removeClass("cr-click");
1844 1845
                                 loadOld();
1845 1846
                             }
1846 1847
                         } else {
@@ -2463,7 +2464,6 @@ function Read(signid, e) {
2463 2464
 function domainPrompt() {
2464 2465
     var content =
2465 2466
         '<div style="padding: 20px; font-size: 30px; line-height: 40px;">为了系统平台的安全考虑,系统登录地址改为:<a href="http://12345rx.zwfw.anyang.gov.cn:9999/home.html" target="block">http://12345rx.zwfw.anyang.gov.cn:9999/home.html</a>,新系统地址5月28日开始正式使用,老系统将于6月5日正式停止访问,请互相转告,谢谢!</div>';
2466
-    console.log("123123", window.location.host);
2467 2467
     if (window.location.host === "125.45.12.146:9999") {
2468 2468
         layer.open({
2469 2469
             type: 1,
@@ -2488,4 +2488,4 @@ function satisfactionEvaluationFun() {
2488 2488
 }
2489 2489
 
2490 2490
 //获取知识库消息
2491
-setInterval(getnew, 180000);
2491
+setInterval(getnew, 180000);

+ 1 - 0
WebUI/CallCenterWeb.UI/js/search/screen.js

@@ -329,6 +329,7 @@ function treeReactionCategory() {
329 329
         }
330 330
     );
331 331
 }
332
+
332 333
 var settingReactionCategory = {
333 334
     data: {
334 335
         key: {