liuyifan 4 年之前
父節點
當前提交
0807005393

+ 4 - 4
WebUI/CallCenterWeb.UI/Appeal/Lawsuit.html

@@ -5,8 +5,8 @@
5 5
     <meta charset="UTF-8" />
6 6
     <title>工单查询</title>
7 7
     <script src="../Script/Common/huayi.load.js"></script>
8
-    <link rel="stylesheet" href="../css/bootstrap-select.css" />
9 8
     <script src="../Script/Common/huayi.config.js"></script>
9
+    <link rel="stylesheet" href="../css/bootstrap-select.css" />
10 10
     <link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
11 11
     <link rel="stylesheet" href="../css/init.css" />
12 12
     <!-- <link rel="stylesheet" href="../css/addappeal.css" /> -->
@@ -346,7 +346,7 @@
346 346
                                 <th>时间:</th>
347 347
                                 <td colspan="3">
348 348
                                     <input type="text" id="starttime" class="" placeholder="请选择时间"
349
-                                        style="height: 32px; width: 350px;" />
349
+                                        style="height: 32px; width: 350px;" autocomplete="off" />
350 350
                                 </td>
351 351
                             </tr>
352 352
                             <tr>
@@ -380,9 +380,9 @@
380 380
                                 <td>
381 381
                                     <input type="text" placeholder="输入工单标题" id="workOrderTitle" class="Min-width" />
382 382
                                 </td>
383
-                                <th>工单内容:</th>
383
+                                <th>来电内容:</th>
384 384
                                 <td>
385
-                                    <input type="text" placeholder="输入工单内容" id="workOrderContent" class="Min-width" />
385
+                                    <input type="text" placeholder="输入来电内容" id="workOrderContent" class="Min-width" />
386 386
                                 </td>
387 387
                                 <th>办理结果:</th>
388 388
                                 <td>

+ 34 - 20
WebUI/CallCenterWeb.UI/Appeal/expiredWorkOrders.html

@@ -6,6 +6,7 @@
6 6
     <title>超期工单列表</title>
7 7
     <script src="../Script/Common/huayi.load.js"></script>
8 8
     <script src="../Script/Common/huayi.config.js"></script>
9
+    <link rel="stylesheet" href="../css/bootstrap-select.css" />
9 10
     <link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
10 11
     <link rel="stylesheet" href="../css/init.css" />
11 12
     <style>
@@ -355,9 +356,11 @@
355 356
 									</td>-->
356 357
                                 <th>坐席:</th>
357 358
                                 <td>
358
-                                    <select id="ZX" name="" class="select"></select>
359
+                                    <select id="ZX" name="select" class="selectpicker show-tick form-control" multiple
360
+                                        data-live-search="true">
361
+                                        <option value="">请选择坐席</option>
362
+                                    </select>
359 363
                                 </td>
360
-
361 364
                                 <th>类型:</th>
362 365
                                 <td>
363 366
                                     <select class="select_" id="type">
@@ -419,6 +422,7 @@
419 422
         <input type="hidden" id="PID" />
420 423
         <input type="hidden" id="Dpment" />
421 424
     </div>
425
+    <script src="../js/bootstrap-select.js"></script>
422 426
     <script src="../css/laydate/laydate.js"></script>
423 427
     <script src="../My97DatePicker/WdatePicker.js"></script>
424 428
     <script src="../js/zTree/jquery.ztree.core.js"></script>
@@ -453,6 +457,19 @@
453 457
 
454 458
         //获取查询信息
455 459
         function load() {
460
+            //坐席
461
+            var usercodeID = "";
462
+            var usercode_ = $("#ZX").val(); //坐席
463
+            if (usercode_ != null) {
464
+                $(usercode_).each(function (i, n) {
465
+                    var obj1 = "";
466
+                    obj1 = n + ",";
467
+                    usercodeID += obj1;
468
+                });
469
+            } else {
470
+                usercodeID = "";
471
+            }
472
+
456 473
             //先销毁表格
457 474
             $('#orderlist').bootstrapTable('destroy');
458 475
             //初始化表格,动态从服务器加载数据
@@ -485,7 +502,7 @@
485 502
                         //							key: $("#key").val(), //=关键字
486 503
                         //							tel: $("#tel").val(), //=客户电话
487 504
                         //							name: $("#name").val(), //=客户名称
488
-                        usercode: $("#ZX").val(), //=坐席工号
505
+                        usercode: usercodeID, //=坐席工号
489 506
                         keyid: $("#keyid").val(), //=关键词id
490 507
                         source: $("#source").val(), //=来源&
491 508
                         starttime: $("#starttime").val(), //=开始时间
@@ -969,22 +986,6 @@
969 986
                 }
970 987
             })
971 988
         }
972
-        ///坐席 
973
-        function ZX(obj) {
974
-            obj.empty();
975
-            obj.append('<option selected="selected" value="">请选择</option>');
976
-            $.getJSON(huayi.config.callcenter_url + "UserAccount/GetSeatList", {
977
-                "token": $.cookie("token"),
978
-            }, function (data) {
979
-                if (data.state.toLowerCase() == "success") {
980
-                    var content = data.data;
981
-                    $(content).each(function (i, n) {
982
-                        $("<option value='" + n.F_UserCode + "'>" + n.F_UserName + "</option>")
983
-                            .appendTo(obj);
984
-                    })
985
-                }
986
-            })
987
-        }
988 989
 
