liuyifan vor 5 Jahren
Ursprung
Commit
66d25e3a7d

+ 198 - 183
WebUI/CallCenterWeb.UI/Appeal/AddAppeal.html

@@ -24,7 +24,8 @@
24 24
             border: none !important;
25 25
         }
26 26
 
27
-        input, select {
27
+        input,
28
+        select {
28 29
             vertical-align: middle;
29 30
         }
30 31
     </style>
@@ -39,7 +40,7 @@
39 40
                     <i class="syIcon"></i>位置:
40 41
                     <a href="javaScript:;" id="ReIndex">首页</a>&gt;
41 42
                     <a href="javaScript:;">工单处理</a>&gt;
42
-                   <a href="" class="nowPosition">即办工单创建</a>
43
+                    <a href="" class="nowPosition">即办工单创建</a>
43 44
                 </sapn>
44 45
             </div>
45 46
             <div class="dhRight">
@@ -72,7 +73,7 @@
72 73
                         </td> -->
73 74
                     </tr>
74 75
                     <tr>
75
-                        
76
+
76 77
                         <th class="Importent">联系电话:</th>
77 78
                         <td>
78 79
                             <input type="text" id="conphone" />
@@ -87,7 +88,8 @@
87 88
                     <tr>
88 89
                         <th class="Importent">内容:</th>
89 90
                         <td colspan="7">
90
-                            <textarea data-adaptheight id="content" name="" rows="" cols="" style="width: 100%;"></textarea>
91
+                            <textarea data-adaptheight id="content" name="" rows="" cols=""
92
+                                style="width: 100%;"></textarea>
91 93
                         </td>
92 94
                     </tr>
93 95
                     <tr>
@@ -97,23 +99,25 @@
97 99
                         </td>
98 100
                     </tr>
99 101
                     <tr>
100
-                    	<th class="Importent"></th>
102
+                        <th class="Importent"></th>
101 103
                         <td colspan="7">
102
-                        	<input id="sourceaddress" type="text" placeholder="输入详细地址" style="width:50%; padding-left: 15px;" />
103
-                    	</td>
104
+                            <input id="sourceaddress" type="text" placeholder="输入详细地址"
105
+                                style="width:50%; padding-left: 15px;" />
106
+                        </td>
104 107
                     </tr>
105
-                    
108
+
106 109
                     <tr>
107 110
                         <th>附件上传:</th>
108 111
                         <td colspan="7">
109 112
                             <div class="fileBox"></div>
110
-                            <input class="input" type="file" name="upFile" id="upFile" multiple="multiple" style="display: none;">
113
+                            <input class="input" type="file" name="upFile" id="upFile" multiple="multiple"
114
+                                style="display: none;">
111 115
                             <input class="input" type="button" value="上传" id="scwj" />
112 116
                             <input class="input" type="button" value="删除附件" id="scfj" style="display:none;" />
113 117
                             <input type="hidden" id="file" />
114 118
                             <!--</br>-->
115 119
                             <span style="color:#FF0000; border: none;">
116
-                            	(文件格式为png,jpg,mp4,avi,wmv,mp3,pdf,doc,docx,xls,xlsx)
120
+                                (文件格式为png,jpg,mp4,avi,wmv,mp3,pdf,doc,docx,xls,xlsx)
117 121
                             </span>
118 122
                         </td>
119 123
                     </tr>
@@ -149,7 +153,7 @@
149 153
                         </td>
150 154
                         <th>紧急程度:</th>
151 155
                         <td>
152
-                            <select class="select_" id="level"> 
156
+                            <select class="select_" id="level">
153 157
                                 <!--<option value="0">选择</option>-->
154 158
                                 <option value="1">普通</option>
155 159
                                 <option value="2">紧急</option>
@@ -208,11 +212,11 @@
208 212
         //添加工单
209 213
         function Add() {
210 214
             var value = $(' input[name="banli"]:checked ').val();
211
-            var content = $("#content").val(); 
215
+            var content = $("#content").val();
212 216
             if (!$("#cusname").val()) {
213 217
                 layer.msg("请输入姓名");
214
-            // } else if (!$("#cusphone").val()) {
215
-            //     layer.msg("请输入投诉电话");
218
+                // } else if (!$("#cusphone").val()) {
219
+                //     layer.msg("请输入投诉电话");
216 220
             } else if (!$("#conphone").val()) {
217 221
                 layer.msg("请输入联系电话");
218 222
             } else if (!$("#title").val()) {
@@ -231,14 +235,14 @@
231 235
                     url: huayi.config.callcenter_url + "/WorkOrder/AddWorkOrder",
232 236
                     dataType: 'json',
233 237
                     async: true,
234
-                    beforeSend: function() { //触发ajax请求开始时执行
235
-						$('.BC').attr("disabled", true);
236
-						$('.SavedSubmit').attr("disabled", true);
237
-						$('.BC').text('提交中...');
238
-						$('.SavedSubmit').text('提交中...');
239
-						$(document).off('click', '.BC', Add);
240
-						$(document).off('click', '.SavedSubmit', Add);
241
-					},
238
+                    beforeSend: function () { //触发ajax请求开始时执行
239
+                        $('.BC').attr("disabled", true);
240
+                        $('.SavedSubmit').attr("disabled", true);
241
+                        $('.BC').text('提交中...');
242
+                        $('.SavedSubmit').text('提交中...');
243
+                        $(document).off('click', '.BC', Add);
244
+                        $(document).off('click', '.SavedSubmit', Add);
245
+                    },
242 246
                     data: {
243 247
                         cusname: $("#cusname").val(), //=投诉人姓名
244 248
                         cussex: $("#cussex").val(),
@@ -262,13 +266,13 @@
262 266
                         token: $.cookie("token")
263 267
                     },
264 268
                     success: function (data) {
265
-                    	debugger
266
-                    	$('.BC').attr("disabled", false);
267
-						$('.SavedSubmit').attr("disabled", false);
268
-						$('.BC').text('保存');
269
-						$('.SavedSubmit').text('保存并提交');
270
-						$(document).on('click', '.BC', Add);
271
-						$(document).on('click', '.SavedSubmit', Add);
269
+                        debugger
270
+                        $('.BC').attr("disabled", false);
271
+                        $('.SavedSubmit').attr("disabled", false);
272
+                        $('.BC').text('保存');
273
+                        $('.SavedSubmit').text('保存并提交');
274
+                        $(document).on('click', '.BC', Add);
275
+                        $(document).on('click', '.SavedSubmit', Add);
272 276
                         Clean();
273 277
                         $('.fileBox').html('');
274 278
                         layer.msg("创建工单成功");
@@ -282,53 +286,59 @@
282 286
             var Files = document.getElementById("upFile").files;
283 287
             console.log(Files);
284 288
             if (Files.length > 0) {
285
-            	debugger
289
+                debugger
286 290
                 var formData = new FormData();
287 291
                 for (var i = 0; i < Files.length; i++) {
288 292
                     formData.append('file' + i, Files[i]);
289 293
                 }
290 294
                 formData.append("token", $.cookie("token"));
291
-                var typeName=Files[0].name.split('.')[1];
292
-                if (typeName=="png"||typeName=='jpg'||typeName=='mp4'||typeName=='avi'||typeName=='wmv'||typeName=='mp3'||typeName=='pdf'||typeName=='doc'||typeName=='docx'||typeName=='xls'||typeName=='xlsx') {
293
-	                $.ajax({
294
-	                    url: huayi.config.callcenter_url + "/WorkOrder/UploadFile",
295
-	                    type: "POST",
296
-	                    data: formData,
297
-	                    /**
298
-	                     *必须false才会自动加上正确的Content-Type
299
-	                     */
300
-	                    contentType: false,
301
-	                    /**
302
-	                     * 必须false才会避开jQuery对 formdata 的默认处理
303
-	                     * XMLHttpRequest会对 formdata 进行正确的处理
304
-	                     */
305
-	                    processData: false,
306
-	                    success: function (result) {
307
-	                    	debugger
308
-	                        document.getElementById("upFile").outerHTML = document.getElementById("upFile").outerHTML;
309
-	                        $("#upFile").change(function () {
310
-	                            upload();
311
-	                        });
312
-	                        var r = $.parseJSON(result);
313
-	                        if (r.state.toLowerCase() == "success") {
314
-	
315
-	                            var a = r.data;
316
-	                            $(a).each(function (i, n) {
317
-                            		var strs = '<span class="files" fiel-num="' + n.F_FileId + '">' + n.F_FileName.substring(19) + '<i class="fa fa-remove del_file"></i></span>'
318
-	                                $(strs).appendTo($('.fileBox')).find('.del_file').click(function (event) {
319
-	                                    event.stopPropagation();
320
-	                                    $(this).parent().remove();
321
-	                                    file_num()
322
-	                                })
323
-	                            })
324
-	                            file_num();
325
-	                        }
326
-	                    }
327
-	                });
328
-	            }else{
329
-		    		layer.msg("格式不正确");
330
-		    	}
331
-            
295
+                var typeName = Files[0].name.split('.')[1];
296
+                if (typeName == "png" || typeName == 'jpg' || typeName == 'mp4' || typeName == 'avi' || typeName ==
297
+                    'wmv' || typeName == 'mp3' || typeName == 'pdf' || typeName == 'doc' || typeName == 'docx' ||
298
+                    typeName == 'xls' || typeName == 'xlsx') {
299
+                    $.ajax({
300
+                        url: huayi.config.callcenter_url + "/WorkOrder/UploadFile",
301
+                        type: "POST",
302
+                        data: formData,
303
+                        /**
304
+                         *必须false才会自动加上正确的Content-Type
305
+                         */
306
+                        contentType: false,
307
+                        /**
308
+                         * 必须false才会避开jQuery对 formdata 的默认处理
309
+                         * XMLHttpRequest会对 formdata 进行正确的处理
310
+                         */
311
+                        processData: false,
312
+                        success: function (result) {
313
+                            debugger
314
+                            document.getElementById("upFile").outerHTML = document.getElementById("upFile")
315
+                                .outerHTML;
316
+                            $("#upFile").change(function () {
317
+                                upload();
318
+                            });
319
+                            var r = $.parseJSON(result);
320
+                            if (r.state.toLowerCase() == "success") {
321
+
322
+                                var a = r.data;
323
+                                $(a).each(function (i, n) {
324
+                                    var strs = '<span class="files" fiel-num="' + n.F_FileId +
325
+                                        '">' + n.F_FileName.substring(19) +
326
+                                        '<i class="fa fa-remove del_file"></i></span>'
327
+                                    $(strs).appendTo($('.fileBox')).find('.del_file').click(
328
+                                        function (event) {
329
+                                            event.stopPropagation();
330
+                                            $(this).parent().remove();
331
+                                            file_num()
332
+                                        })
333
+                                })
334
+                                file_num();
335
+                            }
336
+                        }
337
+                    });
338
+                } else {
339
+                    layer.msg("格式不正确");
340
+                }
341
+
332 342
             } else {
333 343
                 layer.confirm('请上传文件!', {
334 344
                     btn: ['确定']
@@ -351,68 +361,71 @@
351 361
         function LY(obj) {
352 362
             obj.empty();
353 363
             $.ajax({
354
-            	type:"get",
355
-            	url:huayi.config.callcenter_url + "Dictionary/GetDicValueListById",
356
-            	dataType:"json",
357
-            	async:true,
358
-            	data:{
359
-            		"token": $.cookie("token"),
360
-                	id: 1
361
-            	},
362
-            	success:function(data){
363
-            		if (data.state.toLowerCase() == "success") {
364
-	                    var content = data.data;
365
-	                    $(content).each(function (i, n) {
366
-	                        $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(obj);
367
-	                    })
368
-	
369
-	                }
370
-            	}
364
+                type: "get",
365
+                url: huayi.config.callcenter_url + "Dictionary/GetDicValueListById",
366
+                dataType: "json",
367
+                async: true,
368
+                data: {
369
+                    "token": $.cookie("token"),
370
+                    id: 1
371
+                },
372
+                success: function (data) {
373
+                    if (data.state.toLowerCase() == "success") {
374
+                        var content = data.data;
375
+                        $(content).each(function (i, n) {
376
+                            $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>")
377
+                                .appendTo(obj);
378
+                        })
379
+
380
+                    }
381
+                }
371 382
             });
372 383
         }
373 384
         //类别
374 385
         function LB(obj) {
375 386
             obj.empty();
376 387
             $.ajax({
377
-            	type:"get",
378
-            	url:huayi.config.callcenter_url + "Dictionary/GetDicValueListById",
379
-            	dataType:"json",
380
-            	async:true,
381
-            	data:{
382
-            		"token": $.cookie("token"),
383
-                	id: 2
384
-            	},
385
-            	success:function(data){
386
-            		if (data.state.toLowerCase() == "success") {
387
-	                    var content = data.data;
388
-	                    $(content).each(function (i, n) {
389
-	                        $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(obj);
390
-	                    })
391
-	                }
392
-            	}
388
+                type: "get",
389
+                url: huayi.config.callcenter_url + "Dictionary/GetDicValueListById",
390
+                dataType: "json",
391
+                async: true,
392
+                data: {
393
+                    "token": $.cookie("token"),
394
+                    id: 2
395
+                },
396
+                success: function (data) {
397
+                    if (data.state.toLowerCase() == "success") {
398
+                        var content = data.data;
399
+                        $(content).each(function (i, n) {
400
+                            $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>")
401
+                                .appendTo(obj);
402
+                        })
403
+                    }
404
+                }
393 405
             });
394 406
         }
395 407
         //		主题
396 408
         function ZT(obj) {
397 409
             obj.empty();
398 410
             $.ajax({
399
-            	type:"get",
400
-            	url:huayi.config.callcenter_url + "Dictionary/GetDicValueListById",
401
-            	dataType:"json",
402
-            	async:true,
403
-            	data:{
404
-            		"token": $.cookie("token"),
405
-            		type:1,
406
-                	id: 3
407
-            	},
408
-            	success:function(data){
409
-            		if (data.state.toLowerCase() == "success") {
410
-	                    var content = data.data;
411
-	                    $(content).each(function (i, n) {
412
-	                        $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(obj);
413
-	                    })
414
-	                }
415
-            	}
411
+                type: "get",
412
+                url: huayi.config.callcenter_url + "Dictionary/GetDicValueListById",
413
+                dataType: "json",
414
+                async: true,
415
+                data: {
416
+                    "token": $.cookie("token"),
417
+                    type: 1,
418
+                    id: 3
419
+                },
420
+                success: function (data) {
421
+                    if (data.state.toLowerCase() == "success") {
422
+                        var content = data.data;
423
+                        $(content).each(function (i, n) {
424
+                            $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>")
425
+                                .appendTo(obj);
426
+                        })
427
+                    }
428
+                }
416 429
             });
417 430
         }
418 431
         //区域
@@ -420,23 +433,24 @@
420 433
             obj.empty();
421 434
             obj.append('<option selected="selected" value="">请选择</option>');
422 435
             $.ajax({
423
-            	type:"get",
424
-            	url:huayi.config.callcenter_url + "Area/GetAreaListById",
425
-            	dataType:"json",
426
-            	async:true,
427
-            	data:{
428
-            		"token": $.cookie("token"),
429
-            	},
430
-            	success:function(data){
431
-            		if (data.state.toLowerCase() == "success") {
432
-	                    var content = data.data;
433
-	                    $(content).each(function (i, n) {
434
-	                        if (n.F_AreaName != '巩义市') {
435
-	                            $("<option value='" + n.F_AreaId + "'>" + n.F_AreaName + "</option>").appendTo(obj);
436
-	                        }
437
-	                    })
438
-	                }
439
-            	}
436
+                type: "get",
437
+                url: huayi.config.callcenter_url + "Area/GetAreaListById",
438
+                dataType: "json",
439
+                async: true,
440
+                data: {
441
+                    "token": $.cookie("token"),
442
+                },
443
+                success: function (data) {
444
+                    if (data.state.toLowerCase() == "success") {
445
+                        var content = data.data;
446
+                        $(content).each(function (i, n) {
447
+                            if (n.F_AreaName != '巩义市') {
448
+                                $("<option value='" + n.F_AreaId + "'>" + n.F_AreaName +
449
+                                    "</option>").appendTo(obj);
450
+                            }
451
+                        })
452
+                    }
453
+                }
440 454
             });
441 455
         }
442 456
 
@@ -460,54 +474,55 @@
460 474
             $('#result').val('');
461 475
         }
462 476
         tree()
477
+
463 478
         function tree() {
464
-				$.get(
465
-					huayi.config.callcenter_url + "Department/GetDeptList", {
466
-						token: $.cookie("token"),
467
-						//		"pid": pid
468
-					},
469
-					function(result) {
470
-						result = $.parseJSON(result);
471
-						$.fn.zTree.init(
472
-							$("#addTreeDemo"),
473
-							setting1,
474
-							result.data
475
-						); //实例化树形图
476
-					}
477
-				);
478
-			}
479
-			var setting1 = {
480
-				data: {
481
-					key: {
482
-						name: "F_DeptName",
483
-					},
484
-					simpleData: {
485
-						enable: true,
486
-						idKey: "F_DeptId",
487
-						pIdKey: "F_PartentId",
488
-						rootPId: 0,
489
-					},
490
-				},
491
-				callback: {
492
-					onClick: zTreeOnClick,
493
-				},
494
-			};
479
+            $.get(
480
+                huayi.config.callcenter_url + "Department/GetDeptList", {
481
+                    token: $.cookie("token"),
482
+                    //		"pid": pid
483
+                },
484
+                function (result) {
485
+                    result = $.parseJSON(result);
486
+                    $.fn.zTree.init(
487
+                        $("#addTreeDemo"),
488
+                        setting1,
489
+                        result.data
490
+                    ); //实例化树形图
491
+                }
492
+            );
493
+        }
494
+        var setting1 = {
495
+            data: {
496
+                key: {
497
+                    name: "F_DeptName",
498
+                },
499
+                simpleData: {
500
+                    enable: true,
501
+                    idKey: "F_DeptId",
502
+                    pIdKey: "F_PartentId",
503
+                    rootPId: 0,
504
+                },
505
+            },
506
+            callback: {
507
+                onClick: zTreeOnClick,
508
+            },
509
+        };
495 510
 
496
-			function zTreeOnClick(event, treeId, treeNode) {
497
-				if(treeNode.level >= 2) {
498
-					$(".inps").val(treeNode.F_DeptName);
499
-					$("#PID").val(treeNode.F_DeptId);
500
-					$("#Dpment").val(treeNode.F_DeptId);
501
-					$(".Cleans").show();
502
-				}
503
-			}
511
+        function zTreeOnClick(event, treeId, treeNode) {
512
+            if (treeNode.level >= 2) {
513
+                $(".inps").val(treeNode.F_DeptName);
514
+                $("#PID").val(treeNode.F_DeptId);
515
+                $("#Dpment").val(treeNode.F_DeptId);
516
+                $(".Cleans").show();
517
+            }
518
+        }
504 519
 
505
-			function Close() {
506
-				$(".lyxz").removeClass("cx");
507
-				if($("audio").length > 0) {
508
-					$("audio")[0].pause();
509
-				}
510
-			}
520
+        function Close() {
521
+            $(".lyxz").removeClass("cx");
522
+            if ($("audio").length > 0) {
523
+                $("audio")[0].pause();
524
+            }
525
+        }
511 526
     </script>
512 527
 </body>
513 528
 

+ 3 - 3
WebUI/CallCenterWeb.UI/Business/LeaderDJALB.html

@@ -3,7 +3,7 @@
3 3
 
4 4
 <head>
5 5
     <meta charset="UTF-8">
6
-    <title>工单查询</title>
6
+    <title>待结案列表</title>
7 7
     <script src="../Script/Common/huayi.load.js"></script>
8 8
     <link rel="stylesheet" href="../css/bootstrap-select.css">
9 9
     <script src="../Script/Common/huayi.config.js"></script>
@@ -279,7 +279,7 @@
279 279
                     <i class="syIcon"></i>位置:
280 280
                     <a href="javaScript:;" id="ReIndex">首页</a>&gt;
281 281
                     <a href="javaScript:;">工单处理</a>&gt;
282
-                    <a href="" class="nowPosition">查询工单</a>
282
+                    <a href="" class="nowPosition">待结案列表</a>
283 283
                 </sapn>
284 284
             </div>
285 285
             <div class="dhRight">
@@ -557,7 +557,7 @@
557 557
                     html = '已办理';
558 558
                     break;
559 559
                 case '7':
560
-                    html = '已回访';
560
+                    html = '待结案';
561 561
                     break;
562 562
                 case '8':
563 563
                     html = '重办中';

+ 2 - 2
WebUI/CallCenterWeb.UI/Business/LeaderDSHTH.html

@@ -3,7 +3,7 @@
3 3
 
4 4
 <head>
5 5
     <meta charset="UTF-8">
6
-    <title>工单查询</title>
6
+    <title>待审核退回</title>
7 7
     <script src="../Script/Common/huayi.load.js"></script>
8 8
     <link rel="stylesheet" href="../css/bootstrap-select.css">
9 9
     <script src="../Script/Common/huayi.config.js"></script>
@@ -279,7 +279,7 @@
279 279
                     <i class="syIcon"></i>位置:
280 280
                     <a href="javaScript:;" id="ReIndex">首页</a>&gt;
281 281
                     <a href="javaScript:;">工单处理</a>&gt;
282
-                    <a href="" class="nowPosition">查询工单</a>
282
+                    <a href="" class="nowPosition">待审核退回</a>
283 283
                 </sapn>
284 284
             </div>
285 285
             <div class="dhRight">

+ 7 - 3
WebUI/CallCenterWeb.UI/Business/LeaderYHC.html

@@ -3,7 +3,7 @@
3 3
 
4 4
 <head>
5 5
     <meta charset="UTF-8">
6
-    <title>已结案列表</title>
6
+    <title>已回传列表</title>
7 7
     <script src="../Script/Common/huayi.load.js"></script>
8 8
     <link rel="stylesheet" href="../css/bootstrap-select.css">
9 9
     <script src="../Script/Common/huayi.config.js"></script>
@@ -273,7 +273,7 @@
273 273
                     <i class="syIcon"></i>位置:
274 274
                     <a href="javaScript:;" id="ReIndex">首页</a>&gt;
275 275
                     <a href="javaScript:;">工单处理</a>&gt;
276
-                   <a href="" class="nowPosition">已回传</a>
276
+                   <a href="" class="nowPosition">已回传列表</a>
277 277
                 </sapn>
278 278
             </div>
279 279
             <div class="dhRight">
@@ -539,7 +539,11 @@
539 539
                     html = '重办中';
540 540
                     break;
541 541
                 case '9':
542
-                    html = '已结案';
542
+                    if (row.IsExport == "1") {
543
+                        html = '已回传';
544
+                    } else {
545
+                        html = '';
546
+                    }
543 547
                     break;
544 548
                 case '10':
545 549
                     html = '待审核';

+ 3 - 3
WebUI/CallCenterWeb.UI/Business/LeaderYJA.html

@@ -3,7 +3,7 @@
3 3
 
4 4
 <head>
5 5
     <meta charset="UTF-8">
6
-    <title>已结案列表</title>
6
+    <title>待回传列表</title>
7 7
     <script src="../Script/Common/huayi.load.js"></script>
8 8
     <link rel="stylesheet" href="../css/bootstrap-select.css">
9 9
     <script src="../Script/Common/huayi.config.js"></script>
@@ -273,7 +273,7 @@
273 273
                     <i class="syIcon"></i>位置:
274 274
                     <a href="javaScript:;" id="ReIndex">首页</a>&gt;
275 275
                     <a href="javaScript:;">工单处理</a>&gt;
276
-                   <a href="" class="nowPosition">已结案</a>
276
+                    <a href="" class="nowPosition">待回传列表</a>
277 277
                 </sapn>
278 278
             </div>
279 279
             <div class="dhRight">
@@ -538,7 +538,7 @@
538 538
                     html = '重办中';
539 539
                     break;
540 540
                 case '9':
541
-                    html = '已结案';
541
+                    html = '待回传';
542 542
                     break;
543 543
                 case '10':
544 544
                     html = '待审核';

Datei-Diff unterdrückt, da er zu groß ist
+ 1162 - 0
WebUI/CallCenterWeb.UI/Business/LeaderYJALB.html


Datei-Diff unterdrückt, da er zu groß ist
+ 1004 - 983
WebUI/CallCenterWeb.UI/Business/LeaderYJB.html


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

@@ -385,6 +385,7 @@
385 385
                                     <th data-field="F_WorkState" data-align="center" data-formatter="States">办理状态</th>
386 386
                                     <th data-field="OverState" data-formatter="OverTime" data-align="center">预警时效</th>
387 387
                                     <th data-field="LimitTime" data-formatter="BanTime" data-align="center">办理时限</th>
388
+                                    <th data-field="F_Scanning" data-formatter="BanTime" data-align="center">扫描件时效</th>
388 389
                                     <th data-field="F_WorkOrderId" data-formatter="Dispose" data-align="center">操作</th>
389 390
                                 </tr>
390 391
                             </thead>

Datei-Diff unterdrückt, da er zu groß ist
+ 964 - 934
WebUI/CallCenterWeb.UI/Business/WorkYBL.html


Datei-Diff unterdrückt, da er zu groß ist
+ 980 - 958
WebUI/CallCenterWeb.UI/Business/WorkYSSH.html


+ 4 - 4
WebUI/CallCenterWeb.UI/CommonHtml/AddAppeal.html

@@ -52,10 +52,10 @@
52 52
                         <td>
53 53
                             <select class="select_" id="source"></select>
54 54
                         </td>
55
-                        <th class="Importent">投诉电话:</th>
55
+                        <!-- <th class="Importent">投诉电话:</th>
56 56
                         <td>
57 57
                             <input type="text" id="cusphone" />
58
-                        </td>
58
+                        </td> -->
59 59
                     </tr>
60 60
                     <tr>
61 61
                         
@@ -289,8 +289,8 @@
289 289
             var content = $("#content").val();
290 290
             if (!$("#cusname").val()) {
291 291
                 layer.msg("请输入姓名");
292
-            } else if (!$("#cusphone").val()) {
293
-                layer.msg("请输入投诉电话");
292
+            // } else if (!$("#cusphone").val()) {
293
+            //     layer.msg("请输入投诉电话");
294 294
             } else if (!$("#title").val()) {
295 295
                 layer.msg("请输入标题");
296 296
             } else if (!$("#content").val()) {

+ 95 - 63
WebUI/CallCenterWeb.UI/CommonHtml/Timesq.html

@@ -1,72 +1,104 @@
1 1
 <!DOCTYPE html>
2 2
 <html>
3
-	<head>
4
-		<meta charset="UTF-8">
3
+
4
+<head>
5
+    <meta charset="UTF-8">
5 6
     <script src="../Script/Common/huayi.load.js"></script>
6 7
     <script src="../Script/Common/huayi.config.js"></script>
7 8
     <link href="../css/layer/need/layer.css" />
8 9
     <link rel="stylesheet" href="../css/init.css" />
9
-    		   <title>延时申请</title>
10
-	</head>
11
-	<body>
12
-		<div class="Common">
13
-		<table >
14
-			<tr>
15
-				<th class="Importent">申请延时时间:</th>
16
-				<td > <input type="text" id="startTime" class="laydate-icon" style="height: 32px;"></td>
17
-			</tr>
18
-			<tr>
19
-				<th class="Importent">申请延时原因:</th>
20
-				<td colspan="2">
21
-					<textarea data-adaptheight  id="reason" name="" rows="" cols=""></textarea>
22
-				</td>
23
-			</tr>
24
-		</table>
25
-		<div class="btn_box">
26
-			<button class="btns">保存</button>
27
-		</div>
28
-		</div>
29
-		   <script src="../css/laydate/laydate.js"></script>
30
-		   <script src="../js/adjustHeight.js"></script>
31
-		   <script >
32
-		   	laydate.skin('blue');
10
+    <title>延时申请</title>
11
+</head>
12
+
13
+<body>
14
+    <div class="Common">
15
+        <table>
16
+            <tr>
17
+                <th class="Importent">延时类型:</th>
18
+                <td>
19
+                    <select id="delayType" class=""  style="width: 192px; height: 32px;">
20
+                        <option value="1" selected="selected">办理时限</option>
21
+                        <option value="2">扫描件时效</option>
22
+                    </select>
23
+                </td>
24
+            </tr>
25
+            <tr>
26
+                <th class="Importent">申请延时时间:</th>
27
+                <td> <input type="text" id="startTime" class="laydate-icon" style="height: 32px;"></td>
28
+            </tr>
29
+            <tr>
30
+                <th class="Importent">申请延时原因:</th>
31
+                <td colspan="2">
32
+                    <textarea data-adaptheight id="reason" name="" rows="" cols=""></textarea>
33
+                </td>
34
+            </tr>
35
+        </table>
36
+        <div class="btn_box">
37
+            <button class="btns">保存</button>
38
+        </div>
39
+    </div>
40
+    <script src="../css/laydate/laydate.js"></script>
41
+    <script src="../js/adjustHeight.js"></script>
42
+    <script>
43
+        laydate.skin('blue');
44
+
45
+        laydate({
46
+            elem: '#startTime',
47
+            event: 'focus'
48
+        });
49
+        var wid = helper.request.queryString("wid");
50
+        $(document).ready(function () {
51
+            $(".btns").click(function () {
52
+                if ($("#reason").val() == '') {
53
+                    layer.msg("申请原因不为空");
54
+                } else {
55
+                    if ($("#delayType").val() == '1') {
56
+                        JA();
57
+                    } else if ($("#delayType").val() == '2') {
58
+                        scanningDelay()
59
+                    }
60
+                }
61
+
62
+            })
63
+        })
64
+        //批示
65
+        function JA() {
66
+            //				$("#startTime").val()
67
+            $.post(huayi.config.callcenter_url + 'WorkOrder/DelayWorkOrder', {
68
+                workorderid: wid,
69
+                reason: $("#reason").val(),
70
+                newlimittime: $("#startTime").val(),
71
+                "token": $.cookie("token")
72
+            }, function (result) {
73
+                result = JSON.parse(result);
74
+                if (result.state.toLowerCase() == "success") {
75
+
76
+                    var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
77
+                    parent.layer.close(index); //再执行关闭
78
+                    parent.$('#orderlist').bootstrapTable('refresh');
79
+                    parent.layer.msg("申请延时成功");
33 80
 
34
-            laydate({
35
-                elem: '#startTime',
36
-                event: 'focus'
37
-            });
38
-            var wid = helper.request.queryString("wid");
39
-			$(document).ready(function() {
40
-				$(".btns").click(function(){
41
-					if($("#reason").val()==''){
42
-						layer.msg("申请原因不为空");
43
-					}else {
44
-					  JA();	
45
-					}
46
-					
47
-				})
48
-			})
49
-			//批示
50
-			function JA() {
51
-//				$("#startTime").val()
52
-				$.post(huayi.config.callcenter_url + 'WorkOrder/DelayWorkOrder', {
53
-					workorderid: wid,
54
-					reason:$("#reason").val(),
55
-					newlimittime:$("#startTime").val(),
56
-					"token": $.cookie("token")
57
-				}, function(result) {
58
-					result = JSON.parse(result);
59
-					if(result.state.toLowerCase() == "success") {
60
-						
61
-					var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
81
+                }
82
+            })
83
+        }
84
+        // 扫描件延时
85
+        function scanningDelay() {
86
+            $.post(huayi.config.callcenter_url + 'WorkOrder/DelayScanning', {
87
+                workorderid: wid,
88
+                reason: $("#reason").val(),
89
+                newlimittime: $("#startTime").val(),
90
+                "token": $.cookie("token")
91
+            }, function (result) {
92
+                result = JSON.parse(result);
93
+                if (result.state.toLowerCase() == "success") {
94
+                    var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
62 95
                     parent.layer.close(index); //再执行关闭
63
-						  parent.$('#orderlist').bootstrapTable('refresh');
64
-						  parent.layer.msg("申请延时成功");
65
-                  	
66
-					}
67
-				})
68
-			}
69
-		   </script>
70
-	</body>
71
-</html>
96
+                    parent.$('#orderlist').bootstrapTable('refresh');
97
+                    parent.layer.msg("申请延时成功");
98
+                }
99
+            })
100
+        }
101
+    </script>
102
+</body>
72 103
 
104
+</html>

+ 25 - 5
WebUI/CallCenterWeb.UI/CommonHtml/WorkDatil.html

@@ -136,10 +136,12 @@
136 136
                                 <td><span class="F_CusName"></span></td>
137 137
                                 <th>来源:</th>
138 138
                                 <td><span class="LY"></span></td>
139
-                                <th>来电号码:</th>
140
-                                <td><span class="F_ConPhone"></span></td>
139
+                                <!-- <th>来电号码:</th>
140
+                                <td><span class="F_ConPhone"></span></td> -->
141 141
                                 <th>联系号码:</th>
142 142
                                 <td><span class="F_CusPhone"></span></td>
143
+                                <th></th>
144
+                                <td></td>
143 145
                             </tr>
144 146
                             <tr>
145 147
                                 <th>标题:</th>
@@ -253,8 +255,8 @@
253 255
                                 <td class="text-center" style="min-width:80px;">处理结果</td>
254 256
                                 <td class="text-center" style="min-width:80px;">单位</td>
255 257
                                 <td class="text-center" style="min-width:80px;">办理时间</td>
256
-
257 258
                                 <td class="text-center" style="min-width:80px;">附件</td>
259
+                                <td class="text-center" style="min-width:80px;">扫描件</td>
258 260
                                 <!--<td class="text-center authority" style="min-width:80px;">操作</td>-->
259 261
                             </tr>
260 262
                         </theard>
@@ -669,7 +671,7 @@
669 671
                                         FileHtml =
670 672
                                             '<img style="width:15px; height:15px" border="0" src="' +
671 673
                                             m.F_FileUrl + '" alt="' + m.F_FileName +
672
-                                            '">';
674
+                                            '"></td>';
673 675
                                     } else {
674 676
                                         FileHtml = m.F_FileName.substring(19);
675 677
                                     }
@@ -677,7 +679,25 @@
677 679
                                         '<div><a style="margin-right:5px;" target="view_window" href="' +
678 680
                                         m.F_FileUrl + '" download="' + m
679 681
                                         .F_FileName + '">' + m.F_FileName.substring(
680
-                                            19) + '</a></div>';
682
+                                            19) + '</a></div></td>';
683
+                                })
684
+                                htmls += '<td class="text-center">'
685
+                                var scanFileHtml
686
+                                $(result.data.data[0].Files).each(function (j, m) {
687
+                                    if (m.F_FileType == ".jpg" || m.F_FileType ==
688
+                                        ".png") {
689
+                                            scanFileHtml =
690
+                                            '<img style="width:15px; height:15px" border="0" src="' +
691
+                                            m.F_FileUrl + '" alt="' + m.F_FileName +
692
+                                            '"></td>';
693
+                                    } else {
694
+                                        scanFileHtml = m.F_FileName.substring(19);
695
+                                    }
696
+                                    htmls +=
697
+                                        '<div><a style="margin-right:5px;" target="view_window" href="' +
698
+                                        m.F_FileUrl + '" download="' + m
699
+                                        .F_FileName + '">' + m.F_FileName.substring(
700
+                                            19) + '</a></div></td>';
681 701
                                 })
682 702
                                 htmls += '</tr>';
683 703
                             })

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

