liuyifan vor 4 Jahren
Ursprung
Commit
342393f9ac

+ 66 - 10
WebUI/CallCenterWeb.UI/Appeal/expiredWorkOrders.html

@@ -399,7 +399,7 @@
399 399
                                     <!--<th data-field="FilePath" data-formatter="setCode" data-align="center">录音</th>-->
400 400
                                     <th data-field="OverState" data-formatter="OverTime" data-align="center">时限</th>
401 401
                                     <!--<th data-field="LimitTime" data-formatter="BanTime" data-align="center">办理时限</th>-->
402
-                                    <th data-formatter="Dispose" data-align="center">操作</th>
402
+                                    <th data-field="F_WorkOrderId" data-formatter="Dispose" data-align="center">操作</th>
403 403
                                 </tr>
404 404
                             </thead>
405 405
                             <tbody class="list"></tbody>
@@ -633,7 +633,16 @@
633 633
             var Rows = row.Buttons;
634 634
             var html;
635 635
             if (roleCode === "EJWLDW") {
636
-                html = '<a class="xg" onclick="ckxq(\'' + row.F_WorkOrderId + '\')" title="查看">查看</a>';
636
+                var html = "";
637
+                for (var i = 0; i < Rows.length; i++) {
638
+                    var html1 = huayi.config.arr[Rows[i].key * 1 - 1];
639
+                    if (html1) {
640
+                        html1 = html1.replace("data", val);
641
+                        html1 = html1.replace("isProtect", row.F_IsProtect);
642
+                        html1 = html1.replace("row", row.F_MainDeptId);
643
+                    }
644
+                    html += html1;
645
+                }
637 646
             } else {
638 647
                 html = '<a class="xg" onclick="ckxq(\'' + row.F_WorkOrderId + '\')" title="查看">查看</a>' +
639 648
                     '<a class="xg" onclick="sendMsg(\'' + row.F_WorkOrderId + '\',\'' + row.F_MainDeptId +
@@ -739,13 +748,23 @@
739 748
             });
740 749
         }
741 750
         //办理
742
-        function bl(str) {
743
-            layer.open({
744
-                type: 2,
745
-                content: "../CommonHtml/banli.html?wid=" + str, //iframe的url,no代表不显示滚动条
746
-                title: '办理工单',
747
-                area: ['60%', '80%'], //宽高
748
-            });
751
+        function bl(str, isProtect) {
752
+            if (roleCode === "EJWLDW") {
753
+                layer.open({
754
+                    type: 2,
755
+                    content: "../CommonHtml/banli_zilei.html?wid=" + str + "&isProtect=" +
756
+                        isProtect, //iframe的url,no代表不显示滚动条
757
+                    title: '办理工单',
758
+                    area: ['90%', '80%'], //宽高
759
+                });
760
+            } else {
761
+                layer.open({
762
+                    type: 2,
763
+                    content: "../CommonHtml/banli.html?wid=" + str, //iframe的url,no代表不显示滚动条
764
+                    title: '办理工单',
765
+                    area: ['60%', '80%'], //宽高
766
+                });
767
+            }
749 768
         }
750 769
         //督办
751 770
 
@@ -843,6 +862,33 @@
843 862
                 area: ['60%', '80%'], //宽高
844 863
             });
845 864
         }
865
+        //签收
866
+        function sign(str) {
867
+            layer.confirm('确定要签收?', {
868
+                btn: ['是', '否'] //按钮
869
+            }, function () {
870
+                $.post(huayi.config.callcenter_url + "WorkOrder/SignWorkOrder", {
871
+                    workorderid: str,
872
+                    token: $.cookie("token")
873
+                }, function (result) {
874
+                    result = JSON.parse(result);
875
+                    if (result.state.toLowerCase() == "success") {
876
+                        layer.msg("签收成功");
877
+                        load();
878
+                    }
879
+                })
880
+            });
881
+        }
882
+        //拒收
883
+        function refuse(str) {
884
+
885
+            layer.open({
886
+                type: 2,
887
+                content: "../CommonHtml/rejection.html?wid=" + str, //iframe的url,no代表不显示滚动条
888
+                title: '拒收',
889
+                area: ['60%', '80%'], //宽高
890
+            });
891
+        }
846 892
         //办理
847 893
         //			function th(str) {
848 894
         //				layer.open({
@@ -898,6 +944,16 @@
898 944
             });
899 945
         }
900 946
 
947
+        //退回
948
+        function returnRedoThreeLevel(str) {
949
+            layer.open({
950
+                type: 2,
951
+                content: "../CommonHtml/returnRedoThreeLevel.html?wid=" + str, //iframe的url,no代表不显示滚动条
952
+                title: "退回",
953
+                area: ["60%", "80%"], //宽高
954
+            });
955
+        }
956
+
901 957
         $('.Appeal').click(function () {
902 958
             layer.open({
903 959
                 type: 2,
@@ -1065,7 +1121,7 @@
1065 1121
             url += "&workid=" + workid + "&state=" + state + "&type=" + type + "&bigtype=" + bigtype +
1066 1122
                 "&smalltype=" + smalltype + "&usercode=" + usercode + "&keyid=" + keyid + "&source=" + source +
1067 1123
                 "&starttime=" + starttime + "&endtime=" + endtime + "&deptid=" + deptid + "&tab=" + tab +
1068
-                "&sourcearea=" + sourcearea + "&jianhang="+ jianhang + "&isdc=1";
1124
+                "&sourcearea=" + sourcearea + "&jianhang=" + jianhang + "&isdc=1";
1069 1125
             window.location.href = url;
1070 1126
         })
1071 1127
     </script>

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

@@ -676,7 +676,6 @@
676 676
                     html1 = html1.replace("isProtect", row.F_IsProtect);
677 677
                 }
678 678
                 html += html1;
679
-
680 679
             }
681 680
             return html;
682 681
         }

+ 1 - 1
WebUI/CallCenterWeb.UI/Business/WorkYSSH.html

@@ -402,7 +402,7 @@
402 402
                             data-pagination="true">
403 403
                             <thead>
404 404
                                 <tr>
405
-                                    <!-- <th data-checkbox="true"></th> -->
405
+                                    <th data-checkbox="true"></th>
406 406
                                     <th data-formatter="serialNumber" data-align="center">
407 407
                                         序号
408 408
                                     </th>

+ 1 - 0
WebUI/CallCenterWeb.UI/CommonHtml/StrongLawsuit.html

@@ -102,6 +102,7 @@
102 102
                 workorderid: wid,
103 103
                 finalopinion: $("#finalopinion").val(),
104 104
                 issms : $('input[name="issms"]:checked ').val(),
105
+                issatisfie: 1,
105 106
                 token: $.cookie("token")
