liuyifan 4 anos atrás
pai
commit
827fccb59f

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

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

+ 2 - 2
WebUI/CallCenterWeb.UI/Appeal/toAuditList.html

3
 
3
 
4
 <head>
4
 <head>
5
     <meta charset="UTF-8">
5
     <meta charset="UTF-8">
6
-    <title>委退回审核</title>
6
+    <title>委退回审核</title>
7
     <script src="../Script/Common/huayi.load.js"></script>
7
     <script src="../Script/Common/huayi.load.js"></script>
8
     <link rel="stylesheet" href="../css/bootstrap-select.css">
8
     <link rel="stylesheet" href="../css/bootstrap-select.css">
9
     <script src="../Script/Common/huayi.config.js"></script>
9
     <script src="../Script/Common/huayi.config.js"></script>
273
                     <i class="syIcon"></i>位置:
273
                     <i class="syIcon"></i>位置:
274
                     <a href="javaScript:;" id="ReIndex">首页</a>&gt;
274
                     <a href="javaScript:;" id="ReIndex">首页</a>&gt;
275
                     <a href="javaScript:;">工单处理</a>&gt;
275
                     <a href="javaScript:;">工单处理</a>&gt;
276
-                   <a href="" class="nowPosition">委退回审核</a>
276
+                   <a href="" class="nowPosition">委退回审核</a>
277
                 </sapn>
277
                 </sapn>
278
             </div>
278
             </div>
279
             <div class="dhRight">
279
             <div class="dhRight">

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

407
                                     <th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">
407
                                     <th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">
408
                                         诉求标题
408
                                         诉求标题
409
                                     </th>
409
                                     </th>
410
+                                    <th data-field="F_ComContent" data-formatter="GetCont" data-align="center">
411
+                                        来电内容
412
+                                    </th>
410
                                     <th data-field="DeptName" data-align="center">
413
                                     <th data-field="DeptName" data-align="center">
411
                                         承办单位
414
                                         承办单位
412
                                     </th>
415
                                     </th>
1005
         function cb(str) {
1008
         function cb(str) {
1006
             layer.open({
1009
             layer.open({
1007
                 type: 2,
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
                 title: "重办工单",
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
 					}
685
 					}
686
 					html += html1;
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
 				return html;
689
 				return html;
690
 			}
690
 			}
691
 
691
 

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

685
 					}
685
 					}
686
 					html += html1;
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
 				return html;
689
 				return html;
690
 			}
690
 			}
691
 
691
 

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

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

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

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

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

154
                                 </td>
154
                                 </td>
155
                             </tr>
155
                             </tr>
156
                             <tr class="content-wrapper">
156
                             <tr class="content-wrapper">
157
-                                <th>内容:</th>
157
+                                <th>来电内容:</th>
158
                                 <td colspan="7">
158
                                 <td colspan="7">
159
                                     <span class="F_ComContent"></span>
159
                                     <span class="F_ComContent"></span>
160
                                 </td>
160
                                 </td>
773
                             $(".F_CusPhone").text(Data[0].F_ConPhone);
773
                             $(".F_CusPhone").text(Data[0].F_ConPhone);
774
                             $(".F_ComTitle").text(Data[0].F_ComTitle);
774
                             $(".F_ComTitle").text(Data[0].F_ComTitle);
775
                             $('.F_ComContent').text(Data[0].F_ComContent);
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
                             $('.F_SourceAddress').text(Data[0].F_SourceAddress);
781
                             $('.F_SourceAddress').text(Data[0].F_SourceAddress);
778
                             $(".store_Lng").val(Data[0].F_Longitude);
782
                             $(".store_Lng").val(Data[0].F_Longitude);
779
                             $(".store_Lat").val(Data[0].F_Latitude);
783
                             $(".store_Lat").val(Data[0].F_Latitude);
835
                                     );
839
                                     );
836
                                     $list.append($li);
840
                                     $list.append($li);