@@ -114,7 +114,6 @@
114 114
 					<td>
115 115
 						<input checked="true" type="radio" value="1" name="huifang" />满意
116 116
 						<input type="radio" value="0" name="huifang"/>不满意
117
-					  					
118 117
 					</td>
119 118
 				</tr>
120 119
 				<tr class="ishf">

+ 371 - 351
WebUI/CallCenterWeb.UI/CommonHtml/lawsuits.html

@@ -1,100 +1,113 @@
1 1
 <!DOCTYPE html>
2 2
 <html>
3 3
 
4
-	<head>
5
-		<meta charset="UTF-8">
6
-		<script src="../Script/Common/huayi.load.js"></script>
7
-		<script src="../Script/Common/huayi.config.js"></script>
8
-		<link href="../css/layer/need/layer.css" />
9
-		<link rel="stylesheet" href="../css/init.css" />
10
-		<title>诉求单结案</title>
11
-		<style type="text/css">
12
-			.isStandard,
13
-			.bulletUnit{
14
-				display: none;
15
-			}
16
-			.bulletUnit ul{
17
-				list-style: none;
18
-				margin: 0;
19
-				padding: 0;
20
-			}
21
-			.bulletUnit ul li{
22
-				float: left;
23
-				margin-right: 20px;
24
-				text-align: center;
25
-				padding: 6px 0;
26
-			}
27
-			.bulletUnit li input{
28
-				display: none;
29
-			}
30
-			.bulletUnit li label{
31
-				margin: 0;
32
-				font-weight: normal;
33
-				display: block;
34
-				width: 100%;
35
-				border: 1px solid #ccc;
36
-				padding: 2px 10px;
37
-				cursor: pointer;
38
-			}
39
-			.bulletUnit li label:hover{
40
-				/*border-color: #fe6604;*/
41
-			}
42
-			.bulletUnit .checkedDept{
43
-				border-color: #fe6604;
44
-			}
45
-			select:disabled{
46
-				background-color: #eee;
47
-			}
48
-			.reasons{
49
-				display: none;
50
-				height: 160px;
51
-			}
52
-			#reasons{
53
-				height: 160px;
54
-			}
55
-			#msg1,
56
-	    	#msg2,
57
-	    	#msg3,
58
-	    	#phone{
59
-	    		border:none;
60
-	    		border-bottom: 1px solid #ccc;
61
-	    		margin-bottom: 20px;
62
-	    		background-color: #FFFFFF;
63
-	    		color: #00a1cb;
64
-	    	}
65
-	    	#msg4{
66
-	    		width: 250px;
67
-	    		height: 50px;
68
-	    		border: none;
69
-	    		border-bottom: 1px solid #ccc;
70
-	    		margin-bottom: 20px;
71
-	    		vertical-align: top;
72
-	    	}
73
-	    	#msg2{
74
-	    		vertical-align: top;
75
-	    		height: 25px;
76
-	    	}
77
-	    	#msg1:focus,
78
-	    	#msg2:focus,
79
-	    	#msg3:focus,
80
-	    	#msg4:focus,
81
-	    	#phone:focus{
82
-	    		outline: none;
83
-	    	}
84
-		</style>
85
-	</head>
4
+<head>
5
+    <meta charset="UTF-8">
6
+    <script src="../Script/Common/huayi.load.js"></script>
7
+    <script src="../Script/Common/huayi.config.js"></script>
8
+    <link href="../css/layer/need/layer.css" />
9
+    <link rel="stylesheet" href="../css/init.css" />
10
+    <title>诉求单结案</title>
11
+    <style type="text/css">
12
+        .isStandard,
13
+        .bulletUnit {
14
+            display: none;
15
+        }
86 16
 
