Kaynağa Gözat

首页菜单字号、工单详情、办理效率统计

lijunjie 2 yıl önce
ebeveyn
işleme
380e77c3fb

+ 9 - 0
CallCenterWeb.UI/.project

@@ -159,5 +159,14 @@
159 159
 				<arguments>1.0-name-matches-false-false-node_modules</arguments>
160 160
 			</matcher>
161 161
 		</filter>
162
+		<filter>
163
+			<id>1701653665498</id>
164
+			<name></name>
165
+			<type>26</type>
166
+			<matcher>
167
+				<id>org.eclipse.ui.ide.multiFilter</id>
168
+				<arguments>1.0-name-matches-false-false-node_modules</arguments>
169
+			</matcher>
170
+		</filter>
162 171
 	</filteredResources>
163 172
 </projectDescription>

+ 9 - 3
CallCenterWeb.UI/CommonHtml/WorkDatil.html

@@ -159,7 +159,10 @@
159 159
 								<tr>
160 160
 									<th>主要网址:</th>
161 161
 									<td colspan="7">
162
-										<span class="F_CusAddress"></span>
162
+										<a>
163
+											<span class="F_CusAddress"></span> 
164
+										</a>
165
+
163 166
 									</td>
164 167
 								</tr>
165 168
 								
@@ -1204,12 +1207,15 @@
1204 1207
 									area: ['58%', '60%'], //宽高
1205 1208
 								})
1206 1209
 							})
1207
-
1210
+							$('.F_CusAddress').click((ev)=>{
1211
+								console.dir(ev.target)
1212
+								window.open(ev.target.innerText);
1213
+							})
1208 1214
 						}
1209 1215
 
1210 1216
 					}
1211 1217
 				})
1212
-			}
1218
+			} 
1213 1219
 		</script>
1214 1220
 	</body>
1215 1221
 

+ 313 - 233
CallCenterWeb.UI/YeWu/GX.html

@@ -1,257 +1,337 @@
1 1
 <!DOCTYPE html>
2 2
 <html>
3 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
-    <script src="../My97DatePicker/WdatePicker.js"></script>
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
+		<script src="../My97DatePicker/WdatePicker.js"></script>
15 15
 
16
-    <style>
17
-        table td {
18
-            word-break: break-all;
19
-            word-wrap: break-word;
20
-        }
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
+			
64
+			.seleTable{
65
+				display: flex;
66
+				column-gap: 1px;
67
+			}
68
+			.seleTable div{
69
+				width: 80px;
70
+				text-align: center;
71
+				cursor: pointer;
72
+				
73
+				border: 1px solid #ccc;
74
+			} 
75
+		</style>
76
+	</head>
21 77
 
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
-        }
78
+	<body class="gray-bg">
79
+		<div class="wrapper wrapper-content animated fadeInRight">
80
+			<div class="daoHang clearfix">
81
+				<div class="dhLeft">
82
+					<sapn>
83
+						<i class="syIcon"></i>位置:
84
+						<a href="javaScript:;" id="ReIndex">首页</a>&gt;
85
+						<a href="javaScript:;">业务统计</a>&gt;
86
+						<a href="" class="nowPosition">办理效率统计</a>
87
+					</sapn>
88
+				</div>
89
+				<div class="dhRight">
90
+					<a href="" title="刷新"><i class="fa fa-refresh"></i></a>
91
+				</div>
92
+			</div>
30 93
 
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
-        }
94
+			<div class="Content_box">
95
+				<!--待处理/-->
96
+				<div class="complain Shows">
97
+					<div class="th-box">
98
+						<div class="th-bar">
99
+							<div class="seach-box">
100
+								<ul>
101
+									<li>
102
+										创建时间:
103
+										<input class="photo x-color inputs laydate-icon" type="text" id="startTimes" />-
104
+										<input class="photo x-color inputs laydate-icon" type="text" id="endTimes" />
105
+									</li>
106
+									<li>
107
+										来源:
38 108
 
