liuyifan лет назад: 4
Родитель
Сommit
98d4177957

+ 22 - 0
WebUI/CallCenterWeb.UI/Business/haveAduit.html

@@ -129,6 +129,14 @@
129 129
                     </div>
130 130
                 </div>
131 131
                 <div>
132
+                    <ul class="nav nav-tabs ul_tab" role="tablist">
133
+                        <li class="active">
134
+                            <a>热线件</a>
135
+                        </li>
136
+                        <li>
137
+                            <a>督办件</a>
138
+                        </li>
139
+                    </ul>
132 140
                     <div style="width: 100%; padding: 10px">
133 141
                         <table id="orderlist" data-row-style="rowStyle" data-query-params="queryParams"
134 142
                             data-pagination="true">
@@ -204,6 +212,7 @@
204 212
     <script src="../js/WorkOrder/WorkOrderList.js"></script>
205 213
 
206 214
     <script>
215
+        var db = 0;
207 216
         $(document).ready(function () {
208 217
             var wid = helper.request.queryString("wid");
209 218
             if (wid) {
@@ -224,7 +233,19 @@
224 233
                 istime: true,
225 234
                 format: 'YYYY-MM-DD hh:mm:ss'
226 235
             });
236
+
227 237
             load();
238
+            
239
+            $('.ul_tab li').click(function () {
240
+                $(this).addClass("active").siblings().removeClass("active");
241
+                var index = $(this).index();
242
+                if (index === 0) {
243
+                    db = 0;
244
+                } else if (index === 1) {
245
+                    db = 1
246
+                }
247
+                load();
248
+            })
228 249
         });
229 250
         //关闭录音弹出
230 251
         $(".gbly").click(function () {
@@ -310,6 +331,7 @@
310 331
                         issms: $("#issms").val(), //发送短信
311 332
                         jianhang: 0,
312 333
                         phoneType: 2, // 12345来电
334
+                        db: db, // 热线件(db=0),督办件(db=1)
313 335
                         token: $.cookie("token"),
314 336
                     };
315 337
                     return param;

+ 27 - 3
WebUI/CallCenterWeb.UI/CommonHtml/WorkDatil.html

@@ -697,19 +697,24 @@
697 697
             </div>
698 698
             <!--办理过程-->
699 699
             <div class="complain  DCL " id="BLGC">
700
+                <!--startprint1-->
700 701
                 <div style="width: 100%;padding: 10px;">
701 702
                     <table class="Table" border="" cellspacing="0" cellpadding="0">
702 703
                         <theard>
703 704
                             <tr>
704 705
                                 <td class="text-center" style="min-width:50px;">序号</td>
705
-                                <td class="text-center" data-align="left" style="min-width:100px;">事项</td>
706
-                                <td class="text-center" style="min-width:100px;">操作时间</td>
706
+                                <td class="text-center" data-align="left" style="min-width: 100px;">事项</td>
707
+                                <td class="text-center" style="min-width: 200px;">操作时间</td>
707 708
                             </tr>
708 709
                         </theard>
709 710
                         <tbody id="BLGC_">
710 711
                         </tbody>
711 712
                     </table>
712 713
                 </div>
714
+                <!--endprint1-->
715
+                <div class="clearfix wh_btn" style="width:100%;text-align:center;margin:10px 0;">
716
+                    <input type="button" value="打印" class="processPrinting" />
717
+                </div>
713 718
             </div>
714 719
             <!--市民评议-->
715 720
             <div class="complain DCL" id="">
@@ -764,7 +769,6 @@
764 769
                     });
765 770
                     //window.location.href = "PrintPreview-1.html?wid=" + wid;
766 771
                 })
767
-
768 772
                 //关闭
769 773
                 $(".closexq").click(function () {
770 774
                     var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
@@ -2137,6 +2141,26 @@
2137 2141
                 shade: 0
2138 2142
             });
2139 2143
         }
2144
+
2145
+        $(".processPrinting").click(function() {
2146
+            var oper = 1
2147
+            if (oper < 5) {
2148
+                bdhtml = window.document.body.innerHTML; //获取当前页的html代码
2149
+                sprnstr = "<!--startprint" + oper + "-->"; //设置打印开始区域
2150
+                eprnstr = "<!--endprint" + oper + "-->"; //设置打印结束区域
2151
+                prnhtml = bdhtml.substring(bdhtml.indexOf(sprnstr) + 18); //从开始代码向后取html
2152
+                print.portrait = true; //纵向打印
2153
+                prnhtml = prnhtml.substring(0, prnhtml.indexOf(eprnstr)); //从结束代码向前取html
2154
+                window.document.body.innerHTML = prnhtml;
2155
+                window.print();
2156
+                window.document.body.innerHTML = bdhtml;
2157
+                //					parent.parent.layer.closeAll();
2158
+                //					parent.parent.$('#orderlist').bootstrapTable('refresh');
2159
+                //					parent.parent.layer.msg("操作成功!");
2160
+            } else {
2161
+                window.print();
2162
+            }
2163
+        })
2140 2164
     </script>
2141 2165
 </body>
2142 2166
 

+ 68 - 0
WebUI/CallCenterWeb.UI/CommonHtml/superviseReview.html

@@ -0,0 +1,68 @@
1
+<!DOCTYPE html>
2
+<html>
3
+
4
+<head>
5
+    <meta charset="UTF-8">
6
+    <script src="../Script/Common/huayi.load.js"></script>
7
+    <script src="../Script/Common/huayi.config.js"></script>
8
+    <link href="../css/layer/need/layer.css" />
9
+    <link rel="stylesheet" href="../css/init.css" />
10
+    <title>督办</title>
11
+</head>
12
+
13
+<body>
14
+    <div class="Common">
15
+        <table>
16
+            <tr>
17
+                <th>审核状态:</th>
18
+                <td>
19
+                    <select class="select_" id="review">
20
+                        <option value="0" selected>审核通过</option>
21
+                        <option value="1">审核拒绝</option>
22
+                    </select>
23
+                </td>
24
+            </tr>
25
+            <tr>
26
+                <th class="Importent">审核意见:</th>
27
+                <td colspan="7"><textarea data-adaptheight id="reason" name="" rows="4" cols=""></textarea></td>
28
+            </tr>
29
+        </table>
30
+        <div class="btn_box">
31
+            <button class="btns BC">保存</button>
32
+        </div>
33
+    </div>
34
+    <script src="../js/adjustHeight.js"></script>
35
+    <script>
36
+        var wid = helper.request.queryString("wid");
37
+        var depId = helper.request.queryString("depId");
38
+        $(document).ready(function () {
39
+            $('.BC').click(function () {
40
+                if (!$("#review").val()) {
41
+                    layer.msg("审核状态不能为空");
42
+                } else {
43
+                    JA();
44
+                }
45
+            })
46
+
47
+        });
48
+        //督办
49
+        function JA() {
50
+            $.post(huayi.config.callcenter_url + 'workorder/RemindApproved', {
51
+                workorderid: wid,
52
+                state: $("#review").val(), // 审核状态
53
+                reason: $("#reason").val(), // 审核意见
54
+                token: $.cookie("token")
55
+            }, function (result) {
56
+                result = JSON.parse(result);
57
+                if (result.state.toLowerCase() == "success") {
58
+                    var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
59
+                    parent.layer.close(index); //再执行关闭
60
+                    parent.$('#orderlist').bootstrapTable('refresh');
61
+                    parent.layer.msg("操作成功");
62
+                }
63
+            })
64
+        }
65
+    </script>
66
+</body>
67
+
68
+</html>

+ 21 - 0
WebUI/CallCenterWeb.UI/MultimediaWorkOrder/haveAduitMedia.html

@@ -132,6 +132,14 @@
132 132
                     </div>
133 133
                 </div>
134 134
                 <div>
135
+                    <ul class="nav nav-tabs ul_tab" role="tablist">
136
+                        <li class="active">
137
+                            <a>热线件</a>
138
+                        </li>
139
+                        <li>
140
+                            <a>督办件</a>
141
+                        </li>
142
+                    </ul>
135 143
                     <div style="width: 100%; padding: 10px">
136 144
                         <table id="orderlist" data-row-style="rowStyle" data-query-params="queryParams"
137 145
                             data-pagination="true">
@@ -207,6 +215,7 @@
207 215
     <script src="../js/WorkOrder/WorkOrderList.js"></script>
208 216
 
209 217
     <script>
218
+        var db = 0;
210 219
         $(document).ready(function () {
211 220
             var wid = helper.request.queryString("wid");
212 221
             if (wid) {
@@ -229,6 +238,17 @@
229 238
             });
230 239
 
231 240
             load();
241
+
242
+            $('.ul_tab li').click(function () {
243
+                $(this).addClass("active").siblings().removeClass("active");
244
+                var index = $(this).index();
245
+                if (index === 0) {
246
+                    db = 0;
247
+                } else if (index === 1) {
248
+                    db = 1
249
+                }
250
+                load();
251
+            })
232 252
         });
233 253
         //关闭录音弹出
