liuzhen лет назад: 5
Родитель
Сommit
0ffd94383d

+ 199 - 0
WebUI/CallCenterWeb.UI/Business/Assessment.html

@@ -0,0 +1,199 @@
1
+<!DOCTYPE html>
2
+<html>
3
+
4
+<head>
5
+    <meta charset="UTF-8">
6
+    <title>办理效率统计</title>
7
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
8
+    <script src="../Script/Common/huayi.load.js"></script>
9
+    <script src="../Script/Common/huayi.config.js"></script>
10
+    <link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
11
+    <link href="../css/WorkOrder/Search.css" rel="stylesheet">
12
+    <link href="../css/init.css" rel="stylesheet" />
13
+    <script src="../js/laydate/laydate.js"></script>
14
+    <script src="../My97DatePicker/WdatePicker.js"></script>
15
+
16
+    <style>
17
+        table td {
18
+            word-break: break-all;
19
+            word-wrap: break-word;
20
+        }
21
+
22
+        .ld-service li {
23
+            float: left;
24
+            font-size: 14px;
25
+            color: #000;
26
+            padding: 5px 15px;
27
+            cursor: pointer;
28
+            border-bottom: 1px solid #ccc;
29
+        }
30
+
31
+        .cr-click {
32
+            border: 1px solid #ccc;
33
+            background-color: #fff;
34
+            border-bottom: none !important;
35
+            border-bottom-left-radius: 5px;
36
+            border-bottom-right-radius: 5px;
37
+        }
38
+
39
+        .Shows {
40
+            display: block !important;
41
+        }
42
+
43
+        .complain {
44
+            display: none;
45
+        }
46
+
47
+        th {
48
+            padding: 5px;
49
+            text-align: center;
50
+        }
51
+
52
+        td {
53
+            padding: 5px;
54
+        }
55
+
56
+        .Borders {
57
+            border: 1px solid #d7d7d7;
58
+        }
59
+
60
+        .cx {
61
+            display: block;
62
+        }
63
+    </style>
64
+</head>
65
+
66
+<body class="gray-bg">
67
+    <div class="wrapper wrapper-content animated fadeInRight">
68
+        <div class="daoHang clearfix">
69
+            <div class="dhLeft">
70
+                <sapn>
71
+                    <i class="syIcon"></i>位置:
72
+                    <a href="javaScript:;" id="ReIndex">首页</a>&gt;
73
+                    <a href="javaScript:;">工单处理</a>&gt;
74
+                    <a class="nowPosition">已考核列表</a>
75
+                </sapn>
76
+            </div>
77
+            <div class="dhRight">
78
+                <a href="" title="刷新"><i class="fa fa-refresh"></i></a>
79
+            </div>
80
+        </div>
81
+
82
+        <div class="Content_box">
83
+            <!--待处理/-->
84
+            <div class="complain Shows">
85
+                <div class="th-box">
86
+                    <div class="th-bar">
87
+                        <div class="seach-box">
88
+                            <ul>
89
+                                <li>
90
+                                    月份:					<input type="text" id="starttime" class="layui-input" placeholder="请选择时间" style="height: 32px;" />
91
+                                </li>
92
+                                <li>
93
+                                    <a class="sc_btn btns db" style="padding: 7px 10px;">搜索</a>
94
+                                    <!--<a class="sc_btn btns export">导出</a>-->
95
+                                </li>
96
+                                <!--<li><span class="text-danger" style="padding-left: 10px;line-height: 30px;">默认显示当前月的信息</span></li>-->
97
+                            </ul>
98
+                        </div>
99
+                    </div>
100
+                </div>
101
+                <div style="width: 100%;padding: 10px;">
102
+                    <table id="workorderlist" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
103
+                        <thead>
104
+                            <tr>
105
+                            	<th data-align="center" data-formatter="setCode">编号</th>
106
+                                <th data-field="F_DeptName" data-align="center">单位名称</th>
107
+                                <th data-field="F_DF_BLCore" data-align="center">办理情况</th>
108
+                                <th data-field="F_DF_CSCore" data-align="center">查收情况</th>
109
+                                <th data-field="F_DF_GFCore" data-align="center">办理规范</th>
110
+                                <th data-field="F_DF_HFCore" data-align="center">回访情况</th>
111
+                                <th data-field="F_DF_TBCore" data-align="center">通报情况</th>
112
+                                <th data-field="F_DF_THCore" data-align="center">退回情况</th>
113
+                                <th data-field="F_DF_ZSKCore" data-align="center">知识库情况</th>
114
+                                <th data-field="F_Id" data-formatter="Dispose" data-align="center">操作</th>
115
+                            </tr>
116
+                        </thead>
117
+                    </table>
118
+                </div>
119
+            </div>
120
+
121
+        </div>
122
+    </div>
123
+    <script>
124
+        initTable();
125
+        var keys;
126
+        $(document).ready(function () {
127
+            laydate.render({
128
+			    elem: '#starttime', //指定元素
129
+			    format: 'yyyyMM'
130
+			});
131
+            initTable();
132
+        })
133
+
134
+        function initTable() {
135
+            $.ajax({
136
+                url: huayi.config.callcenter_url + 'DataAssessment/GetDataList',
137
+                type: 'get',
138
+                data: {
139
+                    date:$('#starttime').val(),
140
+                    token: $.cookie("token")
141
+                },
142
+                dataType: "json",
143
+                async: true,
144
+                success: function (returnValue) {
145
+                    //异步获取数据
146
+                    var resultData1 = returnValue.rows;
147
+                    $('#workorderlist').bootstrapTable('load', resultData1);
148
+                }
149
+            });
150
+            $('#workorderlist').bootstrapTable('destroy').bootstrapTable({ striped: true });
151
+        }
152
+        //操作
153
+		function Dispose(val) {
154
+			return '<div class="imgs" ><a  onclick= see("' + val 
155
+			+ '") >查看</a></div>';
156
+		}
157
+        //搜索
158
+        $(".db").click(function () {
159
+        	console.log($('#starttime').val());
160
+            initTable();
161
+        })
162
+		function setCode(val, row, index) {
163
+			return index + 1;
164
+		}
165
+		//查看详情
166
+        function see(str) {
167
+            layer.open({
168
+                type: 2,
169
+                content: "../CommonHtml/checkDetail.html?wid=" + str, //iframe的url,no代表不显示滚动条
170
+                title: '考核详情',
171
+                area: ['87%', '80%'], //宽高
172
+            });
173
+        }
174
+        //工单详情
175
+        function OrderDetail(str){
176
+        	layer.open({
177
+                type: 2,
178
+                content: "../CommonHtml/WorkDatil.html?wid=" + str, //iframe的url,no代表不显示滚动条
179
+                title: '工单详情',
180
+                area: ['87%', '80%'], //宽高
181
+            });
182
+        }
183
+        //导出
184
+//      $('.export').click(function () {
185
+//          dcexcel(this);
186
+//      })
187
+
188
+//      function dcexcel(obj) {
189
+//          var url = huayi.config.callcenter_url + "WorkOrderReport/GetDeptEfficiency?token=" + $.cookie("token");
190
+//          url += "&start=" + $("#startTimes").val() + "&end=" + $("#endTimes").val() + "&isExport=true";
191
+//          obj.href = url;
192
+//      }
193
+
194
+
195
+
196
+    </script>
197
+</body>
198
+
199
+</html>