989 990
         function tree() {
990 991
             $.get(huayi.config.callcenter_url + 'Department/GetDeptList', {
@@ -1023,12 +1024,25 @@
1023 1024
         };
1024 1025
 
1025 1026
         $(".exportFile").click(function () {
1027
+            //坐席
1028
+            var usercodeID = "";
1029
+            var usercode_ = $("#ZX").val(); //坐席
1030
+            if (usercode_ != null) {
1031
+                $(usercode_).each(function (i, n) {
1032
+                    var obj1 = "";
1033
+                    obj1 = n + ",";
1034
+                    usercodeID += obj1;
1035
+                });
1036
+            } else {
1037
+                usercodeID = "";
1038
+            }
1039
+
1026 1040
             var workid = $("#wids").val()
1027 1041
             var state = $("#state").val() == undefined ? "" : $("#state").val() //=工单状态
1028 1042
             var type = $("#type").val() //=工单类型
1029 1043
             var bigtype = $("#bigtype").val() == undefined ? "" : $("#bigtype").val() //=大类别
1030 1044
             var smalltype = $("#smalltype").val() == undefined ? "" : $("#smalltype").val() //=小类别
1031
-            var usercode = $("#ZX").val() //=坐席工号
1045
+            var usercode = usercodeID //=坐席工号
1032 1046
             var keyid = $("#keyid").val() //=关键词id
1033 1047
             var source = $("#source").val() //=来源&
1034 1048
             var starttime = $("#starttime").val() //=开始时间

+ 1 - 0
WebUI/CallCenterWeb.UI/Business/ReturnReviewedTransferred.html

@@ -404,6 +404,7 @@
404 404
                                     <!--<th data-field="FilePath" data-formatter="setCode" data-align="center">录音</th>-->
405 405
                                     <th data-field="OverState" data-formatter="OverTime" data-align="center">时限</th>
406 406
                                     <th data-field="LimitTime" data-formatter="BanTime" data-align="center">办理时限</th>
407
+                                    <th data-field="DeptNames" data-align="center">退回单位</th>
407 408
                                     <th data-field="Backreason" data-align="center">退回原因</th>
408 409
                                     <th data-field="F_WorkOrderId" data-formatter="Dispose" data-align="center">操作</th>
409 410
                                 </tr>

+ 53 - 14
WebUI/CallCenterWeb.UI/Business/WorkDC.html

@@ -391,7 +391,7 @@
391 391
                                 <th></th>
392 392
                                 <td style="text-align: center">
393 393
                                     <botton class="btns Seach">搜索</botton>
394
-                                    <!--<botton class="btns ">导出</botton>-->
394
+                                    <botton class="btns exportFile">导出</botton>
395 395
                                 </td>
396 396
                             </tr>
397 397
                         </table>
@@ -889,19 +889,6 @@
889 889
                     }
890 890
                 }
891 891
             );
892
-            layer.open({
893
-                type: 2,
894
-                content: "../CommonHtml/WorkDatil.html?wid=" + str + "&check=check", //iframe的url,no代表不显示滚动条
895
-                title: "工单详情",
896
-                area: ["100%", "100%"], //宽高
897
-            });
898
-            // layer.confirm(
899
-            //     "确定要查收?",
900
-            //     {
901
-            //         btn: ["是", "否"], //按钮
902
-            //     },
903
-            //     function () {}
904
-            // );
905 892
         }
906 893
         //收回
907 894
         function sh(str) {
@@ -1248,6 +1235,58 @@
1248 1235
                 $(".Cleans").show();
1249 1236
             }
1250 1237
         }
1238
+
1239
+        $(".exportFile").click(function () {
1240
+            var usercode_ = $("#ZX").val(); //坐席
1241
+            if (usercode_ != null) {
1242
+                $(usercode_).each(function (i, n) {
1243
+                    var obj1 = "";
1244
+                    obj1 = n + ",";
1245
+                    usercodeID += obj1;
1246
+                });
1247
+            } else {
1248
+                usercodeID = "";
1249
+            }
1250
+
1251
+            //      	调度员
1252
+            var ddusercodeID = "";
1253
+            var ddusercode_ = $("#yardman").val(); //坐席
1254
+            if (ddusercode_ != null) {
1255
+                $(ddusercode_).each(function (i, n) {
1256
+                    var obj2 = "";
1257
+                    obj2 = n + ",";
1258
+                    ddusercodeID += obj2;
1259
+                });
1260
+            } else {
1261
+                ddusercodeID = "";
1262
+            }
1263
+
1264
+            // var isproresult = 2 // 已办未果
1265
+            var key = $("#key").val() //=关键字
1266
+            var tel = $("#tel").val() //=客户电话
1267
+            var name = $("#name").val() //=客户名称
1268
+            var usercode = usercodeID //=坐席工号
1269
+            var ddusercode = ddusercodeID
1270
+            var source = $("#source").val() //=来源&
1271
+            var starttime = $("#starttime").val() && $("#starttime").val().split(" ~ ")[0] //=开始时间
1272
+            var endtime = $("#starttime").val() && $("#starttime").val().split(" ~ ")[1] //=结束时间
1273
+            var deptid = $("#PID").val()
1274
+            var type = $("#type").val() //=工单类型
1275
+            var dealtype = $("#dealtype").val()
1276
+            var sourcearea = $("#sourceAreas").val() //区域
1277
+            var workid = $("#wids").val()
1278
+            var state = "" //=工单状态
1279
+            var tab = 0
1280
+            var keyid = $("#keyid").val() //=关键词id
1281
+
1282
+            var url = huayi.config.callcenter_url + "WorkOrder/GetDWDealList?token=" + $.cookie("token");
1283
+            url += "&workid=" + workid + "&state=" + state + "&tab=" + tab + "&type=" + type + "&key=" + key +
1284
+                "&tel=" + tel + "&name=" + name + "&usercode=" + usercode + "&ddusercode=" + ddusercode +
1285
+                "&keyid=" + keyid + "&source=" + source + "&starttime=" + starttime + "&endtime=" + endtime +
1286
+                "&deptid=" + deptid + "&sourcearea=" + sourcearea + "&dealtype=" + dealtype + "&isdc=1";
1287
+            window.location.href = url;
1288
+        })
1289
+
1251 1290
     </script>
1252 1291
 </body>
1253 1292
 

+ 52 - 1
WebUI/CallCenterWeb.UI/Business/WorkTHBJJ.html

@@ -391,7 +391,7 @@
391 391
                                 <th></th>
392 392
                                 <td style="text-align: center">
393 393
                                     <botton class="btns Seach">搜索</botton>
