zhangshuangnan 8 lat temu
rodzic
commit
cd9fdfdc39

+ 12 - 2
WebAPP/WorkDetails.html

@@ -226,10 +226,20 @@
226 226
 		</div>
227 227
 		
228 228
 		<script type="text/javascript">
229
-			mui.init();
229
+//			mui.init();
230
+//			mui.init({
231
+//				swipeBack: true //启用右滑关闭功能
232
+//			});
230 233
 			mui.init({
231
-				swipeBack: true //启用右滑关闭功能
234
+					//添加newId自定义事件监听
235
+			window.addEventListener('newsId',function(event){
236
+			  //获得事件参数
237
+			  var id = event.WorkDetails.id;
238
+			  console.log(id)
239
+			  //根据id向服务器请求新闻详情
232 240
 			});
241
+			});
242
+			
233 243
 		</script>
234 244
 	</body>
235 245
 

+ 61 - 84
WebAPP/main.html

@@ -186,7 +186,7 @@
186 186
 									<span class="mui-h">待指派</span><span class="mui-h5">(2)</span></div>
187 187
 							</a>
188 188
 							<div class="mui-collapse-content" style="border-top: 1px solid #ccc;">
189
-								<div class="mui-table ">
189
+								<div class="mui-table">
190 190
 									<div class="mui-table-cell mui-col-xs-10 List-box">
191 191
 										<h5 class="mui-ellipsis mui-h">
192 192
 											<span class=" mui-icon ">
@@ -214,6 +214,7 @@
214 214
 									</div>
215 215
 								</div>
216 216
 							</div>
217
+							
217 218
 							<div class="mui-collapse-content">
218 219
 								<div class="mui-table ">
219 220
 									<div class="mui-table-cell mui-col-xs-10 List-box">
@@ -241,7 +242,7 @@
241 242
 									<span class="mui-h">待完成</span><span class="mui-h5">(2)</span></div>
242 243
 							</a>
243 244
 							<div class="mui-collapse-content" style="border-top: 1px solid #ccc;">
244
-								<div class="mui-table ">
245
+								<div class="mui-table" id="20">
245 246
 									<div class="mui-table-cell mui-col-xs-10 List-box">
246 247
 										<h5 class="mui-ellipsis mui-h">
247 248
 											<span class=" mui-icon ">
@@ -275,7 +276,7 @@
275 276
 									<span class="mui-h">已完成</span><span class="mui-h5">(2)</span></div>
276 277
 							</a>
277 278
 							<div class="mui-collapse-content" style="border-top: 1px solid #ccc;">
278
-								<div class="mui-table ">
279
+								<div class="mui-table " id="21">
279 280
 									<div class="mui-table-cell mui-col-xs-10 List-box">
280 281
 										<h5 class="mui-ellipsis mui-h">
281 282
 											<span class=" mui-icon ">
@@ -301,7 +302,7 @@
301 302
 
302 303
 							</div>
303 304
 							<div class="mui-collapse-content">
304
-								<div class="mui-table ">
305
+								<div class="mui-table " id="22">
305 306
 									<div class="mui-table-cell mui-col-xs-10 List-box">
306 307
 										<h5 class="mui-ellipsis mui-h">
307 308
 											<span class=" mui-icon ">
@@ -353,84 +354,60 @@
353 354
 		<script src="js/mui.min.js"></script>
354 355
 		<script src="js/app.js"></script>
355 356
 		<script>
356
-			//			(function($, doc) {
357
-			//				$.init();
358
-			//				var settings = app.getSettings();
359
-			//				var account = doc.getElementById('account');
360
-			//				//
361
-			//				window.addEventListener('show', function() {
362
-			//					var state = app.getState();
363
-			//					account.innerText = state.account;
364
-			//				}, false);
365
-			//				$.plusReady(function() {
366
-			//					var settingPage = $.preload({
367
-			//						"id": 'setting',
368
-			//						"url": 'setting.html'
369
-			//					});
370
-			//					//设置
371
-			//					var settingButton = doc.getElementById('setting');
372
-			//					//settingButton.style.display = settings.autoLogin ? 'block' : 'none';
373
-			//					settingButton.addEventListener('tap', function(event) {
374
-			//						$.openWindow({
375
-			//							id: 'setting',
376
-			//							show: {
377
-			//								aniShow: 'pop-in'
378
-			//							},
379
-			//							styles: {
380
-			//								popGesture: 'hide'
381
-			//							},
382
-			//							waiting: {
383
-			//								autoShow: false
384
-			//							}
385
-			//						});
386
-			//					});
387
-			//					//--
388
-			//					$.oldBack = mui.back;
389
-			//					var backButtonPress = 0;
390
-			//					$.back = function(event) {
391
-			//						backButtonPress++;
392
-			//						if (backButtonPress > 1) {
393
-			//							plus.runtime.quit();
394
-			//						} else {
395
-			//							plus.nativeUI.toast('再按一次退出应用');
396
-			//						}
397
-			//						setTimeout(function() {
398
-			//							backButtonPress = 0;
399
-			//						}, 1000);
400
-			//						return false;
401
-			//					};
402
-			//				});
403
-			//			}(mui, document));
404
-			//			mui.init();
405
-			//			mui.plusReady(function() {
406
-			//				var wv = plus.webview.currentWebview();
407
-			//				var vText = wv.name; //这样就能接收到上个页面传过来的值了
408
-			//				document.getElementById("account").innerHTML = vText;
409
-			//			})
410
-			mui.init();
411
-			mui.plusReady(function() {
412
-				mui(".mui-table-view").on('tap', '.mui-table ', function() {
413
-					//					var id = this.getAttribute("id");
414
-					//					mui.fire(detail, 'getDetail', {
415
-					//						id: id
416
-					//					});
417
-					//打开新闻详情
418
-					mui.openWindow({
419
-						id: 'WorkDetails',
420
-						url: 'WorkDetails.html',
421
-						show: {
422
-							aniShow: 'pop-in'
423
-						},
424
-						styles: {
425
-							popGesture: 'hide'
426
-						},
427
-						waiting: {
428
-							autoShow: false
429
-						},
430
-					});
431
-
432
-				});
433
-				////设置
357
+		
358
+			mui.init({
359
+				//打开详情
360
+				preloadPages:[{
361
+				    id:'WorkDetails.html',
362
+				    url:'WorkDetails.html'           
363
+				  }
364
+				]
365
+			});
366
+			
367
+			var detailPage = null;
368
+			//添加列表项的点击事件
369
+			mui('.mui-collapse-content').on('tap', '.mui-table', function(e) {
370
+			  var id = this.getAttribute('id');
371
+			  //获得详情页面
372
+			  if(!detailPage){
373
+			    detailPage = plus.webview.getWebviewById('WorkDetails.html');
374
+			  }
375
+			  //触发详情页面的newsId事件
376
+			  mui.fire(detailPage,'newsId',{
377
+			    id:id
378
+			  });
379
+			//打开详情页面          
380
+			  mui.openWindow({
381
+			     id:'WorkDetails.html'
382
+//				 url:'WorkDetails.html'  
383
+			  });
384
+			  
385
+			});  
386
+			
387
+//			mui.init();
388
+//			mui.plusReady(function() {
389
+//				mui(".mui-table-view").on('tap', '.mui-table', function() {
390
+//					//					var id = this.getAttribute("id");
391
+//					//					mui.fire(detail, 'getDetail', {
392
+//					//						id: id
393
+//					//					});
394
+//					//打开新闻详情
395
+//					mui.openWindow({
396
+//						id: 'WorkDetails',
397
+//						url: 'WorkDetails.html',
398
+//						show: {
399
+//							aniShow: 'pop-in'
400
+//						},
401
+//						styles: {
402
+//							popGesture: 'hide'
403
+//						},
404
+//						waiting: {
405
+//							autoShow: false
406
+//						},
407
+//					});
408
+//
409
+//				});
410
+//				//设置
434 411
 				var settingButton = document.getElementById('setting');
435 412
 				//settingButton.style.display = settings.autoLogin ? 'block' : 'none';
436 413
 				settingButton.addEventListener('tap', function(event) {
@@ -449,7 +426,7 @@
449 426
 					});
450 427
 				});
451 428
 				mui("")
452
-
429
+//
453 430
                    ///动态
454 431
                    var settingButton = document.getElementById('DT');
455 432
 				//settingButton.style.display = settings.autoLogin ? 'block' : 'none';
@@ -469,7 +446,7 @@
469 446
 					});
470 447
 				});
471 448
 		
472
-			})
449
+//			})
473 450
 		</script>
474 451
 	</body>
475 452
 

+ 2 - 2
WebChart/Script/Common/huayi.config.js

@@ -2,8 +2,8 @@
2 2
     var huayi = {};
3 3
 }
