liuyifan 4 年 前
コミット
8de36be060

+ 0 - 1
WebUI/CallCenterWeb.UI/Business/LeaderYJA.html

420
                 }
420
                 }
421
                 html += html1;
421
                 html += html1;
422
             }
422
             }
423
-            // html += '<a class="xg" onclick="unsuccessful(\'' + row.F_WorkOrderId + '\')">已办未果&nbsp</a>';
424
             return html;
423
             return html;
425
         }
424
         }
426
 
425
 

+ 18 - 0
WebUI/CallCenterWeb.UI/MarketingManagement/LeaderYJAMarketing.html

703
             });
703
             });
704
         }
704
         }
705
 
705
 
706
+        // 已办未果
707
+        function unsuccessful(str) {
708
+            layer.confirm('确认已办未果吗?', {
709
+                btn: ['是', '否'] //按钮
710
+            }, function () {
711
+                $.post(huayi.config.callcenter_url + 'WorkOrder/Transfer', {
712
+                    workorderid: str,
713
+                    "token": $.cookie("token")
714
+                }, function (result) {
715
+                    result = JSON.parse(result);
716
+                    if (result.state.toLowerCase() == "success") {
717
+                        layer.msg("操作成功");
718
+                        $("#orderlist").bootstrapTable('refresh');
719
+                    }
720
+                })
721
+            });
722
+        }
723
+
706
         $('.Appeal').click(function () {
724
         $('.Appeal').click(function () {
707
             layer.open({
725
             layer.open({
708
                 type: 2,
726
                 type: 2,

+ 18 - 0
WebUI/CallCenterWeb.UI/MultimediaWorkOrder/LeaderYJAMedia.html

787
             });
787
             });
788
         }
788
         }
789
 
789
 
790
+        // 已办未果
791
+        function unsuccessful(str) {
792
+            layer.confirm('确认已办未果吗?', {
793
+                btn: ['是', '否'] //按钮
794
+            }, function () {
795
+                $.post(huayi.config.callcenter_url + 'WorkOrder/Transfer', {
796
+                    workorderid: str,
797
+                    "token": $.cookie("token")
798
+                }, function (result) {
799
+                    result = JSON.parse(result);
800
+                    if (result.state.toLowerCase() == "success") {
801
+                        layer.msg("操作成功");
802
+                        $("#orderlist").bootstrapTable('refresh');
803
+                    }
804
+                })
805
+            });
806
+        }
807
+
790
         $('.Appeal').click(function () {
808
         $('.Appeal').click(function () {
791
             layer.open({
809
             layer.open({
792
                 type: 2,
810
                 type: 2,

+ 18 - 0
WebUI/CallCenterWeb.UI/OtherPhoneManagement/LeaderYJAOtherPhone.html

704
             });
704
             });
705
         }
705
         }
706
 
706
 
707
+        // 已办未果
708
+        function unsuccessful(str) {
709
+            layer.confirm('确认已办未果吗?', {
710
+                btn: ['是', '否'] //按钮
711
+            }, function () {
712
+                $.post(huayi.config.callcenter_url + 'WorkOrder/Transfer', {
713
+                    workorderid: str,
714
+                    "token": $.cookie("token")
715
+                }, function (result) {
716
+                    result = JSON.parse(result);
717
+                    if (result.state.toLowerCase() == "success") {
718
+                        layer.msg("操作成功");
719
+                        $("#orderlist").bootstrapTable('refresh');
720
+                    }
721
+                })
722
+            });
723
+        }
724
+
707
         $('.Appeal').click(function () {
725
         $('.Appeal').click(function () {
708
             layer.open({
726
             layer.open({
709
                 type: 2,
727
                 type: 2,