394
-                                    <!--<botton class="btns ">导出</botton>-->
394
+                                    <botton class="btns exportFile">导出</botton>
395 395
                                 </td>
396 396
                             </tr>
397 397
                         </table>
@@ -1253,6 +1253,57 @@
1253 1253
                 $(".Cleans").show();
1254 1254
             }
1255 1255
         }
1256
+        $(".exportFile").click(function () {
1257
+            var usercode_ = $("#ZX").val(); //坐席
1258
+            if (usercode_ != null) {
1259
+                $(usercode_).each(function (i, n) {
1260
+                    var obj1 = "";
1261
+                    obj1 = n + ",";
1262
+                    usercodeID += obj1;
1263
+                });
1264
+            } else {
1265
+                usercodeID = "";
1266
+            }
1267
+
1268
+            //      	调度员
1269
+            var ddusercodeID = "";
1270
+            var ddusercode_ = $("#yardman").val(); //坐席
1271
+            if (ddusercode_ != null) {
1272
+                $(ddusercode_).each(function (i, n) {
1273
+                    var obj2 = "";
1274
+                    obj2 = n + ",";
1275
+                    ddusercodeID += obj2;
1276
+                });
1277
+            } else {
1278
+                ddusercodeID = "";
1279
+            }
1280
+
1281
+            // var isproresult = 2 // 已办未果
1282
+            var key = $("#key").val() //=关键字
1283
+            var tel = $("#tel").val() //=客户电话
1284
+            var name = $("#name").val() //=客户名称
1285
+            var usercode = usercodeID //=坐席工号
1286
+            var ddusercode = ddusercodeID
1287
+            var source = $("#source").val() //=来源&
1288
+            var starttime = $("#starttime").val() && $("#starttime").val().split(" ~ ")[0] //=开始时间
1289
+            var endtime = $("#starttime").val() && $("#starttime").val().split(" ~ ")[1] //=结束时间
1290
+            var deptid = $("#PID").val()
1291
+            var type = $("#type").val() //=工单类型
1292
+            var dealtype = $("#dealtype").val()
1293
+            var sourcearea = $("#sourceAreas").val() //区域
1294
+            var workid = $("#wids").val()
1295
+            var state = "" //=工单状态
1296
+            var tab = 16
1297
+            var keyid = $("#keyid").val() //=关键词id
1298
+
1299
+            var url = huayi.config.callcenter_url + "WorkOrder/GetDWDealList?token=" + $.cookie("token");
1300
+            url += "&workid=" + workid + "&state=" + state + "&tab=" + tab + "&type=" + type + "&key=" + key +
1301
+                "&tel=" + tel + "&name=" + name + "&usercode=" + usercode + "&ddusercode=" + ddusercode +
1302
+                "&keyid=" + keyid + "&source=" + source + "&starttime=" + starttime + "&endtime=" + endtime +
1303
+                "&deptid=" + deptid + "&sourcearea=" + sourcearea + "&dealtype=" + dealtype + "&isdc=1";
1304
+            window.location.href = url;
1305
+        })
1306
+
1256 1307
     </script>
1257 1308
 </body>
1258 1309
 

+ 53 - 1
WebUI/CallCenterWeb.UI/Business/WorkTHCB.html

@@ -384,7 +384,7 @@
384 384
                                 <th></th>
385 385
                                 <td style="text-align: center">
386 386
                                     <botton class="btns Seach">搜索</botton>
387
-                                    <!--<botton class="btns ">导出</botton>-->
387
+                                    <botton class="btns exportFile">导出</botton>
388 388
                                 </td>
389 389
                             </tr>
390 390
                         </table>
@@ -1236,6 +1236,58 @@
1236 1236
                 $(".Cleans").show();
1237 1237
             }
1238 1238
         }
1239
+
1240
+        $(".exportFile").click(function () {
1241
+            var usercode_ = $("#ZX").val(); //坐席
1242
+            if (usercode_ != null) {
1243
+                $(usercode_).each(function (i, n) {
1244
+                    var obj1 = "";
1245
+                    obj1 = n + ",";
1246
+                    usercodeID += obj1;
1247
+                });
1248
+            } else {
1249
+                usercodeID = "";
1250
+            }
1251
+
1252
+            //      	调度员
1253
+            var ddusercodeID = "";
1254
+            var ddusercode_ = $("#yardman").val(); //坐席
1255
+            if (ddusercode_ != null) {
1256
+                $(ddusercode_).each(function (i, n) {
1257
+                    var obj2 = "";
1258
+                    obj2 = n + ",";
1259
+                    ddusercodeID += obj2;
1260
+                });
1261
+            } else {
1262
+                ddusercodeID = "";
1263
+            }
1264
+
1265
+            // var isproresult = 2 // 已办未果
1266
+            var key = $("#key").val() //=关键字
1267
+            var tel = $("#tel").val() //=客户电话
1268
+            var name = $("#name").val() //=客户名称
1269
+            var usercode = usercodeID //=坐席工号
1270
+            var ddusercode = ddusercodeID
1271
+            var source = $("#source").val() //=来源&
1272
+            var starttime = $("#starttime").val() && $("#starttime").val().split(" ~ ")[0] //=开始时间
1273
+            var endtime = $("#starttime").val() && $("#starttime").val().split(" ~ ")[1] //=结束时间
1274
+            var deptid = $("#PID").val()
1275
+            var type = $("#type").val() //=工单类型
1276
+            var dealtype = $("#dealtype").val()
1277
+            var sourcearea = $("#sourceAreas").val() //区域
1278
+            var workid = $("#wids").val()
1279
+            var state = "" //=工单状态
1280
+            var tab = 12
1281
+            var keyid = $("#keyid").val() //=关键词id
1282
+
1283
+            var url = huayi.config.callcenter_url + "WorkOrder/GetDWDealList?token=" + $.cookie("token");
1284
+            url += "&workid=" + workid + "&state=" + state + "&tab=" + tab + "&type=" + type + "&key=" + key +
1285
+                "&tel=" + tel + "&name=" + name + "&usercode=" + usercode + "&ddusercode=" + ddusercode +
1286
+                "&keyid=" + keyid + "&source=" + source + "&starttime=" + starttime + "&endtime=" + endtime +
1287
+                "&deptid=" + deptid + "&sourcearea=" + sourcearea + "&dealtype=" + dealtype + "&isdc=1";
1288
+            window.location.href = url;
1289
+        })
1290
+
1239 1291
     </script>
