liuyifan %!s(int64=4) %!d(string=hace) años
padre
commit
827fccb59f

+ 4 - 1
WebUI/CallCenterWeb.UI/Announcement/AnnD.html

@@ -73,6 +73,9 @@
73 73
             width: 80%;
74 74
             margin: 0 auto;
75 75
         }
76
+        #title {
77
+            font-weight: 600;
78
+        }
76 79
     </style>
77 80
 </head>
78 81
 
@@ -94,7 +97,7 @@
94 97
         <table border="0" cellspacing="" cellpadding="" style="width: 100%;">
95 98
             <tr>
96 99
                 <th>
97
-                    <h3 id="title"></h3>
100
+                    <h1 id="title"></h1>
98 101
                 </th>
99 102
             </tr>
100 103
             <tr>

+ 2 - 2
WebUI/CallCenterWeb.UI/Appeal/toAuditList.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">

+ 5 - 2
WebUI/CallCenterWeb.UI/Business/WorkDSZB.html

@@ -407,6 +407,9 @@
407 407
                                     <th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">
408 408
                                         诉求标题
409 409
                                     </th>
410
+                                    <th data-field="F_ComContent" data-formatter="GetCont" data-align="center">
411
+                                        来电内容
412
+                                    </th>
410 413
                                     <th data-field="DeptName" data-align="center">
411 414
                                         承办单位
412 415
                                     </th>
@@ -1005,9 +1008,9 @@
1005 1008
         function cb(str) {
1006 1009
             layer.open({
1007 1010
                 type: 2,
1008
-                content: "../CommonHtml/Cb.html?wid=" + str, //iframe的url,no代表不显示滚动条
1011
+                content: "../CommonHtml/AddAppealDCL.html?wid=" + str + "&workType=cb", //iframe的url,no代表不显示滚动条
1009 1012
                 title: "重办工单",
1010
-                area: ["60%", "80%"], //宽高
1013
+                area: ["90%", "90%"], //宽高
1011 1014
             });
1012 1015
         }
1013 1016
         //结案

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

@@ -685,7 +685,7 @@
685 685
 					}
686 686
 					html += html1;
687 687
                 }
688
-                html += '<a class="xg" onclick="replyUnsuccessful(\'' + row.F_WorkOrderId + '\')" title="回复">回复</a>';
688
+                // html += '<a class="xg" onclick="replyUnsuccessful(\'' + row.F_WorkOrderId + '\')" title="回复">回复</a>';
689 689
 				return html;
690 690
 			}
691 691
 

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

@@ -685,7 +685,7 @@
685 685
 					}
686 686
 					html += html1;
687 687
                 }
688
-                html += '<a class="xg" onclick="replyUnsuccessful(\'' + row.F_WorkOrderId + '\')" title="回复">回复</a>';
688
+                // html += '<a class="xg" onclick="replyUnsuccessful(\'' + row.F_WorkOrderId + '\')" title="回复">回复</a>';
689 689
 				return html;
690 690
 			}
691 691
 

+ 6 - 2
WebUI/CallCenterWeb.UI/CommonHtml/AddAppeal.html

@@ -41,7 +41,7 @@
41 41
                         </td>
42 42
                     </tr>
43 43
                     <tr>
44
-                        <th class="Importent">内容:</th>
44
+                        <th class="Importent">来电内容:</th>
45 45
                         <td colspan="7">
46 46
                             <textarea data-adaptheight id="content" name="" rows="" cols="" style="width: 100%;" readonly="readonly"></textarea>
47 47
                         </td>
@@ -241,7 +241,11 @@
241 241
 	                        $("#conphone").val(Data[0].F_ConPhone);
242 242
 	                        $("#title").val(Data[0].F_ComTitle);
243 243
 	                        $('#content').val(Data[0].F_ComContent);