106 107
             }, function (result) {
107 108
                 result = JSON.parse(result);

+ 251 - 85
WebUI/CallCenterWeb.UI/CommonHtml/WorkDatil.html

@@ -140,6 +140,7 @@
140 140
             <li itemtype="5" itemid="7" itemaction="1">督办信息</li>
141 141
             <li itemtype="6" itemid="8">市民催办</li>
142 142
             <li itemtype="7" itemid="9">办理过程</li>
143
+            <li itemtype="8" itemid="10">市民评议</li>
143 144
         </ul>
144 145
         <div class="Content_box">
145 146
             <!--诉求信息-->
@@ -274,6 +275,16 @@
274 275
                                 </td>
275 276
                             </tr>
276 277
                             <tr>
278
+                                <th>关联工单类型:</th>
279
+                                <td>
280
+                                    <span class="associatedWorkOrderType"></span>
281
+                                </td>
282
+                                <th>关联工单:</th>
283
+                                <td colspan="5">
284
+                                    <span class="associatedWorkOrderList"></span>
285
+                                </td>
286
+                            </tr>
287
+                            <tr>
277 288
                                 <th>处理结果:</th>
278 289
                                 <td colspan="7">
279 290
                                     <span class="Result"></span>
@@ -519,7 +530,7 @@
519 530
                                 <td class="text-center" style="min-width:80px;">职务</td>
520 531
                                 <td class="text-center" style="min-width:80px;">处理结果</td>
521 532
                                 <td class="text-center" style="min-width:80px;">单位</td>
522
-                                <td class="text-center" style="min-width:80px;">类型</td>
533
+                                <!-- <td class="text-center" style="min-width:80px;">类型</td> -->
523 534
                                 <td class="text-center" style="min-width:80px;">办理结果</td>
524 535
                                 <td class="text-center" style="min-width:80px;">办理时间</td>
525 536
                                 <td class="text-center" style="min-width:80px;">是/否向当事人反馈</td>
@@ -551,7 +562,7 @@
551 562
                                 <td class="text-center" style="min-width:80px;">职务</td>
552 563
                                 <td class="text-center" style="min-width:80px;">处理结果</td>
553 564
                                 <td class="text-center" style="min-width:80px;">单位</td>
554
-                                <td class="text-center" style="min-width:80px;">类型</td>
565
+                                <!-- <td class="text-center" style="min-width:80px;">类型</td> -->
555 566
                                 <td class="text-center" style="min-width:80px;">办理结果</td>
556 567
                                 <td class="text-center" style="min-width:80px;">办理时间</td>
557 568
                                 <td class="text-center" style="min-width:80px;">是/否向当事人反馈</td>
@@ -682,6 +693,24 @@
682 693
                     </table>
683 694
                 </div>
684 695
             </div>
696
+            <!--市民评议-->
697
+            <div class="complain DCL" id="">
698
+                <div style="width: 100%;padding: 10px;">
699
+                    <table class="Table" border="" cellspacing="0" cellpadding="0">
700
+                        <theard>
701
+                            <tr>
702
+                                <td class="text-center" style="min-width:50px;">序号</td>
703
+                                <td class="text-center" style="min-width:50px;">评议时间</td>
704
+                                <td class="text-center" data-align="left" style="min-width:100px;">满意度</td>
705
+                                <td class="text-center" style="min-width:100px;">评议内容</td>
706
+                            </tr>
707
+                        </theard>
708
+                        <tbody id="SMPY">
709
+                        </tbody>
710
+                    </table>
711
+                </div>
712
+            </div>
713
+
685 714
         </div>
686 715
     </div>
687 716
     <script src="https://api.map.baidu.com/api?v=2.0&ak=ZG4gLQZUD6Eq1K11cqlYAR4by8CKgLyu&callback=mapinit"></script>
@@ -747,7 +776,8 @@
747 776
                 $(this).addClass("cr-click").siblings().removeClass("cr-click");
748 777
                 var index = $(this).index();
749 778
                 var type = $(this).attr("itemid");
750
-                $(".Content_box").find(".complain").eq(index).addClass("Shows").siblings().removeClass("Shows");
779
+                $(".Content_box").find(".complain").eq(index).addClass("Shows").siblings().removeClass(
780
+                    "Shows");
751 781
                 if (!$(this).attr("itemaction")) {
752 782
                     load(type);
753 783
                     $(this).attr("itemaction", '1');
@@ -810,7 +840,8 @@
810 840
                                     $(".AreaName").text(Data[0].AreaName);
811 841
                                     isProtect = result.data.data[0].F_IsProtect
812 842
                                     if (Data[0].F_CusPhone) {
813
-                                        if (roleCode === "GLY" || roleCode === "ZXHWY" || roleCode === "ZXLD") {
843
+                                        if (roleCode === "GLY" || roleCode === "ZXHWY" ||
844
+                                            roleCode === "ZXLD") {
814 845
                                             $(".F_ConPhone").hide()
815 846
                                         } else {
816 847
                                             $(".phoneTitle").unbind("click");
@@ -820,7 +851,8 @@
820 851
                                         $(".phoneTitle").unbind("click");
821 852
                                     }
822 853
                                     if (Data[0].F_CusName) {
823
-                                        if (roleCode === "GLY" || roleCode === "ZXHWY" || roleCode === "ZXLD") {
854
+                                        if (roleCode === "GLY" || roleCode === "ZXHWY" ||
855
+                                            roleCode === "ZXLD") {
824 856
                                             $(".F_CusName").hide()
825 857
                                         } else {
826 858
                                             $(".callerTitle").unbind("click");
@@ -835,34 +867,41 @@
835 867
                                         //								HTML = '<a style="margin-right:5px;" href="' + n.F_FileUrl + '" download="' + n.F_FileName.substring(19)+ '">' + n.F_FileName.substring(19) + '</a>'
836 868
                                         //								$(HTML).appendTo($('.FJ'));
837 869
                                         var $list = $(".FJ");
838
-                                        if (v.F_FileType == ".jpg" || v.F_FileType == ".png" || v
870
+                                        if (v.F_FileType == ".jpg" || v.F_FileType ==
871
+                                            ".png" || v
839 872
                                             .F_FileType == ".image") {
840 873
                                             //原来的图片
841 874
                                             var $li = $(
842 875
                                                 //<i class="glyphicon glyphicon-download-alt" aria-hidden="true"></i>
843
-                                                '<li><span class="img_mask"><a href="' + v
844
-                                                    .F_FileUrl +
876
+                                                '<li><span class="img_mask"><a href="' +
877
+                                                v
878
+                                                .F_FileUrl +
845 879
                                                 '" download="w3logo" title="点击下载"></a></span>' +
846
-                                                '<img layer-src="' + v.F_FileUrl + '" alt="' + v
847
-                                                    .F_FileName + '" src="' + v.F_FileUrl +
880
+                                                '<img layer-src="' + v.F_FileUrl +
881
+                                                '" alt="' + v
882
+                                                .F_FileName + '" src="' + v.F_FileUrl +
848 883
                                                 '" title="图片"/>' +
849 884
                                                 //										'<span class="file_name">' + v.F_FileName + '</span>' +
850 885
                                                 '</li>'
851 886
                                             );
852 887
                                             $list.append($li);
853 888
                                         } else {
854
-                                            var fileExtension = v.F_FileName.substring(v.F_FileName
889
+                                            var fileExtension = v.F_FileName.substring(v
890
+                                                .F_FileName
855 891
                                                 .lastIndexOf('.'));
856
-                                            if (fileExtension === ".jpg" || fileExtension ===
892
+                                            if (fileExtension === ".jpg" ||
893
+                                                fileExtension ===
857 894
                                                 ".png" || fileExtension === ",image") {
858 895
                                                 var $li = $(
859 896
                                                     //<i class="glyphicon glyphicon-download-alt" aria-hidden="true"></i>
860
-                                                    '<li><span class="img_mask"><a href="' + v
861
-                                                        .F_FileUrl +
897
+                                                    '<li><span class="img_mask"><a href="' +
898
+                                                    v
899
+                                                    .F_FileUrl +
862 900
                                                     '" download="w3logo" title="点击下载"></a></span>' +
863 901
                                                     '<img layer-src="' + v.F_FileUrl +
864 902
                                                     '" alt="' + v
865
-                                                        .F_FileName + '" src="' + v.F_FileUrl +
903
+                                                    .F_FileName + '" src="' + v
904
+                                                    .F_FileUrl +
866 905
                                                     '" title="图片"/>' +
867 906
                                                     //										'<span class="file_name">' + v.F_FileName + '</span>' +
868 907
                                                     '</li>'
@@ -871,8 +910,9 @@
871 910
                                             } else {
872 911
                                                 var $liFile = $(
873 912
                                                     //<i class="glyphicon glyphicon-download-alt" aria-hidden="true"></i>
874
-                                                    '<li><span class="img_mask"><a href="' + v
875
-                                                        .F_FileUrl +
913
+                                                    '<li><span class="img_mask"><a href="' +
914
+                                                    v
915
+                                                    .F_FileUrl +
876 916
                                                     '" download="w3logo" title="点击下载"> <i class="fa fa-download" aria-hidden="true"></i></a></span>' +
877 917
                                                     '<div class="noThumb" title="文件"><i class="glyphicon glyphicon-paperclip"></i><p>无法预览</p></div>' +
878 918
                                                     //										'<span class="file_name">' + v.F_FileName + '</span>' +
@@ -895,11 +935,14 @@
895 935
                                                 function (e, d) {
896 936
 
897 937
                                                     helper.methods.zoomImg($(
898
-                                                        '#layui-layer-photos').find(
899
-                                                            'img[alt="' + pic.alt + '"]'
900
-                                                        ), d);
938
+                                                        '#layui-layer-photos'
939
+                                                    ).find(
940
+                                                        'img[alt="' + pic
941
+                                                        .alt + '"]'
942
+                                                    ), d);
901 943
                                                     $('#layui-layer-photos').find(
902
-                                                        'img[alt="' + pic.alt + '"]')
944
+                                                            'img[alt="' + pic.alt +
945
+                                                            '"]')
903 946
                                                         .dragging({
904 947
                                                             move: "both", //拖动方向,x y both
905 948
                                                             randomPosition: false //初始位置是否随机
@@ -933,6 +976,8 @@
933 976
                                         $('.ZT').text("已结案");
934 977
                                     } else if (State == 10) {
935 978
                                         $('.ZT').text("待审核");
979
+                                    } else if (State == 11) {
980
+                                        $('.ZT').text("重办待交办");
936 981
                                     }
937 982
                                     //办理方式
938 983
                                     if (CLFS == 0) {
@@ -952,6 +997,35 @@
952 997
                                     } else if (Data[0].F_Level == 2) {
953 998
                                         $('.CD').text("紧急");
954 999
                                     }
1000
+                                    if (Data[0].F_IsRelease == 2) {
1001
+                                        $('.associatedWorkOrderType').text("主工单");
1002
+                                        if (Data[0].F_SubWorkorder !== "") {
1003
+                                            var subWorkorder = Data[0].F_SubWorkorder.split(",")
1004
+                                            var subWorkorderStr = ""
1005
+                                            subWorkorder.forEach(function (v, i) {
1006
+                                                if ((subWorkorder.length - 1) === i) {
1007
+                                                    subWorkorderStr +=
1008
+                                                        "<a class='viewWorkOrder'>" +
1009
+                                                        v + "</a>"
1010
+                                                    return;
1011
+                                                }
1012
+                                                subWorkorderStr +=
1013
+                                                    "<a class='viewWorkOrder'>" + v +
1014
+                                                    "</a>,"
1015
+                                            })
1016
+                                            $(".associatedWorkOrderList").append(subWorkorderStr)
1017
+                                        }
1018
+                                    } else if (Data[0].F_IsRelease == 3) {
1019
+                                        $('.associatedWorkOrderType').text("子工单");
1020
+                                        if (Data[0].F_MainWorkorder !== "") {
1021
+                                            var mainWorkorder = Data[0].F_MainWorkorder.split(",")
1022
+                                            var mainWorkorderStr = "<a class='viewWorkOrder'>" +
1023
+                                                mainWorkorder +
1024
+                                                "</a>"
1025
+                                            $(".associatedWorkOrderList").append(mainWorkorderStr)
1026
+                                        }
1027
+                                    }
1028
+
955 1029
                                     //转媒体按钮显示或隐藏
956 1030
                                     if (result.data.data[0].F_IsOpen === 0) {
957 1031
                                         $(".mediaTransfer").show();
@@ -972,9 +1046,11 @@
972 1046
                                     $(".JBXX").empty();
973 1047
                                     $(result.data.jbdata).each(function (i, n) {
974 1048
                                         //debugger;
975
-                                        var OtherDeptName = n.OtherDeptName == null ? '-' : n
1049
+                                        var OtherDeptName = n.OtherDeptName == null ? '-' :
1050
+                                            n
976 1051
                                             .OtherDeptName;
977
-                                        var StandardNames = n.StandardNames == null ? '-' : n
1052
+                                        var StandardNames = n.StandardNames == null ? '-' :
1053
+                                            n
978 1054
                                             .StandardNames;
979 1055
                                         jbxx += '<tr>' +
980 1056
                                             '<td class="text-center">' + (i + 1) + '</td>' +
@@ -982,17 +1058,19 @@
982 1058
                                             '</td>' +
983 1059
                                             '<td class="text-center">' + n.F_LimitTime +
984 1060
                                             '</td>' +
985
-                                            '<td class="text-center">' + n.DeptName + '</td>' +
1061
+                                            '<td class="text-center">' + n.DeptName +
1062
+                                            '</td>' +
986 1063
                                             '<td class="text-center">' + OtherDeptName +
987 1064
                                             '</td>' +
988
-                                            '<td class="text-center">' + n.F_AssignedOpinion +
1065
+                                            '<td class="text-center">' + n
1066
+                                            .F_AssignedOpinion +
989 1067
                                             '</td>' +
990 1068
                                             // '<td class="text-center">' + StandardNames +
991 1069
                                             // '</td>' +
992
-                                            '<td class="text-center authority"><botton class="btns  XGXX " data_time="' +
993
-                                            n.F_LimitTime + '"  data_Opinio="' + n
994
-                                                .F_AssignedOpinion + '"  index="' + n.F_Id +
995
-                                            '">修改</botton></td>' +
1070
+                                            // '<td class="text-center authority"><botton class="btns  XGXX " data_time="' +
1071
+                                            // n.F_LimitTime + '"  data_Opinio="' + n
1072
+                                            // .F_AssignedOpinion + '"  index="' + n.F_Id +
1073
+                                            // '">修改</botton></td>' +
996 1074
                                             '</tr>';
997 1075
                                     })
998 1076
                                     $(jbxx).appendTo($(".JBXX"));
@@ -1000,7 +1078,8 @@
1000 1078
                                     var ejjbxx = '';
1001 1079
                                     $(".EJJBXX").empty();
1002 1080
                                     $(result.data.ejjbdata).each(function (j, n) {
1003
-                                        var OtherDeptName = n.OtherDeptName == null ? '-' : n
1081
+                                        var OtherDeptName = n.OtherDeptName == null ? '-' :
1082
+                                            n
1004 1083
                                             .OtherDeptName;
1005 1084
                                         ejjbxx += '<tr>' +
1006 1085
                                             '<td class="text-center">' + (j + 1) + '</td>' +
@@ -1008,14 +1087,16 @@
1008 1087
                                             '</td>' +
1009 1088
                                             '<td class="text-center">' + n.F_LimitTime +
1010 1089
                                             '</td>' +
1011
-                                            '<td class="text-center">' + n.DeptName + '</td>' +
1090
+                                            '<td class="text-center">' + n.DeptName +
1091
+                                            '</td>' +
1012 1092
                                             '<td class="text-center">' + OtherDeptName +
1013 1093
                                             '</td>' +
1014
-                                            '<td class="text-center">' + n.F_AssignedOpinion +
1094
+                                            '<td class="text-center">' + n
1095
+                                            .F_AssignedOpinion +
1015 1096
                                             '</td>' +
1016 1097
                                             '<td class="text-center authority"><botton class="btns  XGXX " data_time="' +
1017 1098
                                             n.F_LimitTime + '"  data_Opinio="' + n
1018
-                                                .F_AssignedOpinion + '"  index="' + n.F_Id +
1099
+                                            .F_AssignedOpinion + '"  index="' + n.F_Id +
1019 1100
                                             '">修改</botton></td>' +
1020 1101
                                             '</tr>';
1021 1102
                                     })
@@ -1085,11 +1166,17 @@
1085 1166
                                                 FileHtml =
1086 1167
                                                     '<img style="width:15px; height:15px" border="0" onclick="viewImage(this)" src="' +
1087 1168
                                                     m.F_FileUrl + '" alt="' + m
1088
-                                                        .F_FileName +
1169
+                                                    .F_FileName +
1089 1170
                                                     '" fileId="' + m.F_FileId + '">'
1090 1171
                                             } else {
1091
-                                                FileHtml = m.F_FileName.substring(
1092
-                                                    19)
1172
+                                                // FileHtml = m.F_FileName.substring(
1173
+                                                //     19)
1174
+                                                FileHtml +=
1175
+                                                    '<a style="margin-right:5px;" target="view_window" href="' +
1176
+                                                    m.F_FileUrl + '" download="' + m
1177
+                                                    .F_FileUrl + '">' + m.F_FileName
1178
+                                                    .substring(19) + '</a>';
1179
+
1093 1180
                                             }
1094 1181
                                             str += FileHtml
1095 1182
                                             // str +=
@@ -1101,7 +1188,7 @@
1101 1188
                                         str += '</td>' +
1102 1189
                                             '<td class="text-center authority"><botton class="btns  LDPSS "   superuser="' +
1103 1190
                                             n.F_BatchReason + '" superopinion="' + n
1104
-                                                .F_SuperOpinion + '" type="' + n.F_Type +
1191
+                                            .F_SuperOpinion + '" type="' + n.F_Type +
1105 1192
                                             '" index="' + n.F_Id + '">修改</botton></td>' +
1106 1193
                                             '</tr>';
1107 1194
                                         $(str).appendTo($(".SZPS"));
@@ -1126,7 +1213,7 @@
1126 1213
                                         str += '</td>' +
1127 1214
                                             '<td class="text-center authority"><botton class="btns  HtxxBtn "   superuser="' +
1128 1215
                                             n.F_BatchReason + '" superopinion="' + n
1129
-                                                .F_SuperOpinion + '" type="' + n.F_Type +
1216
+                                            .F_SuperOpinion + '" type="' + n.F_Type +
1130 1217
                                             '" index="' + n.F_Id + '">修改</botton></td>' +
1131 1218
                                             '</tr>';
1132 1219
                                         $(str).appendTo($(".HTXX"));
@@ -1248,16 +1335,23 @@
1248 1335
 
1249 1336
 
1250 1337
                                         htmls += '<tr>' +
1251
-                                            '<td class="text-center">' + n.F_DealUser + '</td>' +
1252
-                                            '<td class="text-center">' + n.F_DealUserContact +
1338
+                                            '<td class="text-center">' + n.F_DealUser +
1339
+                                            '</td>' +
1340
+                                            '<td class="text-center">' + n
1341
+                                            .F_DealUserContact +
1342
+                                            '</td>' +
1343
+                                            '<td class="text-center">' + dutiesValue +
1344
+                                            '</td>' +
1345
+                                            '<td class="text-center">' + situationValue +
1346
+                                            '</td>' +
1347
+                                            '<td class="text-center">' + n.DeptName +
1348
+                                            '</td>' +
1349
+                                            // '<td class="text-center" data-formatter="shtype">' +
1350
+                                            // bval + '</td>' +
1351
+                                            '<td class="text-center">' + n.F_Result +
1352
+                                            '</td>' +
1353
+                                            '<td class="text-center">' + n.F_CreateTime +
1253 1354
                                             '</td>' +
1254
-                                            '<td class="text-center">' + dutiesValue + '</td>' +
1255
-                                            '<td class="text-center">' + situationValue + '</td>' +
1256
-                                            '<td class="text-center">' + n.DeptName + '</td>' +
1257
-                                            '<td class="text-center" data-formatter="shtype">' +
1258
-                                            bval + '</td>' +
1259
-                                            '<td class="text-center">' + n.F_Result + '</td>' +
1260
-                                            '<td class="text-center">' + n.F_CreateTime + '</td>' +
1261 1355
                                             '<td class="text-center">' + isProResultValue +
1262 1356
                                             '</td>' +
1263 1357
                                             // '<td class="text-center">' + unsuccessful +
@@ -1276,14 +1370,24 @@
1276 1370
                                         //办理情况附件
1277 1371
                                         var FileHtml;
1278 1372
                                         $(n.File).each(function (j, m) {
1279
-                                            if (m.F_FileType == ".jpg" || m.F_FileType ==
1373
+                                            if (m.F_FileType == ".jpg" || m
1374
+                                                .F_FileType ==
1280 1375
                                                 ".png") {
1281 1376
                                                 FileHtml =
1282
-                                                    '<img class="viewImageClass" style="width:80px; height:80px" border="0" onclick="viewImage(this)" src="' +
1283
-                                                    m.F_FileUrl + '" alt="' + m.F_FileName +
1284
-                                                    '" fileId="' + m.F_FileId + '">';
1377
+                                                    '<img style="width:80px; height:80px" border="0" onclick="viewImage(this)" src="' +
1378
+                                                    m.F_FileUrl + '" alt="' + m
1379
+                                                    .F_FileName +
1380
+                                                    '" fileId="' + m.F_FileId +
1381
+                                                    '">';
1285 1382
                                             } else {
1286
-                                                FileHtml = m.F_FileName.substring(19);
1383
+                                                // FileHtml = m.F_FileName.substring(
1384
+                                                //     19);
1385
+                                                FileHtml =
1386
+                                                    '<div><a style="margin-right:5px;" target="view_window" href="' +
1387
+                                                    m.F_FileUrl + '" download="' + m
1388
+                                                    .F_FileName + '">' + m
1389
+                                                    .F_FileName.substring(
1390
+                                                        19) + '</a></div>'
1287 1391
                                             }
1288 1392
                                             // htmls +=
1289 1393
                                             //     '<div><a style="margin-right:5px;" target="view_window" href="' +
@@ -1296,14 +1400,24 @@
1296 1400
                                             '<td class="text-center">'
1297 1401
                                         var FileHtmls;
1298 1402
                                         $(n.Files).each(function (j, m) {
1299
-                                            if (m.F_FileType == ".jpg" || m.F_FileType ==
1403
+                                            if (m.F_FileType == ".jpg" || m
1404
+                                                .F_FileType ==
1300 1405
                                                 ".png") {
1301 1406
                                                 FileHtmls =
1302 1407
                                                     '<img style="width:15px; height:15px" border="0" onclick="viewImage(this)" src="' +
1303
-                                                    m.F_FileUrl + '" alt="' + m.F_FileName +
1304
-                                                    '" fileId="' + m.F_FileId + '">';
1408
+                                                    m.F_FileUrl + '" alt="' + m
1409
+                                                    .F_FileName +
1410
+                                                    '" fileId="' + m.F_FileId +
1411
+                                                    '">';
1305 1412
                                             } else {
1306
-                                                FileHtmls = m.F_FileName.substring(19);
1413
+                                                // FileHtmls = m.F_FileName.substring(
1414
+                                                //     19);
1415
+                                                FileHtmls =
1416
+                                                    '<div><a style="margin-right:5px;" target="view_window" href="' +
1417
+                                                    m.F_FileUrl + '" download="' + m
1418
+                                                    .F_FileName + '">' + m
1419
+                                                    .F_FileName.substring(
1420
+                                                        19) + '</a></div>'
1307 1421
                                             }
1308 1422
                                             // htmls +=
1309 1423
                                             //     '<div><a style="margin-right:5px;" target="view_window" href="' +
@@ -1428,16 +1542,23 @@
1428 1542
 
1429 1543
 
1430 1544
                                         SJhtmls += '<tr>' +
1431
-                                            '<td class="text-center">' + n.F_DealUser + '</td>' +
1432
-                                            '<td class="text-center">' + n.F_DealUserContact +
1545
+                                            '<td class="text-center">' + n.F_DealUser +
1546
+                                            '</td>' +
1547
+                                            '<td class="text-center">' + n
1548
+                                            .F_DealUserContact +
1549
+                                            '</td>' +
1550
+                                            '<td class="text-center">' + dutiesValue +
1551
+                                            '</td>' +
1552
+                                            '<td class="text-center">' + situationValue +
1553
+                                            '</td>' +
1554
+                                            '<td class="text-center">' + n.DeptName +
1555
+                                            '</td>' +
1556
+                                            // '<td class="text-center" data-formatter="shtype">' +
1557
+                                            // bval + '</td>' +
1558
+                                            '<td class="text-center">' + n.F_Result +
1559
+                                            '</td>' +
1560
+                                            '<td class="text-center">' + n.F_CreateTime +
1433 1561
                                             '</td>' +
1434
-                                            '<td class="text-center">' + dutiesValue + '</td>' +
1435
-                                            '<td class="text-center">' + situationValue + '</td>' +
1436
-                                            '<td class="text-center">' + n.DeptName + '</td>' +
1437
-                                            '<td class="text-center" data-formatter="shtype">' +
1438
-                                            bval + '</td>' +
1439
-                                            '<td class="text-center">' + n.F_Result + '</td>' +
1440
-                                            '<td class="text-center">' + n.F_CreateTime + '</td>' +
1441 1562
                                             '<td class="text-center">' + isProResultValue +
1442 1563
                                             '</td>' +
1443 1564
                                             // '<td class="text-center">' + unsuccessful +
@@ -1455,14 +1576,23 @@
1455 1576
                                         //办理情况附件
1456 1577
                                         var FileHtml;
1457 1578
                                         $(n.File).each(function (j, m) {
1458
-                                            if (m.F_FileType == ".jpg" || m.F_FileType ==
1579
+                                            if (m.F_FileType == ".jpg" || m
1580
+                                                .F_FileType ==
1459 1581
                                                 ".png") {
1460 1582
                                                 FileHtml =
1461
-                                                    '<img style="width:15px; height:15px" border="0" onclick="viewImage(this)" src="' +
1462
-                                                    m.F_FileUrl + '" alt="' + m.F_FileName +
1583
+                                                    '<img style="width: 80px; height: 80px" border="0" onclick="viewImage(this)" src="' +
1584
+                                                    m.F_FileUrl + '" alt="' + m
1585
+                                                    .F_FileName +
1463 1586
                                                     '" fileId="' + m.F_FileId + '">'
1464 1587
                                             } else {
1465
-                                                FileHtml = m.F_FileName.substring(19)
1588
+                                                // FileHtml = m.F_FileName.substring(
1589
+                                                //     19)
1590
+                                                FileHtml +=
1591
+                                                    '<div><a style="margin-right:5px;" target="view_window" href="' +
1592
+                                                    m.F_FileUrl + '" download="' + m
1593
+                                                    .F_FileName + '">' + m
1594
+                                                    .F_FileName.substring(
1595
+                                                        19) + '</a></div>';
1466 1596
                                             }
1467 1597
                                             // SJhtmls +=
1468 1598
                                             //     '<div><a style="margin-right:5px;" target="view_window" href="' +
@@ -1475,14 +1605,25 @@
1475 1605
                                             '<td class="text-center">'
1476 1606
                                         var FileHtmls;
1477 1607
                                         $(n.Files).each(function (j, m) {
1478
-                                            if (m.F_FileType == ".jpg" || m.F_FileType ==
1608
+                                            if (m.F_FileType == ".jpg" || m
1609
+                                                .F_FileType ==
1479 1610
                                                 ".png") {
1480 1611
                                                 FileHtmls =
1481 1612
                                                     '<img style="width:15px; height:15px" border="0" onclick="viewImage(this)" src="' +
1482
-                                                    m.F_FileUrl + '" alt="' + m.F_FileName +
1483
-                                                    '" fileId="' + m.F_FileId + '">';
1613
+                                                    m.F_FileUrl + '" alt="' + m
1614
+                                                    .F_FileName +
1615
+                                                    '" fileId="' + m.F_FileId +
1616
+                                                    '">';
1484 1617
                                             } else {
1485
-                                                FileHtmls = m.F_FileName.substring(19);
1618
+                                                // FileHtmls = m.F_FileName.substring(
1619
+                                                //     19);
1620
+                                                FileHtmls +=
1621
+                                                    '<div><a style="margin-right:5px;" target="view_window" href="' +
1622
+                                                    m.F_FileUrl + '" download="' + m
1623
+                                                    .F_FileName + '">' + m
1624
+                                                    .F_FileName.substring(
1625
+                                                        19) + '</a></div>';
1626
+
1486 1627
                                             }
1487 1628
                                             SJhtmls += FileHtmls
1488 1629
                                             // SJhtmls +=
@@ -1557,21 +1698,27 @@
1557 1698
                                             }
1558 1699
 
1559 1700
                                             htmlss += '<tr>' +
1560
-                                                '<td class="text-center">' + (i + 1) + '</td>' +
1701
+                                                '<td class="text-center">' + (i + 1) +
1702
+                                                '</td>' +
1561 1703
                                                 '<td class="text-center">' + n.F_VisitUser +
1562 1704
                                                 '</td>' +
1563 1705
                                                 '<td class="text-center">' + b + '</td>' +
1564
-                                                '<td class="text-center">' + n.F_Result + '</td>' +
1565
-                                                '<td class="text-center">' + a + '</td>' +
1566
-                                                '<td class="text-center">' + n.F_CreateTime +
1706
+                                                '<td class="text-center">' + n.F_Result +
1567 1707
                                                 '</td>' +
1568
-                                                '<td class="text-center authority">' +
1569
-                                                '<botton class="btns  HFXG " index="' + n.F_Id +
1570
-                                                '" visituser="' + n.F_VisitUser + '"' +
1571
-                                                'result="' + n.F_Result + '" callid="" type="' + n
1572
-                                                    .F_Type + '" issatisfie="' + n.F_IsSatisfie +
1573
-                                                '">修改</botton>' +
1708
+                                                '<td class="text-center">' + a + '</td>' +
1709
+                                                '<td class="text-center">' + n
1710
+                                                .F_CreateTime +
1574 1711
                                                 '</td>' +
1712
+                                                // '<td class="text-center authority">' +
1713
+                                                // '<botton class="btns  HFXG " index="' + n
1714
+                                                // .F_Id +
1715
+                                                // '" visituser="' + n.F_VisitUser + '"' +
1716
+                                                // 'result="' + n.F_Result +
1717
+                                                // '" callid="" type="' + n
1718
+                                                // .F_Type + '" issatisfie="' + n
1719
+                                                // .F_IsSatisfie +
1720
+                                                // '">修改</botton>' +
1721
+                                                // '</td>' +
1575 1722
                                                 '</tr>';
1576 1723
                                         })
1577 1724
                                         $(htmlss).appendTo($(".HGXX"));
@@ -1588,12 +1735,14 @@
1588 1735
                                         $(".DBXX").empty();
1589 1736
                                         $(result.data).each(function (i, n) {
1590 1737
                                             htmlsss = htmlsss + '<tr>' +
1591
-                                                '<td class="text-center">' + (i + 1) + '</td>' +
1738
+                                                '<td class="text-center">' + (i + 1) +
1739
+                                                '</td>' +
1592 1740
                                                 '<td class="text-center">' + n.UserName +
1593 1741
                                                 '</td>' +
1594 1742
                                                 '<td class="text-center">' + n.F_Content +
1595 1743
                                                 '</td>' +
1596
-                                                '<td class="text-center">' + n.F_CreateTime +
1744
+                                                '<td class="text-center">' + n
1745
+                                                .F_CreateTime +
1597 1746
                                                 '</td>' +
1598 1747
                                                 '</tr>';
1599 1748
                                         })
@@ -1630,6 +1779,23 @@
1630 1779
                                     });
1631 1780
                                     break;
1632 1781
                                 case '10':
1782
+                                    //市民评议
1783
+                                    $("#SMPY").empty();
1784
+                                    $(result.data).each(function (i, n) {
1785
+                                        var str = '<tr>' +
1786
+                                            '<td class="text-center">' + (i + 1) +
1787
+                                            '</td>' +
1788
+                                            '<td class="text-center">' + n
1789
+                                            .CreateTime +
1790
+                                            '</td>' +
1791
+                                            '<td class="text-center">' + n
1792
+                                            .strWrkOrder_Cst_Ssf_Cd +
1793
+                                            '</td>' +
1794
+                                            '<td class="text-center">' + n
1795
+                                            .strSsf_Cst_Ass_CntDsc +
1796
+                                            '</td>'
1797
+                                        $(str).appendTo($("#SMPY"));
1798
+                                    })
1633 1799
                                     break;
1634 1800
                             }
1635 1801
                         }

+ 415 - 24
WebUI/CallCenterWeb.UI/CommonHtml/associatWorkOrder.html

@@ -7,17 +7,243 @@
7 7
     <script src="../Script/Common/huayi.config.js"></script>
8 8
     <link href="../css/layer/need/layer.css" />
9 9
     <link rel="stylesheet" href="../css/init.css" />
10
+    <link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
10 11
     <title>关联工单</title>
11 12
     <style>
13
+
14
+        .Common {
15
+            z-index: 999;
16
+            overflow-y: visible;
17
+        }
12 18
         .btn_box {
13 19
             text-align: center;
14 20
         }
21
+
22
+        .inpBox {
23
+            border: 1px solid #cccccc;
24
+            height: 31px;
25
+            width: 220px;
26
+            display: inline-block;
27
+            position: relative;
28
+            vertical-align: middle;
29
+            position: absolute;
30
+            left: 0px;
31
+            top: 0px;
32
+            z-index: 111;
33
+        }
34
+
35
+        .selDpart1 {
36
+            position: absolute;
37
+            left: 0px;
38
+            top: 30px;
39
+            z-index: 11111;
40
+            width: 220px;
41
+            line-height: 30px;
42
+            background: #ffffff;
43
+            display: none;
44
+        }
45
+
46
+        #sponsor {
47
+            width: 218px;
48
+            border: 1px solid #00a1cb;
49
+            margin: 0;
50
+            padding: 0;
51
+            list-style: none;
52
+            max-height: 212px;
53
+            overflow-x: hidden;
54
+            overflow-y: scroll;
55
+        }
56
+
57
+        #sponsor li {
58
+            margin: 0;
59
+            padding-left: 10px;
60
+            width: 220px;
61
+            height: 30px;
62
+            line-height: 30px;
63
+            list-style: none;
64
+        }
65
+
66
+        #sponsor li:hover {
67
+            background: #00a1cb;
68
+        }
69
+
70
+        .addTree,
71
+        .addTreeReactionCategory {
72
+            background: #fff;
73
+            position: absolute;
74
+            width: 100%;
75
+            border: 1px solid darkgrey;
76
+            right: 0;
77
+            top: 29px;
78
+            display: none;
79
+            z-index: 999;
80
+        }
81
+
82
+        .xl,
83
+        .xlReactionCategory {
84
+            display: inline-block;
85
+            background: url(../../img/dropDown.png) no-repeat;
86
+            height: 100%;
87
+            background-position: center center;
88
+            width: 20px;
89
+            position: absolute;
90
+            right: 0;
91
+            top: 0px;
92
+            /* background-color: #f7bc8b; */
93
+            cursor: pointer;
94
+        }
95
+
96
+        .ztree li span {
97
+            border: none;
98
+            padding: 0;
99
+        }
100
+
101
+        .inps,
102
+        .inpsReactionCategory {
103
+            width: 217px;
104
+            height: 29px;
105
+            outline: none;
106
+            border: 0;
107
+            border-image-width: 0;
108
+            padding: 0;
109
+            padding-left: 3px;
110
+        }
111
+
112
+        .xl,
113
+        .xlReactionCategory {
114
+            display: inline-block;
115
+            background: url(../img/dropDown.png) no-repeat;
116
+            height: 100%;
117
+            background-position: center center;
118
+            width: 20px;
119
+            position: absolute;
120
+            right: 0;
121
+            top: 0px;
122
+            /* background-color: #f7bc8b; */
123
+            cursor: pointer;
124
+        }
125
+
126
+        .Cleans,
127
+        .CleansReactionCategory {
128
+            display: inline-block;
129
+            width: 20px;
130
+            position: absolute;
131
+            right: 21px;
132
+            top: 8px;
133
+            display: none;
134
+        }
15 135
     </style>
16 136
 </head>
17 137
 
18 138
 <body>
19 139
     <div class="">
20
-        <div style="width: 100%; padding: 10px">
140
+        <div class="Common">
141
+            <div class="box_content">
142
+                <table id="sqzx" style="width: 100%" border="0" cellspacing="0" cellpadding="0">
143
+                    <tr>
144
+                        <th>事项编号:</th>
145
+                        <td>
146
+                            <input type="text" placeholder="输入工单号" id="wids" class="Min-width" />
147
+                        </td>
148
+                        <th>工单状态:</th>
149
+                        <td>
150
+                            <select name="" id="state" class="select_">
151
+                                <option selected="selected" value="">
152
+                                    请选择
153
+                                </option>
154
+                                <option value="0">新工单</option>
155
+                                <option value="1">待交办</option>
156
+                                <!-- <option value="10">待审核</option> -->
157
+                                <option value="2">待查收</option>
158
+                                <option value="3">
159
+                                    退回审核中
160
+                                </option>
161
+                                <option value="4">办理中</option>
162
+                                <option value="5">
163
+                                    延时审核中
164
+                                </option>
165
+                                <option value="6">已办理</option>
166
+                                <!-- <option value="7">已回访</option> -->
167
+                                <option value="11">
168
+                                    重办待交办
169
+                                </option>
170
+                                <option value="13">重办驳回</option>
171
+                                <option value="8">重办中</option>
172
+                                <option value="9">已结案</option>
173
+                            </select>
174
+                        </td>
175
+                        <th>时间:</th>
176
+                        <td colspan="3">
177
+                            <input id="starttime" class="photo x-color laydate-icon" type="text" autocomplete="off"
178
+                                style="height: 35px;" />-<input id="endtime" class="photo x-color laydate-icon"
179
+                                type="text" autocomplete="off" style="height: 35px;" />
180
+                        </td>
181
+                    </tr>
182
+                    <tr>
183
+                        <th>工单来源:</th>
184
+                        <td>
185
+                            <select class="select_" id="source"></select>
186
+                        </td>
187
+                        <th>来电号码:</th>
188
+                        <td>
189
+                            <input type="text" id="tel" placeholder="请输入来电号码" />
190
+                        </td>                        
191
+                        <th>来电人:</th>
192
+                        <td>
193
+                            <input type="text" id="name" class="Min-width" autocomplete="off" />
194
+                        </td>
195
+                        <th>工单标题:</th>
196
+                        <td>
197
+                            <input type="text" placeholder="输入工单标题" id="workOrderTitle" class="Min-width" />
198
+                        </td>
199
+                    </tr>
200
+                    <tr>
201
+                        <th>来电内容:</th>
202
+                        <td>
203
+                            <input type="text" placeholder="输入来电内容" id="workOrderContent" class="Min-width" />
204
+                        </td>
205
+                        <th>区域:</th>
206
+                        <td>
207
+                            <select class="select_" id="sourceAreas"></select>
208
+                        </td>
209
+                        <th>反映类别:</th>
210
+                        <td style="position: relative;">
211
+                            <div class="inpBox">
212
+                                <input type="text" class="inpsReactionCategory" />
213
+                                <input type="hidden" id="keyid" />
214
+                                <i class="CleansReactionCategory fa fa-close"></i>
215
+                                <i class="xlReactionCategory xl_one"></i>
216
+                                <div class="addTreeReactionCategory xlAddReactionCategory">
217
+                                    <ul id="addTreeDemoReactionCategory" class="ztree"></ul>
218
+                                </div>
219
+                            </div>
220
+                        </td>
221
+                    </tr>
222
+                    <tr>
223
+                        <th>承办单位:</th>
224
+                        <td style="position: relative">
225
+                            <div class="inpBox">
226
+                                <input type="text" class="inps" onkeyup="darptSearch()" />
227
+                                <i class="Cleans fa fa-close"></i>
228
+                                <i class="xl xl_one"></i>
229
+                                <div class="addTree xlAdd">
230
+                                    <ul id="addTreeDemo" class="ztree"></ul>
231
+                                </div>
232
+                            </div>
233
+                            <div class="selDpart1">
234
+                                <ul id="sponsor"></ul>
235
+                            </div>
236
+                        </td>
237
+                        <td colspan="7" style="text-align: center">
238
+                            <botton class="btns Seach">搜索</botton>
239
+                        </td>
240
+                    </tr>
241
+                    <input type="hidden" id="PID" />
242
+                    <input type="hidden" id="Dpment" />            
243
+                </table>
244
+            </div>
245
+        </div>
246
+        <div style="width: 100%; padding: 10px; z-index: 1">
21 247
             <table id="orderlist" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
22 248
                 <thead>
23 249
                     <tr>
@@ -66,6 +292,11 @@
66 292
         </div>
67 293
     </div>
68 294
     <script src="../js/adjustHeight.js"></script>
295
+    <script src="../js/bootstrap-select.js"></script>
296
+    <script src="../css/laydate/laydate.js"></script>
297
+    <!-- <script src="../My97DatePicker/WdatePicker.js"></script> -->
298
+    <script src="../js/zTree/jquery.ztree.core.js"></script>
299
+    <script src="../js/search/screen.js"></script>
69 300
     <script>
70 301
         var wid = helper.request.queryString("wid");
71 302
 
@@ -79,6 +310,31 @@
79 310
             $(".child").click(function () {
80 311
                 submit(1)
81 312
             })
313
+            laydate.skin('blue');
314
+            laydate({
315
+                elem: '#starttime',
316
+                event: 'focus',
317
+                istime: true,
318
+                format: 'YYYY-MM-DD hh:mm:ss'
319
+            });
320
+            laydate({
321
+                elem: '#endtime',
322
+                event: 'focus',
323
+                istime: true,
324
+                format: 'YYYY-MM-DD hh:mm:ss'
325
+            });
326
+            // laydate({
327
+            //     elem: '#dealstarttime',
328
+            //     event: 'focus',
329
+            //     istime: true,
330
+            //     format: 'YYYY-MM-DD hh:mm:ss'
331
+            // });
332
+            // laydate({
333
+            //     elem: '#dealstrendtime',
334
+            //     event: 'focus',
335
+            //     istime: true,
336
+            //     format: 'YYYY-MM-DD hh:mm:ss'
337
+            // });
82 338
             load()
83 339
         });
84 340
 
@@ -169,30 +425,30 @@
169 425
                     var param = {
170 426
                         page: params.pageNumber,
171 427
                         pagesize: params.pageSize,
172
-                        // workid: $("#wids").val().replace(/\s+/g, ""),
173
-                        // state: $("#state").val(), //=工单状态
174
-                        // type: $("#type").val(), //=工单类型
175
-                        // //bigtype: $("#bigtype").val(), //=大类别
176
-                        // //smalltype: $("#smalltype").val(), //=小类别
177
-                        // key: $("#key").val(), //=关键字
178
-                        // tel: $("#tel").val().replace(/\s+/g, ""), //=客户电话
179
-                        // name: $("#name").val().replace(/\s+/g, ""), //=客户名称
180
-                        // usercode: usercodeID, //=坐席工号
181
-                        // ddusercode: ddusercodeID,
182
-                        // keyid: $("#keyid").val(), //=关键词id
183
-                        // source: $("#source").val(), //=来源&
184
-                        // starttime: $("#starttime").val(), //=开始时间
185
-                        // endtime: $("#endtime").val(), //=结束时间
186
-                        // deptid: $("#PID").val(),
187
-                        // type: $("#type").val(),
188
-                        // dealtype: $("#dealtype").val(),
189
-                        // sourcearea: $("#sourceAreas").val(), // 区域
190
-                        // ComTitle: $("#workOrderTitle").val().replace(/\s+/g, ""), // 工单标题
191
-                        // ComContent: $("#workOrderContent").val().replace(/\s+/g, ""), // 工单内容
428
+                        workid: $("#wids").val().replace(/\s+/g, ""),
429
+                        state: $("#state").val(), //=工单状态
430
+                        type: $("#type").val(), //=工单类型
431
+                        //bigtype: $("#bigtype").val(), //=大类别
432
+                        //smalltype: $("#smalltype").val(), //=小类别
433
+                        key: $("#key").val(), //=关键字
434
+                        tel: $("#tel").val().replace(/\s+/g, ""), //=客户电话
435
+                        name: $("#name").val().replace(/\s+/g, ""), //=客户名称
436
+                        usercode: usercodeID, //=坐席工号
437
+                        ddusercode: ddusercodeID,
438
+                        keyid: $("#keyid").val(), //=关键词id
439
+                        source: $("#source").val(), //=来源&
440
+                        starttime: $("#starttime").val(), //=开始时间
441
+                        endtime: $("#endtime").val(), //=结束时间
442
+                        deptid: $("#PID").val(),
443
+                        type: $("#type").val(),
444
+                        dealtype: $("#dealtype").val(),
445
+                        sourcearea: $("#sourceAreas").val(), // 区域
446
+                        ComTitle: $("#workOrderTitle").val().replace(/\s+/g, ""), // 工单标题
447
+                        ComContent: $("#workOrderContent").val().replace(/\s+/g, ""), // 工单内容
192 448
                         // Result: $("#workOrderProcessingResult").val().replace(/\s+/g, ""), // 办理结果
193
-                        // dealstarttime: $("#dealstarttime").val(), //办理开始时间
194
-                        // dealstrendtime: $("#dealstrendtime").val(), //办理结束时间
195
-                        // isopen: $("#isopen").val(),
449
+                        dealstarttime: $("#dealstarttime").val(), //办理开始时间
450
+                        dealstrendtime: $("#dealstrendtime").val(), //办理结束时间
451
+                        isopen: $("#isopen").val(),
196 452
                         token: $.cookie("token"),
197 453
                     };
198 454
                     return param;
@@ -369,6 +625,141 @@
369 625
                 );
370 626
             }
371 627
         }
628
+
629
+        //来源
630
+        function LY(obj) {
631
+            obj.empty();
632
+            obj.append(
633
+                '<option selected="selected" value="">请选择</option>'
634
+            );
635
+            $.getJSON(
636
+                huayi.config.callcenter_url +
637
+                "Dictionary/GetDicValueListById", {
638
+                    token: $.cookie("token"),
639
+                    id: 1,
640
+                },
641
+                function (data) {
642
+                    if (data.state.toLowerCase() == "success") {
643
+                        var content = data.data;
644
+                        $(content).each(function (i, n) {
645
+                            $(
646
+                                "<option value='" +
647
+                                n.F_ValueId +
648
+                                "'>" +
649
+                                n.F_Value +
650
+                                "</option>"
651
+                            ).appendTo(obj);
652
+                        });
653
+                    }
654
+                }
655
+            );
656
+        }
657
+
658
+        //类别
659
+        function LB(obj) {
660
+            obj.empty();
661
+            obj.append(
662
+                '<option selected="selected" value="">请选择</option>'
663
+            );
664
+            $.getJSON(
665
+                huayi.config.callcenter_url +
666
+                "Dictionary/GetDicValueListById", {
667
+                    token: $.cookie("token"),
668
+                    id: 2,
669
+                },
670
+                function (data) {
671
+                    if (data.state.toLowerCase() == "success") {
672
+                        var content = data.data;
673
+                        $(content).each(function (i, n) {
674
+                            $(
675
+                                "<option value='" +
676
+                                n.F_ValueId +
677
+                                "'>" +
678
+                                n.F_Value +
679
+                                "</option>"
680
+                            ).appendTo(obj);
681
+                        });
682
+                    }
683
+                }
684
+            );
685
+        }
686
+        //		主题
687
+        function ZT(obj) {
688
+            obj.empty();
689
+            obj.append(
690
+                '<option selected="selected" value="">请选择</option>'
691
+            );
692
+            $.getJSON(
693
+                huayi.config.callcenter_url +
694
+                "Dictionary/GetDicValueListById", {
695
+                    token: $.cookie("token"),
696
+                    id: 3,
697
+                },
698
+                function (data) {
699
+                    if (data.state.toLowerCase() == "success") {
700
+                        var content = data.data;
701
+                        $(content).each(function (i, n) {
702
+                            $(
703
+                                "<option value='" +
704
+                                n.F_ValueId +
705
+                                "'>" +
706
+                                n.F_Value +
707
+                                "</option>"
708
+                            ).appendTo(obj);
709
+                        });
710
+                    }
711
+                }
712
+            );
713
+        }
714
+
715
+        function tree() {
716
+            $.get(
717
+                huayi.config.callcenter_url + "Department/GetDeptList", {
718
+                    token: $.cookie("token"),
719
+                    //		"pid": pid
720
+                },
721
+                function (result) {
722
+                    result = $.parseJSON(result);
723
+                    $.fn.zTree.init(
724
+                        $("#addTreeDemo"),
725
+                        setting1,
726
+                        result.data
727
+                    ); //实例化树形图
728
+                }
729
+            );
730
+        }
731
+        var setting1 = {
732
+            data: {
733
+                key: {
734
+                    name: "F_DeptName",
735
+                },
736
+                simpleData: {
737
+                    enable: true,
738
+                    idKey: "F_DeptId",
739
+                    pIdKey: "F_PartentId",
740
+                    rootPId: 0,
741
+                },
742
+            },
743
+            callback: {
744
+                onClick: zTreeOnClick,
745
+            },
746
+        };
747
+
748
+        function zTreeOnClick(event, treeId, treeNode) {
749
+            if (treeNode.level >= 1) {
750
+                $(".inps").val(treeNode.F_DeptName);
751
+                $("#PID").val(treeNode.F_DeptId);
752
+                $("#Dpment").val(treeNode.F_DeptId);
753
+                $(".Cleans").show();
754
+            }
755
+        }
756
+
757
+        function Close() {
758
+            $(".lyxz").removeClass("cx");
759
+            if ($("audio").length > 0) {
760
+                $("audio")[0].pause();
761
+            }
762
+        }
372 763
     </script>
373 764
 </body>
374 765
 

+ 1 - 1
WebUI/CallCenterWeb.UI/CommonHtml/handle.html

@@ -234,7 +234,7 @@
234 234
                     <td rowspan="2" width="16%">
235 235
                         <span class="tssj"></span>
236 236
                     </td>
237
-                    <td width="16%">签收时间
237
+                    <td width="13%">签收时间
238 238
                     </td>
239 239
                     <td>
240 240
                         <span class="QSHJ"></span>

+ 181 - 144
WebUI/CallCenterWeb.UI/CommonHtml/processing_audit.html

@@ -39,11 +39,14 @@
39 39
                     <td class="text-center" style="min-width:80px;">联系方式</td>
40 40
                     <td class="text-center" style="min-width:80px;">职务</td>
41 41
                     <td class="text-center" style="min-width:80px;">处理结果</td>
42
-                    <td class="text-center" style="min-width:80px;">办理时间</td>
42
+                    <td class="text-center" style="min-width:80px;">单位</td>
43
+                    <!-- <td class="text-center" style="min-width:80px;">类型</td> -->
43 44
                     <td class="text-center" style="min-width:80px;">办理结果</td>
44
-                    <td class="text-center" style="min-width:80px;">类型</td>
45
+                    <td class="text-center" style="min-width:80px;">办理时间</td>
45 46
                     <td class="text-center" style="min-width:80px;">是/否向当事人反馈</td>
46
-                    <td class="text-center" style="min-width:80px;">处理方案/进程</td>
47
+                    <td class="text-center" style="min-width:80px;">是否满意</td>
48
+                    <td class="text-center" style="min-width:80px;">审核领导</td>
49
+                    <!-- <td class="text-center" style="min-width:80px;">处理方案/进程</td> -->
47 50
                     <td class="text-center" style="min-width:80px;">附件</td>
48 51
                     <td class="text-center authority" style="min-width: 100px;">操作</td>
49 52
                 </tr>
@@ -82,7 +85,6 @@
82 85
         Detail();
83 86
         $(document).ready(function () {
84 87
             //				HGXX();
85
-            BLNR();
86 88
             Hove();
87 89
             getDetail();
88 90
             //上传附件
@@ -153,153 +155,168 @@
153 155
                         } else {
154 156
                             $("#workOrderContent").text(content.data[0].F_Content)
155 157
                         }
156
-                    }
157
-                }
158
-            })
159
-        }
158
+                        var temp1;
159
+                        $.each(result.data.ejbldata, function (i, n) {
160
+                            var bval = n.F_Type;
161
+                            switch (bval + '') {
162
+                                case '1':
163
+                                    bval = '主办';
164
+                                    break;
165
+                                case '2':
166
+                                    bval = '协办';
167
+                                    break;
168
+                            }
160 169
 
161
-        //			工单详情
162
-        //			function HGXX() {
163
-        //				$.getJSON(huayi.config.callcenter_url + 'WorkOrder/GetSecondDealInfo', {
164
-        //					workorderid: wid,
165
-        //					token: $.cookie("token")
166
-        //				}, function(result) {
167
-        //					// result = JSON.stringify(result)
168
-        //					if(result.state.toLowerCase() == "success") {
169
-        //						var temp;
170
-        //						$.each(result.data.pdinfo,function(i, n) {
171
-        //								var i=0;
172
-        //								i++;
173
-        //								temp = temp + '<td class="text-center">'+i+'</td><td class="text-center">'+n.F_CreateTime+'</td><td class="text-center">'+n.F_AssignedOpinion+'</td><td class="text-center">'+n.F_LimitTime+'</td><td class="text-center">'+n.F_OtherDeptIds+'</td>';
174
-        ////								ccc=n.F_Id;
175
-        //								
176
-        //						});
177
-        //						
178
-        //						$('.HGXX').append(temp);
179
-        //					}
180
-        //				})
181
-        //			}
182
-        //办理内容
183
-        function BLNR() {
184
-            $.getJSON(huayi.config.callcenter_url + 'WorkOrder/GetNewSecondDealInfo', {
185
-                workorderid: wid,
186
-                token: $.cookie("token")
187
-            }, function (result) {
188
-                if (result.state.toLowerCase() == "success") {
189
-                    var temp1;
190
-                    $.each(result.data, function (i, n) {
191
-                        var bval = n.F_Type;
192
-                        switch (bval + '') {
193
-                            case '1':
194
-                                bval = '主办';
195
-                                break;
196
-                            case '2':
197
-                                bval = '协办';
198
-                                break;
199
-                        }
170
+                            //是/否向当事人反馈
171
+                            var isProResultValue = n.F_IsProResult + "";
172
+                            switch (isProResultValue) {
173
+                                case "0":
174
+                                    isProResultValue = "否";
175
+                                    break;
176
+                                case "1":
177
+                                    isProResultValue = "是";
178
+                                    break;
179
+                                case "2":
180
+                                    isProResultValue = "已办未果";
181
+                                    break;
182
+                            }
183
+                            //是否满意
184
+                            var isSatisfiedValue = n.F_IsSatisfied + "";
185
+                            switch (isSatisfiedValue) {
186
+                                case "0":
187
+                                    isSatisfiedValue = "未评价";
188
+                                    break;
189
+                                case "1":
190
+                                    isSatisfiedValue = "满意";
191
+                                    break;
192
+                                case "2":
193
+                                    isSatisfiedValue = "基本满意";
194
+                                    break;
195
+                                case "3":
196
+                                    isSatisfiedValue = "不满意";
197
+                                    break;
198
+                            }
199
+                            //沟通时间 
200
+                            var connectTimeValue = n.F_ConnectTime;
201
+                            switch (connectTimeValue) {
202
+                                case null:
203
+                                    connectTimeValue = "";
204
+                                    break;
205
+                                default:
206
+                                    connectTimeValue = n.F_ConnectTime;
207
+                            }
208
+                            //职务
209
+                            var dutiesValue
210
+                            switch (n.F_Duties) {
211
+                                case "":
212
+                                    dutiesValue = ""
213
+                                    break;
214
+                                case null:
215
+                                    dutiesValue = ""
216
+                                    break;
217
+                                default:
218
+                                    dutiesValue = n.F_Duties
219
+                                    break;
220
+                            }
221
+                            //处理情况
222
+                            var situationValue
223
+                            switch (n.F_Situation) {
224
+                                case "":
225
+                                    situationValue = ""
226
+                                    break;
227
+                                case null:
228
+                                    situationValue = ""
229
+                                    break;
230
+                                default:
231
+                                    situationValue = n.F_Situation
232
+                                    break;
233
+                            }
200 234
 
201
-                        //是/否向当事人反馈
202
-                        var isProResultValue = n.F_IsProResult + "";
203
-                        switch (isProResultValue) {
204
-                            case "0":
205
-                                isProResultValue = "否";
206
-                                break;
207
-                            case "1":
208
-                                isProResultValue = "是";
209
-                                break;
210
-                            case "2":
211
-                                isProResultValue = "已办未果";
212
-                                break;
213
-                        }
214
-                        //是否满意
215
-                        var isSatisfiedValue = n.F_IsSatisfied + "";
216
-                        switch (isSatisfiedValue) {
217
-                            case "0":
218
-                                isSatisfiedValue = "未评价";
219
-                                break;
220
-                            case "1":
221
-                                isSatisfiedValue = "满意";
222
-                                break;
223
-                            case "2":
224
-                                isSatisfiedValue = "基本满意";
225
-                                break;
226
-                            case "3":
227
-                                isSatisfiedValue = "不满意";
228
-                                break;
229
-                        }
230
-                        //沟通时间 
231
-                        var connectTimeValue = n.F_ConnectTime;
232
-                        switch (connectTimeValue) {
233
-                            case null:
234
-                                connectTimeValue = "";
235
-                                break;
236
-                            default:
237
-                                connectTimeValue = n.F_ConnectTime;
238
-                        }
239
-                        //职务
240
-                        var dutiesValue
241
-                        switch (n.F_Duties) {
242
-                            case "":
243
-                                dutiesValue = ""
244
-                                break;
245
-                            case null:
246
-                                dutiesValue = ""
247
-                                break;
248
-                            default:
249
-                                dutiesValue = n.F_Duties
250
-                                break;
251
-                        }
252
-                        //处理情况
253
-                        var situationValue
254
-                        switch (n.F_Situation) {
255
-                            case "":
256
-                                situationValue = ""
257
-                                break;
258
-                            case null:
259
-                                situationValue = ""
260
-                                break;
261
-                            default:
262
-                                situationValue = n.F_Situation
263
-                                break;
264
-                        }
235
+                            // 审核领导
236
+                            var auditUser
237
+                            switch (n.F_AuditUser) {
238
+                                case "":
239
+                                    auditUser = ""
240
+                                    break;
241
+                                case null:
242
+                                    auditUser = ""
243
+                                    break;
244
+                                default:
245
+                                    auditUser = n.F_AuditUser
246
+                                    break;
247
+                            }
265 248
 
266
-                        temp1 = temp1 +
267
-                            '<td class="text-center">' + n.F_DealUser + '</td>' +
268
-                            '<td class="text-center">' + n.F_DealUserContact + '</td>' +
269
-                            '<td class="text-center">' + dutiesValue + '</td>' +
270
-                            '<td class="text-center">' + situationValue + '</td>' +
271
-                            '<td class="text-center">' + n.F_CreateTime + '</td>' +
272
-                            '<td class="text-center">' + n.F_Result + '</td>' +
273
-                            '<td class="text-center" data-formatter="shtype">' + bval + '</td>' +
274
-                            '<td class="text-center">' + isProResultValue + '</td>' +
275
-                            '<td class="text-center">' + n.F_ProSituation + '</td>' +
276
-                            '<td class="text-center FJ" style="color:#00a1cb;"></td>' +
277
-                            '<td class="text-center authority"><button class="btns edit" index="' + n
278
-                            .F_WorkOrderId + '">修改</button></td>'
279
-                        ccc = n.F_Id;
280
-                    });
281
-                    $('.BLNR').append(temp1);
282
-                    $(result.data[0].File).each(function (i, n) {
283
-                        HTML = '<a style="margin-right:5px;" href="' + n.F_FileUrl + '" download="' + n
284
-                            .F_FileName.substring(19) + '">' + n.F_FileName.substring(19) + '</a>'
285
-                        $(HTML).appendTo($('.FJ'));
286
-                    })
287
-                    $(".edit").click(function () {
288
-                        var index = $(this).attr('index');
289
-                        layer.open({
290
-                            type: 2,
291
-                            content: "../CommonHtml/XGbanli.html?wid=" +
292
-                                index, //iframe的url,no代表不显示滚动条
293
-                            title: '修改办理结果',
294
-                            area: ['60%', '55%'], //宽高
249
+                            temp1 = temp1 +
250
+                                '<tr>' +
251
+                                '<td class="text-center">' + n.F_DealUser + '</td>' +
252
+                                '<td class="text-center">' + n.F_DealUserContact + '</td>' +
253
+                                '<td class="text-center">' + dutiesValue + '</td>' +
254
+                                '<td class="text-center">' + situationValue + '</td>' +
255
+                                '<td class="text-center">' + n.DeptName + '</td>' +
256
+                                // '<td class="text-center" data-formatter="shtype">' + bval +
257
+                                // '</td>' +
258
+                                '<td class="text-center">' + n.F_Result + '</td>' +
259
+                                '<td class="text-center">' + n.F_CreateTime + '</td>' +
260
+                                '<td class="text-center">' + isProResultValue + '</td>' +
261
+                                '<td class="text-center">' + isSatisfiedValue + '</td>' +
262
+                                '<td class="text-center">' + auditUser + '</td>' +
263
+                                '<td class="text-center FJ" style="color:#00a1cb;">';
264
+                            var FileHtml;
265
+                            $(n.File).each(function (j, m) {
266
+                                if (m.F_FileType == ".jpg" || m
267
+                                    .F_FileType ==
268
+                                    ".png") {
269
+                                    FileHtml =
270
+                                        '<img style="width:80px; height:80px" border="0" onclick="viewImage(this)" src="' +
271
+                                        m.F_FileUrl + '" alt="' + m
272
+                                        .F_FileName +
273
+                                        '" fileId="' + m.F_FileId +
274
+                                        '">';
275
+                                } else {
276
+                                    FileHtml =
277
+                                        '<div><a style="margin-right:5px;" target="view_window" href="' +
278
+                                        m.F_FileUrl + '" download="' + m
279
+                                        .F_FileName + '">' + m.F_FileName.substring(
280
+                                            19) + '</a></div>'
281
+                                }
282
+                                // htmls +=
283
+                                //     '<div><a style="margin-right:5px;" target="view_window" href="' +
284
+                                //     m.F_FileUrl + '" download="' + m
285
+                                //     .F_FileName + '">' + m.F_FileName.substring(
286
+                                //         19) + '</a></div>';
287
+                                temp1 += FileHtml;
288
+                            })
289
+                            temp1 += "</td>" +
290
+                                '<td class="text-center authority"><button class="btns edit" index="' +
291
+                                n
292
+                                .F_WorkOrderId + '">修改</button></td>' +
293
+                                '</tr>'
294
+                            ccc = n.F_Id;
295 295
                         });
296
-                    })
297
-
296
+                        $('.BLNR').append(temp1);
297
+                        // $(result.data.ejbldata.File).each(function (i, n) {
298
+                        //     HTML = '<a style="margin-right:5px;" href="' + n.F_FileUrl +
299
+                        //         '" download="' + n
300
+                        //         .F_FileName.substring(19) + '">' + n.F_FileName.substring(19) +
301
+                        //         '</a>'
302
+                        //     $(HTML).appendTo($('.FJ'));
303
+                        // })
304
+                        $(".edit").click(function () {
305
+                            var index = $(this).attr('index');
306
+                            layer.open({
307
+                                type: 2,
308
+                                content: "../CommonHtml/XGbanli.html?wid=" +
309
+                                    index, //iframe的url,no代表不显示滚动条
310
+                                title: '修改办理结果',
311
+                                area: ['60%', '55%'], //宽高
312
+                            });
313
+                        })
314
+                    }
298 315
                 }
299 316
             })
300 317
         }
301
-        //			<a class="tiaozhuan" style="margin-left: -5px; width:100%; display:block; text-align: center;" href="' + (n.File == null ? '' : n.File[0].F_FileUrl) + '"  download="' + (n.File == null ? '' : n.File[0].F_FileUrl) + '" >附件</a>
302
-        //			判断附件
318
+
319
+        //	判断附件
303 320
         function Hove() {
304 321
             $(document).on("mouseover mouseout", '.tiaozhuan', function (event) {
305 322
                 if (event.type == "mouseover") {
@@ -411,6 +428,26 @@
411 428
             parent.layer.close(index); //再执行关闭
412 429
             parent.$('#orderlist').bootstrapTable('refresh');
413 430
         }
431
+
432
+        function viewImage(file) {
433
+            var json = {
434
+                "title": "", //相册标题
435
+                "id": 1, //相册id
436
+                "start": 0, //初始显示的图片序号,默认0
437
+                "data": [ //相册包含的图片,数组格式
438
+                    {
439
+                        "alt": $(file).attr("alt"),
440
+                        "pid": $(file).attr("fileId"), //图片id
441
+                        "src": $(file).attr("src"), //原图地址
442
+                        "thumb": "" //缩略图地址
443
+                    }
444
+                ]
445
+            }
446
+            layer.photos({
447
+                photos: json,
448
+                anim: 5 //0-6的选择,指定弹出图片动画类型,默认随机(请注意,3.0之前的版本用shift参数)
449
+            });
450
+        }
414 451
     </script>
415 452
 </body>
416 453
 

+ 436 - 0
WebUI/CallCenterWeb.UI/ReportForm/superviseDataStatistics.html

@@ -0,0 +1,436 @@
1
+<!DOCTYPE html>
2
+<html>
3
+
4
+<head>
5
+    <meta charset="UTF-8">
6
+    <title>督办数据统计</title>
7
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
8
+    <script src="../Script/Common/huayi.load.js"></script>
9
+    <script src="../Script/Common/huayi.config.js"></script>
10
+    <link href="../css/WorkOrder/Search.css" rel="stylesheet">
11
+    <link href="../css/init.css" rel="stylesheet" />
12
+    <link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
13
+    <script src="../js/laydate/laydate.js"></script>
14
+    <script src="../js/zTree/jquery.ztree.core.js"></script>
15
+    <style>
16
+        table td {
17
+            word-break: break-all;
18
+            word-wrap: break-word;
19
+        }
20
+
21
+        .Shows {
22
+            display: block !important;
23
+        }
24
+
25
+        .complain {
26
+            display: none;
27
+        }
28
+
29
+        .toolLeft input {
30
+            width: 200px;
31
+        }
32
+
33
+        th {
34
+            padding: 5px;
35
+            text-align: center;
36
+        }
37
+
38
+        td {
39
+            padding: 5px;
40
+        }
41
+
42
+        .Borders {
43
+            border: 1px solid #d7d7d7;
44
+        }
45
+
46
+        .daoHang {
47
+            margin-bottom: 15px;
48
+        }
49
+
50
+        .inpBox {
51
+            border: 1px solid #e5e6e7;
52
+            height: 32px;
53
+            width: 200px;
54
+            display: inline-block;
55
+            position: relative;
56
+            vertical-align: middle;
57
+        }
58
+
59
+        .inpBox .inps1 {
60
+            width: 100%;
61
+            height: 30px;
62
+            outline: none;
63
+            border: 0;
64
+            border-image-width: 0;
65
+            padding: 0;
66
+            padding-left: 3px;
67
+        }
68
+
69
+        .xl {
70
+            display: inline-block;
71
+            background: url(../img/dropDown.png) no-repeat;
72
+            height: 100%;
73
+            background-position: center center;
74
+            width: 20px;
75
+            position: absolute;
76
+            right: 0;
77
+            top: 0px;
78
+            background-color: #f7bc8b;
79
+            cursor: pointer;
80
+        }
81
+
82
+        .xl:hover {
83
+            background-color: #e6d523;
84
+        }
85
+
86
+        .addTree {
87
+            background: #fff;
88
+            position: absolute;
89
+            width: 100%;
90
+            border: 1px solid darkgrey;
91
+            right: 0;
92
+            top: 30px;
93
+            display: none;
94
+            height: 350px;
95
+            overflow-y: auto;
96
+            z-index: 10;
97
+            text-align: center;
98
+        }
99
+
100
+        .addTree .list li:hover {
101
+            background: #ebebeb;
102
+            color: #717171;
103
+        }
104
+
105
+        .Content_box .title {
106
+            font-size: 24px;
107
+            text-align: center;
108
+        }
109
+        .Content_box h5 {
110
+            font-size: 16px;
111
+            text-align: center;
112
+        }
113
+    </style>
114
+</head>
115
+
116
+<body class="gray-bg">
117
+    <div class="wrapper wrapper-content animated fadeInRight">
118
+        <div class="daoHang clearfix">
119
+            <div class="dhLeft">
120
+                <sapn>
121
+                    <i class="syIcon"></i>位置:
122
+                    <a href="javaScript:;" id="ReIndex">首页</a>&gt;
123
+                    <a href="javaScript:;">业务统计</a>&gt;
124
+                    <a href="" class="nowPosition">督办数据统计</a>
125
+                </sapn>
126
+            </div>
127
+            <div class="dhRight">
128
+                <a href="" title="刷新"><i class="fa fa-refresh"></i></a>
129
+            </div>
130
+        </div>
131
+
132
+        <div class="Content_box">
133
+            <div class="complain Shows">
134
+                <div class="toolBar clearfix">
135
+                    <div class="toolLeft">
136
+                        开始日期:
137
+                        <input class="photo x-color inputs laydate-icon" type="text" id="squeryTime" />
138
+                        结束时间:
139
+                        <input class="photo x-color inputs laydate-icon" type="text" id="equeryTime" />
140
+                        部门:
141
+                        <div class="inpBox">
142
+                            <input class="inps inps1">
143
+                            <input type="hidden" id="deptid" />
144
+                            <i class="xl xl_two"></i>
145
+                            <div class="addTree xlAdd_two">
146
+                                <ul id="deptTree" class="ztree"></ul>
147
+                            </div>
148
+                        </div>
149
+                        <button class="btns search_1">查询</button>
150
+                        <a class="btns" id="exportPublicSentiments">导出</a>
151
+                    </div>
152
+                </div>
153
+                <div class="title" id="titleText">12345联动服务工作办理情况通报表</div>
154
+                <div class="title">统计周期:<span class="statisticalPeriod"></span></div>
155
+                <!-- 一、县(市、区)联动单位 -->
156
+                <h5>一、县(市、区)联动单位</h5>
157
+                <div style="width: 100%;padding: 10px;">
158
+                    <table id="workorderlist_1" class="tables" data-row-style="rowStyle" data-query-params="queryParams"
159
+                        data-pagination="true">
160
+                        <thead>
161
+                            <tr>
162
+                                <th data-field="" data-formatter="serialNumber" data-align="center">序号</th>
163
+                                <th data-field="deptname" data-align="center">联动单位</th>
164
+                                <th data-field="Undertakers" data-align="center">承办件</th>
165
+                                <th data-field="Undertakersrate" data-align="center">承办率</th>
166
+                                <th data-field="Undertakersscore" data-align="center">得分(5分)</th>
167
+                                <th data-field="overdue" data-align="center">超期件</th>
168
+                                <th data-field="overduerate" data-align="center">按时反馈率</th>
169
+                                <th data-field="overduescore" data-align="center">得分(20分)</th>
170
+                                <th data-field="unsuccessful" data-align="center">未果件</th>
171
+                                <th data-field="unsuccessfulrate" data-align="center">办结率</th>
172
+                                <th data-field="unsuccessfulscore" data-align="center">得分(10分)</th>
173
+                                <th data-field="Chargeback" data-align="center">退单件</th>
174
+                                <th data-field="Chargebackrate" data-align="center">有效回复率</th>
175
+                                <th data-field="Chargebackscore" data-align="center">得分(15分)</th>
176
+                                <th data-field="Comment" data-align="center">群众评议总数</th>
177
+                                <th data-field="dissatisfied" data-align="center">不满意件</th>
178
+                                <th data-field="satisfiedrate" data-align="center">满意率</th>
179
+                                <th data-field="satisfiedscore" data-align="center">得分(50分)</th>
180
+                                <th data-field="total" data-align="center">总分</th>
181
+                                <th data-field="" data-formatter="serialNumber" data-align="center">排名</th>
182
+                            </tr>
183
+                        </thead>
184
+                    </table>
185
+                </div>
186
+                <!-- 二、市直机关联动单位一组 -->
187
+                <h5>二、市直机关联动单位一组</h5>
188
+                <div style="width: 100%;padding: 10px;">
189
+                    <table id="workorderlist_2" class="tables" data-row-style="rowStyle" data-query-params="queryParams"
190
+                        data-pagination="true">
191
+                        <thead>
192
+                            <tr>
193
+                                <th data-field="" data-formatter="serialNumber" data-align="center">序号</th>
194
+                                <th data-field="deptname" data-align="center">联动单位</th>
195
+                                <th data-field="Undertakers" data-align="center">承办件</th>
196
+                                <th data-field="Undertakersrate" data-align="center">承办率</th>
197
+                                <th data-field="Undertakersscore" data-align="center">得分(5分)</th>
198
+                                <th data-field="overdue" data-align="center">超期件</th>
199
+                                <th data-field="overduerate" data-align="center">按时反馈率</th>
200
+                                <th data-field="overduescore" data-align="center">得分(20分)</th>
201
+                                <th data-field="unsuccessful" data-align="center">未果件</th>
202
+                                <th data-field="unsuccessfulrate" data-align="center">办结率</th>
203
+                                <th data-field="unsuccessfulscore" data-align="center">得分(10分)</th>
204
+                                <th data-field="Chargeback" data-align="center">退单件</th>
205
+                                <th data-field="Chargebackrate" data-align="center">有效回复率</th>
206
+                                <th data-field="Chargebackscore" data-align="center">得分(15分)</th>
207
+                                <th data-field="Comment" data-align="center">群众评议总数</th>
208
+                                <th data-field="dissatisfied" data-align="center">不满意件</th>
209
+                                <th data-field="satisfiedrate" data-align="center">满意率</th>
210
+                                <th data-field="satisfiedscore" data-align="center">得分(50分)</th>
211
+                                <th data-field="total" data-align="center">总分</th>
212
+                                <th data-field="" data-formatter="serialNumber" data-align="center">排名</th>
213
+                            </tr>
214
+                        </thead>
215
+                    </table>
216
+                </div>
217
+
218
+                <!-- 三、市直机关联动单位二组 -->
219
+                <h5>三、市直机关联动单位二组</h5>
220
+                <div style="width: 100%;padding: 10px;">
221
+                    <table id="workorderlist_3" class="tables" data-row-style="rowStyle" data-query-params="queryParams"
222
+                        data-pagination="true">
223
+                        <thead>
224
+                            <tr>
225
+                                <th data-field="" data-formatter="serialNumber" data-align="center">序号</th>
226
+                                <th data-field="deptname" data-align="center">联动单位</th>
227
+                                <th data-field="Undertakers" data-align="center">承办件</th>
228
+                                <th data-field="Undertakersrate" data-align="center">承办率</th>
229
+                                <th data-field="Undertakersscore" data-align="center">得分(5分)</th>
230
+                                <th data-field="overdue" data-align="center">超期件</th>
231
+                                <th data-field="overduerate" data-align="center">按时反馈率</th>
232
+                                <th data-field="overduescore" data-align="center">得分(20分)</th>
233
+                                <th data-field="unsuccessful" data-align="center">未果件</th>
234
+                                <th data-field="unsuccessfulrate" data-align="center">办结率</th>
235
+                                <th data-field="unsuccessfulscore" data-align="center">得分(10分)</th>
236
+                                <th data-field="Chargeback" data-align="center">退单件</th>
237
+                                <th data-field="Chargebackrate" data-align="center">有效回复率</th>
238
+                                <th data-field="Chargebackscore" data-align="center">得分(15分)</th>
239
+                                <th data-field="Comment" data-align="center">群众评议总数</th>
240
+                                <th data-field="dissatisfied" data-align="center">不满意件</th>
241
+                                <th data-field="satisfiedrate" data-align="center">满意率</th>
242
+                                <th data-field="satisfiedscore" data-align="center">得分(50分)</th>
243
+                                <th data-field="total" data-align="center">总分</th>
244
+                                <th data-field="" data-formatter="serialNumber" data-align="center">排名</th>
245
+                            </tr>
246
+                        </thead>
247
+                    </table>
248
+                </div>
249
+
250
+                <!-- 四、公益型企业联动单位 -->
251
+                <h5>四、公益型企业联动单位</h5>
252
+                <div style="width: 100%;padding: 10px;">
253
+                    <table id="workorderlist_4" class="tables" data-row-style="rowStyle" data-query-params="queryParams"
254
+                        data-pagination="true">
255
+                        <thead>
256
+                            <tr>
257
+                                <th data-field="" data-formatter="serialNumber" data-align="center">序号</th>
258
+                                <th data-field="deptname" data-align="center">联动单位</th>
259
+                                <th data-field="Undertakers" data-align="center">承办件</th>
260
+                                <th data-field="Undertakersrate" data-align="center">承办率</th>
261
+                                <th data-field="Undertakersscore" data-align="center">得分(5分)</th>
262
+                                <th data-field="overdue" data-align="center">超期件</th>
263
+                                <th data-field="overduerate" data-align="center">按时反馈率</th>
264
+                                <th data-field="overduescore" data-align="center">得分(20分)</th>
265
+                                <th data-field="unsuccessful" data-align="center">未果件</th>
266
+                                <th data-field="unsuccessfulrate" data-align="center">办结率</th>
267
+                                <th data-field="unsuccessfulscore" data-align="center">得分(10分)</th>
268
+                                <th data-field="Chargeback" data-align="center">退单件</th>
269
+                                <th data-field="Chargebackrate" data-align="center">有效回复率</th>
270
+                                <th data-field="Chargebackscore" data-align="center">得分(15分)</th>
271
+                                <th data-field="Comment" data-align="center">群众评议总数</th>
272
+                                <th data-field="dissatisfied" data-align="center">不满意件</th>
273
+                                <th data-field="satisfiedrate" data-align="center">满意率</th>
274
+                                <th data-field="satisfiedscore" data-align="center">得分(50分)</th>
275
+                                <th data-field="total" data-align="center">总分</th>
276
+                                <th data-field="" data-formatter="serialNumber" data-align="center">排名</th>
277
+                            </tr>
278
+                        </thead>
279
+                    </table>
280
+                </div>
281
+            </div>
282
+        </div>
283
+    </div>
284
+    <script>
285
+        $(document).ready(function () {
286
+            laydate.render({
287
+                elem: '#squeryTime',
288
+                theme: '#00a1cb',
289
+                type: 'date'
290
+            });
291
+            laydate.render({
292
+                elem: '#equeryTime',
293
+                theme: '#00a1cb',
294
+                type: 'date'
295
+            });
296
+
297
+            initTable();
298
+            bindtree();
299
+        });
300
+        //表格
301
+        function initTable() {
302
+            $.ajax({
303
+                url: huayi.config.callcenter_url + 'DataAssessment/GetDBDataList_1',
304
+                type: 'get',
305
+                data: {
306
+                    starttime: $('#squeryTime').val(),
307
+                    endtime: $('#equeryTime').val(),
308
+                    deptid: $("#deptid").val(),
309
+                    token: $.cookie("token")
310
+                },
311
+                dataType: "json",
312
+                async: true,
313
+                success: function (returnValue) {
314
+                    //异步获取数据
315
+                    //debugger;
316
+                    var resultData = returnValue.rows;
317
+                    var resultData_1 = []
318
+                    var resultData_2 = []
319
+                    var resultData_3 = []
320
+                    var resultData_4 = []
321
+
322
+                    $(".statisticalPeriod").text(returnValue.strdate + " 至 " + returnValue.edate)
323
+                    $("#titleText").text("12345联动服务工作" + returnValue.month + "月份办理情况通报表")
324
+
325
+                    resultData.forEach(function(v, i) {
326
+                        if (v.category === 1) {
327
+                            resultData_1.push(v)
328
+                        } else if (v.category === 2) {
329
+                            resultData_2.push(v)
330
+                        } else if (v.category === 3) {
331
+                            resultData_3.push(v)
332
+                        } else if (v.category === 4) {
333
+                            resultData_4.push(v)
334
+                        }
335
+                    })
336
+                    $('#workorderlist_1').bootstrapTable('load', resultData_1);
337
+                    $('#workorderlist_2').bootstrapTable('load', resultData_2);
338
+                    $('#workorderlist_3').bootstrapTable('load', resultData_3);
339
+                    $('#workorderlist_4').bootstrapTable('load', resultData_4);
340
+                }
341
+            });
342
+            $('#workorderlist_1').bootstrapTable('destroy').bootstrapTable({
343
+                striped: true,
344
+                pagination: false,
345
+            });
346
+            $('#workorderlist_2').bootstrapTable('destroy').bootstrapTable({
347
+                striped: true,
348
+                pagination: false,
349
+            });
350
+            $('#workorderlist_3').bootstrapTable('destroy').bootstrapTable({
351
+                striped: true,
352
+                pagination: false,
353
+            });
354
+            $('#workorderlist_4').bootstrapTable('destroy').bootstrapTable({
355
+                striped: true,
356
+                pagination: false,
357
+            });
358
+        }
359
+        //搜索
360
+        $(".search_1").click(function () {
361
+            initTable();
362
+        });
363
+
364
+        $(".inps").focus(function () {
365
+            $(this).siblings(".addTree").css("display", "block");
366
+        });
367
+
368
+        $(".xl").click(function () {
369
+            var xl = $(this).siblings(".addTree");
370
+            if (xl.css("display") == "block") {
371
+                xl.css("display", "none");
372
+            } else {
373
+                xl.css("display", "block");
374
+            }
375
+        });
376
+
377
+        $(".addTree").mouseleave(function () {
378
+            $(this).css("display", "none");
379
+        });
380
+
381
+        function bindtree() {
382
+            $.getJSON(
383
+                huayi.config.callcenter_url + "Department/GetDeptList", {
384
+                    token: $.cookie("token")
385
+                },
386
+                function (result) {
387
+                    if (result.state.toLowerCase() == "success") {
388
+                        $.fn.zTree.init($("#deptTree"), setting, result.data);
389
+                    }
390
+                }
391
+            );
392
+        }
393
+        //获取所属部门
394
+        var setting = {
395
+            data: {
396
+                key: {
397
+                    name: "F_DeptName",
398
+                },
399
+                simpleData: {
400
+                    enable: true,
401
+                    idKey: "F_DeptId",
402
+                    pIdKey: "F_PartentId",
403
+                    rootPId: -1,
404
+                },
405
+            },
406
+            callback: {
407
+                onClick: zTreeOnClick,
408
+            },
409
+        };
410
+
411
+        function zTreeOnClick(event, treeId, treeNode) {
412
+            $(".inps1").val(treeNode.F_DeptName);
413
+            $("#deptid").val(treeNode.F_DeptId);
414
+        }
415
+
416
+        //编号
417
+        function serialNumber(val, row, index) {
418
+            return index + 1;
419
+        }
420
+
421
+        //导出
422
+        $('#exportPublicSentiments').click(function () {
423
+            dcexcelDispath(this);
424
+        });
425
+
426
+        function dcexcelDispath(obj) {
427
+            var starttime = $('#squeryTime').val()
428
+            var endtime = $('#equeryTime').val()
429
+            var url = huayi.config.callcenter_url + "DataAssessment/GetDBDataList_1?token=" + $.cookie("token");
430
+            url += "&starttime=" + starttime + "&endtime=" + endtime + "&deptid=" + $('#deptid').val() + "&isdc=true";
431
+            obj.href = url;
432
+        }
433
+    </script>
434
+</body>
435
+
436
+</html>

+ 0 - 1
WebUI/CallCenterWeb.UI/TelCall/vipCall.html

@@ -57,7 +57,6 @@
57 57
                     <ul>
58 58
                         <li>姓名:<input class="photo x-color" type="text" id="name" placeholder="请输入姓名" /></li>
59 59
                         <li>电话号码:<input class="photo x-color" type="text" id="phone" placeholder="请输入电话号码" /></li>
60
-                        <li>备注:<input class="photo x-color" type="text" id="phone" placeholder="请输入备注" /></li>
61 60
                         <li>
62 61
                             <select name="" id="state" class="photo">
63 62
                                 <option value="">请选择状态</option>