1240 1292
 </body>
1241 1293
 

+ 52 - 1
WebUI/CallCenterWeb.UI/Business/WorkXJDWTH.html

@@ -391,7 +391,7 @@
391 391
                                 <th></th>
392 392
                                 <td style="text-align: center">
393 393
                                     <botton class="btns Seach">搜索</botton>
394
-                                    <!--<botton class="btns ">导出</botton>-->
394
+                                    <botton class="btns exportFile">导出</botton>
395 395
                                 </td>
396 396
                             </tr>
397 397
                         </table>
@@ -1246,6 +1246,57 @@
1246 1246
                 $(".Cleans").show();
1247 1247
             }
1248 1248
         }
1249
+        $(".exportFile").click(function () {
1250
+            var usercode_ = $("#ZX").val(); //坐席
1251
+            if (usercode_ != null) {
1252
+                $(usercode_).each(function (i, n) {
1253
+                    var obj1 = "";
1254
+                    obj1 = n + ",";
1255
+                    usercodeID += obj1;
1256
+                });
1257
+            } else {
1258
+                usercodeID = "";
1259
+            }
1260
+
1261
+            //      	调度员
1262
+            var ddusercodeID = "";
1263
+            var ddusercode_ = $("#yardman").val(); //坐席
1264
+            if (ddusercode_ != null) {
1265
+                $(ddusercode_).each(function (i, n) {
1266
+                    var obj2 = "";
1267
+                    obj2 = n + ",";
1268
+                    ddusercodeID += obj2;
1269
+                });
1270
+            } else {
1271
+                ddusercodeID = "";
1272
+            }
1273
+
1274
+            // var isproresult = 2 // 已办未果
1275
+            var key = $("#key").val() //=关键字
1276
+            var tel = $("#tel").val() //=客户电话
1277
+            var name = $("#name").val() //=客户名称
1278
+            var usercode = usercodeID //=坐席工号
1279
+            var ddusercode = ddusercodeID
1280
+            var source = $("#source").val() //=来源&
1281
+            var starttime = $("#starttime").val() && $("#starttime").val().split(" ~ ")[0] //=开始时间
1282
+            var endtime = $("#starttime").val() && $("#starttime").val().split(" ~ ")[1] //=结束时间
1283
+            var deptid = $("#PID").val()
1284
+            var type = $("#type").val() //=工单类型
1285
+            var dealtype = $("#dealtype").val()
1286
+            var sourcearea = $("#sourceAreas").val() //区域
1287
+            var workid = $("#wids").val()
1288
+            var state = "" //=工单状态
1289
+            var tab = 13
1290
+            var keyid = $("#keyid").val() //=关键词id
1291
+
1292
+            var url = huayi.config.callcenter_url + "WorkOrder/GetDWDealList?token=" + $.cookie("token");
1293
+            url += "&workid=" + workid + "&state=" + state + "&tab=" + tab + "&type=" + type + "&key=" + key +
1294
+                "&tel=" + tel + "&name=" + name + "&usercode=" + usercode + "&ddusercode=" + ddusercode +
1295
+                "&keyid=" + keyid + "&source=" + source + "&starttime=" + starttime + "&endtime=" + endtime +
1296
+                "&deptid=" + deptid + "&sourcearea=" + sourcearea + "&dealtype=" + dealtype + "&isdc=1";
1297
+            window.location.href = url;
1298
+        })
1299
+
1249 1300
     </script>
1250 1301
 </body>
1251 1302
 

+ 52 - 1
WebUI/CallCenterWeb.UI/Business/WorkYBL.html

@@ -391,7 +391,7 @@
391 391
                                 <th></th>
392 392
                                 <td style="text-align: center">
393 393
                                     <botton class="btns Seach">搜索</botton>
394
-                                    <!--<botton class="btns ">导出</botton></td>-->
394
+                                    <botton class="btns exportFile">导出</botton>
395 395
                                 </td>
396 396
                             </tr>
397 397
                         </table>
@@ -1159,6 +1159,57 @@
1159 1159
                 $(".Cleans").show();
1160 1160
             }
1161 1161
         }
1162
+        $(".exportFile").click(function () {
1163
+            var usercode_ = $("#ZX").val(); //坐席
1164
+            if (usercode_ != null) {
1165
+                $(usercode_).each(function (i, n) {
1166
+                    var obj1 = "";
1167
+                    obj1 = n + ",";
1168
+                    usercodeID += obj1;
1169
+                });
1170
+            } else {
1171
+                usercodeID = "";
1172
+            }
1173
+
1174
+            //      	调度员
1175
+            var ddusercodeID = "";
1176
+            var ddusercode_ = $("#yardman").val(); //坐席
1177
+            if (ddusercode_ != null) {
1178
+                $(ddusercode_).each(function (i, n) {
1179
+                    var obj2 = "";
1180
+                    obj2 = n + ",";
1181
+                    ddusercodeID += obj2;
1182
+                });
1183
+            } else {
1184
+                ddusercodeID = "";
1185
+            }
1186
+
1187
+            // var isproresult = 2 // 已办未果
1188
+            var key = $("#key").val() //=关键字
1189
+            var tel = $("#tel").val() //=客户电话
1190
+            var name = $("#name").val() //=客户名称
1191
+            var usercode = usercodeID //=坐席工号
1192
+            var ddusercode = ddusercodeID
1193
+            var source = $("#source").val() //=来源&
1194
+            var starttime = $("#starttime").val() && $("#starttime").val().split(" ~ ")[0] //=开始时间
1195
+            var endtime = $("#starttime").val() && $("#starttime").val().split(" ~ ")[1] //=结束时间
1196
+            var deptid = $("#PID").val()
1197
+            var type = $("#type").val() //=工单类型
1198
+            var dealtype = $("#dealtype").val()
1199
+            var sourcearea = $("#sourceAreas").val() //区域
1200
+            var workid = $("#wids").val()
1201
+            var state = "" //=工单状态
1202
+            var tab = 4
1203
+            var keyid = $("#keyid").val() //=关键词id
1204
+
1205
+            var url = huayi.config.callcenter_url + "WorkOrder/GetDWDealList?token=" + $.cookie("token");
1206
+            url += "&workid=" + workid + "&state=" + state + "&tab=" + tab + "&type=" + type + "&key=" + key +
1207
+                "&tel=" + tel + "&name=" + name + "&usercode=" + usercode + "&ddusercode=" + ddusercode +
1208
+                "&keyid=" + keyid + "&source=" + source + "&starttime=" + starttime + "&endtime=" + endtime +
1209
+                "&deptid=" + deptid + "&sourcearea=" + sourcearea + "&dealtype=" + dealtype + "&isdc=1";
1210
+            window.location.href = url;
1211
+        })
1212
+
1162 1213
     </script>
