liuzhihui 2 years ago
parent
commit
d9365b3786

+ 7 - 0
WebUI/CallCenterWeb.UI/Appeal/Lawsuit.html

@@ -300,6 +300,12 @@
300 300
 										</select>
301 301
 		                            </td>
302 302
 								</tr>
303
+								<tr>
304
+									<th>联系电话:</th>
305
+									<td>
306
+										<input type="text" id="contel" class="form-control" placeholder="请输入联系电话" />
307
+									</td>
308
+								</tr>
303 309
 							</table>
304 310
 						</div>
305 311
 					</div>
@@ -438,6 +444,7 @@
438 444
 							type: $("#type").val(), //=工单类型
439 445
 							key: $("#key").val(), //=关键字
440 446
 							tel: $("#tel").val().replace(/\s+/g, ""), //=客户电话
447
+							conphone: $("#contel").val().replace(/\s+/g, ""), //=客户电话							
441 448
 							name: $("#name").val().replace(/\s+/g, ""), //=客户名称
442 449
 							usercode: selectMultiple($("#ZX")), //=坐席工号
443 450
 	                        ddusercode: selectMultiple($("#yardman")),

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

@@ -445,9 +445,9 @@
445 445
 					$('.undertakeUnitWrapperThree').show()					
446 446
 				}else{
447 447
 					$('.isshydszb').hide()
448
-					$('.undertakeUnitWrapper').show()
449
-					$('.undertakeUnitWrapperTwo').hide()					
450
-					$('.undertakeUnitWrapperThree').hide()
448
+					$('.undertakeUnitWrapper').hide()
449
+					$('.undertakeUnitWrapperTwo').show()					
450
+					$('.undertakeUnitWrapperThree').show()	
451 451
 				}
452 452
 