87
-	<body>
88
-		<div class="Common">
89
-			<table>
90
-				<tr>
91
-					<th class="Importent">回访结果:</th>
92
-					<td>
93
-						<input checked="true" type="radio" value="1" name="huifang" />满意	
94
-						<input type="radio" value="0" name="huifang"/>不满意
95
-					</td>
96
-				</tr>
97
-				<!--<tr>
17
+        .bulletUnit ul {
18
+            list-style: none;
19
+            margin: 0;
20
+            padding: 0;
21
+        }
22
+
23
+        .bulletUnit ul li {
24
+            float: left;
25
+            margin-right: 20px;
26
+            text-align: center;
27
+            padding: 6px 0;
28
+        }
29
+
30
+        .bulletUnit li input {
31
+            display: none;
32
+        }
33
+
34
+        .bulletUnit li label {
35
+            margin: 0;
36
+            font-weight: normal;
37
+            display: block;
38
+            width: 100%;
39
+            border: 1px solid #ccc;
40
+            padding: 2px 10px;
41
+            cursor: pointer;
42
+        }
43
+
44
+        .bulletUnit li label:hover {
45
+            /*border-color: #fe6604;*/
46
+        }
47
+
48
+        .bulletUnit .checkedDept {
49
+            border-color: #fe6604;
50
+        }
51
+
52
+        select:disabled {
53
+            background-color: #eee;
54
+        }
55
+
56
+        .reasons {
57
+            display: none;
58
+            height: 160px;
59
+        }
60
+
61
+        #reasons {
62
+            height: 160px;
63
+        }
64
+
65
+        #msg1,
66
+        #msg2,
67
+        #msg3,
68
+        #phone {
69
+            border: none;
70
+            border-bottom: 1px solid #ccc;
71
+            margin-bottom: 20px;
72
+            background-color: #FFFFFF;
73
+            color: #00a1cb;
74
+        }
75
+
76
+        #msg4 {
77
+            width: 250px;
78
+            height: 50px;
79
+            border: none;
80
+            border-bottom: 1px solid #ccc;
81
+            margin-bottom: 20px;
82
+            vertical-align: top;
83
+        }
84
+
85
+        #msg2 {
86
+            vertical-align: top;
87
+            height: 25px;
88
+        }
89
+
90
+        #msg1:focus,
91
+        #msg2:focus,
92
+        #msg3:focus,
93
+        #msg4:focus,
94
+        #phone:focus {
95
+            outline: none;
96
+        }
97
+    </style>
98
+</head>
99
+
100
+<body>
101
+    <div class="Common">
102
+        <table>
103
+            <tr>
104
+                <th class="Importent">回访结果:</th>
105
+                <td>
106
+                    <input checked="true" type="radio" value="1" name="huifang" />满意
107
+                    <input type="radio" value="0" name="huifang" />不满意
108
+                </td>
109
+            </tr>
110
+            <!--<tr>
98 111
 					<th class="Importent">是否通报:</th>