837
                                 } else {
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
                             layer.photos({
873
                             layer.photos({

+ 109 - 90
WebUI/CallCenterWeb.UI/MultimediaWorkOrder/toAuditListMedia.html

3
 
3
 
4
 <head>
4
 <head>
5
     <meta charset="UTF-8">
5
     <meta charset="UTF-8">
6
-    <title>委退回审核</title>
6
+    <title>委退回审核</title>
7
     <script src="../Script/Common/huayi.load.js"></script>
7
     <script src="../Script/Common/huayi.load.js"></script>
8
     <link rel="stylesheet" href="../css/bootstrap-select.css">
8
     <link rel="stylesheet" href="../css/bootstrap-select.css">
9
     <script src="../Script/Common/huayi.config.js"></script>
9
     <script src="../Script/Common/huayi.config.js"></script>
135
             line-height: initial;
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
         .xg i {
146
         .xg i {
147
             font-size: 16px;
147
             font-size: 16px;
160
         }
160
         }
161
 
161
 
162
         .inpBox {
162
         .inpBox {
163
-           border: 1px solid #cccccc;
164
-    		height: 31px;
163
+            border: 1px solid #cccccc;
164
+            height: 31px;
165
             width: 220px;
165
             width: 220px;
166
             display: inline-block;
166
             display: inline-block;
167
             position: relative;
167
             position: relative;
171
             top: 0px;
171
             top: 0px;
172
             z-index: 111;
172
             z-index: 111;
173
         }
173
         }
174
-		.selDpart1{
175
-			position: absolute;
174
+
175
+        .selDpart1 {
176
+            position: absolute;
176
             left: 0px;
177
             left: 0px;
177
             top: 30px;
178
             top: 30px;
178
             z-index: 11111;
179
             z-index: 11111;
180
             line-height: 30px;
181
             line-height: 30px;
181
             background: #FFFFFF;
182
             background: #FFFFFF;
182
             display: none;
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
         .addTree {
210
         .addTree {
206
             background: #fff;
211
             background: #fff;
207
             position: absolute;
212
             position: absolute;
273
                     <i class="syIcon"></i>位置:
278
                     <i class="syIcon"></i>位置:
274
                     <a href="javaScript:;" id="ReIndex">首页</a>&gt;
279
                     <a href="javaScript:;" id="ReIndex">首页</a>&gt;
275
                     <a href="javaScript:;">工单处理</a>&gt;
280
                     <a href="javaScript:;">工单处理</a>&gt;
276
-                   <a href="" class="nowPosition">居委退回审核</a>
281
+                    <a href="" class="nowPosition"></a>局委退回审核</a>
277
                 </sapn>
282
                 </sapn>
278
             </div>
283
             </div>
279
             <div class="dhRight">
284
             <div class="dhRight">
297
                                 </td>
302
                                 </td>
298
                                 <th>时间:</th>
303
                                 <th>时间:</th>
299
                                 <td>
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
                                 </td>
308
                                 </td>
302
                                 <th>区域:</th>
309
                                 <th>区域:</th>
303
                                 <td>
310
                                 <td>
325
                                     <input type="text" id="tel" class="Min-width" />
332
                                     <input type="text" id="tel" class="Min-width" />
326
                                 </td>
333
                                 </td>
327
                             </tr>
334
                             </tr>
328
-                            
335
+
329
                             <tr>
336
                             <tr>
330
-                               
337
+
331
                                 <th>来电人:</th>
338
                                 <th>来电人:</th>
332
                                 <td>
339
                                 <td>
333
                                     <input type="text" id="name" class="Min-width" />
340
                                     <input type="text" id="name" class="Min-width" />
334
                                 </td>
341
                                 </td>
335
-                                
342
+
336
                                 <th>类型:</th>
343
                                 <th>类型:</th>
337
                                 <td>
344
                                 <td>
338
                                     <select class="select_" id="type"></select>
345
                                     <select class="select_" id="type"></select>
339
                                 </td>
346
                                 </td>
340
                                 <th></th>
347
                                 <th></th>
341
-                                
348
+
342
                             </tr>
349
                             </tr>
343
                             <tr>
350
                             <tr>
344
-                            	<th>坐席:</th>
351
+                                <th>坐席:</th>
345
                                 <td>
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
                                 </td>
357
                                 </td>
350
                                 <th>审核员:</th>
358
                                 <th>审核员:</th>
351
                                 <td>
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
                                 </td>
364
                                 </td>
356
                                 <th>承办单位:</th>
365
                                 <th>承办单位:</th>
357
                                 <td style="position: relative;">
366
                                 <td style="position: relative;">
358
                                     <div class="inpBox">
367
                                     <div class="inpBox">
359
-                                        <input type="text" class="inps" onkeyup="darptSearch()"/>
368
+                                        <input type="text" class="inps" onkeyup="darptSearch()" />
360
                                         <i class="Cleans  fa fa-close"></i>
369
                                         <i class="Cleans  fa fa-close"></i>
361
                                         <i class="xl xl_one"></i>
370
                                         <i class="xl xl_one"></i>
362
                                         <div class="addTree xlAdd">
371
                                         <div class="addTree xlAdd">
364
                                         </div>
373
                                         </div>
365
                                     </div>
374
                                     </div>
366
                                     <div class="selDpart1">
375
                                     <div class="selDpart1">
367
-                                    	<ul id="sponsor">
368
-										</ul>
376
+                                        <ul id="sponsor">
377
+                                        </ul>
369
                                     </div>
378
                                     </div>
370
                                 </td>
379
                                 </td>
371
                                 <td style="text-align: center;">
380
                                 <td style="text-align: center;">
372
-                                	<botton class="btns Seach">搜索</botton>
381
+                                    <botton class="btns Seach">搜索</botton>
373
                                     <botton class="btns exportFile">导出</botton>
382
                                     <botton class="btns exportFile">导出</botton>
374
                                 </td>
383
                                 </td>
375
-                                
384
+
376
                             </tr>
385
                             </tr>
377
                         </table>
386
                         </table>
378
                         <a href="" class="btn-success"></a>
387
                         <a href="" class="btn-success"></a>
381
                 </div>
390
                 </div>
382
                 <div>
391
                 <div>
383
                     <div style="width: 100%;padding: 10px;">
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
                             <thead>
395
                             <thead>
386
                                 <tr>
396
                                 <tr>
387
                                     <th data-checkbox="true"></th>
397
                                     <th data-checkbox="true"></th>
456
 
466
 
457
         //获取查询信息
467
         //获取查询信息
458
         function load() {
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
             $('#orderlist').bootstrapTable('destroy');
494
             $('#orderlist').bootstrapTable('destroy');
485
             //初始化表格,动态从服务器加载数据
495
             //初始化表格,动态从服务器加载数据
520
                         deptid: $("#PID").val(),
530
                         deptid: $("#PID").val(),
521
                         type: $("#type").val(),
531
                         type: $("#type").val(),
522
                         tab: 0, //待处理
532
                         tab: 0, //待处理
523
-                        sourcearea: $('#sourceAreas').val(),//区域
533
+                        sourcearea: $('#sourceAreas').val(), //区域
524
                         jianhang: 1, // 多媒体
534
                         jianhang: 1, // 多媒体
525
                         token: $.cookie("token")
535
                         token: $.cookie("token")
526
                     };
536
                     };
634
             //          alert(row.F_WorkOrderId);
644
             //          alert(row.F_WorkOrderId);
635
             var WorkOrderId = row.F_WorkOrderId;
645
             var WorkOrderId = row.F_WorkOrderId;
636
             var html = '';
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
             for (var i = 0; i < Rows.length; i++) {
650
             for (var i = 0; i < Rows.length; i++) {
639
 
651
 
640
                 var html1 = huayi.config.arr[Rows[i].key * 1 - 1];
652
                 var html1 = huayi.config.arr[Rows[i].key * 1 - 1];
753
         function Supervision(str) {
765
         function Supervision(str) {
754
             layer.open({
766
             layer.open({
755
                 type: 2,
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
                 title: '督办',
771
                 title: '督办',
759
                 area: ['60%', '80%'], //宽高
772
                 area: ['60%', '80%'], //宽高
760
             });
773
             });
761
         }
774
         }
762
-		//不督办
775
+        //不督办
763
         function ndb(str) {
776
         function ndb(str) {
764
             layer.open({
777
             layer.open({
765
                 type: 2,
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
                 title: '不督办',
782
                 title: '不督办',
769
                 area: ['60%', '80%'], //宽高
783
                 area: ['60%', '80%'], //宽高
770
             });
784
             });
901
         }
915
         }
902
         //审核
916
         //审核
903
         function audit(str) {
917
         function audit(str) {
904
-        	layer.open({
918
+            layer.open({
905
                 type: 2,
919
                 type: 2,
906
                 content: "../CommonHtml/AuditDatil.html?wid=" + str, //iframe的url,no代表不显示滚动条
920
                 content: "../CommonHtml/AuditDatil.html?wid=" + str, //iframe的url,no代表不显示滚动条
907
                 title: '审核',
921
                 title: '审核',
946
                      */
960
                      */
947
                     processData: false,
961
                     processData: false,
948
                     success: function (result) {
962
                     success: function (result) {
949
-                        document.getElementById("upFile").outerHTML = document.getElementById("upFile").outerHTML;
963
+                        document.getElementById("upFile").outerHTML = document.getElementById("upFile")
964
+                            .outerHTML;
950
                         $("#upFile").change(function () {
965
                         $("#upFile").change(function () {
951
                             upload();
966
                             upload();
952
                         });
967
                         });
974
                 if (data.state.toLowerCase() == "success") {
989
                 if (data.state.toLowerCase() == "success") {
975
                     var content = data.data;
990
                     var content = data.data;
976
                     $(content).each(function (i, n) {
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
                 if (data.state.toLowerCase() == "success") {
1006
                 if (data.state.toLowerCase() == "success") {
991
                     var content = data.data;
1007
                     var content = data.data;
992
                     $(content).each(function (i, n) {
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
                 if (data.state.toLowerCase() == "success") {
1023
                 if (data.state.toLowerCase() == "success") {
1007
                     var content = data.data;
1024
                     var content = data.data;
1008
                     $(content).each(function (i, n) {
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
         function tree() {
1034
         function tree() {
1017
             $.get(huayi.config.callcenter_url + 'Department/GetDeptList', {
1035
             $.get(huayi.config.callcenter_url + 'Department/GetDeptList', {
1038
                 onClick: zTreeOnClick
1056
                 onClick: zTreeOnClick
1039
             }
1057
             }
1040
         };
1058
         };
1059
+
1041
         function zTreeOnClick(event, treeId, treeNode) {
1060
         function zTreeOnClick(event, treeId, treeNode) {
1042
             if (treeNode.level >= 1) {
1061
             if (treeNode.level >= 1) {
1043
                 $('.inps').val(treeNode.F_DeptName);
1062
                 $('.inps').val(treeNode.F_DeptName);

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

10
     <link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
10
     <link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
11
     <link href="../css/WorkOrder/Search.css" rel="stylesheet">
11
     <link href="../css/WorkOrder/Search.css" rel="stylesheet">
12
     <link href="../css/init.css" rel="stylesheet" />
12
     <link href="../css/init.css" rel="stylesheet" />
13
-    <script src="../css/laydate/laydate.js"></script>
14
     <script src="../My97DatePicker/WdatePicker.js"></script>
13
     <script src="../My97DatePicker/WdatePicker.js"></script>
15
 
14
 
16
     <style>
15
     <style>
56
         .Borders {
55
         .Borders {
57
             border: 1px solid #d7d7d7;
56
             border: 1px solid #d7d7d7;
58
         }
57
         }
58
+
59
         .cx {
59
         .cx {
60
             display: block;
60
             display: block;
61
         }
61
         }
62
-        #list thead th{
63
-                background: #01a1cb;
62
+
63
+        #list thead th {
64
+            background: #01a1cb;
64
             color: #fff;
65
             color: #fff;
65
         }
66
         }
67
+
68
+        #startTimes {
69
+            width: 400px;
70
+        }
66
     </style>
71
     </style>
67
 </head>
72
 </head>
68
 
73
 
74
                     <i class="syIcon"></i>位置:
79
                     <i class="syIcon"></i>位置:
75
                     <a href="javaScript:;" id="ReIndex">首页</a>&gt;
80
                     <a href="javaScript:;" id="ReIndex">首页</a>&gt;
76
                     <a href="javaScript:;">业务统计</a>&gt;
81
                     <a href="javaScript:;">业务统计</a>&gt;
77
-                   <a href="" class="nowPosition">坐席工作统计</a>
82
+                    <a href="" class="nowPosition">坐席工作统计</a>
78
                 </sapn>
83
                 </sapn>
79
             </div>
84
             </div>
80
             <div class="dhRight">
85
             <div class="dhRight">
95
                                 </li>-->
100
                                 </li>-->
96
                                 <li>
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
                                 </li>
105
                                 </li>
101
                                 <li>
106
                                 <li>
102
                                     <a class="sc_btn btns db">搜索</a>
107
                                     <a class="sc_btn btns db">搜索</a>
103
                                     <a class="sc_btn btns  export">导出</a>
108
                                     <a class="sc_btn btns  export">导出</a>
104
                                 </li>
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
                             </ul>
112
                             </ul>
107
                         </div>
113
                         </div>
108
                     </div>
114
                     </div>
109
                 </div>
115
                 </div>
110
                 <div style="width: 100%;padding: 10px;">
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
                         <thead>
119
                         <thead>
113
                             <tr>
120
                             <tr>
114
                                 <th data-field="username" data-align="center">姓名</th>
121
                                 <th data-field="username" data-align="center">姓名</th>
127
         </div>
134
         </div>
128
     </div>
135
     </div>
129
 
136
 
137
+    <script src="../js/laydate/laydate.js"></script>
130
     <script>
138
     <script>
131
-
132
         $(document).ready(function () {
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
 
155
 
154
             initTable();
156
             initTable();
155
         })
157
         })
158
+
156
         function initTable() {
159
         function initTable() {
157
             $.ajax({
160
             $.ajax({
158
                 url: huayi.config.callcenter_url + 'WorkOrderReport/GetUserAccountAssessment',
161
                 url: huayi.config.callcenter_url + 'WorkOrderReport/GetUserAccountAssessment',
159
                 type: 'get',
162
                 type: 'get',
160
                 data: {
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
                     token: $.cookie("token")
168
                     token: $.cookie("token")
164
                 },
169
                 },
165
                 dataType: "json",
170
                 dataType: "json",
170
                     $('#workorderlist').bootstrapTable('load', resultData1);
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
         function dcexcel(obj) {
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
             obj.href = url;
192
             obj.href = url;
181
         }
193
         }
182
-
183
     </script>
194
     </script>
184
 </body>
195
 </body>
185
 
196