miaofuhao 1 gadu atpakaļ
vecāks
revīzija
88110f0156

+ 20 - 3
WebUI/CallCenterWeb.UI/CommonHtml/WorkDatil.html

@@ -914,6 +914,7 @@
914 914
 			var check = helper.request.queryString("check");
915 915
 			var workOrderType = helper.request.queryString("workOrderType");
916 916
 			var isProtect = "";
917
+			var encryptPhoneNumber = ''
917 918
 			var phoneNumber = "";
918 919
 			var phoneNumber2 = "";			
919 920
 			var callerName = ""
@@ -1178,6 +1179,8 @@
1178 1179
 												
1179 1180
 											}
1180 1181
 											phoneNumber = decryptFn(Data[0].F_CusPhoneShow)
1182
+											phoneNumber3 = decryptFn(Data[0].F_CusPhoneShow)
1183
+											encryptPhoneNumber = Data[0].F_CusPhone
1181 1184
 											phoneNumber2 = decryptFn(Data[0].F_ConPhoneShow || Data[0].F_CusPhoneShow)
1182 1185
 											
1183 1186
 										} else {
@@ -2105,8 +2108,8 @@
2105 2108
 													'<td class="text-center">' + n
2106 2109
 													.F_CreateTime +
2107 2110
 													'</td>' +
2108
-													'<td class="text-center">' + phoneNumber +
2109
-													'</td>' +
2111
+													'<td class="text-center phoneTitle3"><a href="#">' + encryptPhoneNumber +
2112
+													'</a></td>' +
2110 2113
 													'<td class="text-center">'
2111 2114
 												var audioFile = '';
2112 2115
 												if(n.FilePath) {
@@ -2118,6 +2121,20 @@
2118 2121
 												htmlss += audioFile + '</tr>'
2119 2122
 											})
2120 2123
 											$(htmlss).appendTo($(".HGXX"));
2124
+											$(".phoneTitle3").click(function() {
2125
+												var isSecret
2126
+												if ($('.MJ').text()=="普通") {
2127
+													isSecret = 1
2128
+												} else{
2129
+													isSecret = 2
2130
+												}
2131
+												layer.open({
2132
+													type: 2,
2133
+													content: "./callerNumber.html?phoneNumber=" + encodeURIComponent(phoneNumber)+"&wid="+wid+"&isSecret="+isSecret+"&type=1", //iframe的url,no代表不显示滚动条
2134
+													title: "回访号码",
2135
+													area: ["40%", "25%"], //宽高
2136
+												});
2137
+											})
2121 2138
 										}
2122 2139
 										break;
2123 2140
 									case '7':
@@ -2532,7 +2549,7 @@
2532 2549
 					area: ["40%", "25%"], //宽高
2533 2550
 				});
2534 2551
 			})