234 254
         $(".gbly").click(function () {
@@ -313,6 +333,7 @@
313 333
                         sourcearea: $("#sourceAreas").val(), //区域
314 334
                         issms: $("#issms").val(), //发送短信
315 335
                         jianhang: 1, // 多媒体
336
+                        db: db, // 热线件(db=0),督办件(db=1)
316 337
                         token: $.cookie("token"),
317 338
                     };
318 339
                     return param;

+ 195 - 0
WebUI/CallCenterWeb.UI/PerformanceEvaluation/addOrEditPerformanceBonus.html

@@ -0,0 +1,195 @@
1
+<!DOCTYPE html>
2
+<html>
3
+
4
+<head>
5
+    <meta charset="UTF-8">
6
+    <script src="../Script/Common/huayi.load.js"></script>
7
+    <script src="../Script/Common/huayi.config.js"></script>
8
+    <link rel="stylesheet" href="../css/init.css" />
9
+    <link rel="stylesheet" href="../js/layui/css/layui.css">
10
+    <link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
11
+    <title>新版知识库添加</title>
12
+    <style type="text/css">
13
+        .Common {
14
+            width: 100%;
15
+            height: 100%;
16
+        }
17
+
18
+        .Common table {
19
+            width: 100%;
20
+        }
21
+
22
+        .inpBox {
23
+            border: 1px solid #cccccc;
24
+            height: 34px;
25
+            width: 100%;
26
+            display: inline-block;
27
+            position: relative;
28
+            vertical-align: middle;
29
+            z-index: 111;
30
+        }
31
+
32
+        .addTree {
33
+            background: #fff;
34
+            position: absolute;
35
+            width: 100%;
36
+            border: 1px solid darkgrey;
37
+            right: 0;
38
+            top: 32px;
39
+            display: none;
40
+            z-index: 222;
41
+        }
42
+
43
+        .xl {
44
+            display: inline-block;
45
+            background: url(../../img/dropDown.png) no-repeat;
46
+            height: 100%;
47
+            background-position: center center;
48
+            width: 20px;
49
+            position: absolute;
50
+            right: 0;
51
+            top: 0px;
52
+            cursor: pointer;
53
+        }
54
+
55
+        .ztree li span {
56
+            border: none;
57
+            padding: 0;
58
+        }
59
+
60
+        .inps {
61
+            width: 80%;
62
+            height: 32px;
63
+            outline: none;
64
+            border: 0;
65
+            border-image-width: 0;
66
+            padding: 0;
67
+            padding-left: 3px;
68
+        }
69
+
70
+        .xl {
71
+            display: inline-block;
72
+            background: url(../img/dropDown.png) no-repeat;
73
+            height: 100%;
74
+            background-position: center center;
75
+            width: 20px;
76
+            position: absolute;
77
+            right: 0;
78
+            top: 0px;
79
+            /* background-color: #f7bc8b; */
80
+            cursor: pointer;
81
+        }
82
+
83
+        .Cleans {
84
+            display: inline-block;
85
+            width: 20px;
86
+            position: absolute;
87
+            right: 21px;
88
+            top: 9px;
89
+            display: none;
90
+        }
91
+
92
+        .selDpart1 {
93
+            position: absolute;
94
+            left: 15px;
95
+            top: 34px;
96
+            z-index: 11111;
97
+            width: 220px;
98
+            line-height: 30px;
99
+            background: #ffffff;
100
+            display: none;
101
+        }
102
+
103
+        #sponsor {
104
+            width: 218px;
105
+            border: 1px solid #00a1cb;
106
+            margin: 0;
107
+            padding: 0;
108
+            list-style: none;
109
+            max-height: 212px;
110
+            overflow-x: hidden;
111
+            overflow-y: scroll;
112
+        }
113
+
114
+        #sponsor li {
115
+            margin: 0;
116
+            padding-left: 10px;
117
+            width: 220px;
118
+            height: 30px;
119
+            line-height: 30px;
120
+            list-style: none;
121
+        }
122
+
123
+        #sponsor li:hover {
124
+            background: #00a1cb;
125
+        }
126
+    </style>
127
+</head>
128
+
129
+<body class="">
130
+    <div class="wrapper wrapper-content animated fadeInRight">
131
+        <form>
132
+            <div>
133
+                <div class="form-group clearfix">
134
+                    <span class="col-sm-1">
135
+                        工单编号:
136
+                    </span>
137
+                    <span class="col-sm-5">
138
+                        <input type="text" class="khmc form-control" id="cusname" />
139
+                    </span>
140
+                    <span class="col-sm-1 Import">
141
+                        部门:
142
+                    </span>
143
+                    <span class="col-sm-5" style="position: relative">
144
+                        <div class="inpBox">
145
+                            <input type="text" class="inps" onkeyup="darptSearch()" />
146
+                            <input type="hidden" id="PID">
147
+                            <i class="Cleans fa fa-close"></i>
148
+                            <i class="xl xl_one"></i>
149
+                            <div class="addTree xlAdd">
150
+                                <ul id="addTreeDemo" class="ztree"></ul>
151
+                            </div>
152
+                        </div>
153
+                        <div class="selDpart1">
154
+                            <ul id="sponsor"></ul>
155
+                        </div>
156
+                    </span>
157
+                </div>
158
+                <div class="form-group clearfix">
159
+                    <span class="col-sm-1">
160
+                        考评内容:
161
+                    </span>
162
+                    <span class="col-sm-2">
163
+                        <select name="" id="evaluation" class="form-control">
164
+                            <option value="">请选择</option>
165
+                        </select>
166
+                    </span>
167
+                    <span class="col-sm-3">
168
+                        <select name="" id="bonusitems" class="form-control">
169
+                            <option value="">请选择</option>
170
+                        </select>
171
+                    </span>
172
+                </div>
173
+                <div class="form-group clearfix">
174
+                    <span class="col-sm-1 Import">备注:</span>
175
+                    <span class="col-sm-11">
176
+                        <input id="remark" class="form-control" type="text" style=" padding: 5px; width: 100%;" />
177
+                    </span>
178
+                </div>
179
+                <div class="form-group clearfix">
180
+
181
+                </div>
182
+                <div class="form-group clearfix" style="text-align: center">
183
+                    <a class="btns addBtn">保存</a>
184
+                </div>
185
+            </div>
186
+        </form>
187
+    </div>
188
+    <script src="../js/layui/layui.js"></script>
189
+    <script src="../js/adjustHeight.js"></script>
190
+    <script src="../css/laydate/laydate.js"></script>
191
+    <script src="../js/zTree/jquery.ztree.core.js"></script>
192
+    <script src="js/addOrEditPerformanceBonus.js"></script>
193
+</body>
194
+
195
+</html>

+ 217 - 0
WebUI/CallCenterWeb.UI/PerformanceEvaluation/js/addOrEditPerformanceBonus.js

@@ -0,0 +1,217 @@
1
+var id = helper.request.queryString("id");
2
+$(document).ready(function () {
3
+    tree();
4
+    getReactionCategory();
5
+    $(".save").click(function () {
6
+        saveCon();
7
+    });
8
+
9
+    //保存
10
+    function saveCon() {
11
+        $.ajax({
12
+            type: "post",
13
+            url: huayi.config.callcenter_url + "Professor/AddModel",
14
+            async: true,
15
+            dataType: "json",
16
+            data: {
17
+                token: $.cookie("token"),
18
+                id: id, //知识库id
19
+                xingming: $("#name").val(), // 专家姓名
20
+                danwei: $("#unit").val(), // 专家单位
21
+                keshi: $("#department").val(), // 科室
22
+                zhiwu: $("#job").val(), // 职务
23
+                shouji: $("#phoneNumber").val(), // 手机号码
24
+                dianhua: $("#officePhone").val(), // 办公电话
25
+                // biaoshibianma: $("#identifyEncoding").val(), // 标识编码
26
+                diqu: $("#address").val(), // 地区
27
+                hangye: $("#industry").val(), // 行业
28
+                shengxiaoshijian: $("#effectiveTime").val(), // 生效时间
29
+                shixiaoshijian: $("#expirationTime").val(), // 失效时间
30
+                fabushijian: $("#publishTime").val(), // 发布时间
31
+                faburen: $("#publishPersonal").val(), // 发布人
32
+                fabudanwei: $("#publishUnit").val(), // 发布单位
33
+                touxiang: $("#file").val(),
34
+                zhuanyelingyujianjie: $("#introductionFieldExpertise").val(), // 发布领域简介
35
+            },
36
+            success: function (data) {
37
+                if (data.state.toLowerCase() == "success") {
38
+                    var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
39
+                    parent.layer.close(index); //再执行关闭
40
+                    parent.layer.msg(data.message); //再执行关闭
41
+                    parent.$("#tableList").bootstrapTable("refresh"); //再执行关闭
42
+                }
43
+            },
44
+        });
45
+    }
46
+    //获取知识库详情
47
+    if (id) {
48
+        $.ajax({
49
+            type: "get",
50
+            url: huayi.config.callcenter_url + "Professor/GetModel",
51
+            async: true,
52
+            dataType: "json",
53
+            data: {
54
+                token: $.cookie("token"),
55
+                id: id,
56
+            },
57
+            success: function (result) {
58
+                if (result.state.toLowerCase() == "success") {
59
+                    var data = result.data;
60
+                    $("#name").val(data.F_XingMing);
61
+                    $("#address").val(data.F_DiQu);
62
+                    $("#unit").val(data.F_DanWei);
63
+                    $("#industry").val(data.F_HangYe);
64
+                    $("#department").val(data.F_KeShi);
65
+                    $("#effectiveTime").val(data.F_ShengXiaoShiJian);
66
+                    $("#job").val(data.F_ZhiWu);
67
+                    $("#expirationTime").val(data.F_ShiXiaoShiJian);
68
+                    $("#phoneNumber").val(data.F_ShouJi);
69
+                    $("#publishTime").val(data.F_FaBuShiJian);
70
+                    $("#officePhone").val(data.F_DianHua);
71
+                    $("#publishPersonal").val(data.F_FaBuRen);
72
+                    // $("#identifyEncoding").val(data.F_BiaoShiBianMa);
73
+                    $("#publishUnit").val(data.F_FaBuDanWei);
74
+                    $("#introductionFieldExpertise").val(
75
+                        data.F_ZhuanYeLingYuJianJie
76
+                    );
77
+
78
+                    if (data.F_TouXiang) {
79
+                        avatarDisplay(data.F_TouXiang);
80
+                    }
81
+                }
82
+            },
83
+        });
84
+    }
85
+});
86
+
87
+$(".inps").focus(function () {
88
+    $(".xlAdd").css("display", "block");
89
+});
90
+$(".xl").click(function () {
91
+    if ($(".xlAdd").css("display") == "block") {
92
+        $(".xlAdd").css("display", "none");
93
+    } else {
94
+        $(".xlAdd").css("display", "block");
95
+    }
96
+});
97
+$(".addTree").mouseleave(function () {
98
+    $(this).css("display", "none");
99
+});
100
+//清除
101
+$(".Cleans ").click(function () {
102
+    $(".inps").val("");
103
+    $("#PID").val("");
104
+    $("#Dpment").val("");
105
+});
106
+
107
+function tree() {
108
+    $.get(
109
+        huayi.config.callcenter_url + "Department/GetDeptList",
110
+        {
111
+            token: $.cookie("token"),
112
+            //		"pid": pid
113
+        },
114
+        function (result) {
115
+            result = $.parseJSON(result);
116
+            $.fn.zTree.init($("#addTreeDemo"), setting1, result.data); //实例化树形图
117
+        }
118
+    );
119
+}
120
+var setting1 = {
121
+    data: {
122
+        key: {
123
+            name: "F_DeptName",
124
+        },
125
+        simpleData: {
126
+            enable: true,
127
+            idKey: "F_DeptId",
128
+            pIdKey: "F_PartentId",
129
+            rootPId: 0,
130
+        },
131
+    },
132
+    callback: {
133
+        onClick: zTreeOnClick,
134
+    },
135
+};
136
+
137
+function zTreeOnClick(event, treeId, treeNode) {
138
+    if (treeNode.level >= 1) {
139
+        $(".inps").val(treeNode.F_DeptName);
140
+        $("#PID").val(treeNode.F_DeptId);
141
+        $("#Dpment").val(treeNode.F_DeptId);
142
+        $(".Cleans").show();
143
+    }
144
+}
145
+
146
+function Close() {
147
+    $(".lyxz").removeClass("cx");
148
+    if ($("audio").length > 0) {
149
+        $("audio")[0].pause();
150
+    }
151
+}
152
+
153
+function darptSearch() {
154
+    $(".xlAdd").css("display", "none");
155
+    $(".selDpart1").css("display", "block");
156
+    depart();
157
+}
158
+$("#sponsor").on("click", "li", function () {
159
+    $(".selDpart1").css("display", "none");
160
+    $(".inps").val($(this).html());
161
+    $("#PID").val($(this).attr("index"));
162
+    $("#Dpment").val($(this).attr("index"));
163
+    $(".Cleans").show();
164
+});
165
+
166
+///部门
167
+function depart() {
168
+    $("#sponsor").empty();
169
+    $.getJSON(
170
+        huayi.config.callcenter_url + "Department/GetDeptListByDept",
171
+        {
172
+            token: $.cookie("token"),
173
+            dept: $(".inps").val(),
174
+        },
175
+        function (data) {
176
+            if (data.state.toLowerCase() == "success") {
177
+                var content = data.data;
178
+                $(content).each(function (i, n) {
179
+                    $(
180
+                        "<li index='" +
181
+                            n.F_DeptId +
182
+                            "'>" +
183
+                            n.F_DeptName +
184
+                            "</li>"
185
+                    ).appendTo("#sponsor");
186
+                });
187
+            }
188
+        }
189
+    );
190
+}
191
+
192
+//获取考评内容
193
+function getReactionCategory(pid = 2513, type=0) {
194
+    $.get(
195
+        huayi.config.callcenter_url + "Dictionary/GetZTreeNew",
196
+        {
197
+            token: $.cookie("token"),
198
+            pid: pid,
199
+        },
200
+        function (result) {
201
+            result = $.parseJSON(result);
202
+            var content = JSON.parse(result.data);
203
+            if (String(type) === "0") {
204
+                $("#evaluation").empty()
205
+                $("#evaluation").append("<option value=""></option>")
206
+            } else if (String(type) === "1") {
207
+
208
+            }
209
+        }
210
+    );
211
+}
212
+
213
+$("#evaluation").change(function() {
214
+    var pid = $("#evaluation").val();
215
+    var type = 1;
216
+    getReactionCategory(pid, type)
217
+})