+ 438 - 0
WebUI/CallCenterWeb.UI/CommonHtml/checkDetail.html

@@ -0,0 +1,438 @@
1
+<!DOCTYPE html>
2
+<html>
3
+
4
+	<head>
5
+		<meta charset="UTF-8">
6
+		<title>考核详情</title>
7
+		<meta name="viewport" content="width=device-width, initial-scale=1.0">
8
+		<script src="../Script/Common/huayi.load.js"></script>
9
+		<script src="../Script/Common/huayi.config.js"></script>
10
+		<link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
11
+		<link href="../css/WorkOrder/Search.css" rel="stylesheet">
12
+		<link href="../css/init.css" rel="stylesheet" />
13
+		<script src="../css/laydate/laydate.js"></script>
14
+		<link href="../css/WorkOrder/seeProjectDetail.css" rel="stylesheet" />
15
+		<script src="../My97DatePicker/WdatePicker.js"></script>
16
+		<style>
17
+			.ld-service li {
18
+				float: left;
19
+				font-size: 14px;
20
+				color: #000;
21
+				padding: 5px 15px;
22
+				cursor: pointer;
23
+				text-align: center;
24
+				width: 14%;
25
+			}
26
+			
27
+			.cr-click {
28
+				border-bottom: 2px solid #00a1cb;
29
+			}
30
+			
31
+			.Shows {
32
+				display: block !important;
33
+			}
34
+			
35
+			.complain {
36
+				display: none;
37
+			}
38
+			
39
+			.Borders {
40
+				border: 1px solid #d7d7d7;
41
+			}
42
+			
43
+			.form-group {
44
+				margin-top: 10px;
45
+			}
46
+			
47
+			.Table {
48
+				width: 100%;
49
+			}
50
+			
51
+			tbody {
52
+				border: 1px solid #ccc;
53
+			}
54
+			
55
+			.Table th {
56
+				width: 7%;
57
+				padding: 5px 8px 10px 0;
58
+				text-align: right;
59
+			}
60
+			
61
+			.Table td {
62
+				padding: 6px;
63
+			}
64
+			
65
+			.bor_bootm {
66
+				border-bottom: 1px solid #ccc;
67
+			}
68
+			
69
+			.datil_ul {
70
+				padding: 20px;
71
+			}
72
+			
73
+			.datil_ul li {
74
+				width: 33%;
75
+				padding: 5px;
76
+				float: left;
77
+			}
78
+			.datil_ul li:nth-child(1){
79
+				width: 100%;
80
+			}
81
+			.datil_ul li:nth-child(3){
82
+				width: 35%;
83
+			}
84
+			.datil_ul li:nth-child(11){
85
+				width: 35%;
86
+			}
87
+			.wh_btn input {
88
+				background: rgb(0, 161, 203);
89
+			}
90
+			
91
+			.XGXX {
92
+				margin-left: 0;
93
+			}
94
+			/*.authority{
95
+				display: none;
96
+			}*/
97
+			/*.layui-layer-phimg img{
98
+				width: 100% !important;
99
+				height: auto !important;
100
+			}*/
101
+			.layui-layer-imguide {
102
+				display: block !important;
103
+			}
104
+		</style>
105
+	</head>
106
+
107
+	<body class="gray-bg">
108
+		<div class="clearfix">
109
+			<ul class="clearfix datil_ul">
110
+				<li>
111
+					单位名称:
112
+					<span class="DeptName"></span>
113
+				</li>
114
+				<li>
115
+					查收次数:
116
+					<span class='CS_ReciveCount'></span>
117
+				</li>
118
+				<li>
119
+					及时查收次数:
120
+					<span class='CS_RecTimelyCount'></span>
121
+				</li>
122
+				<li>
123
+					交办次数:
124
+					<span class="JB_AssginCount"></span>
125
+				</li>
126
+				<li>
127
+					办理次数:
128
+					<span class="JB_HandleCount"></span>
129
+				</li>
130
+				<li>
131
+					办理超时次数:
132
+					<span class="JB_HandleOverCount"></span>
133
+				</li>
134
+				<li>
135
+					回访次数:
136
+					<span class="HF_VisitCount"></span>
137
+				</li>
138
+				<li>
139
+					回访满意次数:
140
+					<span class="HF_SatisfiedCount"></span>
141
+				</li>
142
+				<li>
143
+					回访不满意次数:
144
+					<span class="HF_DissatisfiedCount"></span>
145
+				</li>
146
+				<li>
147
+					退回次数:
148
+					<span class="TH_BackCount"></span>
149
+				</li>
150
+				<li>
151
+					及时退回次数:
152
+					<span class="TH_BackTimelyCount"></span>
153
+				</li>
154
+				<li>
155
+					知识库实际填报数量:
156
+					<span class="ZSK_ActualCount"></span>
157
+				</li>
158
+				<li>
159
+					知识库应填报数量:
160
+					<span class="ZSK_ShouldCount"></span>
161
+				</li>
162
+				<li>
163
+					知识库纠错数量:
164
+					<span class="ZSK_CorrCount"></span>
165
+				</li>
166
+				<li>
167
+					不规范次数:
168
+					<span class="GF_NonstandardCount"></span>
169
+				</li>
170
+				<li>
171
+					通报工单数量:
172
+					<span class="TB_BulletinOrderCount"></span>
173
+				</li>
174
+				<li>
175
+					通报次数:
176
+					<span class="TB_BulletinCount"></span>
177
+				</li>
178
+			</ul>
179
+			<input type="hidden" id="Change" />
180
+		</div>
181
+		<div class="wrapper wrapper-content animated fadeInRight">
182
+			<ul class="ld-service clearfix">
183
+				<li itemtype="0" class="cr-click" itemtype="0">办理情况</li>
184
+				<li itemtype="1" itemtype="1">查收情况</li>
185
+				<li itemtype="2" itemtype="2">办理规范</li>
186
+				<li itemtype="3" itemtype="3">回访情况</li>
187
+				<li itemtype="4" itemtype="4">通报情况</li>
188
+				<li itemtype="5" itemtype="5">退回情况</li>
189
+				<li itemtype="6" itemtype="6">知识库情况</li>
190
+			</ul>
191
+			<div class="Content_box">
192
+				<!--办理情况-->
193
+				<div class="complain Shows DCL">
194
+					<div style="width: 100%;padding: 10px;">
195
+						<table class="Table" border="" cellspacing="0" cellpadding="0">
196
+							<theard>
197
+								<tr>
198
+									<td class="text-center" >工单编号</td>
199
+									<td class="text-center" >办理时间</td>
200
+									<td class="text-center" >办理及时时限</td>
201
+								</tr>
202
+							</theard>
203
+							<tbody class="feedlist">
204
+							</tbody>
205
+						</table>
206
+					</div>
207
+				</div>
208
+				<!--查收情况-->
209
+				<div class="complain  DCL">
210
+					<div style="width: 100%;padding: 10px;">
211
+						<table class="Table" border="" cellspacing="0" cellpadding="0">
212
+							<theard>
213
+								<tr>
214
+									<td class="text-center" >工单编号</td>
215
+									<td class="text-center" >交办时间</td>
216
+									<td class="text-center" >查收时间</td>
217
+									<td class="text-center" >查收时限</td>
218
+								</tr>
219
+							</theard>
220
+							<tbody class="JBXX">
221
+							</tbody>
222
+						</table>
223
+					</div>
224
+					
225
+				</div>
226
+				<!--办理规范-->
227
+				<div class="complain  DCL">
228
+					办理规范
229
+					<!--<div style="width: 100%;padding: 10px;">
230
+						<table class="Table" border="" cellspacing="0" cellpadding="0">
231
+							<theard>
232
+								<tr>
233
+									<td class="text-center" style="width:50px;">次数</td>
234
+									<td class="text-center" style="min-width:100px;">监察人</td>
235
+									<td class="text-center">监察意见</td>
236
+									<td class="text-center" style="min-width:100px;">监察时间</td>
237
+
238
+								</tr>
239
+							</theard>
240
+							<tbody class="JC">
241
+							</tbody>
242
+						</table>
243
+					</div>-->
244
+				</div>
245
+				<!--回访情况-->
246
+				<div class="complain  DCL">
247
+					回访情况
248
+					<!--<div style="width: 100%;padding: 10px;">
249
+						<div style="text-align: center; height: ">
250
+							<table class="Table" border="" cellspacing="0" cellpadding="0">
251
+								<theard>
252
+									<tr>
253
+										<td class="text-center" style="min-width:100px;">批示人</td>
254
+										<td class="text-center" style="min-width:100px;">批示内容</td>
255
+										<td class="text-center" style="min-width:100px;">批示时间</td>
256
+										<td class="text-center" style="min-width:100px;">附件</td>
257
+										<td class="text-center authority" style="min-width:100px;">操作</td>
258
+									</tr>
259
+								</theard>
260
+								<tbody class="LDPS">
261
+								</tbody>
262
+							</table>
263
+						</div>
264
+					</div>-->
265
+				</div>
266
+				<!--通报情况-->
267
+				<div class="complain  DCL">
268
+					通报情况
269
+					<!--<div style="width: 100%;padding: 10px;">
270
+						<div style="text-align: center; height: ">
271
+							<table class="Table" border="" cellspacing="0" cellpadding="0">
272
+								<theard>
273
+									<tr>
274
+										<td class="text-center" style="min-width:100px;">批示人</td>
275
+										<td class="text-center" style="min-width:100px;">批示内容</td>
276
+										<td class="text-center" style="min-width:100px;">批示时间</td>
277
+										<td class="text-center" style="min-width:100px;">附件</td>
278
+										<td class="text-center authority" style="min-width:100px;">操作</td>
279
+									</tr>
280
+								</theard>
281
+								<tbody class="SZPS">
282
+								</tbody>
283
+							</table>
284
+						</div>
285
+					</div>-->
286
+				</div>
287
+				<!--退回情况-->
288
+				<div class="complain  DCL">
289
+					<div style="width: 100%;padding: 10px;">
290
+						<div style="text-align: center; height: ">
291
+							<table class="Table" border="" cellspacing="0" cellpadding="0">
292
+								<theard>
293
+									<tr>
294
+										<td class="text-center" >工单编号</td>
295
+										<td class="text-center" >交办时间</td>
296
+										<td class="text-center" >退回时间时间</td>
297
+										<td class="text-center" >退回及时时限</td>
298
+									</tr>
299
+								</theard>
300
+								<tbody class="HTXX">
301
+								</tbody>
302
+							</table>
303
+						</div>
304
+					</div>
305
+				</div>
306
+				<!--知识库情况-->
307
+				<div class="complain  DCL ">
308
+					知识库情况
309
+					<!--<div style="width: 100%;padding: 10px;">
310
+						<table class="Table" border="" cellspacing="0" cellpadding="0">
311
+							<theard>
312
+								<tr>
313
+									<td class="text-center" style="min-width:80px;">承办人</td>
314
+									<td class="text-center" style="min-width:80px;">联系方式</td>
315
+									<td class="text-center" style="min-width:80px;">职务</td>
316
+									<td class="text-center" style="min-width:80px;">处理结果</td>
317
+									<td class="text-center" style="min-width:80px;">单位</td>
318
+									<td class="text-center" style="min-width:80px;">类型</td>
319
+									<td class="text-center" style="min-width:80px;">办理结果</td>
320
+									<td class="text-center" style="min-width:80px;">办理时间</td>
321
+									<td class="text-center" style="min-width:80px;">是否有处理结果</td>
322
+									<td class="text-center" style="min-width:80px;">处理方案/进程</td>
323
+									<td class="text-center" style="min-width:80px;">沟通时间</td>
324
+									<td class="text-center" style="min-width:80px;">沟通方式</td>
325
+									<td class="text-center" style="min-width:80px;">是否满意</td>
326
+									<td class="text-center" style="min-width:80px;">附件</td>
327
+								</tr>
328
+							</theard>
329
+							<tbody class="BLQK">
330
+							</tbody>
331
+						</table>
332
+					</div>-->
333
+					
334
+				</div>
335
+			</div>
336
+		</div>
337
+		<script src="../js/WorkOrder/jquery.drag.js"></script>
338
+		<script>
339
+			var wid = helper.request.queryString("wid");
340
+			$(document).ready(function() {
341
+				if(wid) {
342
+					load();
343
+					$("#Change").val(wid);
344
+					//关闭
345
+					$(".closexq").click(function() {
346
+						var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
347
+						parent.layer.close(index); //再执行关闭  
348
+					})
349
+				}
350
+				//弹屏右侧切换效果
351
+				$(".ld-service li").click(function() {
352
+					$(this).addClass("cr-click").siblings().removeClass("cr-click");
353
+					var index = $(this).index();
354
+					$(".Content_box").find(".complain").eq(index).addClass("Shows").siblings().removeClass("Shows");
355
+
356
+				});
357
+
358
+				function load() {
359
+					$.ajax({
360
+	                    type: "get",
361
+	                    url: huayi.config.callcenter_url + "DataAssessment/GetDataInfo",
362
+	                    dataType: 'json',
363
+	                    async: false,
364
+	                    data: {
365
+	                    	dataid: wid,
366
+	                    	token: $.cookie("token")
367
+	                    },
368
+	                    success: function (result) {
369
+						if(result.state.toLowerCase() == "success") {
370
+							var Data = result.data.data;
371
+							$(".DeptName").text(Data.F_DeptName);
372
+							$(".CS_ReciveCount").text(Data.F_CS_ReciveCount);//查收次数
373
+							$(".CS_RecTimelyCount").text(Data.F_CS_RecTimelyCount);
374
+							$(".JB_AssginCount").text(Data.F_JB_AssginCount);//交办次数
375
+							$('.JB_HandleCount').text(Data.F_JB_HandleCount);
376
+							$('.JB_HandleOverCount').text(Data.F_JB_HandleOverCount);
377
+							$(".HF_VisitCount").text(Data.F_HF_VisitCount);//回访次数
378
+	                        $(".HF_SatisfiedCount").text(Data.F_HF_SatisfiedCount);
379
+							$('.HF_DissatisfiedCount').text(Data.F_HF_DissatisfiedCount);
380
+							$('.TH_BackCount').text(Data.F_TH_BackCount); //退回次数
381
+							$('.TH_BackTimelyCount').text(Data.F_TH_BackTimelyCount); 
382
+							$('.ZSK_ActualCount').text(Data.F_ZSK_ActualCount); //知识库实际填报数量
383
+							$('.ZSK_ShouldCount').text(Data.F_ZSK_ShouldCount); 
384
+							$('.ZSK_CorrCount').text(Data.F_ZSK_CorrCount);
385
+							$(".GF_NonstandardCount").text(Data.F_GF_NonstandardCount);
386
+							$(".TB_BulletinOrderCount").text(Data.F_TB_BulletinOrderCount);//通报工单数量
387
+							$(".TB_BulletinCount").text(Data.F_TB_BulletinCount);
388
+							//办理情况
389
+							var feedlist = '';
390
+							$(".feedlist").empty();
391
+							$(result.data.feedlist).each(function(i, n) {
392
+								feedlist += '<tr>' +
393
+									'<td class="text-center" onclick="detail('+n.F_WorkOrderId+')" style="color:#337ab7;cursor:pointer;">' + n.F_WorkOrderId + '</td>' +
394
+									'<td class="text-center">' + n.F_FeedbackTime + '</td>' +
395
+									'<td class="text-center">' + n.F_LimitTime + '</td>' +
396
+									'</tr>';
397
+							})
398
+							$(feedlist).appendTo($(".feedlist"));
399
+							//查收情况
400
+							var jbxx = '';
401
+							$(".JBXX").empty();
402
+							$(result.data.asslist).each(function(i, n) {
403
+								jbxx += '<tr>' +
404
+									'<td class="text-center" onclick="detail('+n.F_WorkOrderId+')" style="color:#337ab7;cursor:pointer;">' + n.F_WorkOrderId + '</td>' +
405
+									'<td class="text-center">' + n.pdtime + '</td>' +
406
+									'<td class="text-center">' + n.cstime + '</td>' +
407
+									'<td class="text-center">' + n.limittime + '</td>' +
408
+									'</tr>';
409
+							})
410
+							$(jbxx).appendTo($(".JBXX"));
411
+							//退回情况
412
+							var htxx = '';
413
+							$(".HTXX").empty();
414
+							$(result.data.backlist).each(function(i, n) {
415
+								htxx += '<tr>' +
416
+									'<td class="text-center" onclick="detail('+n.F_WorkOrderId+')" style="color:#337ab7;cursor:pointer;">' + n.F_WorkOrderId + '</td>' +
417
+									'<td class="text-center">' + n.jbtime + '</td>' +
418
+									'<td class="text-center">' + n.thtime + '</td>' +
419
+									'<td class="text-center">' + n.limittime + '</td>' +
420
+									'</tr>';
421
+							})
422
+							$(htxx).appendTo($(".HTXX"));
423
+						}
424
+					
425
+					}
426
+				})
427
+			}
428
+		});
429
+		//工单详情
430
+		function detail(str){
431
+	        var index = parent.layer.getFrameIndex(window.name);
432
+	        parent.layer.close(index);
433
+	        window.parent.OrderDetail(str);
434
+		}
435
+		</script>
436
+	</body>
437
+
438
+</html>

Разница между файлами не показана из-за своего большого размера
+ 2 - 2
WebUI/CallCenterWeb.UI/js/laydate/laydate.js