1163 1214
 </body>
1164 1215
 

+ 53 - 1
WebUI/CallCenterWeb.UI/Business/WorkYBLTJ.html

@@ -391,7 +391,7 @@
391 391
                                 <th></th>
392 392
                                 <td style="text-align: center">
393 393
                                     <botton class="btns Seach">搜索</botton>
394
-                                    <!--<botton class="btns ">导出</botton>-->
394
+                                    <botton class="btns exportFile">导出</botton>
395 395
                                 </td>
396 396
                             </tr>
397 397
                         </table>
@@ -1254,6 +1254,58 @@
1254 1254
                 $(".Cleans").show();
1255 1255
             }
1256 1256
         }
1257
+
1258
+        $(".exportFile").click(function () {
1259
+            var usercode_ = $("#ZX").val(); //坐席
1260
+            if (usercode_ != null) {
1261
+                $(usercode_).each(function (i, n) {
1262
+                    var obj1 = "";
1263
+                    obj1 = n + ",";
1264
+                    usercodeID += obj1;
1265
+                });
1266
+            } else {
1267
+                usercodeID = "";
1268
+            }
1269
+
1270
+            //      	调度员
1271
+            var ddusercodeID = "";
1272
+            var ddusercode_ = $("#yardman").val(); //坐席
1273
+            if (ddusercode_ != null) {
1274
+                $(ddusercode_).each(function (i, n) {
1275
+                    var obj2 = "";
1276
+                    obj2 = n + ",";
1277
+                    ddusercodeID += obj2;
1278
+                });
1279
+            } else {
1280
+                ddusercodeID = "";
1281
+            }
1282
+
1283
+            // var isproresult = 2 // 已办未果
1284
+            var key = $("#key").val() //=关键字
1285
+            var tel = $("#tel").val() //=客户电话
1286
+            var name = $("#name").val() //=客户名称
1287
+            var usercode = usercodeID //=坐席工号
1288
+            var ddusercode = ddusercodeID
1289
+            var source = $("#source").val() //=来源&
1290
+            var starttime = $("#starttime").val() && $("#starttime").val().split(" ~ ")[0] //=开始时间
1291
+            var endtime = $("#starttime").val() && $("#starttime").val().split(" ~ ")[1] //=结束时间
1292
+            var deptid = $("#PID").val()
1293
+            var type = $("#type").val() //=工单类型
1294
+            var dealtype = $("#dealtype").val()
1295
+            var sourcearea = $("#sourceAreas").val() //区域
1296
+            var workid = $("#wids").val()
1297
+            var state = "" //=工单状态
1298
+            var tab = 15
1299
+            var keyid = $("#keyid").val() //=关键词id
1300
+
1301
+            var url = huayi.config.callcenter_url + "WorkOrder/GetDWDealList?token=" + $.cookie("token");
1302
+            url += "&workid=" + workid + "&state=" + state + "&tab=" + tab + "&type=" + type + "&key=" + key +
1303
+                "&tel=" + tel + "&name=" + name + "&usercode=" + usercode + "&ddusercode=" + ddusercode +
1304
+                "&keyid=" + keyid + "&source=" + source + "&starttime=" + starttime + "&endtime=" + endtime +
1305
+                "&deptid=" + deptid + "&sourcearea=" + sourcearea + "&dealtype=" + dealtype + "&isdc=1";
1306
+            window.location.href = url;
1307
+        })
1308
+
1257 1309
     </script>
1258 1310
 </body>
1259 1311
 

+ 52 - 1
WebUI/CallCenterWeb.UI/Business/WorkYSBJJ.html

@@ -391,7 +391,7 @@
391 391
                                 <th></th>
392 392
                                 <td style="text-align: center">
393 393
                                     <botton class="btns Seach">搜索</botton>
394
-                                    <!--<botton class="btns ">导出</botton>-->
394
+                                    <botton class="btns exportFile">导出</botton>
395 395
                                 </td>
396 396
                             </tr>
397 397
                         </table>
@@ -1253,6 +1253,57 @@
1253 1253
                 $(".Cleans").show();
1254 1254
             }
1255 1255
         }