+ 132 - 0
WebUI/CallCenterWeb.UI/PerformanceEvaluation/js/performanceBonus.js

@@ -0,0 +1,132 @@
1
+var table = $("#tableList");
2
+$(document).ready(function () {
3
+    initTable();
4
+    laydate.skin('blue');
5
+    laydate({
6
+        elem: '#starttime',
7
+        event: 'focus',
8
+        istime: true,
9
+        format: 'YYYY-MM-DD hh:mm:ss'
10
+    });
11
+    laydate({
12
+        elem: '#endtime',
13
+        event: 'focus',
14
+        istime: true,
15
+        format: 'YYYY-MM-DD hh:mm:ss'
16
+    });
17
+});
18
+
19
+function initTable(action, isPass) {
20
+    //先销毁表格
21
+    table.bootstrapTable("destroy");
22
+    //初始化表格,动态从服务器加载数据
23
+    table.bootstrapTable({
24
+        method: "get", //使用get请求到服务器获取数据
25
+        url: huayi.config.callcenter_url + "Achievements/GetList", //获取数据的Servlet地址
26
+        contentType: "application/x-www-form-urlencoded",
27
+        striped: true, //表格显示条纹
28
+        pagination: true, //启动分页
29
+        pageSize: 10, //每页显示的记录数
30
+        pageNumber: 1, //当前第几页
31
+        pageList: [10, 20, 50, 100], //记录数可选列表
32
+        search: false, //是否启用查询
33
+        showColumns: false, //显示下拉框勾选要显示的列
34
+        showRefresh: false, //显示刷新按钮
35
+        sidePagination: "server", //表示服务端请求
36
+        //设置为undefined可以获取pageNumber,pageSize,searchText,sortName,sortOrder
37
+        //设置为limit可以获取limit, offset, search, sort, order
38
+        queryParamsType: "undefined",
39
+        queryParams: function queryParams(params) {
40
+            //设置查询参数
41
+            var param = {
42
+                page: params.pageNumber,
43
+                pagesize: params.pageSize,
44
+                token: $.cookie("token"),
45
+                keyvalue: $("#keyvalue").val(),
46
+                key: $("#keyId").val(),
47
+                stime: $("#starttime").val(),
48
+                etime: $("#endtime").val(),
49
+            };
50
+            return param;
51
+        },
52
+        onLoadSuccess: function () {
53
+            //加载成功时执行
54
+            //layer.msg("加载成功");
55
+        },
56
+        onLoadError: function () {
57
+            //加载失败时执行
58
+            //layer.msg("加载数据失败", { time: 1500, icon: 2 });
59
+        },
60
+    });
61
+}
62
+
63
+function setCode(val, row, index) {
64
+    return index + 1;
65
+}
66
+
67
+function operation(val, row) {
68
+    return (
69
+        '<div class="tool_downs">' +
70
+        '<a href="javascript:;" class="aBtn" style="margin-left:0px;" authorize="yes"  id="HY_details_' +
71
+        row.F_Id +
72
+        '" onclick="detailBtn(\'' +
73
+        row.F_Id +
74
+        '\')" title="详情">详情</a>' +
75
+        '<a href="javascript:;" class="aBtn" authorize="yes" onclick="editBtn(' +
76
+        row.F_Id +
77
+        ')" title="编辑">编辑</a>' +
78
+        '<div class="tool_downs">' +
79
+        '<a href="javascript:;" class="aBtn" authorize="yes" onclick="deleteBtn(' +
80
+        row.F_Id +
81
+        ')" title="删除">删除</a>' +
82
+        "</div>"
83
+    );
84
+}
85
+
86
+$(".searchGo").click(function () {
87
+    initTable();
88
+});
89
+
90
+$(".addBtn").click(function () {
91
+    layer.open({
92
+        type: 2,
93
+        content: "./addOrEditPerformanceBonus.html", //iframe的url,no代表不显示滚动条
94
+        title: "添加",
95
+        area: ["70%", "60%"], //宽高
96
+    });
97
+});
98
+
99
+function editBtn(id) {
100
+    layer.open({
101
+        type: 2,
102
+        content: "./addOrEditPerformanceBonus.html?id=" + id, //iframe的url,no代表不显示滚动条
103
+        title: "编辑",
104
+        area: ["80%", "80%"], //宽高
105
+    });
106
+}
107
+
108
+function deleteBtn(id) {
109
+    layer.confirm('确定删除吗?', {
110
+        btn: ['是', '否'] //按钮
111
+    }, function () {
112
+        $.post(huayi.config.callcenter_url + "Achievements/DelDicValue", {
113
+            ids: id,
114
+            token: $.cookie("token")
115
+        }, function (result) {
116
+            result = JSON.parse(result);
117
+            if (result.state.toLowerCase() == "success") {
118
+                layer.msg("删除成功");
119
+                initTable()
120
+            }
121
+        })
122
+    });
123
+}
124
+
125
+function detailBtn(id) {
126
+    layer.open({
127
+        type: 2,
128
+        content: "./detaileZhiShiKuPoliciesRegulations.html?id=" + id, //iframe的url,no代表不显示滚动条
129
+        title: "政策法规",
130
+        area: ["80%", "80%"], //宽高
131
+    });
132
+}

+ 95 - 0
WebUI/CallCenterWeb.UI/PerformanceEvaluation/performanceBonus.html

@@ -0,0 +1,95 @@
1
+<!DOCTYPE html>
2
+<html>
3
+
4
+<head>
5
+    <meta charset="UTF-8">
6
+    <script src="../Script/Common/huayi.load.js"></script>
7
+    <script src="../Script/Common/huayi.config.js"></script>
8
+    <!--<link rel="stylesheet" href="../css/layer/need/layer.css" />-->
9
+    <link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
10
+    <link rel="stylesheet" href="../css/init.css" />
11
+    <link rel="stylesheet" href="../js/layui/css/layui.css">
12
+    <title>政策专家库</title>
13
+    <style>
14
+        .toolBar {
15
+            padding: 15px 0;
16
+            border-bottom: 1px solid #ccc;
17
+        }
18
+
19
+        .treeTable {
20
+            height: 400px;
21
+        }
22
+
23
+        .tool_downs{
24
+        	display: flex;
25
+        	justify-content: center;
26
+        }
27
+        .tool_downs span{
28
+        	display: block;
29
+        	width: 100%;
30
+        	height: 100%;
31
+        	text-align: center;
32
+        }
33
+        .tool_downs a{
34
+        	display: block;
35
+        	list-style: none;
36
+        	float: left;
37
+        	padding-left: 10px;
38
+        }
39
+    </style>
40
+</head>
41
+
42
+<body class="gray-bg">
43
+    <div class="container-fluid wrapper-content animated fadeInRight">
44
+        <div class="daoHang clearfix">
45
+            <div class="dhLeft">
46
+                <sapn><i class="syIcon"></i>位置:<a id="ReIndex">首页</a>&gt;<a href="javaScript:;">知识库</a>&gt;<a href=""
47
+                        class="nowPosition">政策专家库</a></sapn>
48
+            </div>
49
+            <div class="dhRight"><a href="" title="刷新"><i class="fa fa-refresh"></i></a></div>
50
+        </div>
51
+        <div class="toolBar clearfix">
52
+            <div class="toolRight">
53
+                <span>
54
+                    关键字:
55
+                    <input id="keyvalue" type="text" class="">
56
+                </span>
57
+                <span>
58
+                    开始时间
59
+                    <input id="starttime" type="text" class="">
60
+                </span>
61
+                <span>
62
+                    结束时间
63
+                    <input id="endtime" type="text" class="">
64
+                </span>
65
+                <button class="btns searchGo">搜索</button>
66
+                <button class="btns addBtn">添加</button>
67
+            </div>
68
+
69
+        </div>
70
+        <div class="treeTable clearfix">
71
+
72
+            <div class="tableCon col-md-12">
73
+                <table id="tableList" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
74
+                    <thead>
75
+                        <tr>
76
+                            <!-- <th data-checkbox="true" data-align="center"></th> -->
77
+                            <th data-align="center" data-formatter="setCode">编号</th>
78
+                            <th data-field="F_XingMing" data-align="center">专家姓名</th>
79
+                            <th data-field="F_ShouJi" data-align="center">手机号码</th>
80
+                            <th data-field="F_FaBuShiJian" data-align="center">发布时间</th>
81
+                            <th data-field="F_FaBuDanWei" data-align="center">发布单位</th>
82
+                            <th data-align="center" data-formatter="operation">操作</th>
83
+                        </tr>
84
+                    </thead>
85
+                    <tbody id="tbody"></tbody>
86
+                </table>
87
+            </div>
88
+        </div>
89
+    </div>
90
+    <script src="../css/layer/layer.js"></script>
91
+    <script src="../css/laydate/laydate.js"></script>
92
+    <script src="./js/performanceBonus.js"></script>
93
+</body>
94
+
95
+</html>