453 453
 				$("#reflectCategory").bind("input propertychange", function() {

+ 2 - 1
WebUI/CallCenterWeb.UI/CommonHtml/Back.html

@@ -109,6 +109,7 @@
109 109
             <button class="btns Closure">结案</button>
110 110
             <button class="btns sendMessage">发送短信</button>
111 111
         </div>
112
+        <span class="F_ConPhone" style="display: none;"></span>
112 113
     </div>
113 114
 
114 115
     <!--<script src="../js/main.js?v=1.5"></script>-->
@@ -383,7 +384,7 @@
383 384
                 async: true,
384 385
                 data: {
385 386
                     workorderid: wid,
386
-                    phone: $(".F_CusPhone").text(),
387
+                    phone: $(".F_ConPhone").text() || $(".F_CusPhone").text(),
387 388
                     token: $.cookie("token")
388 389
                 },
389 390
                 success: function (res) {

+ 2 - 1
WebUI/CallCenterWeb.UI/CommonHtml/auditBack.html

@@ -118,6 +118,7 @@
118 118
             <button class="btns sendMessage">发送短信</button>
119 119
             <button class="btns" onclick="intelligentOutboundCall()">智能外呼</button>
120 120
         </div>
121
+        <span class="F_ConPhone" style="display: none;"></span>
121 122
     </div>
122 123
 
123 124
     <!--<script src="../js/main.js?v=1.5"></script>-->
@@ -359,7 +360,7 @@
359 360
                 async: true,
360 361
                 data: {
361 362
                     workorderid: wid,
362
-                    phone: $(".F_CusPhone").text(),
363
+                    phone: $(".F_ConPhone").text() || $(".F_CusPhone").text(),
363 364
                     token: $.cookie("token")
364 365
                 },
365 366
                 success: function (res) {

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

@@ -5,7 +5,8 @@ huayi.config = {
5 5
 	callcenter_url: "http://192.168.8.9:1042/",//生产环境
6 6
     socket_ip: "192.168.8.7", //ip
7 7
 //  callcenter_url: "http://docking.zwfw.anyang.gov.cn:65527/", //生产环境
8
-	translation_socket:"ws://125.45.12.102:12233",
8
+//	translation_socket:"ws://125.45.12.102:12233",
9
+	translation_socket:"ws://192.168.8.7:8081",
9 10
 	videoSocket_url: "wss://12345sp2.zwfw.anyang.gov.cn:8082", //docking.zwfw.anyang.gov.cn
10 11
 //  socket_ip: "125.45.12.123", //ip
11 12
     socket_port: "8081", //端口
@@ -79,6 +80,9 @@ huayi.config = {
79 80
          "<a class='xg' onclick='transferOneHun(\"data\")' title='转110'>转110</a>", //转110
80 81
          "<a class='xg' onclick='ysShi(\"data\")' title='省平台申请延时'>省平台申请延时</a>", //市平台延期申请
81 82
          "<a class='xg' onclick='changeknowledge(\"data\",\"zhcxtit\",\"zhcxcon\")' title='转知识库'>转知识库</a>", //转知识库
83
+         "<a class='xg' onclick='doNotBusiness(\"data\")' title='非营商'>转非营商</a>", //64非营商
84
+         "<a class='xg' onclick='doBusiness(\"data\")' title='营商'>转营商</a>", //65营商
85
+         
82 86
          
83 87
     ],
84 88
     kapArr: [

+ 11 - 0
WebUI/CallCenterWeb.UI/commentList/commentList.html

@@ -254,6 +254,16 @@
254 254
 										</select>
255 255
 									</td>
256 256
 								</tr>
257
+								<tr>
258
+									<th>评议筛选结果:</th>
259
+									<td>
260
+										<select id="py_type" class="form-control" name="select">
261
+											<option value="">请选择</option>
262
+											<option value="1">一次评议筛选结果</option>
263
+											<option value="2">二次评议筛选结果</option>
264
+										</select>
265
+									</td>
266
+								</tr>
257 267
 							</table>
258 268
 						</div>
259 269
 
@@ -471,6 +481,7 @@
471 481
 							smpy: smpy, // 市民评议
472 482
 							myd: $("#satisfaction").val(), // 满意度
473 483
 							str_type:$("#str_type").val(), //
484
+							pynumber:$("#py_type").val(),
474 485
 							token: $.cookie("token"),
475 486
 						};
476 487
 						// 导出参数

+ 73 - 17
WebUI/CallCenterWeb.UI/js/WorkOrder/CommonOperation.js

@@ -73,7 +73,7 @@ function lader(str) {
73 73
 		type: 2,
74 74
 		content: "../CommonHtml/Leader.html?wid=" + str, //iframe的url,no代表不显示滚动条
75 75
 		title: '领导批示',
76
-		area: ['45%', '40%'], //宽高
76
+		area: ['60%', '80%'], //宽高
77 77
 	});
78 78
 }
79 79
 //市长批示
@@ -82,7 +82,7 @@ function city(str) {
82 82
 		type: 2,
83 83
 		content: "../CommonHtml/shizhang.html?wid=" + str, //iframe的url,no代表不显示滚动条
84 84
 		title: '领导批示',
85
-		area: ['45%', '40%'], //宽高
85
+		area: ['60%', '80%'], //宽高
86 86
 	});
87 87
 }
88 88
 //督办
@@ -91,7 +91,7 @@ function Supervision(str) {
91 91
 		type: 2,
92 92
 		content: "../CommonHtml/Supervision_.html?wid=" + str + '&type=1', //iframe的url,no代表不显示滚动条
93 93
 		title: '督办',
94
-		area: ['48%', '45%'], //宽高
94
+		area: ['60%', '80%'], //宽高
95 95
 	});
96 96
 }
97 97
 
@@ -101,7 +101,7 @@ function Supervision_(str) {
101 101
 		type: 2,
102 102
 		content: "../CommonHtml/Supervision_.html?wid=" + str + '&type=2', //iframe的url,no代表不显示滚动条
103 103
 		title: '监察',
104
-		area: ['48%', '45%'], //宽高
104
+		area: ['60%', '80%'], //宽高
105 105
 	});
106 106
 }
107 107
 //收回
@@ -148,7 +148,7 @@ function th(str) {
148 148
 		type: 2,
149 149
 		content: "../CommonHtml/tuihuisq.html?wid=" + str, //iframe的url,no代表不显示滚动条
150 150
 		title: '申请退回工单',
151
-		area: ['35%', '30%'], //宽高
151
+		area: ['60%', '80%'], //宽高
152 152
 	});
153 153
 }
154 154
 //办理
@@ -180,7 +180,7 @@ function shth(str) {
180 180
 		type: 2,
181 181
 		content: "../CommonHtml/shth.html?wid=" + str, //iframe的url,no代表不显示滚动条
182 182
 		title: '审核退回申请',
183
-		area: ['35%', '30%'], //宽高
183
+		area: ['60%', '80%'], //宽高
184 184
 	});