39
-        .Shows {
40
-            display: block !important;
41
-        }
109
+										<select class="select_" id="source"></select>
110
+									</li>
111
+									<li>
112
+										<a class="sc_btn btns db" style="padding: 7px 10px;">搜索</a>
113
+										<a class="sc_btn btns export">导出</a>
114
+									</li>
115
+									<li><span class="text-danger" style="padding-left: 10px;line-height: 30px;">默认显示当前月的信息</span></li>
116
+								</ul>
117
+							</div>
118
+						</div>
119
+					</div>
120
+					<div style="width: 100%;padding: 10px;">
121
+						<div class="seleTable">
122
+							<div style="background-color: #ccc;" onclick="showTable(true)">受理量</div>
123
+							<div onclick="showTable(false)">及时率</div>
124
+						</div>
125
+						<table id="workorderlist" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
126
+							<thead>
127
+								<tr>
128
+									<th data-field="deptname" data-align="center">单位名称</th>
129
+									<th data-field="slcount" data-align="center">受理量</th>
130
+									<th data-field="bjcount" data-align="center">结案量</th>
131
+									<th data-field="timelycount" data-align="center">及时量</th>
132
+									<th data-field="timeoutcount" data-align="center">延期量</th>
133
+									<th data-field="remindcount" data-align="center">催办量</th>
42 134
 
43
-        .complain {
44
-            display: none;
45
-        }
135
+									<!--<th data-field="zzreloadcount" data-align="center">郑州重办量</th>-->
46 136
 
47
-        th {
48
-            padding: 5px;
49
-            text-align: center;
50
-        }
137
+									<th data-field="bdreloadcount" data-align="center">重办量</th>
138
+									<th data-field="bjlyrate" data-align="center">结案率</th>
139
+									<th data-field="yqlyrate" data-align="center">延期率</th>
140
+								</tr>
141
+							</thead>
142
+						</table>
51 143
 
52
-        td {
53
-            padding: 5px;
54
-        }
144
+						<table id="tableJis" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
145
+							<thead>
146
+								<tr>
147
+									<th data-field="ranking" data-align="center">排名</th>
148
+									<th data-field="deptname" data-align="center">单位名称</th>
149
+									<th data-field="slcount" data-align="center">受理量</th>
150
+									<th data-field="bjcount" data-align="center">结案量</th>
151
+									<th data-field="timelycount" data-align="center">及时量</th>
152
+									<th data-field="timeoutcount" data-align="center">延期量</th>
153
+									<th data-field="remindcount" data-align="center">催办量</th>
154
+									<th data-field="bdreloadcount" data-align="center">重办量</th>
155
+									<th data-field="bjlyrate" data-align="center">结案率</th>
156
+									<th data-field="yqlyrate" data-align="center">延期率</th>
157
+									<th data-field="timelyrate" data-align="center">及时率</th>
158
+								</tr>
159
+							</thead>
160
+						</table>
161
+					</div>
162
+				</div>
55 163
 
56
-        .Borders {
57
-            border: 1px solid #d7d7d7;
58
-        }
164
+			</div>
165
+		</div>
59 166
 