2535
-
2552
+			
2536 2553
 			$(".callerTitle").click(function() {
2537 2554
 				if($(".F_CusName").text()===""){
2538 2555
 					layer.msg('来电人姓名为空')

+ 5 - 2
WebUI/CallCenterWeb.UI/CommonHtml/callerNumber.html

@@ -14,7 +14,7 @@
14 14
     <div class="Common">
15 15
         <table>
16 16
             <tr>
17
-                <th style="width: 85px;text-align: left;">来电号码:</th>
17
+                <th style="width: 85px;text-align: left;" class="titleText">来电号码:</th>
18 18
                 <td>
19 19
                 	<span class="phoneNumber" style="display: none;"></span>
20 20
                 	<div style="display: inline-block;" class="passwordSearch">
@@ -31,7 +31,10 @@
31 31
         var phoneNumber = decodeURIComponent(helper.request.queryString("phoneNumber"));
32 32
         var wid = helper.request.queryString("wid")
33 33
         var isSecret = helper.request.queryString("isSecret")
34
-        debugger
34
+        var type = helper.request.queryString("type")
35
+        if (type) {
36
+        	$(".titleText").text('回访电话')
37
+        }
35 38
         if(isSecret == '1'){
36 39
         	$(".phoneNumber").show()
37 40
         	$(".passwordSearch").hide()

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

@@ -3,8 +3,8 @@
3 3
 }
4 4
 //var AYWebUrl = window.document.location.href
5 5
 huayi.config = {
6
-	callcenter_url: "http://192.168.8.9:1042/",//生产环境
7
-//	callcenter_url: "http://docking.zwfw.anyang.gov.cn:65527/", //生产环境 
6
+//	callcenter_url: "http://192.168.8.9:1042/",//生产环境
7
+	callcenter_url: "http://docking.zwfw.anyang.gov.cn:65527/", //生产环境 
8 8
     socket_ip: "192.168.8.7", //ip
9 9
 //	translation_socket:"ws://125.45.12.102:12233",
10 10
 	translation_socket:"ws://192.168.8.7:8081",

+ 1 - 1
WebUI/CallCenterWeb.UI/commonWorderList/js/orderListCommon.js

@@ -20,7 +20,7 @@ function load() {
20 20
         type: $("#type").val(), //来电类型
21 21
         
22 22
         //以下为工单查询搜索参数开始
23
-        ComContent: $("#workOrderContent").val().replace(/\s+/g, ""), // 工单内容
23
+        ComContent: $("#workOrderContent")&&$("#workOrderContent").val().replace(/\s+/g, ""), // 工单内容
24 24
         ddusercode: selectMultiple($("#yardman")),	//审核员
25 25
         dealtype: $("#dealtype").val(), //处理类型
26 26
         Result: $("#workOrderProcessingResult").val().replace(/\s+/g, ""), // 办理结果

+ 2 - 1
WebUI/CallCenterWeb.UI/commonWorderList/orderList.html

@@ -313,7 +313,8 @@
313 313
 									<input type="text" id="contel" class="form-control" placeholder="请输入联系电话" />
314 314
 								</td>
315 315
 							</tr>
316
-						</table>
316
+						
317
+                        </table>
317 318
 						
318 319
                     </div>
319 320
                 </div>

+ 403 - 0
WebUI/CallCenterWeb.UI/commonWorderList/orderListChild.html

@@ -0,0 +1,403 @@
1
+<!DOCTYPE html>
2
+<html>
3
+
4
+<head>
5
+    <meta charset="UTF-8" />
6
+    <title>已办待回访</title>
7
+    <script src="../Script/Common/huayi.load.js"></script>
8
+    <script src="../Script/Common/huayi.config.js"></script>
9
+    <link rel="stylesheet" href="../css/bootstrap-select.css" />
10
+    <link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
11
+    <link rel="stylesheet" href="../css/init.css" />
12
+    <link rel="stylesheet" href="../js/layui/css/layui.css">
13
+    <link rel="stylesheet" href="../css/WorkOrder/WorkOrderList.css">
14
+</head>
15
+
16
+<body class="gray-bg">
17
+    <div class="wrapper wrapper-content animated fadeInRight">
18
+        <div class="daoHang clearfix">
19
+            <div class="dhLeft">
20
+                <sapn>
21
+                    <i class="syIcon"></i>位置:
22
+                    <a href="javaScript:;" id="ReIndex">首页</a>&gt;
23
+                    <a href="" class="nowPosition"></a>
24
+                </sapn>
25
+            </div>
26
+            <div class="dhRight">
27
+                <a href="" title="刷新"><i class="fa fa-refresh"></i></a>
28
+            </div>
29
+        </div>
30
+        <div style="padding: 10px" class="tj_content clearFix">
31
+            <div style="padding: 10px" class="tj_content clearFix">
32
+                <div>
33
+                    <span>【搜索信息】</span>
34
+                    <div class="box_content">
35
+                        <table id="sqzx" style="width: 100%" border="0" cellspacing="0" cellpadding="0">
36
+							<tr>
37
+								<th>工单来源:</th>
38
+								<td>
39
+									<select class="form-control" id="source"></select>
40
+								</td>
41
+								<th>来电号码:</th>
42
+								<td>
43
+									<input type="text" id="tel" class="form-control" placeholder="请输入来电号码" />
44
+								</td>
45
+								<th>录入时间:</th>
46
+								<td colspan="3">
47
+									<input id="starttime" class="photo x-color laydate-icon" type="text" autocomplete="off" style="height: 35px;" />-<input id="endtime" class="photo x-color laydate-icon" type="text" autocomplete="off" style="height: 35px;" />
48
+								</td>
49
+							</tr>
50
+							<tr>
51
+								<th>事项编号:</th>
52
+								<td>
53
+									<input type="text" placeholder="输入工单号" id="wids" class="form-control" />
54
+								</td>
55
+								<th><span class="nameJustified">来电人:</span></th>
56
+								<td>
57
+									<input type="text" id="name" class="form-control" autocomplete="off" />
58
+								</td>
59
+								<th>办理时间:</th>
60
+								<td colspan="3">
61
+									<input id="dealstarttime" class="photo x-color laydate-icon" type="text" autocomplete="off" style="height: 35px;" /> -
62
+									<input id="dealstrendtime" class="photo x-color laydate-icon" type="text" autocomplete="off" style="height: 35px;" />
63
+								</td>
64
+							</tr>
65
+							<tr>
66
+								<th>工单标题:</th>
67
+								<td>
68
+									<input type="text" placeholder="输入工单标题" id="workOrderTitle" class="form-control" />
69
+								</td>
70
+								<th>受话坐席:</th>
71
+								<td class="maxWidthSelect">
72
+									<select id="ZX" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
73
+										<option value="">请选择坐席</option>
74
+									</select>
75
+								</td>
76
+								<th>反映区域:</th>
77
+								<td>
78
+									<select class="form-control Min-width" id="sourceAreas"></select>
79
+									<botton class="btns Seach">搜索</botton>
80
+								</td>
81
+							</tr>
82
+							<tr>
83
+								<th>承办单位:</th>
84
+								
85
+								<td style="position: relative">
86
+									<div class="inpBox">
87
+										<input type="text" class="inps" id="organizer" autocomplete="off" />
88
+										<i class="Cleans fa fa-close"></i>
89
+										<i class="xl xl_one"></i>
90
+										<div class="addTree xlAdd">
91
+											<ul id="addTreeDemo" class="ztree"></ul>
92
+										</div>
93
+									</div>
94
+									<div class="selDpart1">
95
+										<ul id="sponsor"></ul>
96
+									</div>
97
+								</td>
98
+								<th>反映类别:</th>
99
+								<td class="reflectCategory-wrapper">
100
+									<input type="text" id="reflectCategory" class="form-control" autocomplete="off" />
101
+									<i class="CleansReactionCategory fa fa-close"></i>
102
+									<input type="hidden" id="keyid" />
103
+									<div class="reflectCategoryList-wrapper">
104
+										<ul id="reflectCategoryList">
105
+										</ul>
106
+									</div>
107
+								</td>
108
+								<th>来电类型:</th>
109
+								<td>
110
+									<select class="form-control Min-width" id="type"></select>
111
+									<botton class="btns exportFile">导出</botton>
112
+								</td>
113
+							</tr>
114
+							<tr class="orderSearch" style="display: none;">
115
+								<th>来电内容:</th>
116
+								<td>
117
+									<input type="text" placeholder="输入来电内容" id="workOrderContent" class="form-control" />
118
+								</td>
119
+								<th><span class="nameJustified">审核员:</span></th>
120
+								<td class="maxWidthSelect">
121
+									<select id="yardman" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
122
+										<option value="">请选择调度员</option>
123
+									</select>
124
+								</td>
125
+								<th>处理类型:</th>
126
+								<td>
127
+									<select class="form-control Min-width" id="dealtype">
128
+										<option value="">请选择</option>
129
+										<option value="0">网络转派</option>
130
+										<option value="1">当即办理</option>
131
+									</select>
132
+								</td>
133
+							</tr>
134
+							
135
+							<tr class="orderSearch" style="display: none;">
136
+								<th>办理结果:</th>
137
+								<td>
138
+									<input type="text" placeholder="输入办理结果" id="workOrderProcessingResult" class="form-control" />
139
+								</td>
140
+								<th>工单状态:</th>
141
+								<td>
142
+									<select name="" id="state" class="form-control">
143
+										<option selected="selected" value="">
144
+											请选择
145
+										</option>
146
+										<option value="0">新工单</option>
147
+										<option value="1">待交办</option>
148
+										<option value="2">待查收</option>
149
+										<option value="3">
150
+											退回审核中
151
+										</option>
152
+										<option value="4">办理中</option>
153
+										<option value="5">
154
+											延时审核中
155
+										</option>
156
+										<option value="6">已办理</option>
157
+										<option value="11">
158
+											重办待交办
159
+										</option>
160
+										<option value="13">重办驳回</option>
161
+										<option value="8">重办中</option>
162
+										<option value="9">已结案</option>
163
+									</select>
164
+								</td>
165
+								<th>是否公开:</th>
166
+								<td>
167
+									<select id="isopen" class="form-control Min-width" name="select">
168
+										<option value="">
169
+											请选择是否公开
170
+										</option>
171
+										<option value="0">
172
+											未公开
173
+										</option>
174
+										<option value="1">
175
+											已公开
176
+										</option>
177
+									</select>
178
+									
179
+								</td>
180
+								
181
+							</tr>
182
+							
183
+							<tr class="orderSearch" style="display: none;">
184
+								<th>三方通话:</th>
185
+								<td>
186
+									<select id="threeWayCall" class="form-control" name="select">
187
+										<option value="">
188
+											请选择是否三方通话
189
+										</option>
190
+										<option value="1">
191
+											是
192
+										</option>
193
+										<option value="0">
194
+											否
195
+										</option>
196
+									</select>
197
+								</td>
198
+								<th>分管领导:</th>
199
+								<td>
200
+									<select id="leaderCharge" class="form-control" name="select">
201
+										<option value="">
202
+											请选择
203
+										</option>
204
+										<option value="省长">
205
+											省长
206
+										</option>
207
+										<option value="市长">
208
+											市长
209
+										</option>
210
+									</select>
211
+								</td>
212
+								<th>查询类型:</th>
213
+								<td>
214
+									<select id="islike" class="form-control Min-width" name="select">
215
+										<option value="1">
216
+											模糊查询
217
+										</option>
218
+										<option value="0">
219
+											精确查询
220
+										</option>
221
+									</select>
222
+								</td>
223
+							</tr>
224
+							
225
+							<tr class="orderSearch" style="display: none;">
226
+								<th>是否督办:</th>
227
+								<td>
228
+									<select id="whetherSupervisor" class="form-control" name="select">
229
+										<option value="">请选择</option>
230
+										<option value="1">是</option>
231
+										<option value="0">否</option>
232
+									</select>
233
+								</td>
234
+								<th>专席编辑:</th>
235
+								<td>
236
+									<select id="edituser" class="form-control" name="select">
237
+										<option value="">请选择</option>
238
+										<option value="1">供暖工单</option>
239
+									</select>
240
+								</td>
241
+								<th>添加方式:</th>
242
+								<td>
243
+									<select id="workordertype" class="form-control Min-width" name="select">
244
+										<option value="">请选择</option>
245
+										<option value="0">来电弹屏</option>
246
+										<option value="1">手动添加</option>
247
+									</select>
248
+								</td>
249
+							</tr>
250
+							
251
+							<tr class="orderSearch" style="display: none;">
252
+								<th>关联工单:</th>
253
+								<td>
254
+									<select id="IsRelease" class="form-control" name="select">
255
+										<option value="">请选择</option>
256
+										<option value="1">主工单</option>
257
+										<option value="2">子工单</option>
258
+									</select>
259
+								</td>
260
+
261
+								<th>满意度:</th>
262
+								<td>
263
+									<select id="satisfaction" class="form-control" name="select">
264
+										<option value="">请选择</option>
265
+										<option value="基本满意">基本满意</option>
266
+										<option value="满意">满意</option>
267
+										<option value="非常满意">非常满意</option>
268
+										<option value="不满意">不满意</option>
269
+										<option value="非常不满意">非常不满意</option>
270
+									</select>
271
+								</td>
272
+								<th>电话类别:</th>
273
+								<td>
274
+									<select class="form-control Min-width" id="phoneType">
275
+	                                    <option value="">请选择</option>
276
+	                                </select>
277
+									
278
+								</td>
279
+							</tr>
280
+							
281
+							<tr class="orderSearch" style="display: none;">
282
+								<th>是否营商:</th>
283
+	                            <td>
284
+	                                <select id="isbusiness" class="form-control" name="select">
285
+										<option value="">请选择</option>
286
+										<option value="0">否</option>
287
+										<option value="1">是</option>
288
+									</select>
289
+	                            </td>
290
+	                            <th>结案人:</th>
291
+                                <td>
292
+                                    <select id="closeuser" name="select" class="selectpicker show-tick form-control"
293
+                                        data-live-search="true">
294
+                                        <option value="">
295
+                                           		 请选择结案人
296
+                                        </option>
297
+                                    </select>
298
+                                </td>
299
+	                            <th>是否超期:</th>
300
+	                            <td>
301
+	                                <select id="overtime" class="form-control Min-width" name="select">
302
+										<option value="">请选择</option>
303
+										<option value="1">即将超期</option>
304
+										<option value="2">已超期</option>
305
+									</select>
306
+	                            </td>
307
+							</tr>
308
+							
309
+							<tr class="orderSearch" style="display: none;">
310
+								<th>联系电话:</th>
311
+								<td>
312
+									<input type="text" id="contel" class="form-control" placeholder="请输入联系电话" />
313
+								</td>
314
+							</tr>
315
+						
316
+                        </table>
317
+						
318
+                    </div>
319
+                </div>
320
+                <div>
321
+
322
+                    <div style="width: 100%; padding: 10px">
323
+                        <table id="orderlist" data-row-style="rowStyle" data-query-params="queryParams"
324
+                            data-pagination="true">
325
+                            <thead>
326
+                                <tr>
327
+                                    <th data-formatter="serialNumber" data-align="center">序号</th>
328
+                                    <th data-field="F_WorkOrderId" data-formatter="View" data-align="center">工单单号</th>
329
+                                    <th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">诉求标题</th>
330
+                                    <th data-field="DeptName" data-align="center">承办单位</th>
331
+                                    <th data-field="F_WorkState" data-align="center" data-formatter="States">办理状态</th>
332
+                                    <th class="visitState" data-field="F_IsVisit" data-align="center" data-formatter="visitStates">回访状态</th>
333
+                                    <th data-field="OverState" data-formatter="OverTime" data-align="center">时限</th>
334
+                                    <th data-field="LimitTime" data-formatter="BanTime" data-align="center">办理时限</th>
335
+                                    <th data-field="F_WorkOrderId" data-formatter="Dispose" data-align="center">操作</th>
336
+                                </tr>
337
+                            </thead>
338
+                            <tbody class="list"></tbody>
339
+                        </table>
340
+                    </div>
341
+                </div>
342
+            </div>
343
+        </div>
344
+        <input type="hidden" id="PID" />
345
+    </div>
346
+    <script src="../js/layui/layui.js"></script>
347
+    <script src="../js/bootstrap-select.js"></script>
348
+    <script src="../css/laydate/laydate.js"></script>
349
+    <script src="../My97DatePicker/WdatePicker.js"></script>
350
+    <script src="../js/zTree/jquery.ztree.core.js"></script>
351
+    <script src="./js/common.js"></script>
352
+	<script src="./js/orderListCommon.js"></script>
353
+	<script src="./js/orderListHeader.js"></script>
354
+	<script src="./js/orderListOperation.js"></script>
355
+
356
+    <script>
357
+        var db = 0;
358
+        var getParam = {}
359
+        var exportParam; // 导出参数
360
+        var urlState = helper.request.queryString("urlState");
361
+        var wid = helper.request.queryString("wid");
362
+        $(document).ready(function () {
363
+            if (wid) {
364
+                $("#tel").val(wid);
365
+            }
366
+            getParam = getLoadParams(urlState)
367
+            if(getParam.tabSecondText === '已办待回访'){
368
+            	$(".hfIntelligenceBox").show()
369
+            }
370
+            if(getParam.tabText1){
371
+            	$(".ul_tab").show()
372
+            	getParam.tabText1 &&$(".tabText1").text(getParam.tabText1)
373
+            	getParam.tabText2 &&$(".tabText2").text(getParam.tabText2)
374
+            }
375
+            
376
+            
377
+            $(".nowPosition").text(getParam.tabSecondText)
378
+            load();
379
+        });
380
+        function getLoadParams(state){
381
+      		var paramsObj = {
382
+      			params:{}
383
+      		}
384
+        	switch (state){
385
+        		case "shyZjhfSecond": //审核员-已办待回访 GetLDDealList
386
+        			paramsObj.tabSecondText = "待审核追加回复"
387
+        			paramsObj.params.jianhang = 0
388
+        			paramsObj.params.tab = 12
389
+        			paramsObj.apiUrl = 'WorkOrder/GetLDDealList'
390
+        			break;
391
+        		
392
+        		
393
+        		default:	// 话务员 hwyDhf,审核员 shyDhf,默认0 
394
+//      			paramsObj.apiUrl = 'WorkOrder/GetZXDealList'
395
+        			break;
396
+        	}
397
+        	return paramsObj
398
+        }
399
+
400
+    </script>
401
+</body>
402
+
403
+</html>