99 112
 					<td>
100 113
 						<select class="select_" id='isBulletin'>
@@ -111,266 +124,273 @@
111 124
 						</ul>
112 125
 					</td>
113 126
 				</tr>-->
114
-				<tr class="bulletUnit">
115
-					<th class="Importent">通报原因:</th>
116
-                    <td>
117
-                    	<select name="" class="form-control orderType">
118
-                    		<option value="0">请选择通报原因</option>
119
-                    	</select>
120
-                    </td>
121
-					<!--<td><textarea name="" rows="4" cols="" id="bulletinReason"></textarea></td>-->
122
-				</tr>
123
-				<tr class="reasons">
124
-					<th class="Importent">其他原因:</th>
125
-					<td colspan="2"><textarea data-adaptheight id="reasons" name="" rows="6" cols=""></textarea></td>
126
-				</tr>
127
-				<tr>
128
-					<th class="Importent">是否规范:</th>
129
-					<td>
130
-						<select class="select_" id='isStandard'>
131
-							<option value="0">是</option>
132
-							<option value="1">否</option>
133
-						</select>
134
-					</td>
135
-				</tr>
136
-				<tr class="isStandard">
137
-					<th class="Importent">不规范原因:</th>
138
-                    <td>
139
-                    	<select name="" class="form-control standard">
140
-                    		<option value="0">请选择不规范原因</option>
141
-                    	</select>
142
-                    </td>
143
-				</tr>
144
-				<tr>
145
-					<th class="Importent">备注:</th>
146
-					<td colspan="2"><textarea data-adaptheight id="finalopinion" name="" rows="6" cols=""></textarea></td>
147
-				</tr>
127
+            <tr class="bulletUnit">
128
+                <th class="Importent">通报原因:</th>
129
+                <td>
130
+                    <select name="" class="form-control orderType">
131
+                        <option value="0">请选择通报原因</option>
132
+                    </select>
133
+                </td>
134
+                <!--<td><textarea name="" rows="4" cols="" id="bulletinReason"></textarea></td>-->
135
+            </tr>
136
+            <tr class="reasons">
137
+                <th class="Importent">其他原因:</th>
138
+                <td colspan="2"><textarea data-adaptheight id="reasons" name="" rows="6" cols=""></textarea></td>
139
+            </tr>
140
+            <tr>
141
+                <th class="Importent">是否规范:</th>
142
+                <td>
143
+                    <select class="select_" id='isStandard'>
144
+                        <option value="0">是</option>
145
+                        <option value="1">否</option>
146
+                    </select>
147
+                </td>
148
+            </tr>
149
+            <tr class="isStandard">
150
+                <th class="Importent">不规范原因:</th>
151
+                <td>
152
+                    <select name="" class="form-control standard">
153
+                        <option value="0">请选择不规范原因</option>
154
+                    </select>
155
+                </td>
156
+            </tr>
157
+            <tr>
158
+                <th class="Importent">备注:</th>
159
+                <td colspan="2"><textarea data-adaptheight id="finalopinion" name="" rows="6" cols=""></textarea></td>
160
+            </tr>
148 161
 