244
-	                        $('#workcontent').val(Data[0].F_Content);
244
+                            if (Data[0].F_Content === "" || Data[0].F_Content === null) {
245
+                                $('#workcontent').val(Data[0].F_ComContent);
246
+                            } else {
247
+                                $('#workcontent').val(Data[0].F_Content);
248
+                            }
245 249
 	                        $('#email').val(Data[0].F_Email);
246 250
 	                        $("#zipcode").val(Data[0].F_ZipCode);
247 251
 	                        $("#result").val(Data[0].F_Result);

+ 14 - 8
WebUI/CallCenterWeb.UI/CommonHtml/AddAppealDCL.html

@@ -26,17 +26,18 @@
26 26
                             <input id="title" type="text" style="width: 100%" />
27 27
                         </td>
28 28
                     </tr>
29
-                    <tr>
30
-                        <th class="Importent">内容:</th>
29
+                    <tr class="content-wrapper">
30
+                        <th class="Importent">来电内容:</th>
31 31
                         <td colspan="7">
32
-                            <textarea data-adaptheight id="content" name="" rows="" cols=""
33
-                                style="width: 100%" readonly="readonly"></textarea>
32
+                            <textarea data-adaptheight id="content" name="" rows="" cols="" style="width: 100%"
33
+                                readonly="readonly"></textarea>
34 34
                         </td>
35 35
                     </tr>
36
-                    <tr>
36
+                    <tr class="workcontent-wrapper">
37 37
                         <th class="Importent">工单内容:</th>
38 38
                         <td colspan="7">
39
-                            <textarea data-adaptheight id="workcontent" name="" rows="" cols="" style="width: 100%;"></textarea>
39
+                            <textarea data-adaptheight id="workcontent" name="" rows="" cols=""
40
+                                style="width: 100%;"></textarea>
40 41
                         </td>
41 42
                     </tr>
42 43
                     <tr>
@@ -223,6 +224,7 @@
223 224
                 // istime: true,
224 225
                 format: 'YYYY-MM-DD'
225 226
             });
227
+            
226 228
             //当即办理