185 185
 }
186 186
 //申请延时
@@ -189,7 +189,7 @@ function ys(str) {
189 189
 		type: 2,
190 190
 		content: "../CommonHtml/Timesq.html?wid=" + str, //iframe的url,no代表不显示滚动条
191 191
 		title: '申请延时',
192
-		area: ['45%', '40%'], //宽高
192
+		area: ['60%', '80%'], //宽高
193 193
 	});
194 194
 }
195 195
 //诉求回访
@@ -198,7 +198,7 @@ function hf(str) {
198 198
 		type: 2,
199 199
 		content: "../CommonHtml/Back.html?wid=" + str, //iframe的url,no代表不显示滚动条
200 200
 		title: '工单回访',
201
-		area: ['45%', '40%'], //宽高
201
+		area: ['60%', '80%'], //宽高
202 202
 	});
203 203
 }
204 204
 //审核申请延时
@@ -207,7 +207,7 @@ function shys(str) {
207 207
 		type: 2,
208 208
 		content: "../CommonHtml/shtime.html?wid=" + str, //iframe的url,no代表不显示滚动条
209 209
 		title: '审核延时申请',
210
-		area: ['45%', '40%'], //宽高
210
+		area: ['60%', '80%'], //宽高
211 211
 	});
212 212
 }
213 213
 //重办工单
@@ -216,7 +216,7 @@ function cb(str) {
216 216
 		type: 2,
217 217
 		content: "../CommonHtml/Cb.html?wid=" + str, //iframe的url,no代表不显示滚动条
218 218
 		title: '重办工单',
219
-		area: ['48%', '40%'], //宽高
219
+		area: ["80%", "90%"], //宽高
220 220
 	});
221 221
 }
222 222
 //结案
@@ -225,7 +225,7 @@ function Lawsuit(str) {
225 225
 		type: 2,
226 226
 		content: "../CommonHtml/lawsuits.html?wid=" + str, //iframe的url,no代表不显示滚动条
227 227
 		title: '诉求单结案',
228
-		area: ['50%', '60%'], //宽高
228
+		area: ['60%', '80%'], //宽高
229 229
 	});
230 230
 }
231 231
 //回退BackDtail
@@ -234,7 +234,7 @@ function BackDtail(str) {
234 234
 		type: 2,
235 235
 		content: "../CommonHtml/BackDatil.html?wid=" + str, //iframe的url,no代表不显示滚动条
236 236
 		title: '工单回退',
237
-		area: ['45%', '40%'], //宽高
237
+		area: ['60%', '80%'], //宽高
238 238
 	});
239 239
 }
240 240
 //强制结案
@@ -243,7 +243,7 @@ function StrongLawsuit(str) {
243 243
 		type: 2,
244 244
 		content: "../CommonHtml/StrongLawsuit.html?wid=" + str, //iframe的url,no代表不显示滚动条
245 245
 		title: '强制结案',
246
-		area: ['45%', '52%'], //宽高
246
+		area: ['60%', '80%'], //宽高
247 247
 	});
248 248
 }
249 249
 //派单
@@ -382,7 +382,7 @@ function tjcb(str) {
382 382
 		type: 2,
383 383
 		content: "../CommonHtml/reasonCB.html?wid=" + str, //iframe的url,no代表不显示滚动条
384 384
 		title: "提交重办",
385
-		area: ["50%", "40%"], //宽高
385
+		area: ["60%", "80%"], //宽高
386 386
 	});
387 387
 }
388 388
 //履职界定
@@ -455,7 +455,7 @@ function returnAuditor(str) {
455 455
 		type: 2,
456 456
 		content: "../CommonHtml/returnAuditor.html?wid=" + str, //iframe的url,no代表不显示滚动条
457 457
 		title: "退回",
458
-		area: ["50%", "40%"], //宽高
458
+		area: ['60%', '80%'], //宽高
459 459
 	});
460 460
 }
461 461
 //修改
@@ -464,7 +464,7 @@ function editProcessingResult(str) {
464 464
 		type: 2,
465 465
 		content: "../CommonHtml/editProcessingResult.html?wid=" + str, //iframe的url,no代表不显示滚动条
466 466
 		title: "修改",
467
-		area: ["50%", "70%"], //宽高
467
+		area: ['60%', '80%'], //宽高
468 468
 	});