149
-			</table>
150
-			<div class="" style="margin: 20px 0 0 10px;">
151
-					尊敬的市民,您于<input id="msg1" type="text" disabled/>反映的<textarea id="msg2" type="text" ></textarea>问题,工单号:<input id="msg3" type="text" disabled/>,<br />
152
-					处理结果如下:<textarea id="msg4" type="text"></textarea>如有异议,请您再次致电12345,感谢您的支持。<br />
153
-					通知号码:<input id="phone" type="text"/>
154
-					<button class="btns sendMsg">发送短信</button>
155
-			</div>
156
-			<div class="btn_box">
157
-				<button class="btns_save">保存</button>
158
-			</div>
159
-		</div>
160
-		<input type="hidden" name="depID" id="depID" value="" />
161
-		<script src="../js/adjustHeight.js"></script>
162
-		<script>
163
-			var wid = helper.request.queryString("wid");
164
-			var bulletinUnits = '';//通报单位
165
-			$(document).ready(function() {
166
-				//获取工单信息
167
-				loadTEL();
168
-				//通报原因
169
-				getOrderType();
170
-				//获取单位
171
-				getUnit();
172
-				//不规范原因
173
-				getIsStandard();
174
-				//是否通报
175
-				$('#isBulletin').change(function(){
176
-					if($('#isBulletin').val() == '0'){
177
-						//默认不通报,通报单位通报原因不显示
178
-						$('.bulletUnit').hide();
179
-					}else if($('#isBulletin').val()== '1'){
180
-						//选择是 ,显示通报单位通报原因;
181
-						$('.bulletUnit').show();
182
-					}
183
-				});
184
-				//是否规范
185
-				$('#isStandard').change(function(){
186
-					if($('#isStandard').val() == '0'){
187
-						//默认规范
188
-						$('.isStandard').hide();
189
-					}else if($('#isStandard').val()== '1'){
190
-						$('.isStandard').show();
191
-					}
192
-				});
193
-				$(".btns_save").click(function(){
194
-					debugger
195
-					if($('#isBulletin').val() == 0){
196
-                    	JA(bulletinUnits);
197
-                    }else if($('#isBulletin').val() == 1){
198
-                    	debugger
199
-//                  	if($("input[name='checkbox']:checkbox:checked").length <= 0){
200
-//                  		layer.msg("您没有选择通报单位。");
201
-//                  	}else 
202
-                    	if(!$(".orderType").val() || $('.orderType').val()==0){
203
-                    		layer.msg("通报原因没有填写。");
204
-                    		return
205
-                    	}else if ($(".orderType").val()==76&& !$('#reasons').val()){
206
-                    		layer.msg('其他通报原因没有填写');
207
-                    		return
208
-                    	}else {
209
-	                    	$("input[name='checkbox']:checkbox:checked").each(function(){
210
-								bulletinUnits += $(this).val() + ','; 
211
-	                    	});
212
-	                    	bulletinUnits = bulletinUnits.substring(0,bulletinUnits.length-1); 
213
-	                    	JA(bulletinUnits);
214
-	                    }
162
+        </table>
163
+        <div class="" style="margin: 20px 0 0 10px;">
164
+            尊敬的市民,您于<input id="msg1" type="text" disabled />反映的<textarea id="msg2" type="text"></textarea>问题,工单号:<input
165
+                id="msg3" type="text" disabled />,<br />
166
+            处理结果如下:<textarea id="msg4" type="text"></textarea>如有异议,请您再次致电12345,感谢您的支持。<br />
167
+            通知号码:<input id="phone" type="text" />
168
+            <button class="btns sendMsg">发送短信</button>
169
+        </div>
170
+        <div class="btn_box">
171
+            <button class="btns_save">保存</button>
172
+        </div>
173
+    </div>
174
+    <input type="hidden" name="depID" id="depID" value="" />
175
+    <script src="../js/adjustHeight.js"></script>
176
+    <script>
177
+        var wid = helper.request.queryString("wid");
178
+        var bulletinUnits = ''; //通报单位
179
+        $(document).ready(function () {
180
+            //获取工单信息
181
+            loadTEL();
182
+            //通报原因
183
+            getOrderType();
184
+            //获取单位
185
+            getUnit();
186
+            //不规范原因
187
+            getIsStandard();
188
+            //是否通报
189
+            $('#isBulletin').change(function () {
190
+                if ($('#isBulletin').val() == '0') {
191
+                    //默认不通报,通报单位通报原因不显示
192
+                    $('.bulletUnit').hide();
193
+                } else if ($('#isBulletin').val() == '1') {
194
+                    //选择是 ,显示通报单位通报原因;
195
+                    $('.bulletUnit').show();
196
+                }
197
+            });
198
+            //是否规范
199
+            $('#isStandard').change(function () {
200
+                if ($('#isStandard').val() == '0') {
201
+                    //默认规范
202
+                    $('.isStandard').hide();
203
+                } else if ($('#isStandard').val() == '1') {
204
+                    $('.isStandard').show();
205
+                }
206
+            });
207
+            $(".btns_save").click(function () {
208
+                debugger
209
+                if ($('#isBulletin').val() == 0) {
210
+                    JA(bulletinUnits);
211
+                } else if ($('#isBulletin').val() == 1) {
212
+                    debugger
213
+                    //                  	if($("input[name='checkbox']:checkbox:checked").length <= 0){
214
+                    //                  		layer.msg("您没有选择通报单位。");
215
+                    //                  	}else 
216
+                    if (!$(".orderType").val() || $('.orderType').val() == 0) {
217
+                        layer.msg("通报原因没有填写。");
218
+                        return
219
+                    } else if ($(".orderType").val() == 76 && !$('#reasons').val()) {
220
+                        layer.msg('其他通报原因没有填写');
221
+                        return
222
+                    } else {
223
+                        $("input[name='checkbox']:checkbox:checked").each(function () {
224
+                            bulletinUnits += $(this).val() + ',';
225
+                        });
226
+                        bulletinUnits = bulletinUnits.substring(0, bulletinUnits.length - 1);
227
+                        JA(bulletinUnits);
215 228
                     }
216
-				});
217
-			})
218
-			
219
-			function JA(bUnits) {
220
-				var standardID=$('.standard').val()
221
-				if($('#isStandard').val()==1 && standardID==0){
222
-					layer.msg('请选择不规范原因');
223
-					return
224
-				}else if($('#isStandard').val()==0) {
225
-					standardID=''
226
-				}
227
-				$.post(huayi.config.callcenter_url + 'WorkOrder/FinishWorkOrder', {
228
-					workorderid: wid,
229
-					issatisfie:$('input[name="huifang"]:checked ').val(),
230
-					finalopinion: $("#finalopinion").val(),
231
-					isnotice: $('#isBulletin').val(),//0不通告1通告
232
-					deptids: $('#depID').val(),//通报单位
233
-//					noticereson: $('#bulletinReason').val(),//通报原因
234
-					noticeid:$('.orderType').val(),//通报id
235
-					noticeinfo:$('.orderType').find("option:selected").text(),
236
-					noticereson:$('#reasons').val(),//其他通报原因
237
-					isstandard:$('#isStandard').val(),//是否规范0是1否
238
-					standardids:standardID,//不规范id
239
-					"token": $.cookie("token")
240
-				}, function(result) {
241
-					result = JSON.parse(result);
242
-					if(result.state.toLowerCase() == "success") {
243
-					var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
229
+                }
230
+            });
231
+        })
232
+
233
+        function JA(bUnits) {
234
+            var standardID = $('.standard').val()
235
+            if ($('#isStandard').val() == 1 && standardID == 0) {
236
+                layer.msg('请选择不规范原因');
237
+                return
238
+            } else if ($('#isStandard').val() == 0) {
239
+                standardID = ''
240
+            }
241
+            $.post(huayi.config.callcenter_url + 'WorkOrder/FinishWorkOrder', {
242
+                workorderid: wid,
243
+                issatisfie: $('input[name="huifang"]:checked ').val(),
244
+                finalopinion: $("#finalopinion").val(),
245
+                isnotice: $('#isBulletin').val(), //0不通告1通告
246
+                deptids: $('#depID').val(), //通报单位
247
+                //					noticereson: $('#bulletinReason').val(),//通报原因
248
+                noticeid: $('.orderType').val(), //通报id
249
+                noticeinfo: $('.orderType').find("option:selected").text(),
250
+                noticereson: $('#reasons').val(), //其他通报原因
251
+                isstandard: $('#isStandard').val(), //是否规范0是1否
252
+                standardids: standardID, //不规范id
253
+                "token": $.cookie("token")
254
+            }, function (result) {
255
+                result = JSON.parse(result);
256
+                if (result.state.toLowerCase() == "success") {
257
+                    var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
244 258
                     parent.layer.close(index); //再执行关闭
245
-						  parent.$('#orderlist').bootstrapTable('refresh');
246
-						  parent.layer.msg("结案成功");
247
-					}
248
-				})
249
-			}
250
-			//获取工单信息
251
-			function loadTEL() {
252
-			    $.getJSON(huayi.config.callcenter_url + 'WorkOrder/GetWorkOrder', {
253
-			        workorderid: wid,
254
-			        "token": $.cookie("token")
255
-			    }, function (result) {
256
-			        if (result.state.toLowerCase() == "success") {
257
-			            var Data = result.data.data;
258
-			            $('#msg3').val(Data[0].F_WorkOrderId)
259
-			            $('#msg1').val(Data[0].F_CreateTime)
260
-			            $('#msg2').text(Data[0].F_ComTitle)
261
-			            $('#msg4').val(result.data.bldata && result.data.bldata[result.data.bldata.length-1].F_Situation)
262
-			            $("#phone").val(Data[0].F_ConPhone)
263
-			        }
264
-			    })
265
-			}
266
-			//发送短信
267
-			$('.sendMsg').click(function(){
268
-				if(!$('#msg4').val()){
269
-					layer.msg('请填写结果')
270
-					return
271
-				}
272
-				if(!$('#phone').val()){
273
-					layer.msg('请填写通知号码')
274
-					return
275
-				}
276
-				$.ajax({
277
-					type:"post",
278
-					url:huayi.config.callcenter_url+'WorkOrder/SmsHand',
279
-					async:true,
280
-					data:{
281
-						msg1:$('#msg1').val(),
282
-						msg2:$('#msg2').val(),
283
-						msg3:$('#msg3').val(),
284
-						msg4:$('#msg4').val(),
285
-						mobile:$('#phone').val(),
286
-						token: $.cookie("token")
287
-					},
288
-					success:function(res){
289
-						res=JSON.parse(res)
290
-						if(res.state.toLowerCase()=='success'){
291
-							layer.msg('短信发送成功')
292
-						}else{
293
-							layer.msg('短信发送失败')
294
-						}
295
-					}
296
-				});
297
-			})
298
-			//获取单位
299
-			function getUnit() {
300
-				$.getJSON(huayi.config.callcenter_url + 'WorkOrder/GetAllAssignDept', {
301
-					workorderid: wid,
302
-					token: $.cookie("token")
303
-				}, function(result) {
304
-					if(result.state.toLowerCase() == "success") {
305
-						$('#depID').val(result.data[0].F_DeptId)
306
-						if(result.data.length > 0) {
307
-							$('#isBulletin').removeAttr("disabled");
308
-							for(var i = 0; i < result.data.length; i++){							
309
-								$('#bulletinUnit ul').append('<li><input type="checkbox" name="checkbox" id="unit'+i+'" value=""/>'+
310
-		                									'<label for="unit'+i+'">'+ result.data[i].F_DeptName +'</label></li>');								
311
-							}
312
-							if(('#bulletinUnit input').length>0){
313
-								$('#bulletinUnit input').each(function(index){ 
314
-							        if($(this).is('[type=checkbox]')){
315
-							            var cinput = $(this);
316
-							            var label = $('label[for='+cinput.attr('id')+']');          
317
-							            cinput.bind('updateState', function(){   
318
-							                if(cinput.is(':checked')){
319
-							                	label.addClass('checkedDept');
320
-							                	cinput.val(result.data[index].F_DeptId);
321
-							                }else{
322
-							                	label.removeClass('checkedDept');
323
-							                	cinput.val('');
324
-							                }
325
-							            	
326
-							            })
327
-							            .trigger('updateState')
328
-							            .click(function(){ 
329
-							                $('input[name='+ $(this).attr('name') +']').trigger('updateState'); 
330
-							            });
331
-							        }
332
-							        
333
-							    });
334
-							}
335
-						}else{
336
-							$('#isBulletin').attr("disabled","disabled");
337
-						}
338
-					}
339
-				})
340
-			}
341
-			function getOrderType() {
342
-				$.get(huayi.config.callcenter_url + 'Dictionary/GetDicValueListByParentId', {
343
-					"token": $.cookie("token"),
344
-					pid: 62
345
-				}, function(result) {
346
-					result = $.parseJSON(result);
347
-					var Count = result.data;
348
-					$(Count).each(function(i, n) {
349
-			            $('<option value="' + n.F_ValueId + '">' + n.F_Value + '</option>').appendTo($(".orderType"));
350
-					})
351
-				});
352
-			}
353
-			//不规范原因
354
-			function getIsStandard() {
355
-				$.get(huayi.config.callcenter_url + 'Dictionary/GetDicValueListByParentId', {
356
-					"token": $.cookie("token"),
357
-					pid: 78
358
-				}, function(result) {
359
-					result = $.parseJSON(result);
360
-					var Count = result.data;
361
-					$(Count).each(function(i, n) {
362
-			            $('<option value="' + n.F_ValueId + '">' + n.F_Value + '</option>').appendTo($(".standard"));
363
-					})
364
-				});
365
-			}
366
-			$('.orderType').change(()=>{
367
-				if($('.orderType').val()==76){
368
-					$('.reasons').show()
369
-				}else{
370
-					$('.reasons').hide()
371
-				}
372
-			})
373
-		</script>
374
-	</body>
259
+                    parent.$('#orderlist').bootstrapTable('refresh');
260
+                    parent.layer.msg("结案成功");
261
+                }
262
+            })
263
+        }
264
+        //获取工单信息
265
+        function loadTEL() {
266
+            $.getJSON(huayi.config.callcenter_url + 'WorkOrder/GetWorkOrder', {
267
+                workorderid: wid,
268
+                "token": $.cookie("token")
269
+            }, function (result) {
270
+                if (result.state.toLowerCase() == "success") {
271
+                    var Data = result.data.data;
272
+                    $('#msg3').val(Data[0].F_WorkOrderId)
273
+                    $('#msg1').val(Data[0].F_CreateTime)
274
+                    $('#msg2').text(Data[0].F_ComTitle)
275
+                    $('#msg4').val(result.data.bldata && result.data.bldata[result.data.bldata.length - 1]
276
+                        .F_Situation)
277
+                    $("#phone").val(Data[0].F_ConPhone)
278
+                }
279
+            })
280
+        }
281
+        //发送短信
282
+        $('.sendMsg').click(function () {
283
+            if (!$('#msg4').val()) {
284
+                layer.msg('请填写结果')
285
+                return
286
+            }
287
+            if (!$('#phone').val()) {
288
+                layer.msg('请填写通知号码')
289
+                return
290
+            }
291
+            $.ajax({
292
+                type: "post",
293
+                url: huayi.config.callcenter_url + 'WorkOrder/SmsHand',
294
+                async: true,
295
+                data: {
296
+                    msg1: $('#msg1').val(),
297
+                    msg2: $('#msg2').val(),
298
+                    msg3: $('#msg3').val(),
299
+                    msg4: $('#msg4').val(),
300
+                    mobile: $('#phone').val(),
301
+                    token: $.cookie("token")
302
+                },
303
+                success: function (res) {
304
+                    res = JSON.parse(res)
305
+                    if (res.state.toLowerCase() == 'success') {
306
+                        layer.msg('短信发送成功')
307
+                    } else {
308
+                        layer.msg('短信发送失败')
309
+                    }
310
+                }
311
+            });
312
+        })
313
+        //获取单位
314
+        function getUnit() {
315
+            $.getJSON(huayi.config.callcenter_url + 'WorkOrder/GetAllAssignDept', {
316
+                workorderid: wid,
317
+                token: $.cookie("token")
318
+            }, function (result) {
319
+                if (result.state.toLowerCase() == "success") {
320
+                    $('#depID').val(result.data[0].F_DeptId)
321
+                    if (result.data.length > 0) {
322
+                        $('#isBulletin').removeAttr("disabled");
323
+                        for (var i = 0; i < result.data.length; i++) {
324
+                            $('#bulletinUnit ul').append('<li><input type="checkbox" name="checkbox" id="unit' +
325
+                                i + '" value=""/>' +
326
+                                '<label for="unit' + i + '">' + result.data[i].F_DeptName + '</label></li>');
327
+                        }
328
+                        if (('#bulletinUnit input').length > 0) {
329
+                            $('#bulletinUnit input').each(function (index) {
330
+                                if ($(this).is('[type=checkbox]')) {
331
+                                    var cinput = $(this);
332
+                                    var label = $('label[for=' + cinput.attr('id') + ']');
333
+                                    cinput.bind('updateState', function () {
334
+                                            if (cinput.is(':checked')) {
335
+                                                label.addClass('checkedDept');
336
+                                                cinput.val(result.data[index].F_DeptId);
337
+                                            } else {
338
+                                                label.removeClass('checkedDept');
339
+                                                cinput.val('');
340
+                                            }
341
+
342
+                                        })
343
+                                        .trigger('updateState')
344
+                                        .click(function () {
345
+                                            $('input[name=' + $(this).attr('name') + ']').trigger(
346
+                                                'updateState');
347
+                                        });
348
+                                }
349
+
350
+                            });
351
+                        }
352
+                    } else {
353
+                        $('#isBulletin').attr("disabled", "disabled");
354
+                    }
355
+                }
356
+            })
357
+        }
358
+
359
+        function getOrderType() {
360
+            $.get(huayi.config.callcenter_url + 'Dictionary/GetDicValueListByParentId', {
361
+                "token": $.cookie("token"),
362
+                pid: 62
363
+            }, function (result) {
364
+                result = $.parseJSON(result);
365
+                var Count = result.data;
366
+                $(Count).each(function (i, n) {
367
+                    $('<option value="' + n.F_ValueId + '">' + n.F_Value + '</option>').appendTo($(
368
+                        ".orderType"));
369
+                })
370
+            });
371
+        }
372
+        //不规范原因
373
+        function getIsStandard() {
374
+            $.get(huayi.config.callcenter_url + 'Dictionary/GetDicValueListByParentId', {
375
+                "token": $.cookie("token"),
376
+                pid: 78
377
+            }, function (result) {
378
+                result = $.parseJSON(result);
379
+                var Count = result.data;
380
+                $(Count).each(function (i, n) {
381
+                    $('<option value="' + n.F_ValueId + '">' + n.F_Value + '</option>').appendTo($(
382
+                        ".standard"));
383
+                })
384
+            });
385
+        }
386
+        $('.orderType').change(() => {
387
+            if ($('.orderType').val() == 76) {
388
+                $('.reasons').show()
389
+            } else {
390
+                $('.reasons').hide()
391
+            }
392
+        })
393
+    </script>
394
+</body>
375 395
 
376 396
 </html>

+ 48 - 7
WebUI/CallCenterWeb.UI/CommonHtml/shTime.html

@@ -21,6 +21,10 @@
21 21
 			<tr>
22 22
 				<th class="Importent">原延时时间:</th>
23 23
 				<td > <input type="text" id="startTime"  readonly="readonly" style="height: 32px;"></td>
24
+            </tr>
25
+            <tr>
26
+				<th class="Importent">申请延时类型:</th>
27
+				<td > <span id="delayType"></span></td>
24 28
 			</tr>
25 29
 			<tr>
26 30
 				<th class="Importent">申请延时原因:</th>
@@ -54,16 +58,25 @@
54 58
                 event: 'focus'
55 59
             });