60
-        .cx {
61
-            display: block;
62
-        }
63
-    </style>
64
-</head>
167
+		<script> 
168
+			showTable(true); 
169
+			var keys,type;
170
+			$(document).ready(function() {
171
+				LY($("#source"));
172
+				laydate.skin('blue');
173
+				laydate({
174
+					elem: '#startTimes',
175
+					event: 'focus'
176
+				});
65 177
 
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 href="" 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>
178
+				laydate({
179
+					elem: '#endTimes',
180
+					event: 'focus'
181
+				});
182
+				initTable();
183
+			})
184
+			//来源
185
+			function LY(obj) {
186
+				obj.empty();
187
+				obj.append('<option selected="selected" value="">请选择</option>');
188
+				$.ajax({
189
+					type: "get",
190
+					url: huayi.config.callcenter_url + "Dictionary/GetDicValueListById",
191
+					dataType: "json",
192
+					async: true,
193
+					data: {
194
+						"token": $.cookie("token"),
195
+						id: 1
196
+					},
197
+					success: function(data) {
198
+						if(data.state.toLowerCase() == "success") {
199
+							var content = data.data;
200
+							$(content).each(function(i, n) {
201
+								$("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>")
202
+									.appendTo(obj);
203
+							})
81 204
 
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
-                                    创建时间:
91
-                                    <input class="photo x-color inputs laydate-icon" type="text" id="startTimes" />-
92
-                                    <input class="photo x-color inputs laydate-icon" type="text" id="endTimes" />
93
-                                </li>
94
-                                <li>
95
-                                	来源:
96
-                        
97
-                            <select class="select_" id="source"></select>
98
-                                </li>
99
-                                <li>
100
-                                    <a class="sc_btn btns db" style="padding: 7px 10px;">搜索</a>
101
-                                    <a class="sc_btn btns export">导出</a>
102
-                                </li>
103
-                                <li><span class="text-danger"
104
-                                        style="padding-left: 10px;line-height: 30px;">默认显示当前月的信息</span></li>
105
-                            </ul>
106
-                        </div>
107
-                    </div>
108
-                </div>
109
-                <div style="width: 100%;padding: 10px;">
110
-                    <table id="workorderlist" data-row-style="rowStyle" data-query-params="queryParams"
111
-                        data-pagination="true">
112
-                        <thead>
113
-                            <tr>
114
-                                <th data-field="deptname" data-align="center">单位名称</th>
115
-                                <th data-field="slcount" data-align="center">受理量</th>
116
-                                <th data-field="bjcount" data-align="center">结案量</th>
117
-                                <th data-field="timelycount" data-align="center">及时量</th>
118
-                                <th data-field="timeoutcount" data-align="center">延期量</th>
119
-                                <th data-field="remindcount" data-align="center">催办量</th>
120
-                                <!--<th data-field="zzreloadcount" data-align="center">郑州重办量</th>-->
121
-                                <th data-field="bdreloadcount" data-align="center">重办量</th>
122
-                                <th data-field="bjlyrate" data-align="center">结案率</th>
123
-                                <th data-field="yqlyrate" data-align="center">延期率</th>
124
-                            </tr>
125
-                        </thead>
126
-                    </table>
127
-                </div>
128
-            </div>
205
+						}
206
+					}
207
+				});
208
+			}
129 209
 
