|
|
@@ -267,29 +267,29 @@ $(document).ready(function () {
|
|
267
|
267
|
}
|
|
268
|
268
|
// 获取转接号码
|
|
269
|
269
|
$(".hw_show").click(function () {
|
|
270
|
|
- //$.ajax({
|
|
271
|
|
- // type: "get",
|
|
272
|
|
- // url: huayi.config.callcenter_url + "WorkOrder/GetCityList",
|
|
273
|
|
- // async: true,
|
|
274
|
|
- // dataType: 'json',
|
|
275
|
|
- // data: {
|
|
276
|
|
- // token: $.cookie("token"),
|
|
277
|
|
- // name:"商丘市"
|
|
278
|
|
- // },
|
|
279
|
|
- // success: function (result) {
|
|
280
|
|
- // if (result.state.toLowerCase() == "success") {
|
|
281
|
|
- // debugger
|
|
282
|
|
- // var telPhone=result.data[0].F_Phone
|
|
283
|
|
- // $(".hw_show").attr("index",telPhone);
|
|
284
|
|
- // throungh();
|
|
285
|
|
- // }
|
|
286
|
|
- // }
|
|
287
|
|
- //});
|
|
288
|
|
- debugger
|
|
|
270
|
+ $.ajax({
|
|
|
271
|
+ type: "get",
|
|
|
272
|
+// url: huayi.config.callcenter_url + "WorkOrder/GetCityList",
|
|
|
273
|
+ url: huayi.config.callcenter_url + "CallOutOpt/GetCityNum",
|
|
|
274
|
+ async: true,
|
|
|
275
|
+ dataType: 'json',
|
|
|
276
|
+ data: {
|
|
|
277
|
+ token: $.cookie("token"),
|
|
|
278
|
+ name:"商丘市"
|
|
|
279
|
+ },
|
|
|
280
|
+ success: function (result) {
|
|
|
281
|
+ if (result.state.toLowerCase() == "success") {
|
|
|
282
|
+// var telPhone=result.data[0].F_Phone
|
|
|
283
|
+ var telPhone=result.data;
|
|
|
284
|
+ $(".hw_show").attr("index",telPhone);
|
|
|
285
|
+ throungh();
|
|
|
286
|
+ }
|
|
|
287
|
+ }
|
|
|
288
|
+ });
|
|
289
|
289
|
// 获取转接号码 - 之前是通过接口后,再通过监管平台接口获取底号号码
|
|
290
|
|
- var telPhone = huayi.config.transfer_number;
|
|
291
|
|
- $(".hw_show").attr("index",telPhone);
|
|
292
|
|
- throungh();
|
|
|
290
|
+// var telPhone = huayi.config.transfer_number;
|
|
|
291
|
+// $(".hw_show").attr("index",telPhone);
|
|
|
292
|
+// throungh();
|
|
293
|
293
|
})
|
|
294
|
294
|
//话务相关
|
|
295
|
295
|
$("#top-search li").click(function () {
|