56 60
             var wid = helper.request.queryString("wid");
57
-             var type;
61
+            var type;
62
+            var delayType;
58 63
 			$(document).ready(function() {
59 64
 				HQ();
60 65
 				$(".Agree").click(function(){
61
-					type=1;
62
-					JA();
66
+                    type=1;
67
+                    if (delayType === 1) {
68
+                        JA();
69
+                    } else if (delayType === 2) {
70
+                        reviewScanningDelay()
71
+                    }
63 72
 				})
64 73
 				$(".Noagree").click(function(){
65
-					type=2;	
66
-					JA();
74
+                    type=2;
75
+                    if (delayType === 1) {
76
+                        JA();
77
+                    } else if (delayType === 2) {
78
+                        reviewScanningDelay()
79
+                    }
67 80
 				})
68 81
 			})
69 82
 			//批示
@@ -85,6 +98,26 @@
85 98
                   	
86 99
 					}
87 100
 				})
101
+            }
102
+            //审核扫描件延时
103
+			function reviewScanningDelay() {
104
+				$.post(huayi.config.callcenter_url + 'WorkOrder/AuditDelayScanning', {
105
+					workorderid: wid,
106
+					reason:$("#reason").val(),
107
+					newlimittime:$("#endtime").val(),
108
+					state:type,
109
+					delayid:$("#delayid").val(),
110
+					"token": $.cookie("token")
111
+				}, function(result) {
112
+					result = JSON.parse(result);
113
+					if(result.state.toLowerCase() == "success") {
114
+					var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
115
+                    	parent.layer.close(index); //再执行关闭
116
+						parent.$('#orderlist').bootstrapTable('refresh');
117
+						parent.layer.msg("审核延时成功");
118
+                  	
119
+					}
120
+				})
88 121
 			}