4 4
 huayi.config = {
5
-//  callcenter_url: "http://117.158.196.116:8878/",//生产环境
6
-   callcenter_url: "http://12345.shangqiu.gov.cn:8819/",//生产环境
5
+    callcenter_url: "http://192.168.4.18:4010/",//生产环境
6
+// callcenter_url: "http://12345.shangqiu.gov.cn:8819/",//生产环境
7 7
     //callcenter_url: "http://localhost:63662/"//测试环境
8 8
 
9 9
 //  socket_ip: "192.168.5.8",//ip

+ 2 - 2
WebChart/index.html

@@ -23,7 +23,7 @@
23 23
    </div>
24 24
 </div>
25 25
 <div class="qunzhong clearfix">
26
-	<div style="width: 60%;float: left;">
26
+	<div style="width: 50%;float: left;">
27 27
 		<div class="biao-title">受理群众区域统计</div>
28 28
 		<div id="container1" style="width: 100%; height:500px;float: left;"></div>
29 29
 	</div>
@@ -35,7 +35,7 @@
35 35
 		</div>
36 36
 	</div>
37 37
 	<div class="slqd">
38
-		<div class="biao-title">受理渠道24小时实时统计</div>
38
+		<div class="biao-title" style="margin-top: 29px;">受理渠道24小时实时统计</div>
39 39
 		<div id="qd_box" style="width: 100%;height: 200px;"></div>
40 40
 		<ul class="txbox">
41 41
 		</ul>

+ 11 - 14
WebChart/js/huawu.js

@@ -92,7 +92,7 @@ main.setOption({
92 92
 	series: []
93 93
 });
94 94
 
95
-//part 4
95
+//part 2
96 96
 	var phone_num = echarts.init(document.getElementById('phone_num'));
97 97
 		phone_num.setOption({
98 98
 //			title: {
@@ -115,7 +115,7 @@ main.setOption({
115 115
 			legend: {
116 116
 				//      orient: 'vertical',
117 117
 				bottom: '25',
118
-				data: ["话务","来电","接通","平均通话时长","接通率"],
118
+				data: ["话务","来电","接通","平均通话时长"],
119 119
 				textStyle: {
120 120
 					color: '#fff'
121 121
 				}
@@ -131,7 +131,14 @@ main.setOption({
131 131
 						shadowBlur: 10,
132 132
 						shadowOffsetX: 0,
133 133
 						shadowColor: 'rgba(0, 0, 0, 0.5)'
134
-					}
134
+					},
135
+					normal:{
136
+				 label:{ 
137
+                                   show: true, 
138
+                                   formatter: '{b} : {c} ({d}%)' 
139
+                                }, 
140
+                                labelLine :{show:true}
141
+			}
135 142
 				},
136 143
 				label: {
137 144
                 normal: {
@@ -145,7 +152,7 @@ main.setOption({
145 152
 		});
146 153
 Ajax();
147 154
 function Ajax(){
148
-		 var index = layer.load(1, { shade: [0.5,'#f5f5f5'] //0.1透明度的白色背景
155
+		 var index = layer.load(1, { shade: [0.5,'#030303'] //0.1透明度的白色背景
149 156
 							});
150 157
 	$.ajax({
151 158
 	type: "get",
@@ -189,14 +196,6 @@ function Ajax(){
189 196
 					symbolSize: 10,
190 197
 					data: part1.lcounts
191 198
 				}, {
192
-					name: "放弃数量",
193
-					type: "line",
194
-					smooth: true,
195
-					showAllSymbol: true,
196
-					symbol: "emptyCircle",
197
-					symbolSize: 10,
198
-					data: part1.gcounts
199
-				}, {
200 199
 					name: "骚扰数量",
201 200
 					type: "line",
202 201
 					smooth: true,
@@ -240,8 +239,6 @@ function Ajax(){
240 239
 						name:"接通",value:part4.jtcon
241 240
 					},{  
242 241
 						name:"平均通话时长",value:part4.pjthtimes
243
-					},{  
244
-						name:"接通率",value:part4.jtl
245 242
 					}
246 243
 					]
247 244
 				}]

+ 2 - 2
WebChart/js/jiedanbumen.js

@@ -91,7 +91,7 @@
91 91
 
92 92
 		Ajax();
93 93
 		function Ajax(){
94
-				 var index = layer.load(1, { shade: [0.5,'#f5f5f5'] //0.1透明度的白色背景
94
+				 var index = layer.load(1, { shade: [0.5,'#030303'] //0.1透明度的白色背景
95 95
 							});
96 96
 			$('.txbox').html('');
97 97
 			$.ajax({
@@ -132,7 +132,7 @@
132 132
 						var part3_xAxis = [];
133 133
 						$(department).each(function(i, n) {
134 134
 							var part3_obj = {};
135
-							part3_obj.value = n.percent;
135
+							part3_obj.value = n.count;
136 136
 							part3_obj.name = n.deptname;
137 137
 
138 138
 							part3_ser.push(part3_obj);

+ 226 - 194
WebChart/js/laiyuanqudao.js

@@ -1,4 +1,3 @@
1
-		
2 1
 		var container1 = echarts.init(document.getElementById('container1'));
3 2
 		container1.setOption({
4 3
 			tooltip: {
@@ -11,17 +10,17 @@
11 10
 					}
12 11
 				}
13 12
 			},
14
-//			title: {
15
-//				text: '受理群众区域统计',
16
-//				x: 'center',
17
-//				top: 'top',
18
-//				textStyle: {
19
-//					color: '#fff',
20
-//					fontSize: 18,
21
-//
22
-//				},
23
-//
24
-//			},
13
+			//			title: {
14
+			//				text: '受理群众区域统计',
15
+			//				x: 'center',
16
+			//				top: 'top',
17
+			//				textStyle: {
18
+			//					color: '#fff',
19
+			//					fontSize: 18,
20
+			//
21
+			//				},
22
+			//
23
+			//			},
25 24
 			legend: {
26 25
 				data: [],
27 26
 				textStyle: {
@@ -57,196 +56,229 @@
57 56
 		//受理区域统计
58 57
 		var shouLiArea = echarts.init(document.getElementById('shouLiArea'));
59 58
 		shouLiArea.setOption({
60
-//					title: {
61
-//						text: '受理区域统计',
62
-//						x: 'center',
59
+			//					title: {
60
+			//						text: '受理区域统计',
61
+			//						x: 'center',
62
+			//						textStyle: {
63
+			//							color: '#fff',
64
+			//							fontSize: 18
65
+			//						}
66
+			//					},
67
+			tooltip: {
68
+				trigger: 'item',
69
+				formatter: "{a} <br/>{b} : {c} ({d}%)"
70
+			},
71
+			legend: {
72
+				x: 'center',
73
+				y: 'bottom',
74
+				textStyle: {
75
+					color: '#fff'
76
+				},
77
+				data: []
78
+			},
79
+			calculable: true,
80
+			series: [{
81
+				name: '数量统计',
82
+				type: 'pie',
83
+				radius: [50, 150],
84
+				center: ['45%', '40%'],
85
+				roseType: 'radius',
86
+//				label: {
87
+//					normal: {
88
+//						show: false,
63 89
 //						textStyle: {
64
-//							color: '#fff',
65
-//							fontSize: 18
90
+//							color: '#fff'
66 91
 //						}
67 92
 //					},
68
-					tooltip: {
69
-						trigger: 'item',
70
-						formatter: "{a} <br/>{b} : {c} ({d}%)"
71
-					},
72
-					legend: {
73
-						x: 'center',
74
-						y: 'bottom',
75
-						textStyle: {
76
-							color: '#fff'
77
-						},
78
-						data: []
93
+//					emphasis: {
94
+//						show: true
95
+//					}
96
+//				},
97
+//				lableLine: {
98
+//					normal: {
99
+//						show: false
100
+//					},
101
+//					emphasis: {
102
+//						show: true
103
+//					}
104
+//				},
105
+				data: [],
106
+				itemStyle: {
107
+					emphasis: {
108
+						shadowBlur: 10,
109
+						shadowOffsetX: 0,
110
+						shadowColor: 'rgba(0, 0, 0, 0.5)'
79 111
 					},
80
-					calculable: true,
81
-					series: [{
82
-						name: '数量统计',
83
-						type: 'pie',
84
-						radius: [50, 150],
85
-						center: ['45%', '40%'],
86
-						roseType: 'radius',
112
+					normal: {
87 113
 						label: {
88
-							normal: {
89
-								show: false,
90
-								 textStyle: {
91
-				                        color: '#fff'
92
-				                    }
93
-							},
94
-							emphasis: {
95
-								show: true
96
-							}
114
+							show: true,
115
+							formatter: '{b} :\n {c} ({d}%)'
116
+//							formatter: function(val){   //让series 中的文字进行换行  
117
+//					                 return val.name.split(":").join("\n");}  
118
+//					             }
97 119
 						},
98
-						lableLine: {
99
-							normal: {
100
-								show: false
101
-							},
102
-							emphasis: {
103
-								show: true
104
-							}
105
-						},
106
-						data: []
107
-					}]
108
-				});
109
-          //受理渠道24小时统计
110
-          var qd_box = echarts.init(document.getElementById('qd_box'));
111
-			qd_box .setOption({
112
-				    tooltip : {
113
-				        trigger: 'axis',
114
-						formatter: function(datas) 
115
-					              {
116
-					              var res = datas[0].name + '<br/>', val;
117
-					                  for(var i = 0, length = datas.length; i < length; i++) {
118
-					                        val = (datas[i].value) + '%';
119
-					                        res += datas[i].seriesName + ':' + val + '<br/>';
120
-					                    }
121
-					                    return res;
122
-					               }
123
-				    },
124
-				    legend: {
125
-				    	textStyle: {
126
-							color: '#fff'
127
-						},
128
-				        data: []
129
-				    },
130
-//				    grid: {
131
-//				        left: '3%',
132
-//				        right: '4%',
133
-//				        bottom: '3%',
134
-//				        containLabel: true
135
-//				    },
136
-				    xAxis:  {
137
-				        type: 'value',
138
-				        axisLine: {
139
-							lineStyle: {
140
-								color: '#fff'
141
-							}
120
+						labelLine: {
121
+							show: true
142 122
 						}
143
-				    },
144
-				    yAxis: {
145
-				        type: 'category',
146
-				        axisLine: {
147
-								lineStyle: {
148
-									color: '#fff'
149
-								}
150
-						},
151
-				        data: ['渠道占比']
152
-				    },
153
-				    series: []
154
-				});
155
-            
156
-              Ajax();
157
-              function Ajax(){
158
-              	 var index = layer.load(1, { shade: [0.5,'#f5f5f5'] //0.1透明度的白色背景
159
-							});
160
-              	$(".txbox").html('');
161
-                	$.ajax({
162
-					type: "get",
163
-					url: huayi.config.callcenter_url + "Info/GetSourceInfo",
164
-					dataType: 'json',
165
-					async: true,
166
-					data: {
167
-						//				token:token
168
-					},
169
-					success: function(result) {
170
-						if(result.state.toLowerCase() == 'success') {
171
-							layer.close(index); 
172
-							var qunZhongArea = result.data.c;
173
-							var sers = []
174
-							for(var i = 0; i < qunZhongArea.counts.length; i++) {
175
-								var obj = {};
176
-								obj.name = qunZhongArea.cols[i];
177
-								obj.type = "line";
178
-								obj.smooth = true;
179
-								obj.showAllSymbol = true;
180
-								obj.symbol = "emptyCircle";
181
-								obj.symbolSize = 10;
182
-								obj.data = qunZhongArea.counts[i];
183
-								sers.push(obj)
184
-							}
185
-							container1.setOption({
186
-								xAxis: {
187
-									data: qunZhongArea.hours
188
-								},
189
-								legend: {
190
-									data: qunZhongArea.cols
191
-								},
192
-								series: sers
193
-							});
123
+					}
124
+				},
125
+				label: {
126
+                normal: {
127
+                    textStyle: {
128
+                        color: '#fff'
129
+                    }
130
+                }
131
+            }
132
+			}]
133
+		});
134
+		//受理渠道24小时统计
135
+		var qd_box = echarts.init(document.getElementById('qd_box'));
136
+		qd_box.setOption({
137
+			tooltip: {
138
+				trigger: 'axis',
139
+				formatter: function(datas) {
140
+					var res = datas[0].name + '<br/>',
141
+						val;
142
+					for(var i = 0, length = datas.length; i < length; i++) {
143
+						val = (datas[i].value) + '%';
144
+						res += datas[i].seriesName + ':' + val + '<br/>';
145
+					}
146
+					return res;
147
+				}
148
+			},
149
+			legend: {
150
+				textStyle: {
151
+					color: '#fff'
152
+				},
153
+				data: []
154
+			},
155
+			//				    grid: {
156
+			//				        left: '3%',
157
+			//				        right: '4%',
158
+			//				        bottom: '3%',
159
+			//				        containLabel: true
160
+			//				    },
161
+			xAxis: {
162
+				type: 'value',
163
+				axisLine: {
164
+					lineStyle: {
165
+						color: '#fff'
166
+					}
167
+				}
168
+			},
169
+			yAxis: {
170
+				type: 'category',
171
+				axisLine: {
172
+					lineStyle: {
173
+						color: '#fff'
174
+					}
175
+				},
176
+				data: ['渠道占比']
177
+			},
178
+			series: []
179
+		});
194 180
 
195
-							var shouLiQuDao = result.data.a;
196
-							var qd_legend=[];
197
-							var qd_sers=[]
198
-							var qd_label={normal:{show: true, position: 'inside',formatter: '{c}%'}};
199
-							$(shouLiQuDao).each(function(i, n) {
200
-								var qd_obj={};
201
-								var ser_data=[];
202
-								ser_data.push(n.Count)
203
-//								$('<li><div id="qd' + i + '"></div>' + n.Source + '</li>').appendTo('.txbox');
204
-								qd_legend.push(n.Source);
205
-								qd_obj.name =n.Source;
206
-								qd_obj.type ='bar';
207
-								qd_obj.stack ='总量';
208
-								qd_obj.label =qd_label;
209
-								qd_obj.data =ser_data;
210
-								qd_sers.push(qd_obj);
211
-								
212
-//								$('#qd' + i).radialIndicator({
213
-//									barColor: getColor(),
214
-//									barWidth: 10,
215
-//									initValue: n.Count,
216
-//									roundCorner: true,
217
-//									percentage: true
218
-//								});
219
-							})
220
-							qd_box.setOption({
221
-								legend: {
222
-									data: qd_legend
223
-								},
224
-								series: qd_sers
225
-							});
181
+		Ajax();
226 182
 
227
-							var hsouLiArea = result.data.b;
228
-							var hsouLiArea_lengend=[];
229
-							var hsouLiArea_ser=[];
230
-							$(hsouLiArea).each(function(i, n) {
231
-								var hsouLiArea_obj={};
232
-								hsouLiArea_lengend.push(n.AreaName);
233
-								hsouLiArea_obj.value=n.Count;
234
-								hsouLiArea_obj.name=n.AreaName;
235
-								hsouLiArea_ser.push(hsouLiArea_obj);
236
-							
237
-							})
238
-							shouLiArea.setOption({
239
-								legend: {
240
-									data: hsouLiArea_lengend
241
-								},
242
-								series: [{
243
-									data:hsouLiArea_ser
244
-								}]
245
-							});
183
+		function Ajax() {
184
+			var index = layer.load(1, {
185
+				shade: [0.5, '#030303'] //0.1透明度的白色背景
186
+			});
187
+			$(".txbox").html('');
188
+			$.ajax({
189
+				type: "get",
190
+				url: huayi.config.callcenter_url + "Info/GetSourceInfo",
191
+				dataType: 'json',
192
+				async: true,
193
+				data: {
194
+					//				token:token
195
+				},
196
+				success: function(result) {
197
+					if(result.state.toLowerCase() == 'success') {
198
+						layer.close(index);
199
+						var qunZhongArea = result.data.c;
200
+						var sers = []
201
+						for(var i = 0; i < qunZhongArea.counts.length; i++) {
202
+							var obj = {};
203
+							obj.name = qunZhongArea.cols[i];
204
+							obj.type = "line";
205
+							obj.smooth = true;
206
+							obj.showAllSymbol = true;
207
+							obj.symbol = "emptyCircle";
208
+							obj.symbolSize = 10;
209
+							obj.data = qunZhongArea.counts[i];
210
+							sers.push(obj)
246 211
 						}
212
+						container1.setOption({
213
+							xAxis: {
214
+								data: qunZhongArea.hours
215
+							},
216
+							legend: {
217
+								data: qunZhongArea.cols
218
+							},
219
+							series: sers
220
+						});
221
+
222
+						var shouLiQuDao = result.data.a;
223
+						var qd_legend = [];
224
+						var qd_sers = []
225
+						var qd_label = {
226
+							normal: {
227
+								show: true,
228
+								position: 'inside',
229
+								formatter: '{c}%'
230
+							}
231
+						};
232
+						$(shouLiQuDao).each(function(i, n) {
233
+							var qd_obj = {};
234
+							var ser_data = [];
235
+							ser_data.push(n.percent)
236
+							//								$('<li><div id="qd' + i + '"></div>' + n.Source + '</li>').appendTo('.txbox');
237
+							qd_legend.push(n.source);
238
+							qd_obj.name = n.source;
239
+							qd_obj.type = 'bar';
240
+							qd_obj.stack = '总量';
241
+							qd_obj.label = qd_label;
242
+							qd_obj.data = ser_data;
243
+							qd_sers.push(qd_obj);
244
+
245
+							//								$('#qd' + i).radialIndicator({
246
+							//									barColor: getColor(),
247
+							//									barWidth: 10,
248
+							//									initValue: n.Count,
249
+							//									roundCorner: true,
250
+							//									percentage: true
251
+							//								});
252
+						})
253
+						qd_box.setOption({
254
+							legend: {
255
+								data: qd_legend
256
+							},
257
+							series: qd_sers
258
+						});
259
+
260
+						var hsouLiArea = result.data.b;
261
+						var hsouLiArea_lengend = [];
262
+						var hsouLiArea_ser = [];
263
+						$(hsouLiArea).each(function(i, n) {
264
+							var hsouLiArea_obj = {};
265
+							hsouLiArea_lengend.push(n.AreaName);
266
+							hsouLiArea_obj.value = n.Count;
267
+							hsouLiArea_obj.name = n.AreaName;
268
+							hsouLiArea_ser.push(hsouLiArea_obj);
269
+
270
+						})
271
+						shouLiArea.setOption({
272
+							legend: {
273
+								data: hsouLiArea_lengend
274
+							},
275
+							series: [{
276
+								data: hsouLiArea_ser
277
+							}]
278
+						});
247 279
 					}
248
-				});
249
-                }
250
-				
251
-		setInterval(Ajax, huayi.config.indextime);//Ajax调用函数
252
-       
280
+				}
281
+			});
282
+		}
283
+
284
+		setInterval(Ajax, huayi.config.indextime); //Ajax调用函数

+ 26 - 12
WebChart/js/tousujubao.js

@@ -37,8 +37,22 @@
37 37
 						shadowBlur: 10,
38 38
 						shadowOffsetX: 0,
39 39
 						shadowColor: 'rgba(0, 0, 0, 0.5)'
40
-					}
41
-				}
40
+					},
41
+					normal:{
42
+				 label:{ 
43
+                                   show: true, 
44
+                                   formatter: '{b} : {c} ({d}%)' 
45
+                                }, 
46
+                                labelLine :{show:true}
47
+			}
48
+				},
49
+				label: {
50
+                normal: {
51
+                    textStyle: {
52
+                        color: '#fff'
53
+                    }
54
+                }
55
+            }
42 56
 			}]
43 57
 		});
44 58
 		
@@ -139,7 +153,7 @@
139 153
 			}]
140 154
 		});		Ajax();
141 155
 		function Ajax(){
142
-				 var index = layer.load(1, { shade: [0.5,'#f5f5f5'] //0.1透明度的白色背景
156
+				 var index = layer.load(1, { shade: [0.5,'#030303'] //0.1透明度的白色背景
143 157
 							});
144 158
 			$('.tsjb-bm ul').html('');
145 159
 				$.ajax({
@@ -180,13 +194,13 @@
180 194
 							});
181 195
 							//part 1
182 196
 							var part1 = result.data.b;
183
-							var part_1_legend = [];
197
+							var part_1_legend = part1.cols;
184 198
 							var part_1_ser = [];
185
-							$(part1).each(function(i, n) {
186
-								part_1_legend.push(n.teptname);
199
+							$(part1.cols).each(function(i, n) {
200
+//								part_1_legend.push(n.teptname);
187 201
 								var part_1_obj = {};
188
-								part_1_obj.value = n.count;
189
-								part_1_obj.name = n.teptname;
202
+								part_1_obj.value = part1.counts[i];
203
+								part_1_obj.name = n;
190 204
 								part_1_ser.push(part_1_obj)
191 205
 							})
192 206
 							quantity.setOption({
@@ -200,15 +214,15 @@
200 214
 							//part 3
201 215
 							var part3 = result.data.c;
202 216
 							var colorArr = [];
203
-							$(part3).each(function(i, n) {
217
+							$(part3.cols).each(function(i, n) {
204 218
 								$('<li class="clearfix">' +
205 219
 									'<div class="tsgjz-left">' +
206
-									'<div class="progress" title="' + n.percent + '">' +
207
-									'<div class="progress-bar bar' + i + '" title="' + n.percent + '" style="width: ' + n.percent + ';background:' + getColor() + '">' +
220
+									'<div class="progress" title="' + part3.counts[i]+ '个">' +
221
+									'<div class="progress-bar bar' + i + '" title="' + part3.counts[i] + '" style="width: ' + part3.counts[i] + 'px;background:' + getColor() + '">' +
208 222
 									'</div>' +
209 223
 									'</div>' +
210 224
 									'</div>' +
211
-									'<div class="tsgjz-right">' + n.deptname + '<span class="count' + i + '" style="color:' + $('.bar' + i).css("background-color") + '">' + n.count + '</span></div>' +
225
+									'<div class="tsgjz-right">' + n + '<span class="count' + i + '" style="color:' + $('.bar' + i).css("background-color") + '">' + part3.counts[i] + '</span></div>' +
212 226
 									'</li>').appendTo('.tsjb-bm ul');
213 227
 								colorArr.push($('.bar' + i).css("background-color"));
214 228
 							})

+ 22 - 10
WebChart/js/zhongxin.js

@@ -34,6 +34,13 @@ slhw.setOption({
34 34
 				shadowBlur: 10,
35 35
 				shadowOffsetX: 0,
36 36
 				shadowColor: 'rgba(0, 0, 0, 0.5)'
37
+			},
38
+			normal:{
39
+				 label:{ 
40
+                                   show: true, 
41
+                                   formatter: '{b} : {c} ({d}%)' 
42
+                                }, 
43
+                                labelLine :{show:true}
37 44
 			}
38 45
 		},
39 46
 		label: {
@@ -44,6 +51,11 @@ slhw.setOption({
44 51
                 }
45 52
             }
46 53
 	}]
54
+	
55
+	
56
+	
57
+	
58
+	
47 59
 });
48 60
 
49 61
 //接通率报表
@@ -191,9 +203,9 @@ th_nums.setOption({
191 203
 });
192 204
 Ajax();
193 205
 function Ajax(){
194
-		$('.gdmap-r ul').html('');
206
+	$('.gdmap-r ul').html('');
195 207
 	$('.gdmap-l ul').html('');
196
-	var index = layer.load(1, { shade: [0.5,'#f5f5f5'] //0.1透明度的白色背景
208
+	var index = layer.load(1, { shade: [0.5,'#030303'] //0.1透明度的白色背景
197 209
 	});
198 210
 
199 211
 	$.ajax({
@@ -283,21 +295,21 @@ function Ajax(){
283 295
 			var part2=data.data.a;
284 296
 			var part2_legend = [];
285 297
 			var part2_ser = [];
286
-			$(part2).each(function(i,n){
298
+			$(part2.cols).each(function(i,n){
287 299
 				var obj={};
288 300
 				if(i==1){
289
-					obj.value=n.count;
290
-					obj.name=n.teptname;
301
+					obj.value=part2.counts[i];
302
+					obj.name=n;
291 303
 					obj.selected=true;
292 304
 				}else{
293
-					obj.value=n.count;
294
-					obj.name=n.teptname;
305
+					obj.value=part2.counts[i];
306
+					obj.name=n;
295 307
 				}
296
-				part2_legend.push(n.teptname);
308
+				part2_legend.push(n);
297 309
 				part2_ser.push(obj);
298 310
 				$('<li>'+
299
-						'<div>'+n.teptname +'</div>'+
300
-						'<span>'+n.count +'</span>'+
311
+						'<div>'+n +'</div>'+
312
+						'<span>'+part2.counts[i] +'</span>'+
301 313
 					'</li>').appendTo('.gdmap-l ul');
302 314
 			})
303 315
 			slhw.setOption({

+ 5 - 0
WebChat/css/inits.css

@@ -8,3 +8,8 @@
8 8
 	line-height: 50px!important;
9 9
     color: #fff!important;
10 10
 }
11
+.block_button{
12
+	width: 95%;
13
+	margin: 0 auto;
14
+    letter-spacing: 18px;
15
+}

+ 189 - 0
WebChat/html/allSuQiu.html

@@ -0,0 +1,189 @@
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,maximum-scale=1,user-scalable=no">
8
+		<meta name="apple-mobile-web-app-capable" content="yes">
9
+		<meta name="apple-mobile-web-app-status-bar-style" content="black">
10
+		<link href="../css/mui.min.css" rel="stylesheet" />
11
+		<link rel="stylesheet" href="../css/iconfont.css" />
12
+		<link rel="stylesheet" href="../css/inits.css" />
13
+		<style>
14
+			.mui-bar-popover {
15
+				width: 30%;
16
+			}
17
+			.mui-popover.mui-bar-popover .mui-table-view{
18
+				width: 100%;
19
+			}
20
+			.mui-table-view .mui-table-view-cell>a:not(.mui-btn){
21
+				text-align: center;
22
+			}
23
+			.san{
24
+				    font-size: 14px;
25
+    				margin-right: 5px
26
+			}
27
+			.nav_a{
28
+				    border-right: 1px solid #ccc;
29
+			}
30
+			.go_search{
31
+				background: #fff!important;
32
+			    border: 1px solid #ccc!important;
33
+			    border-radius: 17px!important;
34
+			}
35
+			.new_title{
36
+				color: #000;
37
+				font-size: 16px;
38
+			}
39
+			.list_new_icon{
40
+				margin-right: 5px;
41
+				font-size: 20px;
42
+				vertical-align: middle;
43
+			}
44
+			.time i{
45
+				font-size: 18px!important;
46
+			}
47
+			.finish{
48
+				color: #5ccb91;
49
+			}
50
+			.going{
51
+				color: #febd23;
52
+			}
53
+			.waiting{
54
+				color: #fd7c78;
55
+			}
56
+			.advice,.time{
57
+				margin-left: 15px;
58
+			}
59
+		</style>
60
+	</head>
61
+
62
+	<body>
63
+		<header id="header" class="mui-bar mui-bar-nav new_head">
64
+			<h1 class="mui-title new_head_title">所有诉求</h1>
65
+			<a class="new_head_left mui-action-back mui-btn mui-btn-blue mui-btn-link mui-btn-nav mui-pull-left">
66
+				<span class="mui-icon mui-icon-left-nav"></span>返回
67
+			</a>
68
+			<a class="new_head_right mui-btn mui-btn-blue mui-btn-link mui-pull-right"><span class="iconfont icon-unie644" style="font-size: 25px;"></span></a>
69
+		</header>
70
+		<nav class="mui-bar mui-bar-tab ">
71
+			<a class="mui-tab-item nav_a" ><span class="mui-icon iconfont icon-jianpan2" style="font-size: 30px;"></span></a>
72
+			<a class="mui-tab-item nav_a" href="#Popover_0"><span class="san iconfont icon-sangeheng"></span>提交诉求</a>
73
+			<a class="mui-tab-item nav_a" href="#Popover_1"><span class="san iconfont icon-sangeheng"></span>市民服务</a>
74
+			<a class="mui-tab-item" href="#Popover_2"><span class="san iconfont icon-sangeheng"></span>@我</a>
75
+		</nav>
76
+		<div class="mui-content">
77
+			<ul class="mui-table-view mui-table-view-striped mui-table-view-condensed">
78
+				<li class="mui-table-view-cell">
79
+					<div class="mui-input-row mui-search">
80
+					<input type="search" class="mui-input-clear go_search" placeholder="请输入关键字">
81
+				</div>
82
+				</li>
83
+				  <li class="mui-table-view-cell">
84
+		            <div class="mui-table">
85
+		                <div class="mui-table-cell mui-col-xs-12">
86
+		                    <h5 class="mui-ellipsis-2 new_title" >诉求标题诉求标题诉求标题诉求标题诉求标题</h5>
87
+		                    <p class="mui-h6 mui-ellipsis">
88
+		                    	<span class="finish state"><i class="iconfont icon-duihao list_new_icon"></i>已完成</span>
89
+		                    	<span class="time"><i class="iconfont icon-daichuli list_new_icon"></i>2017年09月09日</span>
90
+		                    	<span class="advice"><i class="iconfont icon-wuyetousu list_new_icon"></i>建议反馈</span>
91
+		                    </p>
92
+		                </div>
93
+		               
94
+		            </div>
95
+		        </li>
96
+				  <li class="mui-table-view-cell">
97
+		            <div class="mui-table">
98
+		                <div class="mui-table-cell mui-col-xs-12">
99
+		                    <h5 class="mui-ellipsis-2 new_title" >题诉求标题诉求标题诉求标题诉求标题诉求标题诉求标题诉求标题诉求标题诉求标题</h5>
100
+		                    <p class="mui-h6 mui-ellipsis">
101
+		                    	<span class="finish state"><i class="iconfont icon-duihao list_new_icon"></i>已完成</span>
102
+		                    	<span class="time"><i class="iconfont icon-daichuli list_new_icon"></i>2017年09月09日</span>
103
+		                    	<span class="advice"><i class="iconfont icon-wuyetousu list_new_icon"></i>建议反馈</span>
104
+		                    </p>
105
+		                </div>
106
+		               
107
+		            </div>
108
+		        </li>
109
+				  <li class="mui-table-view-cell">
110
+		            <div class="mui-table">
111
+		                <div class="mui-table-cell mui-col-xs-12">
112
+		                    <h5 class="mui-ellipsis-2 new_title" >诉求标题诉求标题诉求标题诉求标题诉求标题诉求标题诉求标题诉求标题诉求标题诉求标题诉求标题诉求标题诉求标题诉求标题诉求标题诉求标题诉求标题诉求标题诉求标题诉求标题</h5>
113
+		                    <p class="mui-h6 mui-ellipsis">
114
+		                    	<span class="going state"><i class="iconfont icon-gengduo list_new_icon"></i>正在调整</span>
115
+		                    	<span class="time"><i class="iconfont icon-daichuli list_new_icon"></i>2017年09月09日</span>
116
+		                    	<span class="advice"><i class="iconfont icon-wuyetousu list_new_icon"></i>建议反馈</span>
117
+		                    </p>
118
+		                </div>
119
+		               
120
+		            </div>
121
+		        </li>
122
+				  <li class="mui-table-view-cell">
123
+		            <div class="mui-table">
124
+		                <div class="mui-table-cell mui-col-xs-12">
125
+		                    <h5 class="mui-ellipsis-2 new_title" >诉求标题诉求标题诉求标题诉求标题诉求标题</h5>
126
+		                    <p class="mui-h6 mui-ellipsis">
127
+		                    	<span class="waiting state"><i class="iconfont icon-icon16 list_new_icon"></i>等待处理</span>
128
+		                    	<span class="time"><i class="iconfont icon-daichuli list_new_icon"></i>2017年09月09日</span>
129
+		                    	<span class="advice"><i class="iconfont icon-wuyetousu list_new_icon"></i>问题投诉</span>
130
+		                    </p>
131
+		                </div>
132
+		               
133
+		            </div>
134
+		        </li>
135
+				
136
+				
137
+				
138
+			</ul>
139
+				
140
+			
141
+			
142
+		</div>
143
+		<!--二级菜单开始-->
144
+		<div id="Popover_0" class="mui-popover mui-bar-popover">
145
+			<div class="mui-popover-arrow"></div>
146
+			<ul class="mui-table-view">
147
+				<li class="mui-table-view-cell"><a href="#">我要咨询</a>
148
+				</li>
149
+				<li class="mui-table-view-cell"><a href="#">我要投诉</a>
150
+				</li>
151
+				<li class="mui-table-view-cell"><a href="#">我要建议</a>
152
+				</li>
153
+				<li class="mui-table-view-cell"><a href="#">我要表扬</a>
154
+				</li>
155
+			</ul>
156
+		</div>
157
+		<div id="Popover_1" class="mui-popover mui-bar-popover">
158
+			<div class="mui-popover-arrow"></div>
159
+			<ul class="mui-table-view">
160
+				<li class="mui-table-view-cell"><a href="#">通知公告</a>
161
+				</li>
162
+				<li class="mui-table-view-cell"><a href="#">知识搜索</a>
163
+				</li>
164
+				<li class="mui-table-view-cell"><a href="#">常见问题</a>
165
+				</li>
166
+			</ul>
167
+		</div>
168
+		<div id="Popover_2" class="mui-popover mui-bar-popover">
169
+			<div class="mui-popover-arrow"></div>
170
+			<ul class="mui-table-view">
171
+				<li class="mui-table-view-cell"><a href="#">我的投诉</a>
172
+				</li>
173
+				<li class="mui-table-view-cell"><a href="#">进度查询</a>
174
+				</li>
175
+				<li class="mui-table-view-cell"><a href="#">个人中心</a>
176
+				</li>
177
+			</ul>
178
+		</div>
179
+		<!--二级菜单结束-->
180
+		
181
+		
182
+		
183
+		<script src="../js/mui.min.js"></script>
184
+		<script type="text/javascript">
185
+			mui.init()
186
+		</script>
187
+	</body>
188
+
189
+</html>

+ 165 - 0
WebChat/html/myTouSu.html

@@ -0,0 +1,165 @@
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,maximum-scale=1,user-scalable=no">
8
+		<meta name="apple-mobile-web-app-capable" content="yes">
9
+		<meta name="apple-mobile-web-app-status-bar-style" content="black">
10
+		<link href="../css/mui.min.css" rel="stylesheet" />
11
+		<link rel="stylesheet" href="../css/iconfont.css" />
12
+		<link rel="stylesheet" href="../css/inits.css" />
13
+		<style>
14
+			.mui-bar-popover {
15
+				width: 30%;
16
+			}
17
+			.mui-popover.mui-bar-popover .mui-table-view{
18
+				width: 100%;
19
+			}
20
+			.mui-table-view .mui-table-view-cell>a:not(.mui-btn){
21
+				text-align: center;
22
+			}
23
+			.san{
24
+				    font-size: 14px;
25
+    				margin-right: 5px
26
+			}
27
+			.nav_a{
28
+				    border-right: 1px solid #ccc;
29
+			}
30
+			.radio_box{
31
+				display: inline-block;
32
+			}
33
+			.mui-radio input[type=radio]:before{
34
+				font-size: 25px;
35
+				vertical-align: middle;
36
+			}
37
+			.ztext{
38
+				width: 100%;
39
+			    margin: 0;
40
+			    border: 0;
41
+			}
42
+			.action{
43
+				padding: 11px 15px;
44
+			}
45
+			
46
+		</style>
47
+	</head>
48
+
49
+	<body>
50
+		<header id="header" class="mui-bar mui-bar-nav new_head">
51
+			<h1 class="mui-title new_head_title">我要投诉</h1>
52
+			<button class="new_head_left mui-action-back mui-btn mui-btn-blue mui-btn-link mui-btn-nav mui-pull-left">
53
+				<span class="mui-icon mui-icon-left-nav"></span>返回
54
+			</button>
55
+			<button class="new_head_right mui-btn mui-btn-blue mui-btn-link mui-pull-right"><span class="iconfont icon-unie644" style="font-size: 25px;"></span></button>
56
+		</header>
57
+		
58
+		<div class="mui-content">
59
+			<ul class="mui-table-view">
60
+				 <li class="mui-table-view-cell">
61
+				 	<div class="mui-input-row" id="showUserPicker">
62
+						<label>诉求类型:</label>
63
+						<input type="text" id='userResult' class="ui-alert" />
64
+					</div>
65
+				 </li>
66
+		         <li class="mui-table-view-cell">
67
+		         	<div class="mui-input-row">
68
+							<label>保密要求:</label>
69
+							<div class="mui-input-row mui-radio mui-left radio_box">
70
+		         		<label>保密</label>
71
+		         		<input type="radio" type="radio" name="secret"/>
72
+		         	</div>
73
+		         	<div class="mui-input-row mui-radio mui-left radio_box">
74
+		         		<label>公开</label>
75
+		         		<input type="radio" type="radio" name="secret"/>
76
+		         	</div>
77
+					</div>
78
+		         </li>
79
+		         <li class="mui-table-view-cell">
80
+		         		<div class="mui-input-row">
81
+						<label>诉求主题:</label>
82
+						<input type="text" placeholder="请填写您的诉求主题">
83
+					</div>
84
+		         </li>
85
+		         <li class="mui-table-view-cell">
86
+		         		<div class="mui-input-row">
87
+						<textarea class="ztext" name="" id="textarea" rows="3" cols="" placeholder="请详细描述您的问题和建议..."></textarea>
88
+					</div>
89
+		         </li>
90
+		           <li class="mui-table-view-cell">
91
+		         		<div class="mui-input-row">
92
+						<label>联系人:</label>
93
+						<input type="text" placeholder="请填写您的称呼">
94
+					</div>
95
+		         </li>
96
+		           <li class="mui-table-view-cell">
97
+		         		<div class="mui-input-row">
98
+						<label>联系电话:</label>
99
+						<input type="text" placeholder="请填写您的手机号">
100
+					</div>
101
+		         </li>
102
+			</ul>
103
+			
104
+			<p class="action">
105
+				<i class="iconfont icon-gantanhao" style="margin-right: 5px;font-size: 20px;vertical-align: middle;"></i>
106
+				<span style="color: #f81737;">以上内容都为必填内容,请如实填写</span>
107
+			</p>
108
+			<button type="button" class="mui-btn mui-btn-primary mui-btn-block block_button">提交</button>
109
+		</div>
110
+		
111
+		<script src="../js/mui.min.js"></script>
112
+		<script type="text/javascript">
113
+//			mui.init()
114
+		(function($, doc) {
115
+				$.init();
116
+				$.ready(function() {
117
+					//普通示例
118
+					var userPicker = new $.PopPicker();
119
+					userPicker.setData([{
120
+						value: 'ywj',
121
+						text: '董事长 叶文洁'
122
+					}, {
123
+						value: 'aaa',
124
+						text: '总经理 艾AA'
125
+					}, {
126
+						value: 'lj',
127
+						text: '罗辑'
128
+					}, {
129
+						value: 'ymt',
130
+						text: '云天明'
131
+					}, {
132
+						value: 'shq',
133
+						text: '史强'
134
+					}, {
135
+						value: 'zhbh',
136
+						text: '章北海'
137
+					}, {
138
+						value: 'zhy',
139
+						text: '庄颜'
140
+					}, {
141
+						value: 'gyf',
142
+						text: '关一帆'
143
+					}, {
144
+						value: 'zhz',
145
+						text: '智子'
146
+					}, {
147
+						value: 'gezh', 
148
+						text: '歌者'
149
+					}]);
150
+					var showUserPickerButton = doc.getElementById('showUserPicker');
151
+					var userResult = doc.getElementById('userResult');
152
+					showUserPickerButton.addEventListener('tap', function(event) {
153
+						userPicker.show(function(items) {
154
+							userResult.innerText = JSON.stringify(items[0]);
155
+							//返回 false 可以阻止选择框的关闭
156
+							//return false;
157
+						});
158
+					}, false);
159
+				})
160
+		})
161
+			
162
+		</script>
163
+	</body>
164
+
165
+</html>

+ 83 - 0
WebChat/html/shouLiChaXun.html

@@ -0,0 +1,83 @@
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,maximum-scale=1,user-scalable=no">
8
+		<meta name="apple-mobile-web-app-capable" content="yes">
9
+		<meta name="apple-mobile-web-app-status-bar-style" content="black">
10
+		<link href="../css/mui.min.css" rel="stylesheet" />
11
+		<link rel="stylesheet" href="../css/iconfont.css" />
12
+		<link rel="stylesheet" href="../css/inits.css" />
13
+		<style>
14
+			.mui-bar-popover {
15
+				width: 30%;
16
+			}
17
+			.mui-popover.mui-bar-popover .mui-table-view{
18
+				width: 100%;
19
+			}
20
+			.mui-table-view .mui-table-view-cell>a:not(.mui-btn){
21
+				text-align: center;
22
+			}
23
+			.san{
24
+				    font-size: 14px;
25
+    				margin-right: 5px
26
+			}
27
+			.nav_a{
28
+				    border-right: 1px solid #ccc;
29
+			}
30
+			.radio_box{
31
+				display: inline-block;
32
+			}
33
+			.mui-radio input[type=radio]:before{
34
+				font-size: 25px;
35
+				vertical-align: middle;
36
+			}
37
+			.ztext{
38
+				width: 100%;
39
+			    margin: 0;
40
+			    border: 0;
41
+			}
42
+			.action{
43
+				padding: 11px 15px;
44
+			}
45
+		
46
+		</style>
47
+	</head>
48
+
49
+	<body>
50
+		<header id="header" class="mui-bar mui-bar-nav new_head">
51
+			<h1 class="mui-title new_head_title">受理查询</h1>
52
+			<a class="new_head_left mui-action-back mui-btn mui-btn-blue mui-btn-link mui-btn-nav mui-pull-left">
53
+				<span class="mui-icon mui-icon-left-nav"></span>返回
54
+			</a>
55
+			<a class="new_head_right mui-btn mui-btn-blue mui-btn-link mui-pull-right"><span class="iconfont icon-unie644" style="font-size: 25px;"></span></a>
56
+		</header>
57
+		
58
+		<div class="mui-content">
59
+			<ul class="mui-table-view" style="margin-top: 40px;">
60
+				 <li class="mui-table-view-cell">
61
+				 	<div class="mui-input-row">
62
+						<label><i style="color: red;margin-right: 3px;">*</i>受理编号:</label>
63
+						<input type="text" class="mui-input-clear" placeholder="请输入您的受理编号">
64
+					</div>
65
+				 </li>
66
+				 <li class="mui-table-view-cell">
67
+				 	<div class="mui-input-row">
68
+						<label><i style="color: red;margin-right: 3px;">*</i>手机号码:</label>
69
+						<input type="text" class="mui-input-clear" placeholder="请输入您的手机号码">
70
+					</div>
71
+				 </li>
72
+		         
73
+			</ul>
74
+			<button type="button" class="mui-btn mui-btn-primary mui-btn-block block_button" style="margin-top: 35px;">提交</button>
75
+		</div>
76
+		
77
+		<script src="../js/mui.min.js"></script>
78
+		<script type="text/javascript">
79
+			mui.init()
80
+		</script>
81
+	</body>
82
+
83
+</html>

+ 41 - 4
WebChat/html/ziXunJianYi.html

@@ -34,6 +34,15 @@
34 34
 				font-size: 25px;
35 35
 				vertical-align: middle;
36 36
 			}
37
+			.ztext{
38
+				width: 100%;
39
+			    margin: 0;
40
+			    border: 0;
41
+			}
42
+			.action{
43
+				padding: 11px 15px;
44
+			}
45
+			
37 46
 		</style>
38 47
 	</head>
39 48
 
@@ -57,9 +66,7 @@
57 66
 		         <li class="mui-table-view-cell">
58 67
 		         	<div class="mui-input-row">
59 68
 							<label>保密要求:</label>
60
-					</div>
61
-		         	
62
-		         	<div class="mui-input-row mui-radio mui-left radio_box">
69
+							<div class="mui-input-row mui-radio mui-left radio_box">
63 70
 		         		<label>保密</label>
64 71
 		         		<input type="radio" type="radio" name="secret"/>
65 72
 		         	</div>
@@ -67,9 +74,39 @@
67 74
 		         		<label>公开</label>
68 75
 		         		<input type="radio" type="radio" name="secret"/>
69 76
 		         	</div>
77
+					</div>
78
+		         </li>
79
+		         <li class="mui-table-view-cell">
80
+		         		<div class="mui-input-row">
81
+						<label>咨询主题:</label>
82
+						<input type="text" placeholder="请填写您的咨询主题">
83
+					</div>
84
+		         </li>
85
+		         <li class="mui-table-view-cell">
86
+		         		<div class="mui-input-row">
87
+						<!--<label>咨询主题:</label>-->
88
+						<textarea class="ztext" name="" id="textarea" rows="3" cols="" placeholder="请详细描述您的问题和建议..."></textarea>
89
+					</div>
90
+		         </li>
91
+		           <li class="mui-table-view-cell">
92
+		         		<div class="mui-input-row">
93
+						<label>联系人:</label>
94
+						<input type="text" placeholder="请填写您的称呼">
95
+					</div>
96
+		         </li>
97
+		           <li class="mui-table-view-cell">
98
+		         		<div class="mui-input-row">
99
+						<label>联系电话:</label>
100
+						<input type="text" placeholder="请填写您的手机号">
101
+					</div>
70 102
 		         </li>
71
-		         <li class="mui-table-view-cell">Item 3</li>
72 103
 			</ul>
104
+			
105
+			<p class="action">
106
+				<i class="iconfont icon-gantanhao" style="margin-right: 5px;font-size: 20px;vertical-align: middle;"></i>
107
+				<span style="color: #f81737;">以上内容都为必填内容,请如实填写</span>
108
+			</p>
109
+			<button type="button" class="mui-btn mui-btn-primary mui-btn-block block_button">提交</button>
73 110
 		</div>
74 111
 		
75 112
 		<script src="../js/mui.min.js"></script>

+ 134 - 0
WebChat/icon.html

@@ -0,0 +1,134 @@
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,maximum-scale=1,user-scalable=no">
8
+		<meta name="apple-mobile-web-app-capable" content="yes">
9
+		<meta name="apple-mobile-web-app-status-bar-style" content="black">
10
+		<link href="css/mui.min.css" rel="stylesheet" />
11
+		<link rel="stylesheet" href="css/iconfont.css" />
12
+		<link rel="stylesheet" href="css/inits.css" />
13
+		<style>
14
+			.mui-bar-popover {
15
+				width: 30%;
16
+			}
17
+			.mui-popover.mui-bar-popover .mui-table-view{
18
+				width: 100%;
19
+			}
20
+			.mui-table-view .mui-table-view-cell>a:not(.mui-btn){
21
+				text-align: center;
22
+			}
23
+			.san{
24
+				    font-size: 14px;
25
+    				margin-right: 5px
26
+			}
27
+			.nav_a{
28
+				    border-right: 1px solid #ccc;
29
+			}
30
+			.radio_box{
31
+				display: inline-block;
32
+			}
33
+			.mui-radio input[type=radio]:before{
34
+				font-size: 25px;
35
+				vertical-align: middle;
36
+			}
37
+			.ztext{
38
+				width: 100%;
39
+			    margin: 0;
40
+			    border: 0;
41
+			}
42
+			.action{
43
+				padding: 11px 15px;
44
+			}
45
+		
46
+		</style>
47
+	</head>
48
+
49
+	<body>
50
+		<header id="header" class="mui-bar mui-bar-nav new_head">
51
+			<h1 class="mui-title new_head_title">受理查询</h1>
52
+			<button class="new_head_left mui-action-back mui-btn mui-btn-blue mui-btn-link mui-btn-nav mui-pull-left">
53
+				<span class="mui-icon mui-icon-left-nav"></span>返回
54
+			</button>
55
+			<button class="new_head_right mui-btn mui-btn-blue mui-btn-link mui-pull-right"><span class="iconfont icon-iconfont02"></span></button>
56
+		</header>
57
+		
58
+		<div class="mui-content">
59
+			<ul>
60
+				<li>
61
+					1.<span class="iconfont icon-iconfont02"></span>iconfont02
62
+				</li>
63
+				<li>
64
+					2.<span class="iconfont icon-zixun"></span>zixun
65
+				</li>
66
+				<li>
67
+					3.<span class="iconfont icon-duihao"></span>duihao
68
+				</li>
69
+				<li>
70
+					4.<span class="iconfont icon-lalala"></span>lalala
71
+				</li>
72
+				<li>
73
+					5.<span class="iconfont icon-daichuli"></span>daichuli
74
+				</li>
75
+				<li>
76
+					6.<span class="iconfont icon-xiugai"></span>xiugai
77
+				</li>
78
+				<li>
79
+					7.<span class="iconfont icon-gantanhao"></span>gantanhao
80
+				</li>
81
+				<li>
82
+					8.<span class="iconfont icon-jiahao"></span>jiahao
83
+				</li>
84
+				<li>
85
+					9.<span class="iconfont icon-asterisk"></span>asterisk
86
+				</li>
87
+				<li>
88
+					10.<span class="iconfont icon-gengduo"></span>gengduo
89
+				</li>
90
+				<li>
91
+					11.<span class="iconfont icon-icon16"></span>icon16
92
+				</li>
93
+				<li>
94
+					12.<span class="iconfont icon-sangeheng"></span>sangeheng
95
+				</li>
96
+				<li>
97
+					13.<span class="iconfont icon-caogaoxiang"></span>caogaoxiang
98
+				</li>
99
+				<li>
100
+					14.<span class="iconfont icon-dianhua"></span>dianhua
101
+				</li>
102
+				<li>
103
+					15.<span class="iconfont icon-sangeheng1"></span>sangeheng1
104
+				</li>
105
+				<li>
106
+					16.<span class="iconfont icon-dizhi"></span>dizhi
107
+				</li>
108
+				<li>
109
+					17.<span class="iconfont icon-quanbu"></span>quanbu
110
+				</li>
111
+				<li>
112
+					18.<span class="iconfont icon-youjianshezhi"></span>youjianshezhi
113
+				</li>
114
+				<li>
115
+					19.<span class="iconfont icon-jianpan"></span>jianpan
116
+				</li>
117
+				<li>
118
+					20.<span class="iconfont icon-wuyetousu"></span>wuyetousu
119
+				</li>
120
+				<li>
121
+					21.<span class="iconfont icon-unie644"></span>unie644
122
+				</li>
123
+				<li>
124
+					22.<span class="iconfont icon-jianpan2"></span>jianpan2
125
+				</li>
126
+			</ul>
127
+		</div>
128
+		<script src="js/mui.min.js"></script>
129
+		<script type="text/javascript">
130
+			mui.init()
131
+		</script>
132
+	</body>
133
+
134
+</html>

+ 9 - 0
WebSite/.project

@@ -33,5 +33,14 @@
33 33
 				<arguments>1.0-name-matches-false-false-node_modules</arguments>
34 34
 			</matcher>
35 35
 		</filter>
36
+		<filter>
37
+			<id>1505698358592</id>
38
+			<name></name>
39
+			<type>26</type>
40
+			<matcher>
41
+				<id>org.eclipse.ui.ide.multiFilter</id>
42
+				<arguments>1.0-name-matches-false-false-node_modules</arguments>
43
+			</matcher>
44
+		</filter>
36 45
 	</filteredResources>
37 46
 </projectDescription>

+ 109 - 0
WebUI/CallCenterWeb.UI/WebSite/weiBo.html

@@ -0,0 +1,109 @@
1
+<!DOCTYPE html>
2
+<html>
3
+
4
+<head>
5
+    <meta charset="UTF-8">
6
+    <script src="../Script/Common/huayi.load.js"></script>
7
+    <script src="../Script/Common/huayi.config.js"></script>
8
+    <link rel="stylesheet" href="../css/init.css" />
9
+    <title>微博列表</title>
10
+    <style>
11
+        .treeTable {
12
+            height: 400px;
13
+            /*overflow-y: auto;*/
14
+        }
15
+        .content {
16
+            width: 270px;
17
+            height: 100%;
18
+            overflow: hidden;
19
+            white-space: nowrap;
20
+            text-overflow: ellipsis;
21
+            text-align: left;
22
+            cursor: pointer;
23
+        }
24
+    </style>
25
+</head>
26
+
27
+<body>
28
+    <div class="container-fluid">
29
+        <div class="daoHang clearfix">
30
+            <div class="dhLeft">
31
+                <sapn><i class="syIcon"></i>位置:<a id="ReIndex">首页</a>&gt;<a href="javaScript:;">后台管理</a>&gt;<a href="" class="nowPosition">微博列表</a></sapn>
32
+            </div>
33
+            <div class="dhRight"><i class="fa fa-refresh"></i></div>
34
+        </div>
35
+        <div class="treeTable clearfix">
36
+            <div class="tableCon col-md-9">
37
+                <table id="table1" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
38
+                    <thead>
39
+                        <tr>
40
+                            <th data-align="W_Id">微博ID</th>
41
+                            <th data-field="W_Text" data-align="center"  data-formatter="detail">微博信息</th>
42
+                            <th data-field="W_Source" data-align="left">关联</th>
43
+                            <th data-field="W_Name" data-align="left" >发布人</th>
44
+                            <th data-field="W_Created_at" data-align="left" >发布时间</th>
45
+                            <th data-field="W_Url" data-align="left" >操作</th>
46
+                        </tr>
47
+                    </thead>
48
+                    <tbody id="tbody"></tbody>
49
+                </table>
50
+
51
+            </div>
52
+        </div>
53
+    </div>
54
+    <script src="../css/layer/layer.js"></script>
55
+    <script src="../js/weiBo.js"></script>
56
+</body>
57
+<script>
58
+	var table=$('#table1');
59
+	function initTable() {
60
+	//先销毁表格
61
+	table.bootstrapTable('destroy');
62
+	//初始化表格,动态从服务器加载数据
63
+	table.bootstrapTable({
64
+		method: "get", //使用get请求到服务器获取数据
65
+		url: huayi.config.callcenter_url + "WeiBo/WeiBoList", //获取数据的Servlet地址
66
+		contentType: "application/x-www-form-urlencoded",
67
+		striped: true, //表格显示条纹
68
+		pagination: true, //启动分页
69
+		pageSize: 10, //每页显示的记录数
70
+		pageNumber: 1, //当前第几页
71
+		pageList: [10, 20, 50, 100], //记录数可选列表
72
+		search: false, //是否启用查询
73
+		showColumns: false, //显示下拉框勾选要显示的列
74
+		showRefresh: false, //显示刷新按钮
75
+		sidePagination: "server", //表示服务端请求
76
+		//设置为undefined可以获取pageNumber,pageSize,searchText,sortName,sortOrder
77
+		//设置为limit可以获取limit, offset, search, sort, order
78
+		queryParamsType: "undefined",
79
+		queryParams: function queryParams(params) { //设置查询参数
80
+			var param = {
81
+				page: params.pageNumber,
82
+				pagesize: params.pageSize,
83
+				token:$.cookie("token")
84
+			};
85
+			return param;
86
+		},
87
+		onLoadSuccess: function() { //加载成功时执行
88
+			//layer.msg("加载成功");
89
+		},
90
+		onLoadError: function() { //加载失败时执行
91
+			//layer.msg("加载数据失败", { time: 1500, icon: 2 });
92
+		}
93
+	});
94
+}
95
+	
96
+function detail(val,row){
97
+	return'<div class="content" onclick="goDetail('+ row.W_Id+')">'+ val +'</div>'
98
+}
99
+//跳转详情页
100
+function goDetail(did){
101
+	top.$("iframe:visible")[0].src = "zhiShiKu/zhiShiKuDetail.html?id="+did;
102
+}
103
+
104
+	
105
+	
106
+
107
+</script>
108
+
109
+</html>

+ 58 - 0
WebUI/CallCenterWeb.UI/WebSite/weiBoDetail.html

@@ -0,0 +1,58 @@
1
+<!DOCTYPE html>
2
+<html>
3
+
4
+<head>
5
+    <meta charset="UTF-8">
6
+    <script src="../Script/Common/huayi.load.js"></script>
7
+    <script src="../Script/Common/huayi.config.js"></script>
8
+    <link rel="stylesheet" href="../css/init.css" />
9
+    <title>微博详情</title>
10
+    <style>
11
+        .treeTable {
12
+            height: 400px;
13
+            /*overflow-y: auto;*/
14
+        }
15
+        .content {
16
+            width: 270px;
17
+            height: 100%;
18
+            overflow: hidden;
19
+            white-space: nowrap;
20
+            text-overflow: ellipsis;
21
+            text-align: left;
22
+            cursor: pointer;
23
+        }
24
+    </style>
25
+</head>
26
+
27
+<body>
28
+    <div class="container-fluid">
29
+        <div class="daoHang clearfix">
30
+            <div class="dhLeft">
31
+                <sapn><i class="syIcon"></i>位置:<a id="ReIndex">首页</a>&gt;<a href="javaScript:;">后台管理</a>&gt;<a href="" class="nowPosition">微博信息详情</a></sapn>
32
+            </div>
33
+            <div class="dhRight"><i class="fa fa-refresh"></i></div>
34
+        </div>
35
+        <div class="treeTable clearfix">
36
+            <div class="tableCon col-md-9">
37
+                <table id="table1" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
38
+                    <thead>
39
+                        <tr>
40
+                            <th data-align="W_Id">微博ID</th>
41
+                            <th data-field="W_Text" data-align="center"  data-formatter="detail">微博信息</th>
42
+                            <th data-field="W_Source" data-align="left">关联</th>
43
+                            <th data-field="W_Name" data-align="left" >发布人</th>
44
+                            <th data-field="W_Created_at" data-align="left" >发布时间</th>
45
+                            <th data-field="W_Url" data-align="left" >操作</th>
46
+                        </tr>
47
+                    </thead>
48
+                    <tbody id="tbody"></tbody>
49
+                </table>
50
+
51
+            </div>
52
+        </div>
53
+    </div>
54
+    <script src="../css/layer/layer.js"></script>
55
+    <script src="../js/weiBo.js"></script>
56
+</body>
57
+
58
+</html>

+ 48 - 0
WebUI/CallCenterWeb.UI/js/weiBo.js

@@ -0,0 +1,48 @@
1
+	var table=$('#table1');
2
+	function initTable() {
3
+	//先销毁表格
4
+	table.bootstrapTable('destroy');
5
+	//初始化表格,动态从服务器加载数据
6
+	table.bootstrapTable({
7
+		method: "get", //使用get请求到服务器获取数据
8
+		url: huayi.config.callcenter_url + "WeiBo/WeiBoList", //获取数据的Servlet地址
9
+		contentType: "application/x-www-form-urlencoded",
10
+		striped: true, //表格显示条纹
11
+		pagination: true, //启动分页
12
+		pageSize: 10, //每页显示的记录数
13
+		pageNumber: 1, //当前第几页
14
+		pageList: [10, 20, 50, 100], //记录数可选列表
15
+		search: false, //是否启用查询
16
+		showColumns: false, //显示下拉框勾选要显示的列
17
+		showRefresh: false, //显示刷新按钮
18
+		sidePagination: "server", //表示服务端请求
19
+		//设置为undefined可以获取pageNumber,pageSize,searchText,sortName,sortOrder
20
+		//设置为limit可以获取limit, offset, search, sort, order
21
+		queryParamsType: "undefined",
22
+		queryParams: function queryParams(params) { //设置查询参数
23
+			var param = {
24
+				page: params.pageNumber,
25
+				pagesize: params.pageSize,
26
+				token:$.cookie("token")
27
+			};
28
+			return param;
29
+		},
30
+		onLoadSuccess: function() { //加载成功时执行
31
+			//layer.msg("加载成功");
32
+		},
33
+		onLoadError: function() { //加载失败时执行
34
+			//layer.msg("加载数据失败", { time: 1500, icon: 2 });
35
+		}
36
+	});
37
+}
38
+	
39
+function detail(val,row){
40
+	return'<div class="content" onclick="goDetail('+ row.W_Id+')">'+ val +'</div>'
41
+}
42
+//跳转详情页
43
+function goDetail(did){
44
+	top.$("iframe:visible")[0].src = "WebSite/weiBoDetail.html?id="+did;
45
+}
46
+
47
+	
48
+