+ 2 - 0
WebUI/CallCenterWeb.UI/Script/Common/huayi.config.js

@@ -49,6 +49,8 @@ huayi.config = {
49 49
         "<a class='xg' onclick='returnRedoThreeLevel(\"data\")' title='退回'>退回</a>", //退回
50 50
         "<a class='xg' onclick='returnAuditor(\"data\")' title='退回'>退回</a>", //退回
51 51
         "<a class='xg' onclick='editProcessingResult(\"data\")' title='修改'>修改</a>", //修改
52
+        "<a class='xg' onclick='superviseCheck(\"data\")' title='查收'>查收</a>", //督办查收
53
+        "<a class='xg' onclick='superviseReview(\"data\")' title='审核'>审核</a>", //督办审核
52 54
     ],
53 55
     kapArr: [
54 56
         "<a class='xg' onclick='goDetail(\"data\",\"data_id\")' title='查看'>查看</a>",

+ 30 - 13
WebUI/CallCenterWeb.UI/SuperviseManagement/superviseFinished.html

@@ -86,7 +86,7 @@
86 86
                                 <td>
87 87
                                     <select name="" id="sourceAreas" class="form-control Min-width">
88 88
                                     </select>
89
-                                    <botton class="btns exportFile">导出</botton>
89
+                                    <!-- <botton class="btns exportFile">导出</botton> -->
90 90
                                 </td>
91 91
                             </tr>
92 92
                             <tr>
@@ -119,24 +119,25 @@
119 119
 
120 120
                 </div>
121 121
                 <div>
122
+                    <ul class="nav nav-tabs ul_tab" role="tablist">
123
+                        <li class="active">
124
+                            <a>督办待回访</a>
125
+                        </li>
126
+                        <li>
127
+                            <a>督办已完结</a>
128
+                        </li>
129
+                    </ul>
122 130
                     <div style="width: 100%;padding: 10px;">
123 131
                         <table id="orderlist" data-row-style="rowStyle" data-query-params="queryParams"
124 132
                             data-pagination="true">
125 133
                             <thead>
126 134
                                 <tr>
127
-                                    <!-- <th data-checkbox="true"></th> -->
128 135
                                     <th data-formatter="serialNumber" data-align="center">
129 136
                                         序号
130 137
                                     </th>
131 138
                                     <th data-field="F_WorkOrderId" data-formatter="View" data-align="center">工单单号</th>
132
-                                    <th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">诉求标题</th>
133
-                                    <th data-field="DeptName" data-align="center">承办单位</th>
134
-                                    <!-- <th data-field="OtherDeptName" data-align="center">协办单位</th> -->
135
-                                    <th data-field="UserName" data-align="center">受理人</th>
136
-                                    <th data-field="F_WorkState" data-align="center" data-formatter="States">办理状态</th>
137
-                                    <!--<th data-field="FilePath" data-formatter="setCode" data-align="center">录音</th>-->
138
-                                    <th data-field="OverState" data-formatter="OverTime" data-align="center">时限</th>
139
-                                    <th data-field="LimitTime" data-formatter="BanTime" data-align="center">办理时限</th>
139
+                                    <!-- <th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">诉求标题</th> -->
140
+                                    <th data-field="F_ComContent" data-formatter="GetCont" data-align="center">工单内容</th>
140 141
                                     <th data-field="F_WorkOrderId" data-formatter="Dispose" data-align="center">操作</th>
141 142
                                 </tr>
142 143
                             </thead>
@@ -172,6 +173,9 @@
172 173
     <script src="../js/WorkOrder/WorkOrderList.js"></script>
173 174
     <script>
174 175
         var wid = helper.request.queryString("states");
176
+        var isExamine = 1;
177
+        var tab = 6;
178
+
175 179
         if (wid) {
176 180
             $("#state").val(wid);
177 181
         }
@@ -186,6 +190,18 @@
186 190
                 elem: '#endtime',
187 191
                 event: 'focus'
188 192
             });
193
+            $('.ul_tab li').click(function () {
194
+                $(this).addClass("active").siblings().removeClass("active");
195
+                var index = $(this).index();
196
+                if (index === 0) {
197
+                    tab = 6;
198
+                    isExamine = 1;
199
+                } else if (index === 1) {
200
+                    tab = 4;
201
+                    isExamine = "";
202
+                }
203
+                load();
204
+            })
189 205
         });
190 206
         //关闭录音弹出
