|
|
@@ -333,27 +333,35 @@ $(document).ready(function () {
|
|
333
|
333
|
// 获取转接号码
|
|
334
|
334
|
$(".TurnXianDiv dl dt").click(function () {
|
|
335
|
335
|
var xianName=$(this).text();
|
|
336
|
|
- $.ajax({
|
|
337
|
|
- type: "get",
|
|
338
|
|
- url: huayi.config.callcenter_url + "WorkOrder/GetCityList",
|
|
339
|
|
- async: true,
|
|
340
|
|
- dataType: 'json',
|
|
341
|
|
- data: {
|
|
342
|
|
- token: $.cookie("token"),
|
|
343
|
|
- name:xianName
|
|
344
|
|
- },
|
|
345
|
|
- success: function (result) {
|
|
346
|
|
- if (result.state.toLowerCase() == "success") {
|
|
347
|
|
- debugger
|
|
348
|
|
- var telPhone=result.data[0].F_Phone
|
|
349
|
|
- $(".hw_through").attr("index",telPhone);
|
|
350
|
|
- throungh();
|
|
351
|
|
- $(".TurnXianDiv").hide();
|
|
352
|
|
- }
|
|
353
|
|
- }
|
|
354
|
|
- })
|
|
|
336
|
+ var telPhone;
|
|
|
337
|
+ if(xianName ==="省平台"){
|
|
|
338
|
+ throunghMethod("037165250863")
|
|
|
339
|
+ }else{
|
|
|
340
|
+ $.ajax({
|
|
|
341
|
+ type: "get",
|
|
|
342
|
+ url: huayi.config.callcenter_url + "WorkOrder/GetCityList",
|
|
|
343
|
+ async: true,
|
|
|
344
|
+ dataType: 'json',
|
|
|
345
|
+ data: {
|
|
|
346
|
+ token: $.cookie("token"),
|
|
|
347
|
+ name:xianName
|
|
|
348
|
+ },
|
|
|
349
|
+ success: function (result) {
|
|
|
350
|
+ if (result.state.toLowerCase() == "success") {
|
|
|
351
|
+ throunghMethod(result.data[0].F_Phone)
|
|
|
352
|
+ }
|
|
|
353
|
+ }
|
|
|
354
|
+ })
|
|
|
355
|
+ }
|
|
|
356
|
+
|
|
|
357
|
+
|
|
355
|
358
|
})
|
|
356
|
|
-
|
|
|
359
|
+ function throunghMethod(telPhone){
|
|
|
360
|
+ console.log(telPhone)
|
|
|
361
|
+ $(".hw_through").attr("index",telPhone);
|
|
|
362
|
+ throungh();
|
|
|
363
|
+ $(".TurnXianDiv").hide();
|
|
|
364
|
+ }
|
|
357
|
365
|
//话务相关
|
|
358
|
366
|
$("#top-search li").click(function () {
|
|
359
|
367
|
if ($(this).find("i").hasClass("active")) {
|