seimin 3 anni fa
parent
commit
45bb7ca229

+ 1 - 1
assets/js/controllers/knowledge/knowledgeform.js

@@ -414,7 +414,7 @@ sysFormly.controller('knowledgeformCtrl', ['$rootScope', '$scope', '$parse', '$f
414 414
             // console.log("data="+JSON.stringify(data));
415 415
             // if($stateParams.formKey=="system_edit"){
416 416
             // console.log("roleid="+$scope.roleid);
417
-            if (!vm.form.$valid) {
417
+            if (vm.form.$valid) {
418 418
                 vm.options.updateInitialValue();
419 419
                 $scope.ldloading[style.replace('-', '_')] = true;
420 420
                 //        alert(JSON.stringify(vm.model), null, 2);

+ 29 - 2
assets/js/controllers/report/event_formCtrl.js

@@ -185,23 +185,35 @@ app.controller('event_formCtrl', ["$scope", "$rootScope", "$state", "$timeout",
185 185
     //重置
186 186
     $scope.reload = function () {
187 187
         $scope.dateItemClick('day');
188
+        $scope.type = 'desc';//表格排序,排序方式desc,asc
189
+        $scope.direction = 'top';//箭头方向 top,bottom
188 190
         switch ($scope.tap) {
189 191
             case 'SJZS'://事件总数
192
+                $scope.sortActive = 'accdatetop';
193
+                $scope.name = 'accdate';//表格排序,字段名称
190 194
                 $scope.mdxquery('accdate', 'desc');
191 195
                 break;
192 196
             case 'SJLX'://事件类型
197
+                $scope.sortActive = 'sumtop';
198
+                $scope.name = 'sum';//表格排序,字段名称
193 199
                 $scope.mdxquery('sum', 'desc');
194 200
                 $scope.sjSelectedOne.value = $scope.sjSelected[0];//事件分类级别
195 201
                 break;
196 202
             case 'CLRZ'://处理人/组
203
+                $scope.sortActive = 'sumtop';
204
+                $scope.name = 'sum';//表格排序,字段名称
197 205
                 $scope.mdxquery('sum', 'desc');
198 206
                 $scope.groupSelectedOne.value = $scope.groupSelected[0];//选择处理人/组
199 207
                 break;
200 208
             case 'QYDD'://区域地点
209
+                $scope.sortActive = 'sumtop';
210
+                $scope.name = 'sum';//表格排序,字段名称
201 211
                 $scope.mdxquery('sum', 'desc');
202 212
                 $scope.areaSelectedOne.value = $scope.areaSelected[0];//区域/地点
203 213
                 break;
204 214
             case 'SJLY'://事件来源
215
+                $scope.sortActive = 'sumtop';
216
+                $scope.name = 'sum';//表格排序,字段名称
205 217
                 $scope.mdxquery('sum', 'desc');
206 218
                 break;
207 219
         }
@@ -217,6 +229,9 @@ app.controller('event_formCtrl', ["$scope", "$rootScope", "$state", "$timeout",
217 229
     };
218 230
     //表格排序------------------------------------------------
219 231
     $scope.sortActive = '';//表格排序,箭头高亮选中状态
232
+    $scope.type = '';//表格排序,排序方式desc,asc
233
+    $scope.name = '';//表格排序,字段名称
234
+    $scope.direction = '';//箭头方向 top,bottom
220 235
     /**
221 236
      * 表格排序
222 237
      *
@@ -225,8 +240,16 @@ app.controller('event_formCtrl', ["$scope", "$rootScope", "$state", "$timeout",
225 240
      * @param {string} direction 箭头方向 top,bottom
226 241
      */
227 242
     $scope.tableSort = function (name, type, direction) {
228
-        $scope.sortActive = name + direction;
229
-        $scope.mdxquery(name, type);
243
+        if($scope.name == name){
244
+            $scope.type = $scope.type == 'desc'?'asc':'desc';
245
+            $scope.direction = $scope.direction == 'top'?'bottom':'top';
246
+        }else{
247
+            $scope.type = 'desc';
248
+            $scope.direction = 'top';
249
+        }
250
+        $scope.name = name;
251
+        $scope.sortActive = name + $scope.direction;
252
+        $scope.mdxquery(name, $scope.type);
230 253
     };
231 254
     //搜索----------------------------------------------------
232 255
     //loading
@@ -433,4 +456,8 @@ app.controller('event_formCtrl', ["$scope", "$rootScope", "$state", "$timeout",
433 456
     //初始化
434 457
     $scope.dateItemClick('day');
435 458
     $scope.mdxquery('accdate', 'desc');
459
+    $scope.sortActive = 'accdatetop';
460
+    $scope.name = 'accdate';//表格排序,字段名称
461
+    $scope.type = 'desc';//表格排序,排序方式desc,asc
462
+    $scope.direction = 'top';//箭头方向 top,bottom
436 463
 }])

+ 191 - 18
assets/js/controllers/report/service_formCtrl.js

@@ -1,5 +1,5 @@
1 1
 'use strict';
2
-app.controller('service_formCtrl', ["$scope", "$rootScope", "$state", "$timeout", "$interval", "$http", "$cookieStore", "SweetAlert", "Restangular", "api_report", "api_statistic", "moment", 'api_user_data', function ($scope, $rootScope, $state, $timeout, $interval, $http, $cookieStore, SweetAlert, Restangular, api_report, api_statistic, moment, api_user_data) {
2
+app.controller('service_formCtrl', ["$scope", "$rootScope", "$state", "$timeout", "$interval", "$http", "$cookieStore", "SweetAlert", "Restangular", "api_report", "api_statistic", "moment", 'api_user_data','api_event_form', function ($scope, $rootScope, $state, $timeout, $interval, $http, $cookieStore, SweetAlert, Restangular, api_report, api_statistic, moment, api_user_data, api_event_form) {
3 3
     //默认显示综合统计
4 4
     $scope.tap = 'ZHTJ';
5 5
     //默认显示上一周
@@ -10,27 +10,27 @@ app.controller('service_formCtrl', ["$scope", "$rootScope", "$state", "$timeout"
10 10
     $scope.week = function () {
11 11
         $scope.searchstate = "week";
12 12
         var weeks = new Date().getDay();
13
-        $scope.starttimes = moment(new Date().getTime() - 86400000 * (weeks + 6)).format('YYYY-MM-DD');
14
-        $scope.endtimes = moment(new Date().getTime() - 86400000 * (weeks)).format('YYYY-MM-DD');
13
+        $scope.starttimesModel = moment(new Date().getTime() - 86400000 * (weeks + 6)).format('YYYY-MM-DD');
14
+        $scope.endtimesModel = moment(new Date().getTime() - 86400000 * (weeks)).format('YYYY-MM-DD');
15 15
     }
16 16
     //上月
17 17
     $scope.month = function () {
18 18
         $scope.searchstate = "month";
19
-        $scope.starttimes = moment().startOf('month').add(-1, 'M').format('YYYY-MM-DD');
20
-        $scope.endtimes = moment().endOf('month').add(-1, 'M').format('YYYY-MM-DD');
19
+        $scope.starttimesModel = moment().startOf('month').add(-1, 'M').format('YYYY-MM-DD');
20
+        $scope.endtimesModel = moment().endOf('month').add(-1, 'M').format('YYYY-MM-DD');
21 21
     }
22 22
     //去年
23 23
     $scope.year = function () {
24 24
         $scope.searchstate = "year";
25
-        $scope.starttimes = moment().startOf('year').add(-1, 'y').format('YYYY-MM-DD');
26
-        $scope.endtimes = moment().endOf('year').add(-1, 'y').format('YYYY-MM-DD');
25
+        $scope.starttimesModel = moment().startOf('year').add(-1, 'y').format('YYYY-MM-DD');
26
+        $scope.endtimesModel = moment().endOf('year').add(-1, 'y').format('YYYY-MM-DD');
27 27
     }
28 28
     //近N日
29 29
     $scope.day = function (num) {
30 30
         num = num > 1 ? num : 1;
31 31
         $scope.searchstate = "none";
32
-        $scope.starttimes = moment().subtract(num, "days").format("YYYY-MM-DD");
33
-        $scope.endtimes = moment().subtract(1, "days").format("YYYY-MM-DD");
32
+        $scope.starttimesModel = moment().subtract(num, "days").format("YYYY-MM-DD");
33
+        $scope.endtimesModel = moment().subtract(1, "days").format("YYYY-MM-DD");
34 34
     }
35 35
     //默认显示最近7天
36 36
     $scope.day(7);
@@ -69,20 +69,29 @@ app.controller('service_formCtrl', ["$scope", "$rootScope", "$state", "$timeout"
69 69
     $scope.reload = function(){
70 70
         $scope.day(7);
71 71
         $scope.searchstate = 'none';
72
+        $scope.sortActive = 'totaltop';
73
+        $scope.name = 'total';//表格排序,字段名称
74
+        $scope.type = 'desc';//表格排序,排序方式desc,asc
75
+        $scope.direction = 'top';//箭头方向 top,bottom
76
+        switch ($scope.tap) {
77
+            case 'ZHTJ'://综合统计
78
+                $scope.mdxquery('total', 'desc');
79
+                break;
80
+            case 'DHTJ'://电话统计
81
+                $scope.mdxquery('total', 'desc');
82
+                break;
83
+            case 'WEB'://微信/WEB统计
84
+                $scope.mdxquery('total', 'desc');
85
+                break;
86
+            case 'DHLYTJ'://电话留言统计
87
+                $scope.mdxquery('total', 'desc');
88
+                break;
89
+        }
72 90
     };
73 91
     //选择类型,综合统计,电话统计,微信/WEB统计,电话留言统计
74 92
     $scope.active = function (name) {
75 93
         $scope.tap = name;
76 94
         $scope.reload();
77
-        if ($scope.tap == 'ZHTJ') {//综合统计
78
-            console.log('ZHTJ');
79
-        } else if ($scope.tap == 'DHTJ') {//电话统计
80
-            console.log('DHTJ');
81
-        }else if ($scope.tap == 'WEB') {//微信/WEB统计
82
-            console.log('WEB');
83
-        }else if ($scope.tap == 'DHLYTJ') {//电话留言统计
84
-            console.log('DHLYTJ');
85
-        }
86 95
     };
87 96
     //综合统计,无限滚动加载
88 97
     $scope.topEndComplete = function(){
@@ -99,4 +108,168 @@ app.controller('service_formCtrl', ["$scope", "$rootScope", "$state", "$timeout"
99 108
     //         }
100 109
     //     }
101 110
     // })
111
+    //表格排序------------------------------------------------
112
+    $scope.sortActive = '';//表格排序,箭头高亮选中状态
113
+    $scope.name = '';//表格排序,字段名称
114
+    $scope.type = '';//表格排序,排序方式desc,asc
115
+    $scope.direction = '';//箭头方向 top,bottom
116
+    /**
117
+     * 表格排序
118
+     *
119
+     * @param {string} name 字段名称
120
+     * @param {string} type 排序方式desc,asc
121
+     * @param {string} direction 箭头方向 top,bottom
122
+     */
123
+    $scope.tableSort = function (name) {
124
+        if($scope.name == name){
125
+            $scope.type = $scope.type == 'desc'?'asc':'desc';
126
+            $scope.direction = $scope.direction == 'top'?'bottom':'top';
127
+        }else{
128
+            $scope.type = 'desc';
129
+            $scope.direction = 'top';
130
+        }
131
+        $scope.name = name;
132
+        $scope.sortActive = name + $scope.direction;
133
+        $scope.mdxquery(name, $scope.type);
134
+    };
135
+    $scope.isArrays = function (arr) {
136
+        return Array.isArray(arr);
137
+    };
138
+    //综合统计
139
+    $scope.zhtj_list = null;//表格列表
140
+    $scope.zhtj_req_total = 0;//请求总数
141
+    $scope.zhtj_req_phone = 0;//请求电话总数
142
+    $scope.zhtj_req_wxweb = 0;//请求微信/web总数
143
+    $scope.zhtj_req_msg = 0;//请求电话留言总数
144
+    $scope.zhtj_req_desk = 0;//请求柜台总数
145
+    $scope.zhtj_trans_total = 0;//工单转换总数
146
+    $scope.zhtj_p_total = 0;//工单转换直接处理数
147
+    $scope.zhtj_unp_total = 0;//工单转换处理工单数
148
+    //电话统计
149
+    $scope.dhtj_list = null;//表格列表
150
+    $scope.dhtj_req_total = 0;//来电总数
151
+    $scope.dhtj_req_answer = 0;//接听数量
152
+    $scope.dhtj_req_miss = 0;//未接数量
153
+    $scope.dhtj_p_total = 0;//电话建单总数
154
+    $scope.dhtj_p_phone = 0;//直接解决
155
+    $scope.dhtj_unp_phone = 0;//派单数量
156
+    //微信/WEB统计
157
+    $scope.web_list = null;//表格列表
158
+    $scope.web_req_total = 0;//微信/WEB报修总数
159
+    $scope.web_req_trans = 0;//转换数量
160
+    $scope.web_req_reject = 0;//未转换数量
161
+    $scope.web_trans_total = 0;//微信/WEB转换总数
162
+    $scope.web_p_total = 0;//直接解决
163
+    $scope.web_unp_total = 0;//派单
164
+    //电话留言统计
165
+    $scope.dhlytj_list = null;//表格列表
166
+    $scope.dhlytj_req_total = 0;//电话留言总数
167
+    $scope.dhlytj_req_trans = 0;//建单总数
168
+    $scope.dhlytj_req_reject = 0;//不受理总数
169
+    $scope.dhlytj_trans_total = 0;//电话留言转换总数
170
+    $scope.dhlytj_p_total = 0;//直接解决总数
171
+    $scope.dhlytj_unp_total = 0;//派单总数
172
+    /**
173
+     *
174
+     *
175
+     * @param {string} name 排序字段
176
+     * @param {string} type 排序方式 desc,asc
177
+     */
178
+     $scope.mdxquery = function (name, type) {
179
+        if (!name) {
180
+            // name = $scope.tap == 'ZHTJ' ? 'accdate' : 'sum';
181
+            name = 'total';
182
+        }
183
+        type = type || 'desc';
184
+        switch ($scope.tap) {
185
+            case 'ZHTJ'://综合统计
186
+                $scope.zhtj_list = null;
187
+                // 请求列表
188
+                api_event_form.fetchZhtjList({
189
+                    "startTime": moment($scope.starttimesModel).format('YYYY-MM-DD'),
190
+                    "endTime": moment($scope.endtimesModel).format('YYYY-MM-DD'),
191
+                    "sortData": name,
192
+                    "sortType": type
193
+                }).then(function (res) {
194
+                    if (res.stats == 200) {
195
+                        $scope.zhtj_list = res.dataList || [];//表格列表
196
+                        $scope.zhtj_req_total = res.title.req_total;//请求总数
197
+                        $scope.zhtj_req_phone = res.title.req_phone;//请求电话总数
198
+                        $scope.zhtj_req_wxweb = res.title.req_wxweb;//请求微信/web总数
199
+                        $scope.zhtj_req_msg = res.title.req_msg;//请求电话留言总数
200
+                        $scope.zhtj_req_desk = res.title.req_desk;//请求柜台总数
201
+                        $scope.zhtj_trans_total = res.title.trans_total;//工单转换总数
202
+                        $scope.zhtj_p_total = res.title.p_total;//工单转换直接处理数
203
+                        $scope.zhtj_unp_total = res.title.unp_total;//工单转换处理工单数
204
+                    }
205
+                })
206
+                break;
207
+            case 'DHTJ'://电话统计
208
+                $scope.dhtj_list = null;
209
+                // 请求列表
210
+                api_event_form.fetchDhtjList({
211
+                    "startTime": moment($scope.starttimesModel).format('YYYY-MM-DD'),
212
+                    "endTime": moment($scope.endtimesModel).format('YYYY-MM-DD'),
213
+                    "sortData": name,
214
+                    "sortType": type
215
+                }).then(function (res) {
216
+                    if (res.stats == 200) {
217
+                        $scope.dhtj_list = res.dataList || [];//表格列表
218
+                        $scope.dhtj_req_total = res.title.req_total;//来电总数
219
+                        $scope.dhtj_req_answer = res.title.req_answer;//接听数量
220
+                        $scope.dhtj_req_miss = res.title.req_miss;//未接数量
221
+                        $scope.dhtj_p_total = res.title.p_total;//电话建单总数
222
+                        $scope.dhtj_p_phone = res.title.p_phone;//直接解决
223
+                        $scope.dhtj_unp_phone = res.title.unp_phone;//派单数量
224
+                    }
225
+                })
226
+                break;
227
+            case 'WEB'://微信/WEB统计
228
+                $scope.web_list = null;
229
+                // 请求列表
230
+                api_event_form.fetchWebList({
231
+                    "startTime": moment($scope.starttimesModel).format('YYYY-MM-DD'),
232
+                    "endTime": moment($scope.endtimesModel).format('YYYY-MM-DD'),
233
+                    "sortData": name,
234
+                    "sortType": type
235
+                }).then(function (res) {
236
+                    if (res.stats == 200) {
237
+                        $scope.web_list = res.dataList || [];//表格列表
238
+                        $scope.web_req_total = res.title.req_total;//微信/WEB报修总数
239
+                        $scope.web_req_trans = res.title.req_trans;//转换数量
240
+                        $scope.web_req_reject = res.title.req_reject;//未转换数量
241
+                        $scope.web_trans_total = res.title.trans_total;//微信/WEB转换总数
242
+                        $scope.web_p_total = res.title.p_total;//直接解决
243
+                        $scope.web_unp_total = res.title.unp_total;//派单
244
+                    }
245
+                })
246
+                break;
247
+            case 'DHLYTJ'://电话留言统计
248
+                $scope.dhlytj_list = null;
249
+                // 请求列表
250
+                api_event_form.fetchDhlytjList({
251
+                    "startTime": moment($scope.starttimesModel).format('YYYY-MM-DD'),
252
+                    "endTime": moment($scope.endtimesModel).format('YYYY-MM-DD'),
253
+                    "sortData": name,
254
+                    "sortType": type
255
+                }).then(function (res) {
256
+                    if (res.stats == 200) {
257
+                        $scope.dhlytj_list = res.dataList || [];//表格列表
258
+                        $scope.dhlytj_req_total = res.title.req_total;//电话留言总数
259
+                        $scope.dhlytj_req_trans = res.title.req_trans;//建单总数
260
+                        $scope.dhlytj_req_reject = res.title.req_reject;//不受理总数
261
+                        $scope.dhlytj_trans_total = res.title.trans_total;//电话留言转换总数
262
+                        $scope.dhlytj_p_total = res.title.p_total;//直接解决总数
263
+                        $scope.dhlytj_unp_total = res.title.unp_total;//派单总数
264
+                    }
265
+                })
266
+                break;
267
+        }
268
+    };
269
+    //初始化
270
+    $scope.mdxquery('total', 'desc');
271
+    $scope.sortActive = 'totaltop';
272
+    $scope.name = 'total';//表格排序,字段名称
273
+    $scope.type = 'desc';//表格排序,排序方式desc,asc
274
+    $scope.direction = 'top';//箭头方向 top,bottom
102 275
 }])

+ 16 - 0
assets/js/main.js

@@ -1879,6 +1879,22 @@ app.factory('api_event_form', ['eventFormApi', function (eventFormApi) {
1879 1879
         // 查询事件总数(单个页面只有事件数量)
1880 1880
         getSjNum: function (data) {
1881 1881
             return dataService.customPOST(data, 'mdv2_incident_sum');
1882
+        },
1883
+        // 综合统计
1884
+        fetchZhtjList: function (data) {
1885
+            return dataService.customPOST(data, 'mdv2_service_repot_all');
1886
+        },
1887
+        // 电话统计
1888
+        fetchDhtjList: function (data) {
1889
+            return dataService.customPOST(data, 'mdv2_service_repot_phone');
1890
+        },
1891
+        // 微信/WEB统计
1892
+        fetchWebList: function (data) {
1893
+            return dataService.customPOST(data, 'mdv2_service_repot_wechat_web');
1894
+        },
1895
+        // 电话留言统计
1896
+        fetchDhlytjList: function (data) {
1897
+            return dataService.customPOST(data, 'mdv2_service_repot_msg');
1882 1898
         }
1883 1899
     };
1884 1900
 }]);

+ 73 - 63
assets/views/report/event_form.html

@@ -162,33 +162,39 @@
162 162
                                         <th style="width:6%">
163 163
                                             序号
164 164
                                         </th>
165
-                                        <th style="width:10%">
166
-                                            时间
165
+                                        <th style="width:10%" ng-click="tableSort('accdate')">
166
+                                            <strong>
167
+                                                时间
168
+                                                <em class="sort-wrap">
169
+                                                    <i class="sortItem iconfont icon-xiangshang" ng-class="{active:sortActive == 'accdatetop'}"></i>
170
+                                                    <i class="sortItem iconfont icon-xiangxia" ng-class="{active:sortActive == 'accdatebottom'}"></i>
171
+                                                </em>
172
+                                            </strong>
167 173
                                         </th>
168
-                                        <th style="width:8%">
174
+                                        <th style="width:8%" ng-click="tableSort('sum')">
169 175
                                             <strong>
170 176
                                                 事件数量
171 177
                                                 <em class="sort-wrap">
172
-                                                    <i class="sortItem iconfont icon-xiangshang" ng-class="{active:sortActive == 'sumtop'}" ng-click="tableSort('sum','desc','top')"></i>
173
-                                                    <i class="sortItem iconfont icon-xiangxia" ng-class="{active:sortActive == 'sumbottom'}" ng-click="tableSort('sum','asc','bottom')"></i>
178
+                                                    <i class="sortItem iconfont icon-xiangshang" ng-class="{active:sortActive == 'sumtop'}"></i>
179
+                                                    <i class="sortItem iconfont icon-xiangxia" ng-class="{active:sortActive == 'sumbottom'}"></i>
174 180
                                                 </em>
175 181
                                             </strong>
176 182
                                         </th>
177
-                                        <th style="width:18%">
183
+                                        <th style="width:18%" ng-click="tableSort('responseTime')">
178 184
                                             <strong>
179 185
                                                 平均响应时间
180 186
                                                 <em class="sort-wrap">
181
-                                                    <i class="sortItem iconfont icon-xiangshang" ng-class="{active:sortActive == 'responseTimetop'}" ng-click="tableSort('responseTime','desc','top')"></i>
182
-                                                    <i class="sortItem iconfont icon-xiangxia" ng-class="{active:sortActive == 'responseTimebottom'}" ng-click="tableSort('responseTime','asc','bottom')"></i>
187
+                                                    <i class="sortItem iconfont icon-xiangshang" ng-class="{active:sortActive == 'responseTimetop'}"></i>
188
+                                                    <i class="sortItem iconfont icon-xiangxia" ng-class="{active:sortActive == 'responseTimebottom'}"></i>
183 189
                                                 </em>
184 190
                                             </strong>
185 191
                                         </th>
186
-                                        <th style="width:18%">
192
+                                        <th style="width:18%" ng-click="tableSort('resolvedTime')">
187 193
                                             <strong>
188 194
                                                 平均解决时间
189 195
                                                 <em class="sort-wrap">
190
-                                                    <i class="sortItem iconfont icon-xiangshang" ng-class="{active:sortActive == 'resolvedTimetop'}" ng-click="tableSort('resolvedTime','desc','top')"></i>
191
-                                                    <i class="sortItem iconfont icon-xiangxia" ng-class="{active:sortActive == 'resolvedTimebottom'}" ng-click="tableSort('resolvedTime','asc','bottom')"></i>
196
+                                                    <i class="sortItem iconfont icon-xiangshang" ng-class="{active:sortActive == 'resolvedTimetop'}"></i>
197
+                                                    <i class="sortItem iconfont icon-xiangxia" ng-class="{active:sortActive == 'resolvedTimebottom'}"></i>
192 198
                                                 </em>
193 199
                                             </strong>
194 200
                                         </th>
@@ -201,12 +207,12 @@
201 207
                                         <th style="width:6%">
202 208
                                             其他
203 209
                                         </th>
204
-                                        <th style="width:14%">
210
+                                        <th style="width:14%" ng-click="tableSort('satisfactionRatio')">
205 211
                                             <strong>
206 212
                                                 满意度(%)
207 213
                                                 <em class="sort-wrap">
208
-                                                    <i class="sortItem iconfont icon-xiangshang" ng-class="{active:sortActive == 'satisfactionRatiotop'}" ng-click="tableSort('satisfactionRatio','desc','top')"></i>
209
-                                                    <i class="sortItem iconfont icon-xiangxia" ng-class="{active:sortActive == 'satisfactionRatiobottom'}" ng-click="tableSort('satisfactionRatio','asc','bottom')"></i>
214
+                                                    <i class="sortItem iconfont icon-xiangshang" ng-class="{active:sortActive == 'satisfactionRatiotop'}"></i>
215
+                                                    <i class="sortItem iconfont icon-xiangxia" ng-class="{active:sortActive == 'satisfactionRatiobottom'}"></i>
210 216
                                                 </em>
211 217
                                             </strong>
212 218
                                         </th>
@@ -279,33 +285,33 @@
279 285
                                         <th style="width:22%">
280 286
                                             事件类型
281 287
                                         </th>
282
-                                        <th style="width:10%">
288
+                                        <th style="width:10%" ng-click="tableSort('sum')">
283 289
                                             <strong>
284 290
                                                 类型数量
285 291
                                                 <em class="sort-wrap">
286
-                                                    <i class="sortItem iconfont icon-xiangshang" ng-class="{active:sortActive == 'sumtop'}" ng-click="tableSort('sum','desc','top')"></i>
287
-                                                    <i class="sortItem iconfont icon-xiangxia" ng-class="{active:sortActive == 'sumbottom'}" ng-click="tableSort('sum','asc','bottom')"></i>
292
+                                                    <i class="sortItem iconfont icon-xiangshang" ng-class="{active:sortActive == 'sumtop'}"></i>
293
+                                                    <i class="sortItem iconfont icon-xiangxia" ng-class="{active:sortActive == 'sumbottom'}"></i>
288 294
                                                 </em>
289 295
                                             </strong>
290 296
                                         </th>
291 297
                                         <th style="width:10%">
292 298
                                             类型占比
293 299
                                         </th>
294
-                                        <th style="width:14%">
300
+                                        <th style="width:14%" ng-click="tableSort('responseTime')">
295 301
                                             <strong>
296 302
                                                 平均响应时间
297 303
                                                 <em class="sort-wrap">
298
-                                                    <i class="sortItem iconfont icon-xiangshang" ng-class="{active:sortActive == 'responseTimetop'}" ng-click="tableSort('responseTime','desc','top')"></i>
299
-                                                    <i class="sortItem iconfont icon-xiangxia" ng-class="{active:sortActive == 'responseTimebottom'}" ng-click="tableSort('responseTime','asc','bottom')"></i>
304
+                                                    <i class="sortItem iconfont icon-xiangshang" ng-class="{active:sortActive == 'responseTimetop'}"></i>
305
+                                                    <i class="sortItem iconfont icon-xiangxia" ng-class="{active:sortActive == 'responseTimebottom'}"></i>
300 306
                                                 </em>
301 307
                                             </strong>
302 308
                                         </th>
303
-                                        <th style="width:14%">
309
+                                        <th style="width:14%" ng-click="tableSort('resolvedTime')">
304 310
                                             <strong>
305 311
                                                 平均解决时间
306 312
                                                 <em class="sort-wrap">
307
-                                                    <i class="sortItem iconfont icon-xiangshang" ng-class="{active:sortActive == 'resolvedTimetop'}" ng-click="tableSort('resolvedTime','desc','top')"></i>
308
-                                                    <i class="sortItem iconfont icon-xiangxia" ng-class="{active:sortActive == 'resolvedTimebottom'}" ng-click="tableSort('resolvedTime','asc','bottom')"></i>
313
+                                                    <i class="sortItem iconfont icon-xiangshang" ng-class="{active:sortActive == 'resolvedTimetop'}"></i>
314
+                                                    <i class="sortItem iconfont icon-xiangxia" ng-class="{active:sortActive == 'resolvedTimebottom'}"></i>
309 315
                                                 </em>
310 316
                                             </strong>
311 317
                                         </th>
@@ -394,63 +400,63 @@
394 400
                         <div class="TB_cont">
395 401
                             <table class="jry_table jry_table_head" cellspacing="0" cellpadding="16"
396 402
                                 style="font-weight:normal !important;table-layout:fixed">
397
-                                <tbody>
403
+                                <thead>
398 404
                                     <tr>
399
-                                        <td style="width:6%" rowspan="2">
405
+                                        <th style="width:6%" rowspan="2">
400 406
                                             序号
401
-                                        </td>
402
-                                        <td style="width:7%" rowspan="2">
407
+                                        </th>
408
+                                        <th style="width:7%" rowspan="2">
403 409
                                             处理{{tableGroupSelectedOne == 1?'组':'人'}}
404
-                                        </td>
405
-                                        <td style="width:7%" rowspan="2">
410
+                                        </th>
411
+                                        <th style="width:7%" rowspan="2" ng-click="tableSort('sum')">
406 412
                                             <strong>
407 413
                                                 事件数量
408 414
                                                 <em class="sort-wrap">
409
-                                                    <i class="sortItem iconfont icon-xiangshang" ng-class="{active:sortActive == 'sumtop'}" ng-click="tableSort('sum','desc','top')"></i>
410
-                                                    <i class="sortItem iconfont icon-xiangxia" ng-class="{active:sortActive == 'sumbottom'}" ng-click="tableSort('sum','asc','bottom')"></i>
415
+                                                    <i class="sortItem iconfont icon-xiangshang" ng-class="{active:sortActive == 'sumtop'}"></i>
416
+                                                    <i class="sortItem iconfont icon-xiangxia" ng-class="{active:sortActive == 'sumbottom'}"></i>
411 417
                                                 </em>
412 418
                                             </strong>
413
-                                        </td>
414
-                                        <td style="width:7%" rowspan="2">
419
+                                        </th>
420
+                                        <th style="width:7%" rowspan="2">
415 421
                                             事件占比
416
-                                        </td>
417
-                                        <td style="width:32%" colspan="4">
422
+                                        </th>
423
+                                        <th style="width:32%" colspan="4">
418 424
                                             按时响应
419
-                                        </td>
420
-                                        <td style="width:32%" colspan="4">
425
+                                        </th>
426
+                                        <th style="width:32%" colspan="4">
421 427
                                             按时解决
422
-                                        </td>
423
-                                        <td style="width:7%" rowspan="2">
428
+                                        </th>
429
+                                        <th style="width:7%" rowspan="2">
424 430
                                             满意度(%)
425
-                                        </td>
431
+                                        </th>
426 432
                                     </tr>
427 433
                                     <tr>
428
-                                        <td style="width:8%">
434
+                                        <th style="width:8%">
429 435
                                             按时响应
430
-                                        </td>
431
-                                        <td style="width:8%">
436
+                                        </th>
437
+                                        <th style="width:8%">
432 438
                                             超时响应
433
-                                        </td>
434
-                                        <td style="width:8%">
439
+                                        </th>
440
+                                        <th style="width:8%">
435 441
                                             平均响应时间
436
-                                        </td>
437
-                                        <td style="width:8%">
442
+                                        </th>
443
+                                        <th style="width:8%">
438 444
                                             超时响应占比
439
-                                        </td>
440
-                                        <td style="width:8%">
445
+                                        </th>
446
+                                        <th style="width:8%">
441 447
                                             按时解决
442
-                                        </td>
443
-                                        <td style="width:8%">
448
+                                        </th>
449
+                                        <th style="width:8%">
444 450
                                             超时解决
445
-                                        </td>
446
-                                        <td style="width:8%">
451
+                                        </th>
452
+                                        <th style="width:8%">
447 453
                                             平均解决时间
448
-                                        </td>
449
-                                        <td style="width:8%">
454
+                                        </th>
455
+                                        <th style="width:8%">
450 456
                                             超时解决占比
451
-                                        </td>
457
+                                        </th>
452 458
                                     </tr>
453
-                                </tbody>
459
+                                </thead>
454 460
                             </table>
455 461
                             <div class="jry_table_wrap jry_table_wrap2" ng-nicescroll>
456 462
                                 <table class="jry_table jry_table_body" cellspacing="0" cellpadding="16"
@@ -531,12 +537,12 @@
531 537
                                         <th style="width:30%">
532 538
                                             区域/地点
533 539
                                         </th>
534
-                                        <th style="width:30%">
540
+                                        <th style="width:30%" ng-click="tableSort('sum')">
535 541
                                             <strong>
536 542
                                                 事件数量
537 543
                                                 <em class="sort-wrap">
538
-                                                    <i class="sortItem iconfont icon-xiangshang" ng-class="{active:sortActive == 'sumtop'}" ng-click="tableSort('sum','desc','top')"></i>
539
-                                                    <i class="sortItem iconfont icon-xiangxia" ng-class="{active:sortActive == 'sumbottom'}" ng-click="tableSort('sum','asc','bottom')"></i>
544
+                                                    <i class="sortItem iconfont icon-xiangshang" ng-class="{active:sortActive == 'sumtop'}"></i>
545
+                                                    <i class="sortItem iconfont icon-xiangxia" ng-class="{active:sortActive == 'sumbottom'}"></i>
540 546
                                                 </em>
541 547
                                             </strong>
542 548
                                         </th>
@@ -597,12 +603,12 @@
597 603
                                         <th style="width:30%">
598 604
                                             事件来源
599 605
                                         </th>
600
-                                        <th style="width:30%">
606
+                                        <th style="width:30%" ng-click="tableSort('sum')">
601 607
                                             <strong>
602 608
                                                 事件数量
603 609
                                                 <em class="sort-wrap">
604
-                                                    <i class="sortItem iconfont icon-xiangshang" ng-class="{active:sortActive == 'sumtop'}" ng-click="tableSort('sum','desc','top')"></i>
605
-                                                    <i class="sortItem iconfont icon-xiangxia" ng-class="{active:sortActive == 'sumbottom'}" ng-click="tableSort('sum','asc','bottom')"></i>
610
+                                                    <i class="sortItem iconfont icon-xiangshang" ng-class="{active:sortActive == 'sumtop'}"></i>
611
+                                                    <i class="sortItem iconfont icon-xiangxia" ng-class="{active:sortActive == 'sumbottom'}"></i>
606 612
                                                 </em>
607 613
                                             </strong>
608 614
                                         </th>
@@ -989,6 +995,10 @@
989 995
         background-color: #f9f9f9;
990 996
     }
991 997
 
998
+    .jry_table_head th {
999
+        cursor: pointer;
1000
+    }
1001
+
992 1002
     .jry_table_head * {
993 1003
         font-weight: bold;
994 1004
     }

+ 218 - 292
assets/views/report/service_form.html

@@ -42,14 +42,14 @@
42 42
                         <div class="clearfix">
43 43
                             <div class="form-group fl">
44 44
                                 <input type="text" ng-readonly="true" class="form-control smallline"
45
-                                    datepicker-popuptime="yyyy-MM-dd" ng-model="starttimes" max-date="endtimes"
45
+                                    datepicker-popuptime="yyyy-MM-dd" ng-model="starttimesModel" max-date="endtimesModel"
46 46
                                     is-open="startOpened" ng-init="startOpened = false" ng-click="startOpen($event)" />
47 47
                                 <i class="iconfont icon-yuqixinxiu form-dataIcon"></i>
48 48
                             </div>
49 49
                             <span class="form-line fl">一</span>
50 50
                             <div class="form-group fl">
51 51
                                 <input type="text" ng-readonly="true" class="form-control smallline"
52
-                                    datepicker-popuptime="yyyy-MM-dd" ng-model="endtimes" min-date="starttimes"
52
+                                    datepicker-popuptime="yyyy-MM-dd" ng-model="endtimesModel" min-date="starttimesModel"
53 53
                                     max-date="nowtimes" is-open="endOpened" ng-init="endOpened = false"
54 54
                                     ng-click="endOpen($event)" />
55 55
                                 <i class="iconfont icon-yuqixinxiu form-dataIcon"></i>
@@ -58,7 +58,7 @@
58 58
                     </div>
59 59
                     <!-- 搜索重置 -->
60 60
                     <div class="col-xs-3 col-sm-3 pull-right P-0 searchBtnBox">
61
-                        <div class="btn btn_search fl" ng-click="mdxquery('all')">搜索</div>
61
+                        <div class="btn btn_search fl" ng-click="mdxquery(name, type)">搜索</div>
62 62
                         <div class="btn btn_reset fl" ng-click="reload()" ng-disabled="disabledParentGroup">重置</div>
63 63
                         <!-- <div class="btn btn_export fl" ng-click="export()" id="exportToExcel"
64 64
                             ng-disabled="disabledParentGroup">导出</div> -->
@@ -67,42 +67,46 @@
67 67
             </div>
68 68
             <!-- 综合统计 -->
69 69
             <div class="deck_cont_body" ng-if="tap=='ZHTJ'">
70
-                <div class="deck_cont_body_TB1">
70
+                <div class="deck_cont_body_TB1" ng-if="isArrays(zhtj_list)&&zhtj_list.length>0">
71 71
                     <div class="TB">
72 72
                         <div class="TB_head">
73 73
                             <div class="TB_head_L">
74 74
                                 <div class="TB_LDZH fl">
75 75
                                     <p>请求总数</p>
76
-                                    <span>600</span>
76
+                                    <span>{{zhtj_req_total}}</span>
77 77
                                 </div>
78 78
                                 <div class="TB_ITEMS fl">
79 79
                                     <div class="TB_ITEM">
80
-                                        <p>电话</p>
81
-                                        <span>200 &nbsp;33%</span>
80
+                                        <p>电话总数</p>
81
+                                        <span>{{zhtj_req_phone}}</span>
82 82
                                     </div>
83 83
                                     <div class="TB_ITEM">
84
-                                        <p>微信/WEB</p>
85
-                                        <span>300 &nbsp;50%</span>
84
+                                        <p>微信/WEB总数</p>
85
+                                        <span>{{zhtj_req_wxweb}}</span>
86 86
                                     </div>
87 87
                                     <div class="TB_ITEM">
88
-                                        <p>电话留言</p>
89
-                                        <span>100 &nbsp;17%</span>
88
+                                        <p>电话留言总数</p>
89
+                                        <span>{{zhtj_req_msg}}</span>
90
+                                    </div>
91
+                                    <div class="TB_ITEM">
92
+                                        <p>柜台</p>
93
+                                        <span>{{zhtj_req_desk}}</span>
90 94
                                     </div>
91 95
                                 </div>
92 96
                             </div>
93 97
                             <div class="TB_head_L">
94 98
                                 <div class="TB_LDZH fl">
95 99
                                     <p>工单转换总数</p>
96
-                                    <span>300 &nbsp;50%</span>
100
+                                    <span>{{zhtj_trans_total}}</span>
97 101
                                 </div>
98 102
                                 <div class="TB_ITEMS fl">
99 103
                                     <div class="TB_ITEM">
100
-                                        <p>直接处理</p>
101
-                                        <span>200 &nbsp;67%</span>
104
+                                        <p>直接处理数量</p>
105
+                                        <span>{{zhtj_p_total}}</span>
102 106
                                     </div>
103 107
                                     <div class="TB_ITEM">
104
-                                        <p>派单</p>
105
-                                        <span>100 &nbsp;33%</span>
108
+                                        <p>派单数量</p>
109
+                                        <span>{{zhtj_unp_total}}</span>
106 110
                                     </div>
107 111
                                 </div>
108 112
                             </div>
@@ -115,63 +119,69 @@
115 119
                                         <th style="width:6%">
116 120
                                             序号
117 121
                                         </th>
118
-                                        <th style="width:24%">
119
-                                            日期
120
-                                        </th>
121
-                                        <th style="width:8%">
122
+                                        <th style="width:11%">
122 123
                                             人员
123 124
                                         </th>
124
-                                        <th style="width:10%">
125
+                                        <th style="width:11%" ng-click="tableSort('total')">
125 126
                                             <strong>
126 127
                                                 建单数量
127 128
                                                 <em class="sort-wrap">
128
-                                                    <i class="sortItem iconfont icon-xiangshang"></i>
129
-                                                    <i class="sortItem iconfont icon-xiangxia"></i>
129
+                                                    <i class="sortItem iconfont icon-xiangshang" ng-class="{active:sortActive == 'totaltop'}"></i>
130
+                                                    <i class="sortItem iconfont icon-xiangxia" ng-class="{active:sortActive == 'totalbottom'}"></i>
130 131
                                                 </em>
131 132
                                             </strong>
132 133
                                         </th>
133
-                                        <th style="width:8%">
134
+                                        <th style="width:11%" ng-click="tableSort('p_total')">
134 135
                                             <strong>
135
-                                                建单占比
136
+                                                直接处理数量
136 137
                                                 <em class="sort-wrap">
137
-                                                    <i class="sortItem iconfont icon-xiangshang"></i>
138
-                                                    <i class="sortItem iconfont icon-xiangxia"></i>
138
+                                                    <i class="sortItem iconfont icon-xiangshang" ng-class="{active:sortActive == 'p_totaltop'}"></i>
139
+                                                    <i class="sortItem iconfont icon-xiangxia" ng-class="{active:sortActive == 'p_totalbottom'}"></i>
139 140
                                                 </em>
140 141
                                             </strong>
141 142
                                         </th>
142
-                                        <th style="width:14%">
143
+                                        <th style="width:11%" ng-click="tableSort('unp_total')">
143 144
                                             <strong>
144
-                                                直接处理数
145
+                                                处理工单
145 146
                                                 <em class="sort-wrap">
146
-                                                    <i class="sortItem iconfont icon-xiangshang"></i>
147
-                                                    <i class="sortItem iconfont icon-xiangxia"></i>
147
+                                                    <i class="sortItem iconfont icon-xiangshang" ng-class="{active:sortActive == 'unp_totaltop'}"></i>
148
+                                                    <i class="sortItem iconfont icon-xiangxia" ng-class="{active:sortActive == 'unp_totalbottom'}"></i>
148 149
                                                 </em>
149 150
                                             </strong>
150 151
                                         </th>
151
-                                        <th style="width:12%">
152
+                                        <th style="width:11%" ng-click="tableSort('handle_phone')">
152 153
                                             <strong>
153
-                                                直接处理占比
154
+                                                电话接听数
154 155
                                                 <em class="sort-wrap">
155
-                                                    <i class="sortItem iconfont icon-xiangshang"></i>
156
-                                                    <i class="sortItem iconfont icon-xiangxia"></i>
156
+                                                    <i class="sortItem iconfont icon-xiangshang" ng-class="{active:sortActive == 'handle_phonetop'}"></i>
157
+                                                    <i class="sortItem iconfont icon-xiangxia" ng-class="{active:sortActive == 'handle_phonebottom'}"></i>
157 158
                                                 </em>
158 159
                                             </strong>
159 160
                                         </th>
160
-                                        <th style="width:10%">
161
+                                        <th style="width:17%" ng-click="tableSort('handle_wxweb')">
161 162
                                             <strong>
162
-                                                派单数量
163
+                                                微信/web报修处理数
163 164
                                                 <em class="sort-wrap">
164
-                                                    <i class="sortItem iconfont icon-xiangshang"></i>
165
-                                                    <i class="sortItem iconfont icon-xiangxia"></i>
165
+                                                    <i class="sortItem iconfont icon-xiangshang" ng-class="{active:sortActive == 'handle_wxwebtop'}"></i>
166
+                                                    <i class="sortItem iconfont icon-xiangxia" ng-class="{active:sortActive == 'handle_wxwebbottom'}"></i>
166 167
                                                 </em>
167 168
                                             </strong>
168 169
                                         </th>
169
-                                        <th style="width:8%">
170
+                                        <th style="width:11%" ng-click="tableSort('handle_msg')">
170 171
                                             <strong>
171
-                                                派单占比
172
+                                                留言处理数
172 173
                                                 <em class="sort-wrap">
173
-                                                    <i class="sortItem iconfont icon-xiangshang"></i>
174
-                                                    <i class="sortItem iconfont icon-xiangxia"></i>
174
+                                                    <i class="sortItem iconfont icon-xiangshang" ng-class="{active:sortActive == 'handle_msgtop'}"></i>
175
+                                                    <i class="sortItem iconfont icon-xiangxia" ng-class="{active:sortActive == 'handle_msgbottom'}"></i>
176
+                                                </em>
177
+                                            </strong>
178
+                                        </th>
179
+                                        <th style="width:11%" ng-click="tableSort('handle_desk')">
180
+                                            <strong>
181
+                                                柜台受理数
182
+                                                <em class="sort-wrap">
183
+                                                    <i class="sortItem iconfont icon-xiangshang" ng-class="{active:sortActive == 'handle_desktop'}"></i>
184
+                                                    <i class="sortItem iconfont icon-xiangxia" ng-class="{active:sortActive == 'handle_deskbottom'}"></i>
175 185
                                                 </em>
176 186
                                             </strong>
177 187
                                         </th>
@@ -183,33 +193,33 @@
183 193
                                     style="font-weight:normal !important;margin-bottom: 16px;table-layout:fixed">
184 194
                                     <tbody class="tbody-hover">
185 195
                                         <tr
186
-                                            ng-repeat="rowData in [1,11,111,2,22,222,3,33,333,4,44,444,5,55,555,6,66,666,7,77,777,8,88,888,9,99,999]">
196
+                                            ng-repeat="rowData in zhtj_list">
187 197
                                             <td style="width:6%">
188 198
                                                 {{$index+1}}
189 199
                                             </td>
190
-                                            <td style="width:24%">
191
-                                                2018/08/09~2018/08/10
200
+                                            <td style="width:11%">
201
+                                                {{rowData.userName}}
192 202
                                             </td>
193
-                                            <td style="width:8%">
194
-                                                阿明明
203
+                                            <td style="width:11%">
204
+                                                {{rowData.total}}
195 205
                                             </td>
196
-                                            <td style="width:10%">
197
-                                                891
206
+                                            <td style="width:11%">
207
+                                                {{rowData.p_total}}
198 208
                                             </td>
199
-                                            <td style="width:8%">
200
-                                                28%
209
+                                            <td style="width:11%">
210
+                                                {{rowData.unp_total}}
201 211
                                             </td>
202
-                                            <td style="width:14%">
203
-                                                509
212
+                                            <td style="width:11%">
213
+                                                {{rowData.handle_phone}}
204 214
                                             </td>
205
-                                            <td style="width:12%">
206
-                                                25%
215
+                                            <td style="width:17%">
216
+                                                {{rowData.handle_wxweb}}
207 217
                                             </td>
208
-                                            <td style="width:10%">
209
-                                                96
218
+                                            <td style="width:11%">
219
+                                                {{rowData.handle_msg}}
210 220
                                             </td>
211
-                                            <td style="width:8%">
212
-                                                56%
221
+                                            <td style="width:11%">
222
+                                                {{rowData.handle_desk}}
213 223
                                             </td>
214 224
                                         </tr>
215 225
                                     </tbody>
@@ -219,41 +229,43 @@
219 229
                     </div>
220 230
 
221 231
                 </div>
232
+                <div class="noData" ng-if="isArrays(zhtj_list)&&zhtj_list.length==0">查询无记录</div>
233
+                <div class="noData" ng-if="!isArrays(zhtj_list)"><img src="/assets/images/loading.gif" alt=""></div>
222 234
             </div>
223 235
             <!-- 电话统计 -->
224 236
             <div class="deck_cont_body" ng-if="tap=='DHTJ'">
225
-                <div class="deck_cont_body_TB1">
237
+                <div class="deck_cont_body_TB1" ng-if="isArrays(dhtj_list)&&dhtj_list.length>0">
226 238
                     <div class="TB">
227 239
                         <div class="TB_head">
228 240
                             <div class="TB_head_L">
229 241
                                 <div class="TB_LDZH fl">
230 242
                                     <p>来电总数</p>
231
-                                    <span>600</span>
243
+                                    <span>{{dhtj_req_total}}</span>
232 244
                                 </div>
233 245
                                 <div class="TB_ITEMS fl">
234 246
                                     <div class="TB_ITEM">
235 247
                                         <p>接听数量</p>
236
-                                        <span>500 &nbsp;83%</span>
248
+                                        <span>{{dhtj_req_answer}}</span>
237 249
                                     </div>
238 250
                                     <div class="TB_ITEM">
239 251
                                         <p>未接数量</p>
240
-                                        <span>100 &nbsp;17%</span>
252
+                                        <span>{{dhtj_req_miss}}</span>
241 253
                                     </div>
242 254
                                 </div>
243 255
                             </div>
244 256
                             <div class="TB_head_L">
245 257
                                 <div class="TB_LDZH fl">
246 258
                                     <p>电话建单总数</p>
247
-                                    <span>450 &nbsp;90%</span>
259
+                                    <span>{{dhtj_p_total}}</span>
248 260
                                 </div>
249 261
                                 <div class="TB_ITEMS fl">
250 262
                                     <div class="TB_ITEM">
251 263
                                         <p>直接解决</p>
252
-                                        <span>100 &nbsp;22%</span>
264
+                                        <span>{{dhtj_p_phone}}</span>
253 265
                                     </div>
254 266
                                     <div class="TB_ITEM">
255
-                                        <p>派单</p>
256
-                                        <span>350 &nbsp;78%</span>
267
+                                        <p>派单数量</p>
268
+                                        <span>{{dhtj_unp_phone}}</span>
257 269
                                     </div>
258 270
                                 </div>
259 271
                             </div>
@@ -266,99 +278,42 @@
266 278
                                         <th style="width:6%">
267 279
                                             序号
268 280
                                         </th>
269
-                                        <th style="width:24%">
270
-                                            日期
271
-                                        </th>
272
-                                        <th style="width:8%">
281
+                                        <th style="width:14%">
273 282
                                             人员
274 283
                                         </th>
275
-                                        <th style="width:10%">
284
+                                        <th style="width:20%" ng-click="tableSort('answer')">
276 285
                                             <strong>
277 286
                                                 接听数量
278 287
                                                 <em class="sort-wrap">
279
-                                                    <i class="sortItem iconfont icon-xiangshang"></i>
280
-                                                    <i class="sortItem iconfont icon-xiangxia"></i>
281
-                                                </em>
282
-                                            </strong>
283
-                                        </th>
284
-                                        <th style="width:10%">
285
-                                            <strong>
286
-                                                接听占比
287
-                                                <em class="sort-wrap">
288
-                                                    <i class="sortItem iconfont icon-xiangshang"></i>
289
-                                                    <i class="sortItem iconfont icon-xiangxia"></i>
290
-                                                </em>
291
-                                            </strong>
292
-                                        </th>
293
-                                        <th style="width:10%">
294
-                                            <strong>
295
-                                                未接数量
296
-                                                <em class="sort-wrap">
297
-                                                    <i class="sortItem iconfont icon-xiangshang"></i>
298
-                                                    <i class="sortItem iconfont icon-xiangxia"></i>
288
+                                                    <i class="sortItem iconfont icon-xiangshang" ng-class="{active:sortActive == 'answertop'}"></i>
289
+                                                    <i class="sortItem iconfont icon-xiangxia" ng-class="{active:sortActive == 'answerbottom'}"></i>
299 290
                                                 </em>
300 291
                                             </strong>
301 292
                                         </th>
302
-                                        <th style="width:10%">
303
-                                            <strong>
304
-                                                未接占比
305
-                                                <em class="sort-wrap">
306
-                                                    <i class="sortItem iconfont icon-xiangshang"></i>
307
-                                                    <i class="sortItem iconfont icon-xiangxia"></i>
308
-                                                </em>
309
-                                            </strong>
310
-                                        </th>
311
-                                        <th style="width:10%">
293
+                                        <th style="width:20%" ng-click="tableSort('total')">
312 294
                                             <strong>
313 295
                                                 建单数量
314 296
                                                 <em class="sort-wrap">
315
-                                                    <i class="sortItem iconfont icon-xiangshang"></i>
316
-                                                    <i class="sortItem iconfont icon-xiangxia"></i>
317
-                                                </em>
318
-                                            </strong>
319
-                                        </th>
320
-                                        <th style="width:10%">
321
-                                            <strong>
322
-                                                建单占比
323
-                                                <em class="sort-wrap">
324
-                                                    <i class="sortItem iconfont icon-xiangshang"></i>
325
-                                                    <i class="sortItem iconfont icon-xiangxia"></i>
326
-                                                </em>
327
-                                            </strong>
328
-                                        </th>
329
-                                        <th style="width:8%">
330
-                                            <strong>
331
-                                                直接解决数量
332
-                                                <em class="sort-wrap">
333
-                                                    <i class="sortItem iconfont icon-xiangshang"></i>
334
-                                                    <i class="sortItem iconfont icon-xiangxia"></i>
297
+                                                    <i class="sortItem iconfont icon-xiangshang" ng-class="{active:sortActive == 'totaltop'}"></i>
298
+                                                    <i class="sortItem iconfont icon-xiangxia" ng-class="{active:sortActive == 'totalbottom'}"></i>
335 299
                                                 </em>
336 300
                                             </strong>
337 301
                                         </th>
338
-                                        <th style="width:8%">
302
+                                        <th style="width:20%" ng-click="tableSort('p_total')">
339 303
                                             <strong>
340
-                                                直接解决占比
304
+                                                直接解决
341 305
                                                 <em class="sort-wrap">
342
-                                                    <i class="sortItem iconfont icon-xiangshang"></i>
343
-                                                    <i class="sortItem iconfont icon-xiangxia"></i>
306
+                                                    <i class="sortItem iconfont icon-xiangshang" ng-class="{active:sortActive == 'p_totaltop'}"></i>
307
+                                                    <i class="sortItem iconfont icon-xiangxia" ng-class="{active:sortActive == 'p_totalbottom'}"></i>
344 308
                                                 </em>
345 309
                                             </strong>
346 310
                                         </th>
347
-                                        <th style="width:10%">
311
+                                        <th style="width:20%" ng-click="tableSort('unp_total')">
348 312
                                             <strong>
349 313
                                                 派单数量
350 314
                                                 <em class="sort-wrap">
351
-                                                    <i class="sortItem iconfont icon-xiangshang"></i>
352
-                                                    <i class="sortItem iconfont icon-xiangxia"></i>
353
-                                                </em>
354
-                                            </strong>
355
-                                        </th>
356
-                                        <th style="width:10%">
357
-                                            <strong>
358
-                                                派单占比
359
-                                                <em class="sort-wrap">
360
-                                                    <i class="sortItem iconfont icon-xiangshang"></i>
361
-                                                    <i class="sortItem iconfont icon-xiangxia"></i>
315
+                                                    <i class="sortItem iconfont icon-xiangshang" ng-class="{active:sortActive == 'unp_totaltop'}"></i>
316
+                                                    <i class="sortItem iconfont icon-xiangxia" ng-class="{active:sortActive == 'unp_totalbottom'}"></i>
362 317
                                                 </em>
363 318
                                             </strong>
364 319
                                         </th>
@@ -370,45 +325,24 @@
370 325
                                     style="font-weight:normal !important;margin-bottom: 16px;table-layout:fixed">
371 326
                                     <tbody class="tbody-hover">
372 327
                                         <tr
373
-                                            ng-repeat="rowData in [1,11,111,2,22,222,3,33,333,4,44,444,5,55,555,6,66,666,7,77,777,8,88,888,9,99,999]">
328
+                                            ng-repeat="rowData in dhtj_list">
374 329
                                             <td style="width:6%">
375 330
                                                 {{$index+1}}
376 331
                                             </td>
377
-                                            <td style="width:24%">
378
-                                                2018/08/09~2018/08/10
379
-                                            </td>
380
-                                            <td style="width:8%">
381
-                                                阿明明
382
-                                            </td>
383
-                                            <td style="width:10%">
384
-                                                891
385
-                                            </td>
386
-                                            <td style="width:10%">
387
-                                                28%
388
-                                            </td>
389
-                                            <td style="width:10%">
390
-                                                509
391
-                                            </td>
392
-                                            <td style="width:10%">
393
-                                                25%
394
-                                            </td>
395
-                                            <td style="width:10%">
396
-                                                96
397
-                                            </td>
398
-                                            <td style="width:10%">
399
-                                                56%
332
+                                            <td style="width:14%">
333
+                                                {{rowData.userName}}
400 334
                                             </td>
401
-                                            <td style="width:8%">
402
-                                                96
335
+                                            <td style="width:20%">
336
+                                                {{rowData.answer}}
403 337
                                             </td>
404
-                                            <td style="width:8%">
405
-                                                56%
338
+                                            <td style="width:20%">
339
+                                                {{rowData.total}}
406 340
                                             </td>
407
-                                            <td style="width:10%">
408
-                                                96
341
+                                            <td style="width:20%">
342
+                                                {{rowData.p_total}}
409 343
                                             </td>
410
-                                            <td style="width:10%">
411
-                                                56%
344
+                                            <td style="width:20%">
345
+                                                {{rowData.unp_total}}
412 346
                                             </td>
413 347
                                         </tr>
414 348
                                     </tbody>
@@ -418,41 +352,43 @@
418 352
                     </div>
419 353
 
420 354
                 </div>
355
+                <div class="noData" ng-if="isArrays(dhtj_list)&&dhtj_list.length==0">查询无记录</div>
356
+                <div class="noData" ng-if="!isArrays(dhtj_list)"><img src="/assets/images/loading.gif" alt=""></div>
421 357
             </div>
422 358
             <!-- 微信/WEB统计 -->
423 359
             <div class="deck_cont_body" ng-if="tap=='WEB'">
424
-                <div class="deck_cont_body_TB1">
360
+                <div class="deck_cont_body_TB1" ng-if="isArrays(web_list)&&web_list.length>0">
425 361
                     <div class="TB">
426 362
                         <div class="TB_head">
427 363
                             <div class="TB_head_L">
428 364
                                 <div class="TB_LDZH fl">
429 365
                                     <p>微信/WEB报修总数</p>
430
-                                    <span>600</span>
366
+                                    <span>{{web_req_total}}</span>
431 367
                                 </div>
432 368
                                 <div class="TB_ITEMS fl">
433 369
                                     <div class="TB_ITEM">
434 370
                                         <p>转换数量</p>
435
-                                        <span>500 &nbsp;83%</span>
371
+                                        <span>{{web_req_trans}}</span>
436 372
                                     </div>
437 373
                                     <div class="TB_ITEM">
438 374
                                         <p>未转换数量</p>
439
-                                        <span>100 &nbsp;17%</span>
375
+                                        <span>{{web_req_reject}}</span>
440 376
                                     </div>
441 377
                                 </div>
442 378
                             </div>
443 379
                             <div class="TB_head_L">
444 380
                                 <div class="TB_LDZH fl">
445 381
                                     <p>微信/WEB转换总数</p>
446
-                                    <span>500</span>
382
+                                    <span>{{web_trans_total}}</span>
447 383
                                 </div>
448 384
                                 <div class="TB_ITEMS fl">
449 385
                                     <div class="TB_ITEM">
450 386
                                         <p>直接解决</p>
451
-                                        <span>150 &nbsp;30%</span>
387
+                                        <span>{{web_p_total}}</span>
452 388
                                     </div>
453 389
                                     <div class="TB_ITEM">
454 390
                                         <p>派单</p>
455
-                                        <span>350 &nbsp;70%</span>
391
+                                        <span>{{web_unp_total}}</span>
456 392
                                     </div>
457 393
                                 </div>
458 394
                             </div>
@@ -465,63 +401,51 @@
465 401
                                         <th style="width:6%">
466 402
                                             序号
467 403
                                         </th>
468
-                                        <th style="width:24%">
469
-                                            日期
470
-                                        </th>
471
-                                        <th style="width:8%">
404
+                                        <th style="width:14%">
472 405
                                             人员
473 406
                                         </th>
474
-                                        <th style="width:10%">
407
+                                        <th style="width:16%" ng-click="tableSort('completed')">
475 408
                                             <strong>
476
-                                                转换数量
409
+                                                受理报修数
477 410
                                                 <em class="sort-wrap">
478
-                                                    <i class="sortItem iconfont icon-xiangshang"></i>
479
-                                                    <i class="sortItem iconfont icon-xiangxia"></i>
411
+                                                    <i class="sortItem iconfont icon-xiangshang" ng-class="{active:sortActive == 'completedtop'}"></i>
412
+                                                    <i class="sortItem iconfont icon-xiangxia" ng-class="{active:sortActive == 'completedbottom'}"></i>
480 413
                                                 </em>
481 414
                                             </strong>
482 415
                                         </th>
483
-                                        <th style="width:8%">
416
+                                        <th style="width:16%" ng-click="tableSort('reject')">
484 417
                                             <strong>
485
-                                                转换占比
418
+                                                不受理数
486 419
                                                 <em class="sort-wrap">
487
-                                                    <i class="sortItem iconfont icon-xiangshang"></i>
488
-                                                    <i class="sortItem iconfont icon-xiangxia"></i>
420
+                                                    <i class="sortItem iconfont icon-xiangshang" ng-class="{active:sortActive == 'rejecttop'}"></i>
421
+                                                    <i class="sortItem iconfont icon-xiangxia" ng-class="{active:sortActive == 'rejectbottom'}"></i>
489 422
                                                 </em>
490 423
                                             </strong>
491 424
                                         </th>
492
-                                        <th style="width:14%">
425
+                                        <th style="width:16%" ng-click="tableSort('total')">
493 426
                                             <strong>
494
-                                                直接解决数量
427
+                                                转换数量
495 428
                                                 <em class="sort-wrap">
496
-                                                    <i class="sortItem iconfont icon-xiangshang"></i>
497
-                                                    <i class="sortItem iconfont icon-xiangxia"></i>
429
+                                                    <i class="sortItem iconfont icon-xiangshang" ng-class="{active:sortActive == 'totaltop'}"></i>
430
+                                                    <i class="sortItem iconfont icon-xiangxia" ng-class="{active:sortActive == 'totalbottom'}"></i>
498 431
                                                 </em>
499 432
                                             </strong>
500 433
                                         </th>
501
-                                        <th style="width:12%">
434
+                                        <th style="width:16%" ng-click="tableSort('p_total')">
502 435
                                             <strong>
503
-                                                直接解决占比
436
+                                                直接解决数量
504 437
                                                 <em class="sort-wrap">
505
-                                                    <i class="sortItem iconfont icon-xiangshang"></i>
506
-                                                    <i class="sortItem iconfont icon-xiangxia"></i>
438
+                                                    <i class="sortItem iconfont icon-xiangshang" ng-class="{active:sortActive == 'p_totaltop'}"></i>
439
+                                                    <i class="sortItem iconfont icon-xiangxia" ng-class="{active:sortActive == 'p_totalbottom'}"></i>
507 440
                                                 </em>
508 441
                                             </strong>
509 442
                                         </th>
510
-                                        <th style="width:10%">
443
+                                        <th style="width:16%" ng-click="tableSort('unp_total')">
511 444
                                             <strong>
512 445
                                                 派单数量
513 446
                                                 <em class="sort-wrap">
514
-                                                    <i class="sortItem iconfont icon-xiangshang"></i>
515
-                                                    <i class="sortItem iconfont icon-xiangxia"></i>
516
-                                                </em>
517
-                                            </strong>
518
-                                        </th>
519
-                                        <th style="width:8%">
520
-                                            <strong>
521
-                                                派单占比
522
-                                                <em class="sort-wrap">
523
-                                                    <i class="sortItem iconfont icon-xiangshang"></i>
524
-                                                    <i class="sortItem iconfont icon-xiangxia"></i>
447
+                                                    <i class="sortItem iconfont icon-xiangshang" ng-class="{active:sortActive == 'unp_totaltop'}"></i>
448
+                                                    <i class="sortItem iconfont icon-xiangxia" ng-class="{active:sortActive == 'unp_totalbottom'}"></i>
525 449
                                                 </em>
526 450
                                             </strong>
527 451
                                         </th>
@@ -533,33 +457,27 @@
533 457
                                     style="font-weight:normal !important;margin-bottom: 16px;table-layout:fixed">
534 458
                                     <tbody class="tbody-hover">
535 459
                                         <tr
536
-                                            ng-repeat="rowData in [1,11,111,2,22,222,3,33,333,4,44,444,5,55,555,6,66,666,7,77,777,8,88,888,9,99,999]">
460
+                                            ng-repeat="rowData in web_list">
537 461
                                             <td style="width:6%">
538 462
                                                 {{$index+1}}
539 463
                                             </td>
540
-                                            <td style="width:24%">
541
-                                                2018/08/09~2018/08/10
542
-                                            </td>
543
-                                            <td style="width:8%">
544
-                                                阿明明
464
+                                            <td style="width:14%">
465
+                                                {{rowData.userName}}
545 466
                                             </td>
546
-                                            <td style="width:10%">
547
-                                                891
467
+                                            <td style="width:16%">
468
+                                                {{rowData.completed}}
548 469
                                             </td>
549
-                                            <td style="width:8%">
550
-                                                28%
470
+                                            <td style="width:16%">
471
+                                                {{rowData.reject}}
551 472
                                             </td>
552
-                                            <td style="width:14%">
553
-                                                509
473
+                                            <td style="width:16%">
474
+                                                {{rowData.total}}
554 475
                                             </td>
555
-                                            <td style="width:12%">
556
-                                                25%
476
+                                            <td style="width:16%">
477
+                                                {{rowData.p_total}}
557 478
                                             </td>
558
-                                            <td style="width:10%">
559
-                                                96
560
-                                            </td>
561
-                                            <td style="width:8%">
562
-                                                56%
479
+                                            <td style="width:16%">
480
+                                                {{rowData.unp_total}}
563 481
                                             </td>
564 482
                                         </tr>
565 483
                                     </tbody>
@@ -569,41 +487,43 @@
569 487
                     </div>
570 488
 
571 489
                 </div>
490
+                <div class="noData" ng-if="isArrays(web_list)&&web_list.length==0">查询无记录</div>
491
+                <div class="noData" ng-if="!isArrays(web_list)"><img src="/assets/images/loading.gif" alt=""></div>
572 492
             </div>
573 493
             <!-- 电话留言统计 -->
574 494
             <div class="deck_cont_body" ng-if="tap=='DHLYTJ'">
575
-                <div class="deck_cont_body_TB1">
495
+                <div class="deck_cont_body_TB1" ng-if="isArrays(dhlytj_list)&&dhlytj_list.length>0">
576 496
                     <div class="TB">
577 497
                         <div class="TB_head">
578 498
                             <div class="TB_head_L">
579 499
                                 <div class="TB_LDZH fl">
580 500
                                     <p>电话留言总数</p>
581
-                                    <span>600</span>
501
+                                    <span>{{web_req_total}}</span>
582 502
                                 </div>
583 503
                                 <div class="TB_ITEMS fl">
584 504
                                     <div class="TB_ITEM">
585
-                                        <p>转换数量</p>
586
-                                        <span>500 &nbsp;83%</span>
505
+                                        <p>建单总数</p>
506
+                                        <span>{{web_req_trans}}</span>
587 507
                                     </div>
588 508
                                     <div class="TB_ITEM">
589
-                                        <p>未转换数量</p>
590
-                                        <span>100 &nbsp;17%</span>
509
+                                        <p>不受理总数</p>
510
+                                        <span>{{web_req_reject}}</span>
591 511
                                     </div>
592 512
                                 </div>
593 513
                             </div>
594 514
                             <div class="TB_head_L">
595 515
                                 <div class="TB_LDZH fl">
596 516
                                     <p>电话留言转换总数</p>
597
-                                    <span>500</span>
517
+                                    <span>{{web_trans_total}}</span>
598 518
                                 </div>
599 519
                                 <div class="TB_ITEMS fl">
600 520
                                     <div class="TB_ITEM">
601
-                                        <p>直接解决</p>
602
-                                        <span>150 &nbsp;30%</span>
521
+                                        <p>直接解决总数</p>
522
+                                        <span>{{web_p_total}}</span>
603 523
                                     </div>
604 524
                                     <div class="TB_ITEM">
605
-                                        <p>派单</p>
606
-                                        <span>350 &nbsp;70%</span>
525
+                                        <p>派单总数</p>
526
+                                        <span>{{web_unp_total}}</span>
607 527
                                     </div>
608 528
                                 </div>
609 529
                             </div>
@@ -616,63 +536,51 @@
616 536
                                         <th style="width:6%">
617 537
                                             序号
618 538
                                         </th>
619
-                                        <th style="width:24%">
620
-                                            日期
621
-                                        </th>
622
-                                        <th style="width:8%">
539
+                                        <th style="width:14%">
623 540
                                             人员
624 541
                                         </th>
625
-                                        <th style="width:10%">
542
+                                        <th style="width:16%" ng-click="tableSort('completed')">
626 543
                                             <strong>
627
-                                                转换数量
544
+                                                受理总数
628 545
                                                 <em class="sort-wrap">
629
-                                                    <i class="sortItem iconfont icon-xiangshang"></i>
630
-                                                    <i class="sortItem iconfont icon-xiangxia"></i>
546
+                                                    <i class="sortItem iconfont icon-xiangshang" ng-class="{active:sortActive == 'completedtop'}"></i>
547
+                                                    <i class="sortItem iconfont icon-xiangxia" ng-class="{active:sortActive == 'completedbottom'}"></i>
631 548
                                                 </em>
632 549
                                             </strong>
633 550
                                         </th>
634
-                                        <th style="width:8%">
551
+                                        <th style="width:16%" ng-click="tableSort('reject')">
635 552
                                             <strong>
636
-                                                转换占比
553
+                                                不受理总数
637 554
                                                 <em class="sort-wrap">
638
-                                                    <i class="sortItem iconfont icon-xiangshang"></i>
639
-                                                    <i class="sortItem iconfont icon-xiangxia"></i>
555
+                                                    <i class="sortItem iconfont icon-xiangshang" ng-class="{active:sortActive == 'rejecttop'}"></i>
556
+                                                    <i class="sortItem iconfont icon-xiangxia" ng-class="{active:sortActive == 'rejectbottom'}"></i>
640 557
                                                 </em>
641 558
                                             </strong>
642 559
                                         </th>
643
-                                        <th style="width:14%">
560
+                                        <th style="width:16%" ng-click="tableSort('total')">
644 561
                                             <strong>
645
-                                                直接解决数量
562
+                                                建单总数
646 563
                                                 <em class="sort-wrap">
647
-                                                    <i class="sortItem iconfont icon-xiangshang"></i>
648
-                                                    <i class="sortItem iconfont icon-xiangxia"></i>
564
+                                                    <i class="sortItem iconfont icon-xiangshang" ng-class="{active:sortActive == 'totaltop'}"></i>
565
+                                                    <i class="sortItem iconfont icon-xiangxia" ng-class="{active:sortActive == 'totalbottom'}"></i>
649 566
                                                 </em>
650 567
                                             </strong>
651 568
                                         </th>
652
-                                        <th style="width:12%">
569
+                                        <th style="width:16%" ng-click="tableSort('p_total')">
653 570
                                             <strong>
654
-                                                直接解决占比
655
-                                                <em class="sort-wrap">
656
-                                                    <i class="sortItem iconfont icon-xiangshang"></i>
657
-                                                    <i class="sortItem iconfont icon-xiangxia"></i>
658
-                                                </em>
659
-                                            </strong>
660
-                                        </th>
661
-                                        <th style="width:10%">
662
-                                            <strong>
663
-                                                派单数量
571
+                                                直接解决总数
664 572
                                                 <em class="sort-wrap">
665
-                                                    <i class="sortItem iconfont icon-xiangshang"></i>
666
-                                                    <i class="sortItem iconfont icon-xiangxia"></i>
573
+                                                    <i class="sortItem iconfont icon-xiangshang" ng-class="{active:sortActive == 'p_totaltop'}"></i>
574
+                                                    <i class="sortItem iconfont icon-xiangxia" ng-class="{active:sortActive == 'p_totalbottom'}"></i>
667 575
                                                 </em>
668 576
                                             </strong>
669 577
                                         </th>
670
-                                        <th style="width:8%">
578
+                                        <th style="width:16%" ng-click="tableSort('unp_total')">
671 579
                                             <strong>
672
-                                                派单占比
580
+                                                派单总数
673 581
                                                 <em class="sort-wrap">
674
-                                                    <i class="sortItem iconfont icon-xiangshang"></i>
675
-                                                    <i class="sortItem iconfont icon-xiangxia"></i>
582
+                                                    <i class="sortItem iconfont icon-xiangshang" ng-class="{active:sortActive == 'unp_totaltop'}"></i>
583
+                                                    <i class="sortItem iconfont icon-xiangxia" ng-class="{active:sortActive == 'unp_totalbottom'}"></i>
676 584
                                                 </em>
677 585
                                             </strong>
678 586
                                         </th>
@@ -684,33 +592,27 @@
684 592
                                     style="font-weight:normal !important;margin-bottom: 16px;table-layout:fixed">
685 593
                                     <tbody class="tbody-hover">
686 594
                                         <tr
687
-                                            ng-repeat="rowData in [1,11,111,2,22,222,3,33,333,4,44,444,5,55,555,6,66,666,7,77,777,8,88,888,9,99,999]">
595
+                                            ng-repeat="rowData in dhlytj_list">
688 596
                                             <td style="width:6%">
689 597
                                                 {{$index+1}}
690 598
                                             </td>
691
-                                            <td style="width:24%">
692
-                                                2018/08/09~2018/08/10
693
-                                            </td>
694
-                                            <td style="width:8%">
695
-                                                阿明明
696
-                                            </td>
697
-                                            <td style="width:10%">
698
-                                                891
599
+                                            <td style="width:14%">
600
+                                                {{rowData.userName}}
699 601
                                             </td>
700
-                                            <td style="width:8%">
701
-                                                28%
602
+                                            <td style="width:16%">
603
+                                                {{rowData.completed}}
702 604
                                             </td>
703
-                                            <td style="width:14%">
704
-                                                509
605
+                                            <td style="width:16%">
606
+                                                {{rowData.reject}}
705 607
                                             </td>
706
-                                            <td style="width:12%">
707
-                                                25%
608
+                                            <td style="width:16%">
609
+                                                {{rowData.total}}
708 610
                                             </td>
709
-                                            <td style="width:10%">
710
-                                                96
611
+                                            <td style="width:16%">
612
+                                                {{rowData.p_total}}
711 613
                                             </td>
712
-                                            <td style="width:8%">
713
-                                                56%
614
+                                            <td style="width:16%">
615
+                                                {{rowData.unp_total}}
714 616
                                             </td>
715 617
                                         </tr>
716 618
                                     </tbody>
@@ -719,6 +621,8 @@
719 621
                         </div>
720 622
                     </div>
721 623
                 </div>
624
+                <div class="noData" ng-if="isArrays(dhlytj_list)&&dhlytj_list.length==0">查询无记录</div>
625
+                <div class="noData" ng-if="!isArrays(dhlytj_list)"><img src="/assets/images/loading.gif" alt=""></div>
722 626
             </div>
723 627
         </div>
724 628
     </div>
@@ -853,6 +757,7 @@
853 757
     .TB_ITEM {
854 758
         float: left;
855 759
         margin-right: 16px;
760
+        text-align: center;
856 761
     }
857 762
 
858 763
     .MR_15 {
@@ -870,6 +775,10 @@
870 775
         line-height: 1.2;
871 776
     }
872 777
 
778
+    .TB_LDZH{
779
+        text-align: center;
780
+    }
781
+
873 782
     .TB_LDZH p {
874 783
         font-size: 14px;
875 784
         color: #666
@@ -1063,6 +972,10 @@
1063 972
         background-color: #f9f9f9;
1064 973
     }
1065 974
 
975
+    .jry_table_head th {
976
+        cursor: pointer;
977
+    }
978
+
1066 979
     .jry_table_body .tbody-hover {
1067 980
         width: 100%;
1068 981
     }
@@ -1103,6 +1016,10 @@
1103 1016
         position: absolute;
1104 1017
     }
1105 1018
 
1019
+    .sortItem.active {
1020
+        color: #999;
1021
+    }
1022
+
1106 1023
     .sortItem.icon-xiangshang {
1107 1024
         bottom: -2px;
1108 1025
     }
@@ -1110,6 +1027,15 @@
1110 1027
     .sortItem.icon-xiangxia {
1111 1028
         top: -2px;
1112 1029
     }
1030
+    /* 查询无记录 */
1031
+    .noData{
1032
+        font-size: 16px;
1033
+        text-align: center;
1034
+        font-weight: bold;
1035
+        margin-top: 16px;
1036
+        width: 100%;
1037
+        min-height: 420px;
1038
+    }
1113 1039
 
1114 1040
     .form-control.smallline {
1115 1041
         background-color: #fff;