191 207
         $(".gbly").click(function () {
@@ -262,8 +278,9 @@
262 278
                         endtime: $("#endtime").val(), //=结束时间
263 279
                         deptid: $("#PID").val(),
264 280
                         type: $("#type").val(),
265
-                        tab: 4, // 已完结
281
+                        tab: tab, // 已完结
266 282
                         sourcearea: $('#sourceAreas').val(), //区域
283
+                        isExamine: isExamine,
267 284
                         token: $.cookie("token")
268 285
                     };
269 286
                     return param;
@@ -363,9 +380,9 @@
363 380
         function GetCont(val) {
364 381
             if (val) {
365 382
                 var str = '<div '
366
-                if (val.length > 10) {
383
+                if (val.length > 20) {
367 384
                     str = str + ' title="' + val + '" ';
368
-                    val = val.substr(0, 10) + "...";
385
+                    val = val.substr(0, 20) + "...";
369 386
                 }
370 387
                 return str + '>' + val + '</div>';
371 388
             } else {

+ 8 - 15
WebUI/CallCenterWeb.UI/SuperviseManagement/superviseOverdue.html

@@ -86,7 +86,7 @@
86 86
                                 <td>
87 87
                                     <select name="" id="sourceAreas" class="form-control Min-width">
88 88
                                     </select>
89
-                                    <botton class="btns exportFile">导出</botton>
89
+                                    <!-- <botton class="btns exportFile">导出</botton> -->
90 90
                                 </td>
91 91
                             </tr>
92 92
                             <tr>
@@ -124,19 +124,12 @@
124 124
                             data-pagination="true">
125 125
                             <thead>
126 126
                                 <tr>
127
-                                    <!-- <th data-checkbox="true"></th> -->
128 127
                                     <th data-formatter="serialNumber" data-align="center">
129 128
                                         序号
130 129
                                     </th>
131 130
                                     <th data-field="F_WorkOrderId" data-formatter="View" data-align="center">工单单号</th>
132
-                                    <th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">诉求标题</th>
133
-                                    <th data-field="DeptName" data-align="center">承办单位</th>
134
-                                    <!-- <th data-field="OtherDeptName" data-align="center">协办单位</th> -->
135
-                                    <th data-field="UserName" data-align="center">受理人</th>
136
-                                    <th data-field="F_WorkState" data-align="center" data-formatter="States">办理状态</th>
137
-                                    <!--<th data-field="FilePath" data-formatter="setCode" data-align="center">录音</th>-->
138
-                                    <th data-field="OverState" data-formatter="OverTime" data-align="center">时限</th>
139
-                                    <th data-field="LimitTime" data-formatter="BanTime" data-align="center">办理时限</th>
131
+                                    <!-- <th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">诉求标题</th> -->
132
+                                    <th data-field="F_ComContent" data-formatter="GetCont" data-align="center">工单内容</th>
140 133
                                     <th data-field="F_WorkOrderId" data-formatter="Dispose" data-align="center">操作</th>
141 134
                                 </tr>
142 135
                             </thead>
@@ -364,9 +357,9 @@
364 357
         function GetCont(val) {
365 358
             if (val) {
366 359
                 var str = '<div '
367
-                if (val.length > 10) {
360
+                if (val.length > 20) {
368 361
                     str = str + ' title="' + val + '" ';
369
-                    val = val.substr(0, 10) + "...";
362
+                    val = val.substr(0, 20) + "...";
370 363
                 }
371 364
                 return str + '>' + val + '</div>';
372 365
             } else {
@@ -379,9 +372,9 @@
379 372
             //          alert(row.F_WorkOrderId);
380 373
             var WorkOrderId = row.F_WorkOrderId;
381 374
             var html = '';
382
-            if (row.F_WorkState == '1') {
383
-                html += '<a class="xg" onclick="redeploy(' + WorkOrderId + ')">转派&nbsp</a>';
384
-            }
375
+            // if (row.F_WorkState == '1') {
376
+            //     html += '<a class="xg" onclick="redeploy(' + WorkOrderId + ')">转派&nbsp</a>';
377
+            // }
385 378
             for (var i = 0; i < Rows.length; i++) {
386 379
 
387 380
                 var html1 = huayi.config.arr[Rows[i].key * 1 - 1];

+ 26 - 13
WebUI/CallCenterWeb.UI/SuperviseManagement/superviseProcessing.html

@@ -86,7 +86,7 @@
86 86
                                 <td>
87 87
                                     <select name="" id="sourceAreas" class="form-control Min-width">
88 88
                                     </select>
89
-                                    <botton class="btns exportFile">导出</botton>
89
+                                    <!-- <botton class="btns exportFile">导出</botton> -->
90 90
                                 </td>
91 91
                             </tr>
92 92
                             <tr>
@@ -119,24 +119,25 @@
119 119
 
120 120
                 </div>
121 121
                 <div>
122
+                    <ul class="nav nav-tabs ul_tab" role="tablist">
123
+                        <li class="active">
124
+                            <a>督办待办理</a>
125
+                        </li>
126
+                        <li>
127
+                            <a>督办已办理</a>
128
+                        </li>
129
+                    </ul>
122 130
                     <div style="width: 100%;padding: 10px;">
123 131
                         <table id="orderlist" data-row-style="rowStyle" data-query-params="queryParams"
124 132
                             data-pagination="true">
125 133
                             <thead>
126 134
                                 <tr>
127
-                                    <!-- <th data-checkbox="true"></th> -->
128 135
                                     <th data-formatter="serialNumber" data-align="center">
129 136
                                         序号
130 137
                                     </th>
131 138
                                     <th data-field="F_WorkOrderId" data-formatter="View" data-align="center">工单单号</th>
132
-                                    <th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">诉求标题</th>
133
-                                    <th data-field="DeptName" data-align="center">承办单位</th>
134
-                                    <!-- <th data-field="OtherDeptName" data-align="center">协办单位</th> -->
135
-                                    <th data-field="UserName" data-align="center">受理人</th>
136
-                                    <th data-field="F_WorkState" data-align="center" data-formatter="States">办理状态</th>
137
-                                    <!--<th data-field="FilePath" data-formatter="setCode" data-align="center">录音</th>-->
138
-                                    <th data-field="OverState" data-formatter="OverTime" data-align="center">时限</th>
139
-                                    <th data-field="LimitTime" data-formatter="BanTime" data-align="center">办理时限</th>
139
+                                    <!-- <th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">诉求标题</th> -->
140
+                                    <th data-field="F_ComContent" data-formatter="GetCont" data-align="center">工单内容</th>
140 141
                                     <th data-field="F_WorkOrderId" data-formatter="Dispose" data-align="center">操作</th>
141 142
                                 </tr>
142 143
                             </thead>
@@ -174,6 +175,7 @@
174 175
     <script>
175 176
         var wid = helper.request.queryString("states");
176 177
         var roleCode = $.cookie("code");
178
+        var Supervisor = 1;
177 179
         if (wid) {
178 180
             $("#state").val(wid);
179 181
         }
@@ -188,6 +190,16 @@
188 190
                 elem: '#endtime',
189 191
                 event: 'focus'
190 192
             });
193
+            $('.ul_tab li').click(function () {
194
+                $(this).addClass("active").siblings().removeClass("active");
195
+                var index = $(this).index();
196
+                if (index === 0) {
197
+                    Supervisor = 1;
198
+                } else if (index === 1) {
199
+                    Supervisor = "";
200
+                }
201
+                load();
202
+            })
191 203
         });
192 204
         //关闭录音弹出
193 205
         $(".gbly").click(function () {
@@ -266,6 +278,7 @@
266 278
                         type: $("#type").val(),
267 279
                         tab: 1, //办理中
268 280
                         sourcearea: $('#sourceAreas').val(), //区域
281
+                        Supervisor: Supervisor,
269 282
                         token: $.cookie("token")
270 283
                     };
271 284
                     return param;
@@ -365,9 +378,9 @@
365 378
         function GetCont(val) {
366 379
             if (val) {
367 380
                 var str = '<div '
368
-                if (val.length > 10) {
381
+                if (val.length > 20) {
369 382
                     str = str + ' title="' + val + '" ';
370
-                    val = val.substr(0, 10) + "...";
383
+                    val = val.substr(0, 20) + "...";
371 384
                 }
372 385
                 return str + '>' + val + '</div>';
373 386
             } else {
@@ -390,7 +403,7 @@
390 403
                 html += html1;
391 404
 
392 405
             }
393
-            if (roleCode !== "WLDW") {
406
+            if (roleCode !== "WLDW" && Supervisor !== 1) {
394 407
                 html += '<a class="xg sendMsg" onclick="sendMsg(\'' + row.F_WorkOrderId + '\')" title="催办">催办</a>';
395 408
             }
396 409
             return html;

+ 800 - 0
WebUI/CallCenterWeb.UI/SuperviseManagement/superviseReplyPendingReview.html

@@ -0,0 +1,800 @@
1
+<!DOCTYPE html>
2
+<html>
3
+
4
+<head>
5
+    <meta charset="UTF-8">
6
+    <title>督办待审核回复</title>
7
+    <script src="../Script/Common/huayi.load.js"></script>
8
+    <script src="../Script/Common/huayi.config.js"></script>
9
+    <link rel="stylesheet" href="../css/bootstrap-select.css">
10
+    <link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
11
+    <link rel="stylesheet" href="../css/init.css" />
12
+    <link rel="stylesheet" href="../js/layui/css/layui.css">
13
+    <link rel="stylesheet" href="../css/WorkOrder/WorkOrderList.css">
14
+</head>
15
+
16
+<body class="gray-bg">
17
+    <div class="wrapper wrapper-content animated fadeInRight">
18
+        <div class="daoHang clearfix">
19
+            <div class="dhLeft">
20
+                <sapn>
21
+                    <i class="syIcon"></i>位置:
22
+                    <a href="javaScript:;" id="ReIndex">首页</a>&gt;
23
+                    <a href="javaScript:;">督办管理</a>&gt;
24
+                    <a href="" class="nowPosition">督办待审核回复</a>
25
+                </sapn>
26
+            </div>
27
+            <div class="dhRight">
28
+                <a href="" title="刷新"><i class="fa fa-refresh"></i></a>
29
+            </div>
30
+        </div>
31
+        <div style="padding: 10px;" class="tj_content clearFix">
32
+            <div style="padding: 10px;" class="tj_content clearFix">
33
+                <div>
34
+                    <span>【搜索信息】</span>
35
+                    <div class="box_content">
36
+                        <table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
37
+                            <tr>
38
+                                <th>工单来源:</th>
39
+                                <td>
40
+                                    <select class="form-control" id="source">
41
+                                    </select>
42
+                                </td>
43
+                                <th>来电号码:</th>
44
+                                <td>
45
+                                    <input type="text" id="tel" class="form-control" />
46
+                                </td>
47
+                                <th>来电时间:</th>
48
+                                <td colspan="3">
49
+                                    <input type="text" id="starttime" class="photo x-color laydate-icon"
50
+                                        autocomplete="off" style="height: 35px;" />&nbsp;——&nbsp;<input type="text"
51
+                                        id="endtime" class="photo x-color laydate-icon" autocomplete="off"
52
+                                        style="height: 35px;" />
53
+                                </td>
54
+                            </tr>
55
+                            <tr>
56
+                                <th>事项编号:</th>
57
+                                <td>
58
+                                    <input type="text" placeholder="输入工单号" id="wids" class="form-control" />
59
+                                </td>
60
+                                <th><span class="nameJustified">来电人:</span></th>
61
+                                <td>
62
+                                    <input type="text" id="name" class="form-control" />
63
+                                </td>
64
+                                <th><span class="nameJustified">关键字:</span></th>
65
+                                <td>
66
+                                    <input type="text" placeholder="输入关键字" id="key" class="form-control Min-width" />
67
+                                    <botton class="btns Seach">搜索</botton>
68
+                                </td>
69
+                            </tr>
70
+                            <tr>
71
+                                <th>受话坐席:</th>
72
+                                <td>
73
+                                    <select id="ZX" name="select" class="selectpicker show-tick form-control" multiple
74
+                                        data-live-search="true">
75
+                                        <option value="">请选择坐席</option>
76
+                                    </select>
77
+                                </td>
78
+                                <th><span class="nameJustified">审核员:</span></th>
79
+                                <td>
80
+                                    <select id="yardman" name="select" class="selectpicker show-tick form-control"
81
+                                        multiple data-live-search="true">
82
+                                        <option value="">请选择调度员</option>
83
+                                    </select>
84
+                                </td>
85
+                                <th>反映区域:</th>
86
+                                <td>
87
+                                    <select name="" id="sourceAreas" class="form-control Min-width">
88
+                                    </select>
89
+                                    <!-- <botton class="btns exportFile">导出</botton> -->
90
+                                </td>
91
+                            </tr>
92
+                            <tr>
93
+                                <th>承办单位:</th>
94
+                                <td style="position: relative;">
95
+                                    <div class="inpBox">
96
+                                        <input type="text" class="inps" onkeyup="darptSearch()" />
97
+                                        <i class="Cleans  fa fa-close"></i>
98
+                                        <i class="xl xl_one"></i>
99
+                                        <div class="addTree xlAdd">
100
+                                            <ul id="addTreeDemo" class="ztree"></ul>
101
+                                        </div>
102
+                                    </div>
103
+                                    <div class="selDpart1">
104
+                                        <ul id="sponsor">
105
+                                        </ul>
106
+                                    </div>
107
+                                </td>
108
+                                <th>来电类型:</th>
109
+                                <td>
110
+                                    <select class="form-control" id="type">
111
+                                    </select>
112
+                                </td>
113
+                                <th></th>
114
+                                <td style="text-align: center;">
115
+                                </td>
116
+                            </tr>
117
+                        </table>
118
+                    </div>
119
+
120
+                </div>
121
+                <div>
122
+                    <div style="width: 100%;padding: 10px;">
123
+                        <table id="orderlist" data-row-style="rowStyle" data-query-params="queryParams"
124
+                            data-pagination="true">
125
+                            <thead>
126
+                                <tr>
127
+                                    <th data-formatter="serialNumber" data-align="center">
128
+                                        序号
129
+                                    </th>
130
+                                    <th data-field="F_WorkOrderId" data-formatter="View" data-align="center">工单单号</th>
131
+                                    <!-- <th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">诉求标题</th> -->
132
+                                    <th data-field="F_ComContent" data-formatter="GetCont" data-align="center">工单内容</th>
133
+                                    <th data-field="F_WorkOrderId" data-formatter="Dispose" data-align="center">操作</th>
134
+                                </tr>
135
+                            </thead>
136
+                            <tbody class="list"></tbody>
137
+                        </table>
138
+                    </div>
139
+                </div>
140
+            </div>
141
+        </div>
142
+
143
+        <!--下载框-->
144
+        <div class="t-shade lyxz">
145
+            <div class="shade_k">
146
+                <div class="shade_title">
147
+                    <span>录音播放与下载<srong class="cknum"></srong></span>
148
+                    <span class="setwin gbly"><a>x</a></span>
149
+                </div>
150
+                <div class="shade_content">
151
+                    <div class="Ly_box audiojs">
152
+                    </div>
153
+                </div>
154
+            </div>
155
+        </div>
156
+        <input type="hidden" id="PID" />
157
+        <input type="hidden" id="Dpment" />
158
+    </div>
159
+    <script src="../js/layui/layui.js"></script>
160
+    <script src="../js/bootstrap-select.js"></script>
161
+    <script src="../css/laydate/laydate.js"></script>
162
+    <script src="../My97DatePicker/WdatePicker.js"></script>
163
+    <script src="../js/zTree/jquery.ztree.core.js"></script>
164
+    <script src="../js/search/screen.js"></script>
165
+    <script src="../js/WorkOrder/WorkOrderList.js"></script>
166
+    <script>
167
+        var wid = helper.request.queryString("states");
168
+        if (wid) {
169
+            $("#state").val(wid);
170
+        }
171
+        $(document).ready(function () {
172
+            load();
173
+            laydate.skin('blue');
174
+            laydate({
175
+                elem: '#starttime',
176
+                event: 'focus'
177
+            });
178
+            laydate({
179
+                elem: '#endtime',
180
+                event: 'focus'
181
+            });
182
+        });
183
+        //关闭录音弹出
184
+        $(".gbly").click(function () {
185
+            $(".lyxz").removeClass("cx");
186
+            $('audio')[0].pause();
187
+        });
188
+        $("#orderlist").on("click-row.bs.table", function (e, row, ele) {
189
+            $('.success').removeClass('success'); //去除之前选中的行的,选中样式
190
+            $(ele).addClass('success'); //添加当前选中的 success样式用于区别
191
+        });
192
+
193
+        //获取查询信息
194
+        function load() {
195
+            //坐席
196
+            var usercodeID = "";
197
+            var usercode_ = $("#ZX").val(); //坐席
198
+            if (usercode_ != null) {
199
+                $(usercode_).each(function (i, n) {
200
+                    var obj1 = '';
201
+                    obj1 = n + ",";
202
+                    usercodeID += obj1;
203
+                })
204
+            } else {
205
+                usercodeID = ""
206
+            }
207
+            //      	调度员
208
+            var ddusercodeID = "";
209
+            var ddusercode_ = $("#yardman").val(); //坐席
210
+            if (ddusercode_ != null) {
211
+                $(ddusercode_).each(function (i, n) {
212
+                    var obj2 = '';
213
+                    obj2 = n + ",";
214
+                    ddusercodeID += obj2;
215
+                })
216
+            } else {
217
+                ddusercodeID = ""
218
+            }
219
+            //先销毁表格
220
+            $('#orderlist').bootstrapTable('destroy');
221
+            //初始化表格,动态从服务器加载数据
222
+            $("#orderlist").bootstrapTable({
223
+                method: "get", //使用get请求到服务器获取数据
224
+                url: huayi.config.callcenter_url + "workorder/GetSupervList", //获取数据的Servlet地址
225
+                contentType: "application/x-www-form-urlencoded",
226
+                striped: true, //表格显示条纹
227
+                pagination: true, //启动分页
228
+                pageSize: 10, //每页显示的记录数
229
+                pageNumber: 1, //当前第几页
230
+                pageList: [10, 20, 50, 100], //记录数可选列表
231
+                search: false, //是否启用查询
232
+                showColumns: false, //显示下拉框勾选要显示的列
233
+                showRefresh: false, //显示刷新按钮
234
+                sidePagination: "server", //表示服务端请求
235
+                //设置为undefined可以获取pageNumber,pageSize,searchText,sortName,sortOrder
236
+                //设置为limit可以获取limit, offset, search, sort, order
237
+                queryParamsType: "undefined",
238
+                queryParams: function queryParams(params) { //设置查询参数
239
+                    var param = {
240
+                        page: params.pageNumber,
241
+                        pagesize: params.pageSize,
242
+                        workid: $("#wids").val(),
243
+                        state: $("#state").val(), //=工单状态
244
+                        type: $("#type").val(), //=工单类型
245
+                        bigtype: $("#bigtype").val(), //=大类别
246
+                        smalltype: $("#smalltype").val(), //=小类别
247
+                        key: $("#key").val(), //=关键字
248
+                        tel: $("#tel").val(), //=客户电话
249
+                        name: $("#name").val(), //=客户名称
250
+                        usercode: usercodeID, //=坐席工号
251
+                        ddusercode: ddusercodeID,
252
+                        keyid: $("#keyid").val(), //=关键词id
253
+                        source: $("#source").val(), //=来源&
254
+                        starttime: $("#starttime").val(), //=开始时间
255
+                        endtime: $("#endtime").val(), //=结束时间
256
+                        deptid: $("#PID").val(),
257
+                        type: $("#type").val(),
258
+                        tab: 6, //已退回
259
+                        sourcearea: $('#sourceAreas').val(), //区域
260
+                        isExamine: 2,
261
+                        token: $.cookie("token")
262
+                    };
263
+                    return param;
264
+                },
265
+                onLoadSuccess: function (data) { //加载成功时执行
266
+                    //						layer.msg("加载成功");
267
+                    //console.log(data);
268
+                },
269
+                onLoadError: function () { //加载失败时执行
270
+                    //layer.msg("加载数据失败", { time: 1500, icon: 2 });
271
+                }
272
+            });
273
+        }
274
+        //状态
275
+        function States(val, row) {
276
+            var html = '';
277
+            switch (val + '') {
278
+                case '0':
279
+                    html = '新工单';
280
+                    if (row.F_IsReturn == 1) {
281
+                        html = '新工单(回退)';
282
+                    }
283
+                    break;
284
+                case '1':
285
+                    html = '待交办';
286
+                    break;
287
+                case '2':
288
+                    html = '待查收';
289
+                    break;
290
+                case '3':
291
+                    html = '退回审核中';
292
+                    break;
293
+                case '4':
294
+                    html = '办理中';
295
+                    break;
296
+                case '5':
297
+                    html = '延时审核';
298
+                    break;
299
+                case '6':
300
+                    html = '已办理';
301
+                    break;
302
+                case '7':
303
+                    html = '已回访';
304
+                    break;
305
+                case '8':
306
+                    html = '重办中';
307
+                    break;
308
+                case '9':
309
+                    html = '已结案';
310
+                    break;
311
+            }
312
+            return html;
313
+
314
+        }
315
+        //时限
316
+        function OverTime(val, row) {
317
+            if (val == 1) {
318
+                return '<div class="" style="cursor: pointer;">' +
319
+                    '<span class="Greens">' + row.GapTime + '</span>' +
320
+                    '</div>';
321
+            } else if (val == 2) {
322
+                return '<div class="" style="cursor: pointer;">' +
323
+                    '<span class="Yellows">' + row.GapTime + '</span>' +
324
+                    '</div>';
325
+            } else if (val == 3) {
326
+                return '<div class="" style="cursor: pointer;">' +
327
+                    '<span class="Reds">' + row.GapTime + '</span>' +
328
+                    '</div>';
329
+            }
330
+        }
331
+        //办理时限
332
+        function BanTime(val) {
333
+            if (val) {
334
+                var time = val.substring(0, val.indexOf(' '));
335
+                return '<div class="" style="cursor: pointer;">' +
336
+                    '<span>' + time + '</span>' +
337
+                    '</div>';
338
+            }
339
+
340
+        }
341
+        //音频
342
+        function setCode(val) {
343
+            if (val) {
344
+                return '<div class="imgs" style="cursor: pointer;">' +
345
+                    '<img src="../img/vice.png" alt="" onclick= "helper.luyin.view(this)" item="' + val + '" />' +
346
+                    '</div>';
347
+            } else {
348
+                return '';
349
+            }
350
+        }
351
+
352
+        //编号
353
+        function serialNumber(val, row, index) {
354
+            return index + 1;
355
+        }
356
+
357
+        function GetCont(val) {
358
+            if (val) {
359
+                var str = '<div '
360
+                if (val.length > 20) {
361
+                    str = str + ' title="' + val + '" ';
362
+                    val = val.substr(0, 20) + "...";
363
+                }
364
+                return str + '>' + val + '</div>';
365
+            } else {
366
+                return '';
367
+            }
368
+        }
369
+        //操作
370
+        function Dispose(val, row) {
371
+            var Rows = row.Buttons;
372
+            //          alert(row.F_WorkOrderId);
373
+            var WorkOrderId = row.F_WorkOrderId;
374
+            var html = '';
375
+            // if (row.F_WorkState == '1') {
376
+            //     html += '<a class="xg" onclick="redeploy(' + WorkOrderId + ')">转派&nbsp</a>';
377
+            // }
378
+            for (var i = 0; i < Rows.length; i++) {
379
+
380
+                var html1 = huayi.config.arr[Rows[i].key * 1 - 1];
381
+                if (html1) {
382
+                    html1 = html1.replace("data", val);
383
+                    html1 = html1.replace("row", row.F_MainDeptId);
384
+                }
385
+                html += html1;
386
+
387
+            }
388
+
389
+            return html;
390
+        }
391
+
392
+        //转派
393
+        function redeploy(WorkOrderId) {
394
+            layer.open({
395
+                type: 2,
396
+                content: "../CommonHtml/zhuanpai.html?wid=" + WorkOrderId, //iframe的url,no代表不显示滚动条
397
+                title: '转派',
398
+                area: ['85%', '80%'], //宽高
399
+            });
400
+        }
401
+        //查看详情
402
+        function ckxq(str) {
403
+            layer.open({
404
+                type: 2,
405
+                content: "../CommonHtml/WorkDatil.html?wid=" + str, //iframe的url,no代表不显示滚动条
406
+                title: '工单详情',
407
+                area: ['100%', '100%'], //宽高
408
+            });
409
+        }
410
+        //编辑
411
+        function bj(str) {
412
+            layer.open({
413
+                type: 2,
414
+                content: "../CommonHtml/AddAppeal.html?wid=" + str, //iframe的url,no代表不显示滚动条
415
+                title: '编辑工单',
416
+                area: ['96%', '85%'], //宽高
417
+            });
418
+        }
419
+        //删除
420
+        function move(str) {
421
+            layer.confirm('确定删除工单?', {
422
+                btn: ['是', '否'] //按钮
423
+            }, function () {
424
+                $.post(huayi.config.callcenter_url + "WorkOrder/DelWorkOrder", {
425
+                    ids: str,
426
+                    token: $.cookie("token")
427
+                }, function (result) {
428
+                    result = JSON.parse(result);
429
+                    if (result.state.toLowerCase() == "success") {
430
+                        layer.msg("删除成功");
431
+                        load();
432
+                    }
433
+                })
434
+            });
435
+        }
436
+        //提交
437
+        function tj(str) {
438
+            layer.confirm('确定要提交工单么?', {
439
+                btn: ['确定', '取消'] //按钮
440
+            }, function () {
441
+                //请求后台数据
442
+                /*发送请求*/
443
+                $.post(huayi.config.callcenter_url + "WorkOrder/SubmitWorkOrder", {
444
+                    ids: str,
445
+                    token: $.cookie("token")
446
+                }, function (result) {
447
+                    result = JSON.parse(result);
448
+                    if (result.state.toLowerCase() == "success") {
449
+                        layer.msg("提交成功");
450
+                        load();
451
+                    }
452
+                })
453
+            });
454
+        }
455
+        //交办
456
+        function jb(str) {
457
+            layer.open({
458
+                type: 2,
459
+                content: "../CommonHtml/jiaoban.html?wid=" + str, //iframe的url,no代表不显示滚动条
460
+                title: '工单交办',
461
+                area: ['87%', '80%'], //宽高
462
+            });
463
+        }
464
+
465
+        //领导批示
466
+        function lader(str) {
467
+            layer.open({
468
+                type: 2,
469
+                content: "../CommonHtml/Leader.html?wid=" + str, //iframe的url,no代表不显示滚动条
470
+                title: '领导批示',
471
+                area: ['60%', '80%'], //宽高
472
+            });
473
+        }
474
+        //市长批示
475
+        function city(str) {
476
+            layer.open({
477
+                type: 2,
478
+                content: "../CommonHtml/shizhang.html?wid=" + str, //iframe的url,no代表不显示滚动条
479
+                title: '领导批示',
480
+                area: ['60%', '80%'], //宽高
481
+            });
482
+        }
483
+        //办理
484
+        function bl(str) {
485
+            layer.open({
486
+                type: 2,
487
+                content: "../CommonHtml/banli.html?wid=" + str, //iframe的url,no代表不显示滚动条
488
+                title: '办理工单',
489
+                area: ['60%', '80%'], //宽高
490
+            });
491
+        }
492
+        //督办
493
+        function Supervision(str, supervision) {
494
+            layer.open({
495
+                type: 2,
496
+                state: 1,
497
+                content: "../CommonHtml/Supervision_.html?wid=" + str + '&type=1' + '&state=1' + '&depId=' +
498
+                    supervision, //iframe的url,no代表不显示滚动条
499
+                title: '督办',
500
+                area: ['90%', '90%'], //宽高
501
+            });
502
+        }
503
+        //不督办
504
+        function ndb(str) {
505
+            layer.open({
506
+                type: 2,
507
+                state: 2,
508
+                content: "../CommonHtml/Supervision_.html?wid=" + str + '&type=1' +
509
+                    '&state=2', //iframe的url,no代表不显示滚动条
510
+                title: '督办',
511
+                area: ['60%', '80%'], //宽高
512
+            });
513
+        }
514
+        //督查
515
+        function Supervision_(str) {
516
+            layer.open({
517
+                type: 2,
518
+                content: "../CommonHtml/Supervision_.html?wid=" + str + '&type=2', //iframe的url,no代表不显示滚动条
519
+                title: '监察',
520
+                area: ['60%', '80%'], //宽高
521
+            });
522
+        }
523
+        //强制结案
524
+        function StrongLawsuit(str) {
525
+            layer.open({
526
+                type: 2,
527
+                content: "../CommonHtml/StrongLawsuit.html?wid=" + str, //iframe的url,no代表不显示滚动条
528
+                title: '强制结案',
529
+                area: ['60%', '80%'], //宽高
530
+            });
531
+        }
532
+        //回退BackDtail
533
+        function BackDtail(str) {
534
+            layer.open({
535
+                type: 2,
536
+                content: "../CommonHtml/BackDatil.html?wid=" + str, //iframe的url,no代表不显示滚动条
537
+                title: '工单回退',
538
+                area: ['60%', '80%'], //宽高
539
+            });
540
+        }
541
+        //查收
542
+        function cs(str) {
543
+            layer.confirm('确定要查收?', {
544
+                btn: ['是', '否'] //按钮
545
+            }, function () {
546
+                $.post(huayi.config.callcenter_url + "WorkOrder/ReceiveWorkOrder", {
547
+                    workorderid: str,
548
+                    token: $.cookie("token")
549
+                }, function (result) {
550
+                    result = JSON.parse(result);
551
+                    if (result.state.toLowerCase() == "success") {
552
+                        layer.msg("查收成功");
553
+                        load();
554
+                    }
555
+                })
556
+            });
557
+        }
558
+        //收回
559
+        function sh(str) {
560
+            layer.confirm('确定要回收?', {
561
+                btn: ['是', '否'] //按钮
562
+            }, function () {
563
+                $.post(huayi.config.callcenter_url + "WorkOrder/TakeBackWorkOrder", {
564
+                    workorderid: str,
565
+                    token: $.cookie("token")
566
+                }, function (result) {
567
+                    result = JSON.parse(result);
568
+                    if (result.state.toLowerCase() == "success") {
569
+                        layer.msg("回收");
570
+                        load();
571
+                    }
572
+                })
573
+            });
574
+        }
575
+        //强制回收
576
+        function recycles() {
577
+            layer.confirm('确定要强制退回吗?', {
578
+                btn: ['是', '否'] //按钮
579
+            });
580
+        }
581
+        //退回申请
582
+        function th(str) {
583
+            layer.open({
584
+                type: 2,
585
+                content: "../CommonHtml/tuihuisq.html?wid=" + str, //iframe的url,no代表不显示滚动条
586
+                title: '申请退回工单',
587
+                area: ['60%', '80%'], //宽高
588
+            });
589
+        }
590
+        //审核退回申请
591
+        function shth(str) {
592
+            layer.open({
593
+                type: 2,
594
+                content: "../CommonHtml/shth.html?wid=" + str, //iframe的url,no代表不显示滚动条
595
+                title: '审核退回申请',
596
+                area: ['60%', '80%'], //宽高
597
+            });
598
+        }
599
+        //办理
600
+        //			function th(str) {
601
+        //				layer.open({
602
+        //					type: 2,
603
+        //					content: "../CommonHtml/tuihuisq.html?wid=" + str, //iframe的url,no代表不显示滚动条
604
+        //					title: '办理工单',
605
+        //					area: ['35%', '30%'], //宽高
606
+        //				});
607
+        //			}
608
+        //申请延时
609
+        function ys(str) {
610
+            layer.open({
611
+                type: 2,
612
+                content: "../CommonHtml/Timesq.html?wid=" + str, //iframe的url,no代表不显示滚动条
613
+                title: '申请延时',
614
+                area: ['60%', '80%'], //宽高
615
+            });
616
+        }
617
+        //审核申请延时
618
+        function shys(str) {
619
+            layer.open({
620
+                type: 2,
621
+                content: "../CommonHtml/shtime.html?wid=" + str, //iframe的url,no代表不显示滚动条
622
+                title: '审核延时申请',
623
+                area: ['60%', '80%'], //宽高
624
+            });
625
+        }
626
+        //诉求回访
627
+        function hf(str) {
628
+            layer.open({
629
+                type: 2,
630
+                content: "../CommonHtml/Back.html?wid=" + str, //iframe的url,no代表不显示滚动条
631
+                title: '工单回访',
632
+                area: ['60%', '80%'], //宽高
633
+            });
634
+        }
635
+        //重办工单
636
+        function cb(str) {
637
+            layer.open({
638
+                type: 2,
639
+                content: "../CommonHtml/Cb.html?wid=" + str, //iframe的url,no代表不显示滚动条
640
+                title: '重办工单',
641
+                area: ['60%', '80%'], //宽高
642
+            });
643
+        }
644
+        //结案
645
+        function Lawsuit(str) {
646
+            layer.open({
647
+                type: 2,
648
+                content: "../CommonHtml/lawsuits.html?wid=" + str, //iframe的url,no代表不显示滚动条
649
+                title: '诉求单结案',
650
+                area: ['60%', '80%'], //宽高
651
+            });
652
+        }
653
+
654
+        //结案
655
+        function superviseReview(str) {
656
+            layer.open({
657
+                type: 2,
658
+                content: "../CommonHtml/superviseReview.html?wid=" + str, //iframe的url,no代表不显示滚动条
659
+                title: '督办审核',
660
+                area: ['60%', '80%'], //宽高
661
+            });
662
+        }
663
+
664
+        $('.Appeal').click(function () {
665
+            layer.open({
666
+                type: 2,
667
+                content: "../CommonHtml/AddAppeal.html?wid=", //iframe的url,no代表不显示滚动条
668
+                title: '新增诉求',
669
+                area: ['85%', '80%'], //宽高
670
+            });
671
+        })
672
+        //上传文件
673
+        function upload() {
674
+            if (document.getElementById("upFile").files.length > 0) {
675
+                var formData = new FormData();
676
+                formData.append("upFile", document.getElementById("upFile").files[0]);
677
+                formData.append("token", $.cookie("token"));
678
+                $.ajax({
679
+                    url: huayi.config.callcenter_url + "/WorkOrder/UploadFile",
680
+                    type: "POST",
681
+                    data: formData,
682
+                    /**
683
+                     *必须false才会自动加上正确的Content-Type
684
+                     */
685
+                    contentType: false,
686
+                    /**
687
+                     * 必须false才会避开jQuery对 formdata 的默认处理
688
+                     * XMLHttpRequest会对 formdata 进行正确的处理
689
+                     */
690
+                    processData: false,
691
+                    success: function (result) {
692
+                        document.getElementById("upFile").outerHTML = document.getElementById("upFile")
693
+                            .outerHTML;
694
+                        $("#upFile").change(function () {
695
+                            upload();
696
+                        });
697
+                        var r = $.parseJSON(result);
698
+                        if (r.state.toLowerCase() == "success") {
699
+                            $(".fjnr").text(r.data);
700
+                            $("#scfj").show();
701
+                        }
702
+                    }
703
+                });
704
+            } else {
705
+                layer.confirm('请上传文件!', {
706
+                    btn: ['确定']
707
+                });
708
+            }
709
+        }
710
+        //来源
711
+        function LY(obj) {
712
+            obj.empty();
713
+            obj.append('<option selected="selected" value="">请选择</option>');
714
+            $.getJSON(huayi.config.callcenter_url + "Dictionary/GetDicValueListById", {
715
+                "token": $.cookie("token"),
716
+                id: 1
717
+            }, function (data) {
718
+                if (data.state.toLowerCase() == "success") {
719
+                    var content = data.data;
720
+                    $(content).each(function (i, n) {
721
+                        $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(
722
+                            obj);
723
+                    })
724
+                }
725
+            })
726
+        }
727
+        //类别
728
+        function LB(obj) {
729
+            obj.empty();
730
+            obj.append('<option selected="selected" value="">请选择</option>');
731
+            $.getJSON(huayi.config.callcenter_url + "Dictionary/GetDicValueListById", {
732
+                "token": $.cookie("token"),
733
+                id: 2
734
+            }, function (data) {
735
+                if (data.state.toLowerCase() == "success") {
736
+                    var content = data.data;
737
+                    $(content).each(function (i, n) {
738
+                        $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(
739
+                            obj);
740
+                    })
741
+                }
742
+            })
743
+        }
744
+        //主题
745
+        function ZT(obj) {
746
+            obj.empty();
747
+            obj.append('<option selected="selected" value="">请选择</option>');
748
+            $.getJSON(huayi.config.callcenter_url + "Dictionary/GetDicValueListById", {
749
+                "token": $.cookie("token"),
750
+                id: 3
751
+            }, function (data) {
752
+                if (data.state.toLowerCase() == "success") {
753
+                    var content = data.data;
754
+                    $(content).each(function (i, n) {
755
+                        $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(
756
+                            obj);
757
+                    })
758
+                }
759
+            })
760
+        }
761
+
762
+
763
+        function tree() {
764
+            $.get(huayi.config.callcenter_url + 'Department/GetDeptList', {
765
+                "token": $.cookie("token"),
766
+                //		"pid": pid
767
+            }, function (result) {
768
+                result = $.parseJSON(result);
769
+                $.fn.zTree.init($("#addTreeDemo"), setting1, result.data); //实例化树形图
770
+            });
771
+        }
772
+        var setting1 = {
773
+            data: {
774
+                key: {
775
+                    name: "F_DeptName"
776
+                },
777
+                simpleData: {
778
+                    enable: true,
779
+                    idKey: "F_DeptId",
780
+                    pIdKey: "F_PartentId",
781
+                    rootPId: 0
782
+                }
783
+            },
784
+            callback: {
785
+                onClick: zTreeOnClick
786
+            }
787
+        };
788
+
789
+        function zTreeOnClick(event, treeId, treeNode) {
790
+            if (treeNode.level >= 1) {
791
+                $('.inps').val(treeNode.F_DeptName);
792
+                $("#PID").val(treeNode.F_DeptId);
793
+                $("#Dpment").val(treeNode.F_DeptName);
794
+                $(".Cleans").show();
795
+            }
796
+        };
797
+    </script>
798
+</body>
799
+
800
+</html>

+ 8 - 15
WebUI/CallCenterWeb.UI/SuperviseManagement/superviseReturned.html

@@ -86,7 +86,7 @@
86 86
                                 <td>
87 87
                                     <select name="" id="sourceAreas" class="form-control Min-width">
88 88
                                     </select>
89
-                                    <botton class="btns exportFile">导出</botton>
89
+                                    <!-- <botton class="btns exportFile">导出</botton> -->
90 90
                                 </td>
91 91
                             </tr>
92 92
                             <tr>
@@ -124,19 +124,12 @@
124 124
                             data-pagination="true">
125 125
                             <thead>
126 126
                                 <tr>
127
-                                    <!-- <th data-checkbox="true"></th> -->
128 127
                                     <th data-formatter="serialNumber" data-align="center">
129 128
                                         序号
130 129
                                     </th>
131 130
                                     <th data-field="F_WorkOrderId" data-formatter="View" data-align="center">工单单号</th>
132
-                                    <th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">诉求标题</th>
133
-                                    <th data-field="DeptName" data-align="center">承办单位</th>
134
-                                    <!-- <th data-field="OtherDeptName" data-align="center">协办单位</th> -->
135
-                                    <th data-field="UserName" data-align="center">受理人</th>
136
-                                    <th data-field="F_WorkState" data-align="center" data-formatter="States">办理状态</th>
137
-                                    <!--<th data-field="FilePath" data-formatter="setCode" data-align="center">录音</th>-->
138
-                                    <th data-field="OverState" data-formatter="OverTime" data-align="center">时限</th>
139
-                                    <th data-field="LimitTime" data-formatter="BanTime" data-align="center">办理时限</th>
131
+                                    <!-- <th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">诉求标题</th> -->
132
+                                    <th data-field="F_ComContent" data-formatter="GetCont" data-align="center">工单内容</th>
140 133
                                     <th data-field="F_WorkOrderId" data-formatter="Dispose" data-align="center">操作</th>
141 134
                                 </tr>
142 135
                             </thead>
@@ -363,9 +356,9 @@
363 356
         function GetCont(val) {
364 357
             if (val) {
365 358
                 var str = '<div '
366
-                if (val.length > 10) {
359
+                if (val.length > 20) {
367 360
                     str = str + ' title="' + val + '" ';
368
-                    val = val.substr(0, 10) + "...";
361
+                    val = val.substr(0, 20) + "...";
369 362
                 }
370 363
                 return str + '>' + val + '</div>';
371 364
             } else {
@@ -378,9 +371,9 @@
378 371
             //          alert(row.F_WorkOrderId);
379 372
             var WorkOrderId = row.F_WorkOrderId;
380 373
             var html = '';
381
-            if (row.F_WorkState == '1') {
382
-                html += '<a class="xg" onclick="redeploy(' + WorkOrderId + ')">转派&nbsp</a>';
383
-            }
374
+            // if (row.F_WorkState == '1') {
375
+            //     html += '<a class="xg" onclick="redeploy(' + WorkOrderId + ')">转派&nbsp</a>';
376
+            // }
384 377
             for (var i = 0; i < Rows.length; i++) {
385 378
 
386 379
                 var html1 = huayi.config.arr[Rows[i].key * 1 - 1];

+ 24 - 13
WebUI/CallCenterWeb.UI/SuperviseManagement/superviseUpcoming.html

@@ -86,7 +86,7 @@
86 86
                                 <td>
87 87
                                     <select name="" id="sourceAreas" class="form-control Min-width">
88 88
                                     </select>
89
-                                    <botton class="btns exportFile">导出</botton>
89
+                                    <!-- <botton class="btns exportFile">导出</botton> -->
90 90
                                 </td>
91 91
                             </tr>
92 92
                             <tr>
@@ -124,19 +124,12 @@
124 124
                             data-pagination="true">
125 125
                             <thead>
126 126
                                 <tr>
127
-                                    <!-- <th data-checkbox="true"></th> -->
128 127
                                     <th data-formatter="serialNumber" data-align="center">
129 128
                                         序号
130 129
                                     </th>
131 130
                                     <th data-field="F_WorkOrderId" data-formatter="View" data-align="center">工单单号</th>
132
-                                    <th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">诉求标题</th>
133
-                                    <th data-field="DeptName" data-align="center">承办单位</th>
134
-                                    <!-- <th data-field="OtherDeptName" data-align="center">协办单位</th> -->
135
-                                    <th data-field="UserName" data-align="center">受理人</th>
136
-                                    <th data-field="F_WorkState" data-align="center" data-formatter="States">办理状态</th>
137
-                                    <!--<th data-field="FilePath" data-formatter="setCode" data-align="center">录音</th>-->
138
-                                    <th data-field="OverState" data-formatter="OverTime" data-align="center">时限</th>
139
-                                    <th data-field="LimitTime" data-formatter="BanTime" data-align="center">办理时限</th>
131
+                                    <!-- <th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">诉求标题</th> -->
132
+                                    <th data-field="F_ComContent" data-formatter="GetCont" data-align="center">工单内容</th>
140 133
                                     <th data-field="F_WorkOrderId" data-formatter="Dispose" data-align="center">操作</th>
141 134
                                 </tr>
142 135
                             </thead>
@@ -265,6 +258,7 @@
265 258
                         type: $("#type").val(),
266 259
                         tab: 0, // 督办待办
267 260
                         sourcearea: $('#sourceAreas').val(), //区域
261
+                        Supervisor: 2, // 督办待办
268 262
                         token: $.cookie("token")
269 263
                     };
270 264
                     return param;
@@ -364,9 +358,9 @@
364 358
         function GetCont(val) {
365 359
             if (val) {
366 360
                 var str = '<div '
367
-                if (val.length > 10) {
361
+                if (val.length > 20) {
368 362
                     str = str + ' title="' + val + '" ';
369
-                    val = val.substr(0, 10) + "...";
363
+                    val = val.substr(0, 20) + "...";
370 364
                 }
371 365
                 return str + '>' + val + '</div>';
372 366
             } else {
@@ -383,7 +377,6 @@
383 377
             //     html += '<a class="xg" onclick="redeploy(' + WorkOrderId + ')">转派&nbsp</a>';
384 378
             // }
385 379
             for (var i = 0; i < Rows.length; i++) {
386
-
387 380
                 var html1 = huayi.config.arr[Rows[i].key * 1 - 1];
388 381
                 if (html1) {
389 382
                     html1 = html1.replace("data", val);
@@ -658,6 +651,24 @@
658 651
             });
659 652
         }
660 653
 
654
+        // 督办查收
655
+        function superviseCheck(str) {
656
+            layer.confirm('确定要查收?', {
657
+                btn: ['是', '否'] //按钮
658
+            }, function () {
659
+                $.post(huayi.config.callcenter_url + "workorder/RemindCheck", {
660
+                    workorderid: str,
661
+                    token: $.cookie("token")
662
+                }, function (result) {
663
+                    result = JSON.parse(result);
664
+                    if (result.state.toLowerCase() == "success") {
665
+                        layer.msg("查收成功");
666
+                        load();
667
+                    }
668
+                })
669
+            });
670
+        }
671
+
661 672
         $('.Appeal').click(function () {
662 673
             layer.open({
663 674
                 type: 2,

+ 1 - 0
WebUI/CallCenterWeb.UI/js/main.js

@@ -192,6 +192,7 @@ function Send() {
192 192
     if (ws.readyState == ws.OPEN) {
193 193
         console.log(new Date() + "  send  " + JSON.stringify(obj));
194 194
         ws.send(JSON.stringify(obj));
195
+        obj.Type = "";
195 196
     }
196 197
 }
197 198
 //心跳检测