227 229
             $(' input[name="banli"]').change(function () {
228 230
                 var val = $(this).val();
@@ -281,7 +283,11 @@
281 283
                             $("#conphone").val(Data[0].F_ConPhone);
282 284
                             $("#title").val(Data[0].F_ComTitle);
283 285
                             $("#content").val(Data[0].F_ComContent);
284
-	                        $('#workcontent').val(Data[0].F_Content);
286
+                            if (Data[0].F_Content === "" || Data[0].F_Content === null) {
287
+                                $('#workcontent').val(Data[0].F_ComContent);
288
+                            } else {
289
+                                $('#workcontent').val(Data[0].F_Content);
290
+                            }
285 291
                             $("#email").val(Data[0].F_Email);
286 292
                             $("#zipcode").val(Data[0].F_ZipCode);
287 293
                             $("#result").val(Data[0].F_Result);
@@ -466,7 +472,7 @@
466 472
                                 type: 2,
467 473
                                 content: "../CommonHtml/Cb.html?wid=" + wid + "&jbSelect=" +
468 474
                                     jbSelect + "&startTime=" + startTime + "&limittimes=" +
469
-                                    limittimes + "&limittimesCB=" + limittimesCB + 
475
+                                    limittimes + "&limittimesCB=" + limittimesCB +
470 476
                                     "&level=" + $("#level").val(), //iframe的url,no代表不显示滚动条
471 477
                                 title: "重办工单",
472 478
                                 area: ["95%", "95%"], //宽高

+ 35 - 12
WebUI/CallCenterWeb.UI/CommonHtml/WorkDatil.html

@@ -154,7 +154,7 @@
154 154
                                 </td>
155 155
                             </tr>
156 156
                             <tr class="content-wrapper">
157
-                                <th>内容:</th>
157
+                                <th>来电内容:</th>
158 158
                                 <td colspan="7">
159 159
                                     <span class="F_ComContent"></span>
160 160
                                 </td>
@@ -773,7 +773,11 @@
773 773
                             $(".F_CusPhone").text(Data[0].F_ConPhone);
774 774
                             $(".F_ComTitle").text(Data[0].F_ComTitle);
775 775
                             $('.F_ComContent').text(Data[0].F_ComContent);
776
-                            $('.F_Content').text(Data[0].F_Content);
776
+                            if (Data[0].F_Content === "" || Data[0].F_Content === null) {
777
+                                $('.F_Content').text(Data[0].F_ComContent);
778
+                            } else {
779
+                                $('.F_Content').text(Data[0].F_Content);
780
+                            }
777 781
                             $('.F_SourceAddress').text(Data[0].F_SourceAddress);
778 782
                             $(".store_Lng").val(Data[0].F_Longitude);
779 783
                             $(".store_Lat").val(Data[0].F_Latitude);
@@ -835,16 +839,35 @@
835 839
                                     );
836 840
                                     $list.append($li);
837 841
                                 } else {
838
-                                    var $liFile = $(
839
-                                        //<i class="glyphicon glyphicon-download-alt" aria-hidden="true"></i>
840
-                                        '<li><span class="img_mask"><a href="' + v
841
-                                        .F_FileUrl +
842
-                                        '" download="w3logo" title="点击下载"> <i class="fa fa-download" aria-hidden="true"></i></a></span>' +
843
-                                        '<div class="noThumb" title="文件"><i class="glyphicon glyphicon-paperclip"></i><p>无法预览</p></div>' +
844
-                                        //										'<span class="file_name">' + v.F_FileName + '</span>' +
845
-                                        '</li>'
846
-                                    );
847
-                                    $list.append($liFile);
842
+                                    var fileExtension = v.F_FileName.substring(v.F_FileName
843
+                                        .lastIndexOf('.'));
844
+                                    if (fileExtension === ".jpg" || fileExtension ===
845
+                                        ".png" || fileExtension === ",image") {
846
+                                        var $li = $(
847
+                                            //<i class="glyphicon glyphicon-download-alt" aria-hidden="true"></i>
848
+                                            '<li><span class="img_mask"><a href="' + v
849
+                                            .F_FileUrl +
850
+                                            '" download="w3logo" title="点击下载"></a></span>' +
851
+                                            '<img layer-src="' + v.F_FileUrl +
852
+                                            '" alt="' + v
853
+                                            .F_FileName + '" src="' + v.F_FileUrl +
854
+                                            '" title="图片"/>' +
855
+                                            //										'<span class="file_name">' + v.F_FileName + '</span>' +
856
+                                            '</li>'
857
+                                        );
858
+                                        $list.append($li);
859
+                                    } else {
860
+                                        var $liFile = $(
861
+                                            //<i class="glyphicon glyphicon-download-alt" aria-hidden="true"></i>
862
+                                            '<li><span class="img_mask"><a href="' + v
863
+                                            .F_FileUrl +
864
+                                            '" download="w3logo" title="点击下载"> <i class="fa fa-download" aria-hidden="true"></i></a></span>' +
865
+                                            '<div class="noThumb" title="文件"><i class="glyphicon glyphicon-paperclip"></i><p>无法预览</p></div>' +
866
+                                            //										'<span class="file_name">' + v.F_FileName + '</span>' +
867
+                                            '</li>'
868
+                                        );
869
+                                        $list.append($liFile);
870
+                                    }
848 871
                                 }
849 872
                             })