1256
+
1257
+        $(".exportFile").click(function () {
1258
+            var usercode_ = $("#ZX").val(); //坐席
1259
+            if (usercode_ != null) {
1260
+                $(usercode_).each(function (i, n) {
1261
+                    var obj1 = "";
1262
+                    obj1 = n + ",";
1263
+                    usercodeID += obj1;
1264
+                });
1265
+            } else {
1266
+                usercodeID = "";
1267
+            }
1268
+
1269
+            //      	调度员
1270
+            var ddusercodeID = "";
1271
+            var ddusercode_ = $("#yardman").val(); //坐席
1272
+            if (ddusercode_ != null) {
1273
+                $(ddusercode_).each(function (i, n) {
1274
+                    var obj2 = "";
1275
+                    obj2 = n + ",";
1276
+                    ddusercodeID += obj2;
1277
+                });
1278
+            } else {
1279
+                ddusercodeID = "";
1280
+            }
1281
+
1282
+            // var isproresult = 2 // 已办未果
1283
+            var key = $("#key").val() //=关键字
1284
+            var tel = $("#tel").val() //=客户电话
1285
+            var name = $("#name").val() //=客户名称
1286
+            var usercode = usercodeID //=坐席工号
1287
+            var ddusercode = ddusercodeID
1288
+            var source = $("#source").val() //=来源&
1289
+            var starttime = $("#starttime").val() && $("#starttime").val().split(" ~ ")[0] //=开始时间
1290
+            var endtime = $("#starttime").val() && $("#starttime").val().split(" ~ ")[1] //=结束时间
1291
+            var deptid = $("#PID").val()
1292
+            var type = $("#type").val() //=工单类型
1293
+            var dealtype = $("#dealtype").val()
1294
+            var sourcearea = $("#sourceAreas").val() //区域
1295
+            var workid = $("#wids").val()
1296
+            var state = "" //=工单状态
1297
+            var tab = 17
1298
+            var keyid = $("#keyid").val() //=关键词id
1299
+
1300
+            var url = huayi.config.callcenter_url + "WorkOrder/GetDWDealList?token=" + $.cookie("token");
1301
+            url += "&workid=" + workid + "&state=" + state + "&tab=" + tab + "&type=" + type + "&key=" + key +
1302
+                "&tel=" + tel + "&name=" + name + "&usercode=" + usercode + "&ddusercode=" + ddusercode +
1303
+                "&keyid=" + keyid + "&source=" + source + "&starttime=" + starttime + "&endtime=" + endtime +
1304
+                "&deptid=" + deptid + "&sourcearea=" + sourcearea + "&dealtype=" + dealtype + "&isdc=1";
1305
+            window.location.href = url;
1306
+        })
1256 1307
     </script>
1257 1308
 </body>
1258 1309
 

+ 53 - 1
WebUI/CallCenterWeb.UI/Business/WorkYSQTH.html

@@ -392,7 +392,7 @@
392 392
                                 <th></th>
393 393
                                 <td style="text-align: center">
394 394
                                     <botton class="btns Seach">搜索</botton>
395
-                                    <!--<botton class="btns ">导出</botton></td>-->
395
+                                    <botton class="btns exportFile">导出</botton>
396 396
                                 </td>
397 397
                             </tr>
398 398
                         </table>
@@ -1160,6 +1160,58 @@
1160 1160
                 $(".Cleans").show();
1161 1161
             }
1162 1162
         }
1163
+
1164
+        $(".exportFile").click(function () {
1165
+            var usercode_ = $("#ZX").val(); //坐席
1166
+            if (usercode_ != null) {
1167
+                $(usercode_).each(function (i, n) {
1168
+                    var obj1 = "";
1169
+                    obj1 = n + ",";
1170
+                    usercodeID += obj1;
1171
+                });
1172
+            } else {
1173
+                usercodeID = "";
1174
+            }
1175
+
1176
+            //      	调度员
1177
+            var ddusercodeID = "";
1178
+            var ddusercode_ = $("#yardman").val(); //坐席
1179
+            if (ddusercode_ != null) {
1180
+                $(ddusercode_).each(function (i, n) {
1181
+                    var obj2 = "";
1182
+                    obj2 = n + ",";
1183
+                    ddusercodeID += obj2;
1184
+                });
1185
+            } else {
1186
+                ddusercodeID = "";
1187
+            }
1188
+
1189
+            // var isproresult = 2 // 已办未果
1190
+            var key = $("#key").val() //=关键字
1191
+            var tel = $("#tel").val() //=客户电话
1192
+            var name = $("#name").val() //=客户名称
1193
+            var usercode = usercodeID //=坐席工号
1194
+            var ddusercode = ddusercodeID
1195
+            var source = $("#source").val() //=来源&
1196
+            var starttime = $("#starttime").val() && $("#starttime").val().split(" ~ ")[0] //=开始时间
1197
+            var endtime = $("#starttime").val() && $("#starttime").val().split(" ~ ")[1] //=结束时间
1198
+            var deptid = $("#PID").val()
1199
+            var type = $("#type").val() //=工单类型
1200
+            var dealtype = $("#dealtype").val()
1201
+            var sourcearea = $("#sourceAreas").val() //区域
1202
+            var workid = $("#wids").val()
1203
+            var state = "" //=工单状态
1204
+            var tab = 2
1205
+            var keyid = $("#keyid").val() //=关键词id
1206
+
1207
+            var url = huayi.config.callcenter_url + "WorkOrder/GetDWDealList?token=" + $.cookie("token");
1208
+            url += "&workid=" + workid + "&state=" + state + "&tab=" + tab + "&type=" + type + "&key=" + key +
1209
+                "&tel=" + tel + "&name=" + name + "&usercode=" + usercode + "&ddusercode=" + ddusercode +
1210
+                "&keyid=" + keyid + "&source=" + source + "&starttime=" + starttime + "&endtime=" + endtime +
1211
+                "&deptid=" + deptid + "&sourcearea=" + sourcearea + "&dealtype=" + dealtype + "&isdc=1";
1212
+            window.location.href = url;
1213
+        })
1214
+
1163 1215
     </script>
1164 1216
 </body>
1165 1217
 

+ 53 - 1
WebUI/CallCenterWeb.UI/Business/WorkYSQYS.html

@@ -391,7 +391,7 @@
391 391
                                 <th></th>
392 392
                                 <td style="text-align: center">
393 393
                                     <botton class="btns Seach">搜索</botton>
394
-                                    <!--<botton class="btns ">导出</botton>-->
394
+                                    <botton class="btns exportFile">导出</botton>
395 395
                                 </td>
396 396
                             </tr>
397 397
                         </table>
@@ -1173,6 +1173,58 @@
1173 1173
                 $(".Cleans").show();
1174 1174
             }
1175 1175
         }