469 469
 }
470 470
 // 督办查收
@@ -511,7 +511,7 @@ function superviseReviewRefuse(str) {
511 511
 		type: 2,
512 512
 		content: "../CommonHtml/superviseReview.html?wid=" + str + "&review=1", //iframe的url,no代表不显示滚动条
513 513
 		title: '督办审核',
514
-		area: ['60%', '45%'], //宽高
514
+		area: ['60%', '80%'], //宽高
515 515
 	});
516 516
 }
517 517
 
@@ -828,4 +828,60 @@ function changeKnowLayer(tit,con,knowkey){
828 828
             );
829 829
         }
830 830
     );
831
+}
832
+//转非营商
833
+function doNotBusiness(str){
834
+	layer.confirm(
835
+        "确定要转为非营商工单吗?",
836
+        {
837
+            btn: ["是", "否"], //按钮
838
+        },
839
+        function () {
840
+            $.post(
841
+                huayi.config.callcenter_url + "WorkOrder/Reseller",
842
+                {
843
+                    workorderid: str,
844
+                    type: 0,
845
+                    token: $.cookie("token"),
846
+                },
847
+                function (result) {
848
+                    result = JSON.parse(result);
849
+                    if (result.state == "success") {
850
+                        var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
851
+                		parent.layer.close(index); //再执行关闭
852
+						layer.msg("操作成功");
853
+						parent.load();
854
+                    }
855
+                }
856
+            );
857
+        }
858
+   );	
859
+}
860
+//转营商
861
+function doBusiness(str){
862
+	layer.confirm(
863
+        "确定要转为营商工单吗?",
864
+        {
865
+            btn: ["是", "否"], //按钮
866
+        },
867
+        function () {
868
+            $.post(
869
+                huayi.config.callcenter_url + "WorkOrder/Reseller",
870
+                {
871
+                    workorderid: str,
872
+                    type: 1,
873
+                    token: $.cookie("token"),
874
+                },
875
+                function (result) {
876
+                    result = JSON.parse(result);
877
+                    if (result.state == "success") {
878
+                        var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
879
+                		parent.layer.close(index); //再执行关闭
880
+						layer.msg("操作成功");
881
+						parent.load();
882
+                    }
883
+                }
884
+            );
885
+        }
886
+   );	
831 887
 }

+ 50 - 1
WebUI/CallCenterWeb.UI/js/WorkOrder/WorkOrderList.js

@@ -63,7 +63,56 @@ function View(val, row) {
63 63
         "</a></div>"
64 64
     );
65 65
 }
66
-
66
+function doNotBusiness(str){
67
+	layer.confirm(
68
+        "确定要转为非营商工单吗?",
69
+        {
70
+            btn: ["是", "否"], //按钮
71
+        },
72
+        function () {
73
+            $.post(
74
+                huayi.config.callcenter_url + "WorkOrder/Reseller",
75
+                {
76
+                    workorderid: str,
77
+                    type: 0,
78
+                    token: $.cookie("token"),
79
+                },
80
+                function (result) {
81
+                    result = JSON.parse(result);
82
+                    if (result.state.toLowerCase() == "success") {
83
+                        layer.msg("操作成功");
84
+                        load();
85
+                    }
86
+                }
87
+            );
88
+        }
89
+   );	
90
+}
91
+function doBusiness(str){
92
+	layer.confirm(
93
+        "确定要转为营商工单吗?",
94
+        {
95
+            btn: ["是", "否"], //按钮
96
+        },
97
+        function () {
98
+            $.post(
99
+                huayi.config.callcenter_url + "WorkOrder/Reseller",
100
+                {
101
+                    workorderid: str,
102
+                    type: 1,
103
+                    token: $.cookie("token"),
104
+                },
105
+                function (result) {
106
+                    result = JSON.parse(result);
107
+                    if (result.state.toLowerCase() == "success") {
108
+                        layer.msg("操作成功");
109
+                        load();
110
+                    }
111
+                }
112
+            );
113
+        }
114
+   );	
115
+}
67 116
 // 查看详情
68 117
 function ckxq(str) {
69 118
     layer.open({