89 122
 			//获取数据
90 123
 			function HQ(){
@@ -106,8 +139,16 @@
106 139
 					 }
107 140
 													
108 141
 						$("#delayid").val(result.data[0].F_Id);				
109
-						$(".SQtime").text(result.data[0].F_Reason);
110
-                  	
142
+                        $(".SQtime").text(result.data[0].F_Reason);
143
+                        if (result.data[0].F_State) {
144
+                            if (result.data[0].F_State === 1) {
145
+                                $("#delayType").text("办理时限")
146
+                                delayType = 1
147
+                            } else if (result.data[0].F_State === 2) {
148
+                                $("#delayType").text("扫描件时效")
149
+                                delayType = 2
150
+                            }
151
+                        }
111 152
 					}
112 153
 				})
113 154
 			}

+ 219 - 0
WebUI/CallCenterWeb.UI/CommonHtml/updatingFiles.html

@@ -0,0 +1,219 @@
1
+<!DOCTYPE html>
2
+<html>
3
+
4
+<head>
5
+    <meta charset="UTF-8">
6
+    <script src="../Script/Common/huayi.load.js"></script>
7
+    <script src="../Script/Common/huayi.config.js"></script>
8
+    <link href="../css/layer/need/layer.css" />
9
+    <link rel="stylesheet" href="../css/init.css" />
10
+    <title>诉求单结案</title>
11
+    <style type="text/css">
12
+        .isStandard,
13
+        .bulletUnit {
14
+            display: none;
15
+        }
16
+
17
+        .bulletUnit ul {
18
+            list-style: none;
19
+            margin: 0;
20
+            padding: 0;
21
+        }
22
+
23
+        .bulletUnit ul li {
24
+            float: left;
25
+            margin-right: 20px;
26
+            text-align: center;
27
+            padding: 6px 0;
28
+        }
29
+
30
+        .bulletUnit li input {
31
+            display: none;
32
+        }
33
+
34
+        .bulletUnit li label {
35
+            margin: 0;
36
+            font-weight: normal;
37
+            display: block;
38
+            width: 100%;
39
+            border: 1px solid #ccc;
40
+            padding: 2px 10px;
41
+            cursor: pointer;
42
+        }
43
+        .bulletUnit .checkedDept {
44
+            border-color: #fe6604;
45
+        }
46
+
47
+        select:disabled {
48
+            background-color: #eee;
49
+        }
50
+
51
+        .reasons {
52
+            display: none;
53
+            height: 160px;
54
+        }
55
+
56
+        #reasons {
57
+            height: 160px;
58
+        }
59
+
60
+        #msg1,
61
+        #msg2,
62
+        #msg3,
63
+        #phone {
64
+            border: none;
65
+            border-bottom: 1px solid #ccc;
66
+            margin-bottom: 20px;
67
+            background-color: #FFFFFF;
68
+            color: #00a1cb;
69
+        }
70
+
71
+        #msg4 {
72
+            width: 250px;
73
+            height: 50px;
74
+            border: none;
75
+            border-bottom: 1px solid #ccc;
76
+            margin-bottom: 20px;
77
+            vertical-align: top;
78
+        }
79
+
80
+        #msg2 {
81
+            vertical-align: top;
82
+            height: 25px;
83
+        }
84
+
85
+        #msg1:focus,
86
+        #msg2:focus,
87
+        #msg3:focus,
88
+        #msg4:focus,
89
+        #phone:focus {
90
+            outline: none;
91
+        }
92
+    </style>
93
+</head>
94
+
95
+<body>
96
+    <div class="Common">
97
+        <table>
98
+            <tr class="files-wrappper">
99
+                <th class="Importent">上传扫描件:</th>
100
+                <td colspan="5">
101
+                    <div class="fileBox">
102
+                    </div>
103
+                    <!--<span class="fjnr"></span>-->
104
+                    <input class="input" type="file" name="upFile" id="upFile" multiple="multiple" style="display: none;">
105
+                    <input class="input" type="button" value="上传" id="scwj" />
106
+                    <!--<input class="input" type="button" value="删除附件" id="scfj" style="display:none;" />-->
107
+                    <input type="hidden" id="file" />
108
+                	<span style="color:#FF0000; border: none;">
109
+                    	(文件格式为png,jpg,mp4,mp3,pdf,doc,docx,xls,xlsx)
110
+                    </span>
111
+                </td>
112
+            </tr>
113
+        </table>
114
+        <div class="btn_box">
115
+            <button class="btns_save">保存</button>
116
+        </div>
117
+    </div>
118
+    <input type="hidden" name="depID" id="depID" value="" />
119
+    <script src="../js/adjustHeight.js"></script>
120
+    <script>
121
+        var wid = helper.request.queryString("wid");
122
+        $(document).ready(function () {
123
+            //上传附件
124
+            $("#scwj").click(function () {
125
+                $("#upFile").trigger("click");
126
+            })
127
+            $("#upFile").change(function () {
128
+                upload();
129
+            })
130
+
131
+            $(".btns_save").click(function () {
132
+                JA();
133
+            });
134
+        })
135
+        function JA(bUnits) {
136
+            $.post(huayi.config.callcenter_url + 'WorkOrder/AddFiles', {
137
+                workorderid: wid,
138
+                files: $("#file").val(),
139
+                token: $.cookie("token"),
140
+            }, function (result) {
141
+                result = JSON.parse(result);
142
+                if (result.state.toLowerCase() == "success") {
143
+                    var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
144
+                    parent.layer.close(index); //再执行关闭
145
+                    parent.$('#orderlist').bootstrapTable('refresh');
146
+                    parent.layer.msg("上传成功");
147
+                }
148
+            })
149
+        }
150
+        //上传文件
151
+        function upload() {
152
+            var Files = document.getElementById("upFile").files;
153
+            if (Files.length > 0) {
154
+                var formData = new FormData();
155
+                for (var i = 0; i < Files.length; i++) {
156
+                    formData.append('file' + i, Files[i]);
157
+                }
158
+                formData.append("token", $.cookie("token"));
159
+                var typeName=Files[0].name.split('.')[1];
160
+                if (typeName=="png"||typeName=='jpg'||typeName=='mp4'||typeName=='mp3'||typeName=='pdf'||typeName=='doc'||typeName=='docx'||typeName=='xls'||typeName=='xlsx') {
161
+	                $.ajax({
162
+	                    url: huayi.config.callcenter_url + "/WorkOrder/UploadFile",
163
+	                    type: "POST",
164
+	                    data: formData,
165
+	                    /**
166
+	                     *必须false才会自动加上正确的Content-Type
167
+	                     */
168
+	                    contentType: false,
169
+	                    /**
170
+	                     * 必须false才会避开jQuery对 formdata 的默认处理
171
+	                     * XMLHttpRequest会对 formdata 进行正确的处理
172
+	                     */
173
+	                    processData: false,
174
+	                    success: function (result) {
175
+	                        document.getElementById("upFile").outerHTML = document.getElementById("upFile").outerHTML;
176
+	                        $("#upFile").change(function () {
177
+	                            upload();
178
+	                        });
179
+	                        var r = $.parseJSON(result);
180
+	                        if (r.state.toLowerCase() == "success") {
181
+	                            $(".fjnr").text(r.data[0].F_FileName);
182
+	                            var a = r.data;
183
+	                            $(a).each(function (i, n) {
184
+	                                var strs = '<span class="files" fiel-num="' + n.F_FileId + '">' + n.F_FileName.substring(19) + '<i class="fa fa-remove del_file"></i></span>'
185
+	                                $(strs).appendTo($('.fileBox')).find('.del_file').click(function (event) {
186
+	                                    event.stopPropagation();
187
+	                                    $(this).parent().remove();
188
+	                                    file_num()
189
+	                                })
190
+	                            })
191
+	                            file_num();
192
+	                        }
193
+	                    }
194
+	                });
195
+	            }else{
196
+		    		layer.msg("格式不正确");
197
+		    	}
198
+            } else {
199
+                layer.confirm('请上传文件!', {
200
+                    btn: ['确定']
201
+                });
202
+            }
203
+        }
204
+        //上传文件隐藏域值
205
+        function file_num() {
206
+            var str = '';
207
+            var Str;
208
+            $('.fileBox .files').each(function (j, m) {
209
+                var aa = $(m).attr("fiel-num")
210
+                console.log(aa);
211
+                str += aa + ",";
212
+                Str = (str.substring(str.length - 1) == ',') ? str.substring(0, str.length - 1) : str;
213
+            })
214
+            $("#file").val(Str);
215
+        }
216
+    </script>
217
+</body>
218
+
219
+</html>