1176
+
1177
+        $(".exportFile").click(function () {
1178
+            var usercode_ = $("#ZX").val(); //坐席
1179
+            if (usercode_ != null) {
1180
+                $(usercode_).each(function (i, n) {
1181
+                    var obj1 = "";
1182
+                    obj1 = n + ",";
1183
+                    usercodeID += obj1;
1184
+                });
1185
+            } else {
1186
+                usercodeID = "";
1187
+            }
1188
+
1189
+            //      	调度员
1190
+            var ddusercodeID = "";
1191
+            var ddusercode_ = $("#yardman").val(); //坐席
1192
+            if (ddusercode_ != null) {
1193
+                $(ddusercode_).each(function (i, n) {
1194
+                    var obj2 = "";
1195
+                    obj2 = n + ",";
1196
+                    ddusercodeID += obj2;
1197
+                });
1198
+            } else {
1199
+                ddusercodeID = "";
1200
+            }
1201
+
1202
+            // var isproresult = 2 // 已办未果
1203
+            var key = $("#key").val() //=关键字
1204
+            var tel = $("#tel").val() //=客户电话
1205
+            var name = $("#name").val() //=客户名称
1206
+            var usercode = usercodeID //=坐席工号
1207
+            var ddusercode = ddusercodeID
1208
+            var source = $("#source").val() //=来源&
1209
+            var starttime = $("#starttime").val() && $("#starttime").val().split(" ~ ")[0] //=开始时间
1210
+            var endtime = $("#starttime").val() && $("#starttime").val().split(" ~ ")[1] //=结束时间
1211
+            var deptid = $("#PID").val()
1212
+            var type = $("#type").val() //=工单类型
1213
+            var dealtype = $("#dealtype").val()
1214
+            var sourcearea = $("#sourceAreas").val() //区域
1215
+            var workid = $("#wids").val()
1216
+            var state = "" //=工单状态
1217
+            var tab = 3
1218
+            var keyid = $("#keyid").val() //=关键词id
1219
+
1220
+            var url = huayi.config.callcenter_url + "WorkOrder/GetDWDealList?token=" + $.cookie("token");
1221
+            url += "&workid=" + workid + "&state=" + state + "&tab=" + tab + "&type=" + type + "&key=" + key +
1222
+                "&tel=" + tel + "&name=" + name + "&usercode=" + usercode + "&ddusercode=" + ddusercode +
1223
+                "&keyid=" + keyid + "&source=" + source + "&starttime=" + starttime + "&endtime=" + endtime +
1224
+                "&deptid=" + deptid + "&sourcearea=" + sourcearea + "&dealtype=" + dealtype + "&isdc=1";
1225
+            window.location.href = url;
1226
+        })
1227
+
1176 1228
     </script>
1177 1229
 </body>
1178 1230
 

+ 52 - 1
WebUI/CallCenterWeb.UI/Business/WorkZZBL.html

@@ -391,7 +391,7 @@
391 391
                                 <th></th>
392 392
                                 <td style="text-align: center">
393 393
                                     <botton class="btns Seach">搜索</botton>
394
-                                    <!--<botton class="btns ">导出</botton>-->
394
+                                    <botton class="btns exportFile">导出</botton>
395 395
                                 </td>
396 396
                             </tr>
397 397
                         </table>
@@ -1258,6 +1258,57 @@
1258 1258
                 $(".Cleans").show();
1259 1259
             }
1260 1260
         }
1261
+        $(".exportFile").click(function () {
1262
+            var usercode_ = $("#ZX").val(); //坐席
1263
+            if (usercode_ != null) {
1264
+                $(usercode_).each(function (i, n) {
1265
+                    var obj1 = "";
1266
+                    obj1 = n + ",";
1267
+                    usercodeID += obj1;
1268
+                });
1269
+            } else {
1270
+                usercodeID = "";
1271
+            }
1272
+
1273
+            //      	调度员
1274
+            var ddusercodeID = "";
1275
+            var ddusercode_ = $("#yardman").val(); //坐席
1276
+            if (ddusercode_ != null) {
1277
+                $(ddusercode_).each(function (i, n) {
1278
+                    var obj2 = "";
1279
+                    obj2 = n + ",";
1280
+                    ddusercodeID += obj2;
1281
+                });
1282
+            } else {
1283
+                ddusercodeID = "";
1284
+            }
1285
+
1286
+            // var isproresult = 2 // 已办未果
1287
+            var key = $("#key").val() //=关键字
1288
+            var tel = $("#tel").val() //=客户电话
1289
+            var name = $("#name").val() //=客户名称
1290
+            var usercode = usercodeID //=坐席工号
1291
+            var ddusercode = ddusercodeID
1292
+            var source = $("#source").val() //=来源&
1293
+            var starttime = $("#starttime").val() && $("#starttime").val().split(" ~ ")[0] //=开始时间
1294
+            var endtime = $("#starttime").val() && $("#starttime").val().split(" ~ ")[1] //=结束时间
1295
+            var deptid = $("#PID").val()
1296
+            var type = $("#type").val() //=工单类型
1297
+            var dealtype = $("#dealtype").val()
1298
+            var sourcearea = $("#sourceAreas").val() //区域
1299
+            var workid = $("#wids").val()
1300
+            var state = "" //=工单状态
1301
+            var tab = 14
1302
+            var keyid = $("#keyid").val() //=关键词id
1303
+
1304
+            var url = huayi.config.callcenter_url + "WorkOrder/GetDWDealList?token=" + $.cookie("token");
1305
+            url += "&workid=" + workid + "&state=" + state + "&tab=" + tab + "&type=" + type + "&key=" + key +
1306
+                "&tel=" + tel + "&name=" + name + "&usercode=" + usercode + "&ddusercode=" + ddusercode +
1307
+                "&keyid=" + keyid + "&source=" + source + "&starttime=" + starttime + "&endtime=" + endtime +
1308
+                "&deptid=" + deptid + "&sourcearea=" + sourcearea + "&dealtype=" + dealtype + "&isdc=1";
1309
+            window.location.href = url;
1310
+        })
1311
+
1261 1312
     </script>