130
-        </div>
131
-    </div>
210
+			function initTable() {
211
+				let reqData = {
212
+					start: $("#startTimes").val(),
213
+					end: $("#endTimes").val(),
214
+					token: $.cookie("token"),
215
+					source: $("#source").val() //=来源                 
216
+				}
217
+				if(type){
218
+					reqData['type'] = type;
219
+				}
220
+				
221
+				$.ajax({
222
+					url: huayi.config.callcenter_url + 'WorkOrderReport/GetDeptEfficiency',
223
+					type: 'get',
224
+					data: reqData,
225
+					dataType: "json",
226
+					async: true,
227
+					success: function(returnValue) {
228
+						//异步获取数据  
229
+						let tableData = [];
230
+						
231
+						if(Array.isArray(returnValue.data)){
232
+							tableData = returnValue.data;
233
+						}else{
234
+							tableData = returnValue.data.DeptEfficiencyReport
235
+						}
236
+						 
237
+						 
238
+						console.log(tableData)
239
+						 
240
+						if(type){
241
+							console.log(type)
242
+							$('#tableJis').bootstrapTable('load', tableData); 
243
+						}else{
244
+							$('#workorderlist').bootstrapTable('load', tableData); 
245
+						}
132 246
 
133
-    <script>
134
-        initTable();
135
-        var keys;
136
-        $(document).ready(function () {
137
-            LY($("#source"));       	
138
-            laydate.skin('blue');
139
-            laydate({
140
-                elem: '#startTimes',
141
-                event: 'focus'
142
-            });
143 247
 
144
-            laydate({
145
-                elem: '#endTimes',
146
-                event: 'focus'
147
-            });
148
-            initTable();
149
-        })
150
-         //来源
151
-        function LY(obj) {
152
-            obj.empty();
153
-            obj.append('<option selected="selected" value="">请选择</option>');
154
-            $.ajax({
155
-                type: "get",
156
-                url: huayi.config.callcenter_url + "Dictionary/GetDicValueListById",
157
-                dataType: "json",
158
-                async: true,
159
-                data: {
160
-                    "token": $.cookie("token"),
161
-                    id: 1
162
-                },
163
-                success: function (data) {
164
-                    if (data.state.toLowerCase() == "success") {
165
-                        var content = data.data;
166
-                        $(content).each(function (i, n) {
167
-                            $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>")
168
-                                .appendTo(obj);
169
-                        })
248
+					}
249
+				});
250
+				$('#tableJis').bootstrapTable('destroy').bootstrapTable({
251
+					striped: true,
252
+					pagination: false,
253
+				});
254
+				$('#workorderlist').bootstrapTable('destroy').bootstrapTable({
255
+					striped: true,
256
+					pagination: false,
257
+				});
258
+			}
259
+			
260
+			////表格一
261
+			//function initTable(keys) {
262
+			//    //先销毁表格
263
+			//    $('#workorderlist').bootstrapTable('destroy');
264
+			//    //初始化表格,动态从服务器加载数据
265
+			//    $("#workorderlist").bootstrapTable({
266
+			//        method: "get", //使用get请求到服务器获取数据
267
+			//        url: huayi.config.callcenter_url + "WorkOrderReport/GetDeptEfficiency",
268
+			//        contentType: "application/x-www-form-urlencoded", striped: true, //表格显示条纹
269
+			//        pagination: true, //启动分页
270
+			//        pageSize: 10, //每页显示的记录数
271
+			//        pageNumber: 1, //当前第几页
272
+			//        pageList: [10, 20, 50, 100], //记录数可选列表
273
+			//        search: false, //是否启用查询
274
+			//        showColumns: false, //显示下拉框勾选要显示的列
275
+			//        showRefresh: false, //显示刷新按钮
276
+			//        sidePagination: "server", //表示服务端请求
277
+			//        //设置为undefined可以获取pageNumber,pageSize,searchText,sortName,sortOrder
278
+			//        //设置为limit可以获取limit, offset, search, sort, order
279
+			//        queryParamsType: "undefined",
280
+			//        queryParams: function queryParams(params) { //设置查询参数
281
+			//            var param = {
282
+			//                pageIndex: params.pageNumber,
283
+			//                pageSize: params.pageSize,
284
+			//                start: $("#startTimes").val(),
285
+			//                end: $("#endTimes").val(),
286
+			//                token: $.cookie("token")
287
+			//            };
288
+			//            return param;
289
+			//        },
290
+			//        onLoadSuccess: function () { //加载成功时执行
291
+			//            //layer.msg("加载成功");
292
+			//        },
293
+			//        onLoadError: function () { //加载失败时执行
294
+			//            //layer.msg("加载数据失败", { time: 1500, icon: 2 });
295
+			//        }
296
+			//    });
297
+			//}
170 298
 
171
-                    }
172
-                }
173
-            });
174
-        }
299
+			//代办搜索
300
+			$(".db").click(function() {
301
+				initTable();
302
+			})
175 303
 