850 873
                             layer.photos({

+ 109 - 90
WebUI/CallCenterWeb.UI/MultimediaWorkOrder/toAuditListMedia.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>
@@ -135,13 +135,13 @@
135 135
             line-height: initial;
136 136
         }
137 137
 
138
-            .setwin a {
139
-                position: relative;
140
-                width: 16px;
141
-                height: 16px;
142
-                font-size: 20px;
143
-                color: #fff;
144
-            }
138
+        .setwin a {
139
+            position: relative;
140
+            width: 16px;
141
+            height: 16px;
142
+            font-size: 20px;
143
+            color: #fff;
144
+        }
145 145
 
146 146
         .xg i {
147 147
             font-size: 16px;
@@ -160,8 +160,8 @@
160 160
         }
161 161
 
162 162
         .inpBox {
163
-           border: 1px solid #cccccc;
164
-    		height: 31px;
163
+            border: 1px solid #cccccc;
164
+            height: 31px;
165 165
             width: 220px;
166 166
             display: inline-block;
167 167
             position: relative;
@@ -171,8 +171,9 @@
171 171
             top: 0px;
172 172
             z-index: 111;
173 173
         }
174
-		.selDpart1{
175
-			position: absolute;
174
+
175
+        .selDpart1 {
176
+            position: absolute;
176 177
             left: 0px;
177 178
             top: 30px;
178 179
             z-index: 11111;
@@ -180,28 +181,32 @@
180 181
             line-height: 30px;
181 182
             background: #FFFFFF;
182 183
             display: none;
183
-		}
184
-		#sponsor{
185
-			width: 218px;
186
-			border: 1px solid #00a1cb;
187
-			margin: 0;
188
-			padding: 0;
189
-			list-style: none;
190
-			max-height: 212px;
191
-			overflow-x: hidden;
192
-			overflow-y: scroll;
193
-		}
194
-		#sponsor li{
195
-			margin: 0;
196
-			padding-left: 10px;
197
-			width: 220px;
198
-			height: 30px;
199
-			line-height: 30px;
200
-			list-style: none;
201
-		}
202
-		#sponsor li:hover{
203
-			background: #00a1cb;
204
-		}
184
+        }
185
+
186
+        #sponsor {
187
+            width: 218px;
188
+            border: 1px solid #00a1cb;
189
+            margin: 0;
190
+            padding: 0;
191
+            list-style: none;
192
+            max-height: 212px;
193
+            overflow-x: hidden;
194
+            overflow-y: scroll;
195
+        }
196
+
197
+        #sponsor li {
198
+            margin: 0;
199
+            padding-left: 10px;
200
+            width: 220px;
201
+            height: 30px;
202
+            line-height: 30px;
203
+            list-style: none;
204
+        }
205
+
206
+        #sponsor li:hover {
207
+            background: #00a1cb;
208
+        }
209
+
205 210
         .addTree {
206 211
             background: #fff;
207 212
             position: absolute;
@@ -273,7 +278,7 @@
273 278
                     <i class="syIcon"></i>位置:
274 279
                     <a href="javaScript:;" id="ReIndex">首页</a>&gt;
275 280
                     <a href="javaScript:;">工单处理</a>&gt;
276
-                   <a href="" class="nowPosition">居委退回审核</a>
281
+                    <a href="" class="nowPosition"></a>局委退回审核</a>
277 282
                 </sapn>
278 283
             </div>
279 284
             <div class="dhRight">
@@ -297,7 +302,9 @@
297 302
                                 </td>
298 303
                                 <th>时间:</th>
299 304
                                 <td>
300
-                                    <input type="text" id="starttime" class="laydate-icon Min-width" style="height: 32px;" />&nbsp;——&nbsp;<input type="text" id="endtime" class="laydate-icon Min-width" style="height: 32px;" />
305
+                                    <input type="text" id="starttime" class="laydate-icon Min-width"
306
+                                        style="height: 32px;" />&nbsp;——&nbsp;<input type="text" id="endtime"
307
+                                        class="laydate-icon Min-width" style="height: 32px;" />
301 308
                                 </td>
302 309
                                 <th>区域:</th>
303 310
                                 <td>
@@ -325,38 +332,40 @@
325 332
                                     <input type="text" id="tel" class="Min-width" />
326 333
                                 </td>
327 334
                             </tr>
328
-                            
335
+
329 336
                             <tr>
330
-                               
337
+
331 338
                                 <th>来电人:</th>
332 339
                                 <td>
333 340
                                     <input type="text" id="name" class="Min-width" />
334 341
                                 </td>
335
-                                
342
+
336 343
                                 <th>类型:</th>
337 344
                                 <td>
338 345
                                     <select class="select_" id="type"></select>
339 346
                                 </td>
340 347
                                 <th></th>
341
-                                
348
+
342 349
                             </tr>
343 350
                             <tr>
344
-                            	<th>坐席:</th>
351
+                                <th>坐席:</th>
345 352
                                 <td>
346
-                                	<select id="ZX" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
347
-										<option value="">请选择坐席</option>
348
-									</select>
353
+                                    <select id="ZX" name="select" class="selectpicker show-tick form-control" multiple
354
+                                        data-live-search="true">
355
+                                        <option value="">请选择坐席</option>
356
+                                    </select>
349 357
                                 </td>
350 358
                                 <th>审核员:</th>
351 359
                                 <td>
352
-                                	<select id="yardman" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
353
-										<option value="">请选择调度员</option>
354
-									</select>
360
+                                    <select id="yardman" name="select" class="selectpicker show-tick form-control"
361
+                                        multiple data-live-search="true">
362
+                                        <option value="">请选择调度员</option>
363
+                                    </select>
355 364
                                 </td>
356 365
                                 <th>承办单位:</th>
357 366
                                 <td style="position: relative;">
358 367
                                     <div class="inpBox">
359
-                                        <input type="text" class="inps" onkeyup="darptSearch()"/>
368
+                                        <input type="text" class="inps" onkeyup="darptSearch()" />
360 369
                                         <i class="Cleans  fa fa-close"></i>
361 370
                                         <i class="xl xl_one"></i>
362 371
                                         <div class="addTree xlAdd">
@@ -364,15 +373,15 @@
364 373
                                         </div>
365 374
                                     </div>
366 375
                                     <div class="selDpart1">
367
-                                    	<ul id="sponsor">
368
-										</ul>
376
+                                        <ul id="sponsor">
377
+                                        </ul>
369 378
                                     </div>
370 379
                                 </td>
371 380
                                 <td style="text-align: center;">
372
-                                	<botton class="btns Seach">搜索</botton>
381
+                                    <botton class="btns Seach">搜索</botton>
373 382
                                     <botton class="btns exportFile">导出</botton>
374 383
                                 </td>
375
-                                
384
+
376 385
                             </tr>
377 386
                         </table>
378 387
                         <a href="" class="btn-success"></a>
@@ -381,7 +390,8 @@
381 390
                 </div>
382 391
                 <div>
383 392
                     <div style="width: 100%;padding: 10px;">
384
-                        <table id="orderlist" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
393
+                        <table id="orderlist" data-row-style="rowStyle" data-query-params="queryParams"
394
+                            data-pagination="true">
385 395
                             <thead>
386 396
                                 <tr>
387 397
                                     <th data-checkbox="true"></th>
@@ -456,30 +466,30 @@
456 466
 
457 467
         //获取查询信息
458 468
         function load() {
459
-        	//坐席
460
-        	var usercodeID="";
461
-        	var usercode_=$("#ZX").val(); //坐席
462
-        	if (usercode_!=null) {
463
-        		$(usercode_).each(function (i, n) {
464
-        			var obj1='';
465
-                    obj1= n+",";
466
-                    usercodeID +=obj1;
467
-	            })
468
-        	}else{
469
-        		usercodeID=""
470
-        	}
471
-//      	调度员
472
-        	var ddusercodeID="";
473
-        	var ddusercode_=$("#yardman").val(); //坐席
474
-        	if (ddusercode_!=null) {
475
-        		$(ddusercode_).each(function (i, n) {
476
-        			var obj2='';
477
-                    obj2= n+",";
478
-                    ddusercodeID +=obj2;
479
-	            })
480
-        	}else{
481
-        		ddusercodeID=""
482
-        	}
469
+            //坐席
470
+            var usercodeID = "";
471
+            var usercode_ = $("#ZX").val(); //坐席
472
+            if (usercode_ != null) {
473
+                $(usercode_).each(function (i, n) {
474
+                    var obj1 = '';
475
+                    obj1 = n + ",";
476
+                    usercodeID += obj1;
477
+                })
478
+            } else {
479
+                usercodeID = ""
480
+            }
481
+            //      	调度员
482
+            var ddusercodeID = "";
483
+            var ddusercode_ = $("#yardman").val(); //坐席
484
+            if (ddusercode_ != null) {
485
+                $(ddusercode_).each(function (i, n) {
486
+                    var obj2 = '';
487
+                    obj2 = n + ",";
488
+                    ddusercodeID += obj2;
489
+                })
490
+            } else {
491
+                ddusercodeID = ""
492
+            }
483 493
             //先销毁表格
484 494
             $('#orderlist').bootstrapTable('destroy');
485 495
             //初始化表格,动态从服务器加载数据
@@ -520,7 +530,7 @@
520 530
                         deptid: $("#PID").val(),
521 531
                         type: $("#type").val(),
522 532
                         tab: 0, //待处理
523
-                        sourcearea: $('#sourceAreas').val(),//区域
533
+                        sourcearea: $('#sourceAreas').val(), //区域
524 534
                         jianhang: 1, // 多媒体
525 535
                         token: $.cookie("token")
526 536
                     };
@@ -634,7 +644,9 @@
634 644
             //          alert(row.F_WorkOrderId);
635 645
             var WorkOrderId = row.F_WorkOrderId;
636 646
             var html = '';
637
-            if (row.F_WorkState == '1') { html += '<a class="xg" onclick="redeploy(\'' + WorkOrderId + '\')">转派&nbsp</a>'; }
647
+            if (row.F_WorkState == '1') {
648
+                html += '<a class="xg" onclick="redeploy(\'' + WorkOrderId + '\')">转派&nbsp</a>';
649
+            }
638 650
             for (var i = 0; i < Rows.length; i++) {
639 651
 
640 652
                 var html1 = huayi.config.arr[Rows[i].key * 1 - 1];
@@ -753,18 +765,20 @@
753 765
         function Supervision(str) {
754 766
             layer.open({
755 767
                 type: 2,
756
-                state:1,
757
-                content: "../CommonHtml/Supervision_.html?wid=" + str + '&type=1'+ '&state=1', //iframe的url,no代表不显示滚动条
768
+                state: 1,
769
+                content: "../CommonHtml/Supervision_.html?wid=" + str + '&type=1' +
770
+                '&state=1', //iframe的url,no代表不显示滚动条
758 771
                 title: '督办',
759 772
                 area: ['60%', '80%'], //宽高
760 773
             });
761 774
         }
762
-		//不督办
775
+        //不督办
763 776
         function ndb(str) {
764 777
             layer.open({
765 778
                 type: 2,
766
-                state:2,
767
-                content: "../CommonHtml/Supervision_.html?wid=" + str + '&type=1'+ '&state=2', //iframe的url,no代表不显示滚动条
779
+                state: 2,
780
+                content: "../CommonHtml/Supervision_.html?wid=" + str + '&type=1' +
781
+                '&state=2', //iframe的url,no代表不显示滚动条
768 782
                 title: '不督办',
769 783
                 area: ['60%', '80%'], //宽高
770 784
             });
@@ -901,7 +915,7 @@
901 915
         }
902 916
         //审核
903 917
         function audit(str) {
904
-        	layer.open({
918
+            layer.open({
905 919
                 type: 2,
906 920
                 content: "../CommonHtml/AuditDatil.html?wid=" + str, //iframe的url,no代表不显示滚动条
907 921
                 title: '审核',
@@ -946,7 +960,8 @@
946 960
                      */
947 961
                     processData: false,
948 962
                     success: function (result) {
949
-                        document.getElementById("upFile").outerHTML = document.getElementById("upFile").outerHTML;
963
+                        document.getElementById("upFile").outerHTML = document.getElementById("upFile")
964
+                            .outerHTML;
950 965
                         $("#upFile").change(function () {
951 966
                             upload();
952 967
                         });
@@ -974,7 +989,8 @@
974 989
                 if (data.state.toLowerCase() == "success") {
975 990
                     var content = data.data;
976 991
                     $(content).each(function (i, n) {
977
-                        $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(obj);
992
+                        $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(
993
+                            obj);
978 994
                     })
979 995
                 }
980 996
             })
@@ -990,7 +1006,8 @@
990 1006
                 if (data.state.toLowerCase() == "success") {
991 1007
                     var content = data.data;
992 1008
                     $(content).each(function (i, n) {
993
-                        $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(obj);
1009
+                        $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(
1010
+                            obj);
994 1011
                     })
995 1012
                 }
996 1013
             })
@@ -1006,12 +1023,13 @@
1006 1023
                 if (data.state.toLowerCase() == "success") {
1007 1024
                     var content = data.data;
1008 1025
                     $(content).each(function (i, n) {
1009
-                        $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(obj);
1026
+                        $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(
1027
+                            obj);
1010 1028
                     })
1011 1029
                 }
1012 1030
             })
1013 1031
         }
1014
-        
1032
+
1015 1033
 
1016 1034
         function tree() {
1017 1035
             $.get(huayi.config.callcenter_url + 'Department/GetDeptList', {
@@ -1038,6 +1056,7 @@
1038 1056
                 onClick: zTreeOnClick
1039 1057
             }
1040 1058
         };
1059
+
1041 1060
         function zTreeOnClick(event, treeId, treeNode) {
1042 1061
             if (treeNode.level >= 1) {
1043 1062
                 $('.inps').val(treeNode.F_DeptName);

+ 36 - 25
WebUI/CallCenterWeb.UI/YeWu/ZX.html

@@ -10,7 +10,6 @@
10 10
     <link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
11 11
     <link href="../css/WorkOrder/Search.css" rel="stylesheet">
12 12
     <link href="../css/init.css" rel="stylesheet" />
13
-    <script src="../css/laydate/laydate.js"></script>
14 13
     <script src="../My97DatePicker/WdatePicker.js"></script>
15 14
 
16 15
     <style>
@@ -56,13 +55,19 @@
56 55
         .Borders {
57 56
             border: 1px solid #d7d7d7;
58 57
         }
58
+
59 59
         .cx {
60 60
             display: block;
61 61
         }
62
-        #list thead th{
63
-                background: #01a1cb;
62
+
63
+        #list thead th {
64
+            background: #01a1cb;
64 65
             color: #fff;
65 66
         }
67
+
68
+        #startTimes {
69
+            width: 400px;
70
+        }
66 71
     </style>
67 72
 </head>
68 73
 
@@ -74,7 +79,7 @@
74 79
                     <i class="syIcon"></i>位置:
75 80
                     <a href="javaScript:;" id="ReIndex">首页</a>&gt;
76 81
                     <a href="javaScript:;">业务统计</a>&gt;
77
-                   <a href="" class="nowPosition">坐席工作统计</a>
82
+                    <a href="" class="nowPosition">坐席工作统计</a>
78 83
                 </sapn>
79 84
             </div>
80 85
             <div class="dhRight">
@@ -95,20 +100,22 @@
95 100
                                 </li>-->
96 101
                                 <li>
97 102
                                     创建时间:
98
-                                    <input class="photo x-color inputs laydate-icon" type="text" id="startTimes" />-
99
-                                    <input class="photo x-color inputs laydate-icon" type="text" id="endTimes" />
103
+                                    <input class="photo x-color inputs laydate-icon" type="text" id="startTimes" />
104
+                                    <!-- <input class="photo x-color inputs laydate-icon" type="text" id="endTimes" /> -->
100 105
                                 </li>
101 106
                                 <li>
102 107
                                     <a class="sc_btn btns db">搜索</a>
103 108
                                     <a class="sc_btn btns  export">导出</a>
104 109
                                 </li>
105
-                                <li><span class="text-danger" style="padding-left: 10px;line-height: 30px;">默认显示当前月的信息</span></li>
110
+                                <li><span class="text-danger"
111
+                                        style="padding-left: 10px;line-height: 30px;">默认显示当前月的信息</span></li>
106 112
                             </ul>
107 113
                         </div>
108 114
                     </div>
109 115
                 </div>
110 116
                 <div style="width: 100%;padding: 10px;">
111
-                    <table id="workorderlist" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
117
+                    <table id="workorderlist" data-row-style="rowStyle" data-query-params="queryParams"
118
+                        data-pagination="true">
112 119
                         <thead>
113 120
                             <tr>
114 121
                                 <th data-field="username" data-align="center">姓名</th>
@@ -127,18 +134,13 @@
127 134
         </div>
128 135
     </div>
129 136
 
137
+    <script src="../js/laydate/laydate.js"></script>
130 138
     <script>
131
-
132 139
         $(document).ready(function () {
133
-            laydate.skin('blue');
134
-            laydate({
135
-                elem: '#startTimes',
136
-                event: 'focus'
137
-            });
138
-
139
-            laydate({
140
-                elem: '#endTimes',
141
-                event: 'focus'
140
+            laydate.render({
141
+                elem: "#startTimes", //指定元素
142
+                type: "datetime",
143
+                range: "~",
142 144
             });
143 145
 
144 146
             //导出
@@ -153,13 +155,16 @@
153 155
 
154 156
             initTable();
155 157
         })
158
+
156 159
         function initTable() {
157 160
             $.ajax({
158 161
                 url: huayi.config.callcenter_url + 'WorkOrderReport/GetUserAccountAssessment',
159 162
                 type: 'get',
160 163
                 data: {
161
-                    start: $("#startTimes").val(),
162
-                    end: $("#endTimes").val(),
164
+                    start: $("#startTimes").val() &&
165
+                        $("#startTimes").val().split(" ~ ")[0],
166
+                    end: $("#startTimes").val() &&
167
+                        $("#startTimes").val().split(" ~ ")[1],
163 168
                     token: $.cookie("token")
164 169
                 },
165 170
                 dataType: "json",
@@ -170,16 +175,22 @@
170 175
                     $('#workorderlist').bootstrapTable('load', resultData1);
171 176
                 }
172 177
             });
173
-            $('#workorderlist').bootstrapTable('destroy').bootstrapTable({ striped: true });
178
+            $('#workorderlist').bootstrapTable('destroy').bootstrapTable({
179
+                striped: true
180
+            });
174 181
         }
175
-        
182
+
176 183
 
177 184
         function dcexcel(obj) {
178
-            var url = huayi.config.callcenter_url + "WorkOrderReport/GetUserAccountAssessment?token=" + $.cookie("token");
179
-            url += "&start=" + $("#startTimes").val() + "&end=" + $("#endTimes").val() +"&isExport=true";
185
+            var start = $("#startTimes").val() &&
186
+                        $("#startTimes").val().split(" ~ ")[0]
187
+            var end = $("#startTimes").val() &&
188
+                        $("#startTimes").val().split(" ~ ")[1]
189
+            var url = huayi.config.callcenter_url + "WorkOrderReport/GetUserAccountAssessment?token=" + $.cookie(
190
+                "token");
191
+            url += "&start=" + start + "&end=" + end + "&isExport=true";
180 192
             obj.href = url;
181 193
         }
182
-
183 194
     </script>
184 195
 </body>
185 196