1262 1313
 </body>
1263 1314
 

+ 1 - 1
WebUI/CallCenterWeb.UI/Business/workOverdue.html

@@ -371,7 +371,7 @@
371 371
                                 <th></th>
372 372
                                 <td style="text-align: center;">
373 373
                                     <botton class="btns Seach">搜索</botton>
374
-                                    <!-- <botton class="btns exportFile">导出</botton> -->
374
+                                    <botton class="btns exportFile">导出</botton>
375 375
                                 </td>
376 376
                             </tr>
377 377
                         </table>

+ 2 - 2
WebUI/CallCenterWeb.UI/CommonHtml/AuditDatil.html

@@ -40,14 +40,14 @@
40 40
                     </select>
41 41
                 </td>
42 42
             </tr>
43
-            <tr>
43
+            <!-- <tr>
44 44
                 <th>协办单位:</th>
45 45
                 <td colspan="1">
46 46
                     <select id="otherdeptids" name="select" class="selectpicker show-tick  form-control" multiple
47 47
                         data-live-search="true">
48 48
                     </select>
49 49
                 </td>
50
-            </tr>
50
+            </tr> -->
51 51
             <tr class="limittimeWrapper">
52 52
                 <th>办理时限:</th>
53 53
                 <td colspan="">

+ 2 - 2
WebUI/CallCenterWeb.UI/CommonHtml/WorkDatil.html

@@ -237,7 +237,7 @@
237 237
                                 &nbsp;
238 238
                             </td>
239 239
                         </tr>
240
-                        <tr>
240
+                        <!-- <tr>
241 241
                             <th style="width: 150px; text-align: center;">协办单位:</th>
242 242
                             <td colspan="3" style="width: 300px;">
243 243
                                 <select id="xbSelect" name="select" class="selectpicker show-tick form-control" multiple
@@ -249,7 +249,7 @@
249 249
                             <td colspan="3" style="width: 300px;">
250 250
                                 &nbsp;
251 251
                             </td>
252
-                        </tr>
252
+                        </tr> -->
253 253
 
254 254
                     </table>
255 255
 

+ 1 - 1
WebUI/CallCenterWeb.UI/CommonHtml/banli.html

@@ -135,7 +135,7 @@
135 135
             </tr>
136 136
         </table>
137 137
         <div class="btn_box">
138
-            <button class="btns BC">保存</button>
138
+            <!-- <button class="btns BC">保存</button> -->
139 139
             <button class="btns Submit">提交</button>
140 140
         </div>
141 141
     </div>

+ 4 - 3
WebUI/CallCenterWeb.UI/CommonHtml/handle.html

@@ -193,7 +193,7 @@
193 193
                         </select>
194 194
                     </td>
195 195
                 </tr>
196
-                <tr>
196
+                <!-- <tr>
197 197
                     <th style=" text-align: center;">协办单位:</th>
198 198
                     <td colspan="2" style="width: 200px;">
199 199
                         <select id="xbSelect" name="select" class="selectpicker show-tick form-control" multiple
@@ -201,7 +201,7 @@
201 201
                         </select>
202 202
                     </td>
203 203
 
204
-                </tr>
204
+                </tr> -->
205 205
             </table>
206 206
 
207 207
             <!--<div class="company">
@@ -624,11 +624,11 @@
624 624
                 if (data.state.toLowerCase() == "success") {
625 625
 
626 626
                     var content = data.data;
627
+                    content = content.slice(1, content.length)
627 628
                     $("<option value=''>请选择</option>").appendTo(obj);
628 629
                     $(content).each(function (i, n) {
629 630
                         $("<option value='" + n.F_DeptId + "'>" + n.F_DeptName + "</option>").appendTo(
630 631
                             obj);
631
-
632 632
                     })
633 633
                     obj.selectpicker({
634 634
                         noneSelectedText: '请选择' //默认显示内容
@@ -646,6 +646,7 @@
646 646
             }, function (data) {
647 647
                 if (data.state.toLowerCase() == "success") {
648 648
                     var content = data.data;
649
+                    content = content.slice(1, content.length)
649 650
                     $(content).each(function (i, n) {
650 651
                         $("<option value='" + n.F_DeptId + "'>" + n.F_DeptName + "</option>").appendTo(
651 652
                             obj);

+ 1 - 1
WebUI/CallCenterWeb.UI/CommonHtml/jiaoban.html

@@ -332,7 +332,7 @@
332 332
                 <input type="radio" name="message" id="" value="1" />是
333 333
             </div> -->
334 334
         <div class="btn_box" style="text-align: center">
335
-            <button class="btns BC">保存</button>
335
+            <!-- <button class="btns BC">保存</button> -->
336 336
             <button class="btns Submit">保存并交办</button>
337 337
         </div>
338 338
     </div>

+ 1 - 1
WebUI/CallCenterWeb.UI/CommonHtml/replyUnsuccessful.html

@@ -61,7 +61,7 @@
61 61
                     var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
62 62
                     parent.layer.close(index); //再执行关闭
63 63
                     //debugger;
64
-                    parent.loadOld();
64
+                    parent.load();
65 65
                     parent.layer.msg("操作成功");
66 66
                 }
67 67
             })

+ 1 - 0
WebUI/CallCenterWeb.UI/MultimediaWorkOrder/ReturnReviewedTransferredMedia.html

@@ -404,6 +404,7 @@
404 404
                                     <!--<th data-field="FilePath" data-formatter="setCode" data-align="center">录音</th>-->
405 405
                                     <th data-field="OverState" data-formatter="OverTime" data-align="center">时限</th>
406 406
                                     <th data-field="LimitTime" data-formatter="BanTime" data-align="center">办理时限</th>
407
+                                    <th data-field="DeptNames" data-align="center">退回单位</th>
407 408
                                     <th data-field="Backreason" data-align="center">退回原因</th>
408 409
                                     <th data-field="F_WorkOrderId" data-formatter="Dispose" data-align="center">操作</th>
409 410
                                 </tr>