+ 1 - 0
WebUI/CallCenterWeb.UI/Script/Common/huayi.config.js

@@ -47,6 +47,7 @@ huayi.config = {
47 47
                 "<a class='xg' onclick='lzjd(data)' title='履职界定'>履职界定</a>" ,//履职界定
48 48
                 "<a class='xg' onclick='gdhc(data)' title='回传'>回传</a>", //界定审核
49 49
                 "<a class='xg' onclick='editProcessingResult(data)' title='编辑办理'>编辑办理</a>", //界定审核
50
+                "<a class='xg' onclick='updatingFiles(data)' title='扫描件上传'>扫描件上传</a>", //附件上传
50 51
 			],
51 52
 	 kapArr :["<a class='xg' onclick='goDetail(data,data_id)' title='查看'>查看</a>",
52 53
 				"<a class='xg' onclick='goEdit(data,data_id)' title='编辑'>编辑</a>",

+ 1 - 2
WebUI/CallCenterWeb.UI/SystemManager/js/yongHuManger.js

@@ -70,14 +70,13 @@ $(document).ready(function () {
70 70
             });
71 71
             return;
72 72
         } else {
73
-            var reg = /^[1-9]\d*$/;
73
+            var reg = /^[0-9]\d*$/;
74 74
             if (!reg.test($(".add_ygCode").val())) {
75 75
                 layer.confirm("工号必须为正整数!", {
76 76
                     btn: ["确定"],
77 77
                 });
78 78
                 return;
79 79
             }
80
-
81 80
             addCun();
82 81
         }
83 82
     });