176
-        function initTable() {
177
-            $.ajax({
178
-                url: huayi.config.callcenter_url + 'WorkOrderReport/GetDeptEfficiency',
179
-                type: 'get',
180
-                data: {
181
-                    start: $("#startTimes").val(),
182
-                    end: $("#endTimes").val(),
183
-                    token: $.cookie("token"),
184
-                    source: $("#source").val()//=来源                 
185
-                    
186
-                },
187
-                dataType: "json",
188
-                async: true,
189
-                success: function (returnValue) {
190
-                    //异步获取数据
191
-                    var resultData1 = returnValue.data.DeptEfficiencyReport;
192
-                    $('#workorderlist').bootstrapTable('load', resultData1);
193
-                }
194
-            });
195
-            $('#workorderlist').bootstrapTable('destroy').bootstrapTable({
196
-                striped: true,
197
-                pagination: false,
198
-            });
199
-        }
200
-        ////表格一
201
-        //function initTable(keys) {
202
-        //    //先销毁表格
203
-        //    $('#workorderlist').bootstrapTable('destroy');
204
-        //    //初始化表格,动态从服务器加载数据
205
-        //    $("#workorderlist").bootstrapTable({
206
-        //        method: "get", //使用get请求到服务器获取数据
207
-        //        url: huayi.config.callcenter_url + "WorkOrderReport/GetDeptEfficiency",
208
-        //        contentType: "application/x-www-form-urlencoded", striped: true, //表格显示条纹
209
-        //        pagination: true, //启动分页
210
-        //        pageSize: 10, //每页显示的记录数
211
-        //        pageNumber: 1, //当前第几页
212
-        //        pageList: [10, 20, 50, 100], //记录数可选列表
213
-        //        search: false, //是否启用查询
214
-        //        showColumns: false, //显示下拉框勾选要显示的列
215
-        //        showRefresh: false, //显示刷新按钮
216
-        //        sidePagination: "server", //表示服务端请求
217
-        //        //设置为undefined可以获取pageNumber,pageSize,searchText,sortName,sortOrder
218
-        //        //设置为limit可以获取limit, offset, search, sort, order
219
-        //        queryParamsType: "undefined",
220
-        //        queryParams: function queryParams(params) { //设置查询参数
221
-        //            var param = {
222
-        //                pageIndex: params.pageNumber,
223
-        //                pageSize: params.pageSize,
224
-        //                start: $("#startTimes").val(),
225
-        //                end: $("#endTimes").val(),
226
-        //                token: $.cookie("token")
227
-        //            };
228
-        //            return param;
229
-        //        },
230
-        //        onLoadSuccess: function () { //加载成功时执行
231
-        //            //layer.msg("加载成功");
232
-        //        },
233
-        //        onLoadError: function () { //加载失败时执行
234
-        //            //layer.msg("加载数据失败", { time: 1500, icon: 2 });
235
-        //        }
236
-        //    });
237
-        //}
304
+			//导出
305
+			$('.export').click(function() {
306
+				dcexcel(this);
307
+			})
238 308
 
239
-        //代办搜索
240
-        $(".db").click(function () {
241
-            initTable();
242
-        })
309
+			//按钮点击变色
310
+			$('.seleTable div').click((ev)=>{
311
+				for(const el of document.querySelectorAll('.seleTable div')){ 
312
+					el.style.backgroundColor = "#fff"
313
+				}
314
+				
315
+				ev.target.style.backgroundColor = "#ccc"
316
+			})
243 317
 
244
-        //导出
245
-        $('.export').click(function () {
246
-            dcexcel(this);
247
-        })
318
+			function dcexcel(obj) {
319
+				var url = huayi.config.callcenter_url + "WorkOrderReport/GetDeptEfficiency?token=" + $.cookie("token");
320
+				url += "&start=" + $("#startTimes").val() + "&end=" + $("#endTimes").val() + "&isExport=true";
321
+				obj.href = url;
322
+			}
248 323
 
249
-        function dcexcel(obj) {
250
-            var url = huayi.config.callcenter_url + "WorkOrderReport/GetDeptEfficiency?token=" + $.cookie("token");
251
-            url += "&start=" + $("#startTimes").val() + "&end=" + $("#endTimes").val() + "&isExport=true";
252
-            obj.href = url;
253
-        }
254
-    </script>
255
-</body>
324
+			function showTable(data) {
325
+				document.getElementById('workorderlist').style.display = data ? 'table' : 'none';
326
+				document.getElementById('tableJis').style.display = !data ? 'table' : 'none'; 
327
+				if(!data){
328
+					type = 1 
329
+				}else{
330
+					type = undefined; 
331
+				} 
332
+				initTable() 
333
+			}
334
+		</script>
335
+	</body>
256 336
 
257 337
 </html>

+ 1 - 1
CallCenterWeb.UI/home.html

@@ -68,7 +68,7 @@
68 68
 				</div>
69 69
 				<div class="nav-header" style="text-align: center; color: #FFFFFF;">
70 70
 					<a href="#" onclick="autoLoginHandle()">
71
-						<strong class="font-bold" style="font-size: 22px;">舆情监测</strong><br />
71
+						<strong class="font-bold" style="font-size: 25px;">舆情监测</strong><br />
72 72
                     	<span style="color: #FF0000; font-size: 14px;">(登录入口)</span>
73 73
 					</a>
74 74
 				</div>