Browse Source

安阳3.4.0部分代码提交

miaofuhao 2 years ago
parent
commit
d22bd21336
96 changed files with 597 additions and 21456 deletions
  1. 44 12
      WebChartNewest/index.html
  2. 0 62
      WebChartNewest/js - 副本/ScrollDiv.js
  3. 0 652
      WebChartNewest/js - 副本/TelephoneDetails.js
  4. 0 1316
      WebChartNewest/js - 副本/anyangMap.js
  5. 0 131
      WebChartNewest/js - 副本/anyangMap2.js
  6. 0 9
      WebChartNewest/js - 副本/bootstrap/bootstrap-select.min.js
  7. 0 48
      WebChartNewest/js - 副本/bootstrap/bootstrap-table-zh-CN.js
  8. 0 3100
      WebChartNewest/js - 副本/bootstrap/bootstrap-table.js
  9. 0 8
      WebChartNewest/js - 副本/bootstrap/bootstrap-table.min.js
  10. 0 413
      WebChartNewest/js - 副本/complaintsReport.js
  11. 0 6059
      WebChartNewest/js - 副本/crypto-js.js
  12. 0 602
      WebChartNewest/js - 副本/detail.js
  13. BIN
      WebChartNewest/js - 副本/digifaw.ttf
  14. 0 22
      WebChartNewest/js - 副本/echarts.min.js
  15. 0 326
      WebChartNewest/js - 副本/gray.js
  16. 0 751
      WebChartNewest/js - 副本/index_20190701.js
  17. 0 117
      WebChartNewest/js - 副本/jq/jquery.cookie.js
  18. 0 229
      WebChartNewest/js - 副本/jq/jquery.md5.js
  19. 0 6
      WebChartNewest/js - 副本/jq/jquery.min.js
  20. 0 431
      WebChartNewest/js - 副本/laiyuanqudao.js
  21. 0 2
      WebChartNewest/js - 副本/laydate/laydate.js
  22. BIN
      WebChartNewest/js - 副本/laydate/theme/default/font/iconfont.eot
  23. 0 45
      WebChartNewest/js - 副本/laydate/theme/default/font/iconfont.svg
  24. BIN
      WebChartNewest/js - 副本/laydate/theme/default/font/iconfont.ttf
  25. BIN
      WebChartNewest/js - 副本/laydate/theme/default/font/iconfont.woff
  26. 0 2
      WebChartNewest/js - 副本/laydate/theme/default/laydate.css
  27. 0 2
      WebChartNewest/js - 副本/layer/layer.js
  28. 0 2
      WebChartNewest/js - 副本/layer/mobile/layer.js
  29. 0 1
      WebChartNewest/js - 副本/layer/mobile/need/layer.css
  30. BIN
      WebChartNewest/js - 副本/layer/skin/default/icon-ext.png
  31. BIN
      WebChartNewest/js - 副本/layer/skin/default/icon.png
  32. 0 957
      WebChartNewest/js - 副本/layer/skin/default/layer.css
  33. BIN
      WebChartNewest/js - 副本/layer/skin/default/loading-0.gif
  34. BIN
      WebChartNewest/js - 副本/layer/skin/default/loading-1.gif
  35. BIN
      WebChartNewest/js - 副本/layer/skin/default/loading-2.gif
  36. 0 0
      WebChartNewest/js - 副本/login.js
  37. 0 274
      WebChartNewest/js - 副本/main.js
  38. 0 326
      WebChartNewest/js - 副本/map.js
  39. 0 382
      WebChartNewest/js - 副本/map1.js
  40. 0 1378
      WebChartNewest/js - 副本/newIndex.js
  41. 0 0
      WebChartNewest/js - 副本/pageJs/second_index.js
  42. 0 192
      WebChartNewest/js - 副本/pieChat.js
  43. 0 313
      WebChartNewest/js - 副本/radialIndicator.js
  44. 0 424
      WebChartNewest/js - 副本/receiptDepartment.js
  45. 0 237
      WebChartNewest/js - 副本/scrallNum/countUp.js
  46. 0 88
      WebChartNewest/js - 副本/scrallNum/jquery.countUp.js
  47. 0 55
      WebChartNewest/js - 副本/scrallNum/jquery.countUp.min.js
  48. 0 7
      WebChartNewest/js - 副本/scrallNum/jquery.waypoints.min.js
  49. 0 69
      WebChartNewest/js - 副本/scrallNum/num_scroll.js
  50. 0 84
      WebChartNewest/js - 副本/scrallNum/numscrall.js
  51. 0 5
      WebChartNewest/js - 副本/setItervalTime.js
  52. 0 509
      WebChartNewest/js - 副本/sourceChannel.js
  53. 0 3
      WebChartNewest/js - 副本/swiper.animate1.0.3.min.js
  54. 0 13
      WebChartNewest/js - 副本/swiper.min.js
  55. 0 298
      WebChartNewest/js - 副本/tagcloud.js
  56. 0 86
      WebChartNewest/js - 副本/util - 副本.js
  57. 0 86
      WebChartNewest/js - 副本/util.js
  58. BIN
      WebChartNewest/js - 副本/websocket/WebSocketMain.swf
  59. 0 4
      WebChartNewest/js - 副本/websocket/swfobject.js
  60. 0 398
      WebChartNewest/js - 副本/websocket/web_socket.js
  61. 46 79
      WebChartNewest/js/index.js
  62. 1 1
      WebChartNewest/js/main.js
  63. 74 0
      WebChartNewest/js/newAdd/timetype.js
  64. 8 4
      WebChartNewest/js/second_index.js
  65. 4 23
      WebChartNewest/js/trafficData.js
  66. 9 1
      WebUI/CallCenterWeb.UI/Appeal/Lawsuit.html
  67. 5 0
      WebUI/CallCenterWeb.UI/Appeal/expiredWorkOrders.html
  68. 14 49
      WebUI/CallCenterWeb.UI/Business/UnsuccessfulLevel2.html
  69. 16 49
      WebUI/CallCenterWeb.UI/Business/UnsuccessfulLevel3.html
  70. 8 0
      WebUI/CallCenterWeb.UI/Business/WorkDC.html
  71. 17 1
      WebUI/CallCenterWeb.UI/Business/WorkDC_EJ.html
  72. 17 1
      WebUI/CallCenterWeb.UI/Business/WorkDC_EJDelayed.html
  73. 14 49
      WebUI/CallCenterWeb.UI/Business/WorkTHBJJ.html
  74. 14 49
      WebUI/CallCenterWeb.UI/Business/WorkTHCB.html
  75. 14 49
      WebUI/CallCenterWeb.UI/Business/WorkXJDWTH.html
  76. 14 49
      WebUI/CallCenterWeb.UI/Business/WorkYBL.html
  77. 14 49
      WebUI/CallCenterWeb.UI/Business/WorkYBLTJ.html
  78. 17 51
      WebUI/CallCenterWeb.UI/Business/WorkYBL_zlei.html
  79. 14 49
      WebUI/CallCenterWeb.UI/Business/WorkYSQTH.html
  80. 14 49
      WebUI/CallCenterWeb.UI/Business/WorkYSQYS.html
  81. 15 50
      WebUI/CallCenterWeb.UI/Business/WorkZZBL.html
  82. 17 51
      WebUI/CallCenterWeb.UI/Business/applicationDelayed.html
  83. 17 51
      WebUI/CallCenterWeb.UI/Business/haveBeenReceived.html
  84. 14 50
      WebUI/CallCenterWeb.UI/Business/workOverdue.html
  85. 1 1
      WebUI/CallCenterWeb.UI/CommonHtml/AddAppeal.html
  86. 12 9
      WebUI/CallCenterWeb.UI/CommonHtml/WorkDatil.html
  87. 33 3
      WebUI/CallCenterWeb.UI/CommonHtml/callerName.html
  88. 6 1
      WebUI/CallCenterWeb.UI/CommonHtml/callerNumber.html
  89. 12 1
      WebUI/CallCenterWeb.UI/ProvincialPlatformManagement/LawsuitProvincialPlatform.html
  90. 2 2
      WebUI/CallCenterWeb.UI/ReportForm/seatefficiencyStatistics.html
  91. 28 54
      WebUI/CallCenterWeb.UI/ReportForm/seaterMY.html
  92. 1 1
      WebUI/CallCenterWeb.UI/Script/Common/huayi.config.js
  93. 1 1
      WebUI/CallCenterWeb.UI/TelCall/CallRecord.html
  94. 1 0
      WebUI/CallCenterWeb.UI/js/WorkOrder/WorkOrderList.js
  95. 30 0
      WebUI/CallCenterWeb.UI/js/commonReport/common.js
  96. 29 43
      WebUI/CallCenterWeb.UI/js/main.js

+ 44 - 12
WebChartNewest/index.html

@@ -31,7 +31,12 @@
31 31
 						<h2>话务数据统计</h2>
32 32
 					</div>
33 33
 					<div class="dataT act">
34
-
34
+						<label class="dataAct" data-pos="1" indexTitle="话务数据统计1">
35
+							今日<span class="day active"></span>
36
+						</label><br>
37
+						<label class="dataAct" data-pos="2" indexTitle="话务数据统计1">
38
+							本月<span class="month"></span>
39
+						</label>
35 40
 					</div>
36 41
 					<div class="btn_time">
37 42
 						<span class="timeTraffic" data-state='0'>切换</span>
@@ -46,12 +51,17 @@
46 51
 					<div class="title_img">
47 52
 						<h2 class="title">热线整合受理情况</h2>
48 53
 					</div>
49
-					<div class="dataT">
50
-						当月数据
54
+					<div class="dataT act">
55
+						<label class="dataAct" data-pos="1" indexTitle="热线整合受理情况">
56
+							今日<span class="day active"></span>
57
+						</label><br>
58
+						<label class="dataAct" data-pos="2" indexTitle="热线整合受理情况">
59
+							本月<span class="month"></span>
60
+						</label>
51 61
 					</div>
52 62
 					<div class="lineB">
53 63
 					</div>
54
-					<ul class="hotline" id="hotline3">
64
+					<ul class="hotline" id="hotline3" style="overflow: hidden;">
55 65
 					</ul>
56 66
 					<!-- <div id="hotline" style="width: 100%;height:240px;"></div> -->
57 67
 				</div>
@@ -60,8 +70,13 @@
60 70
 					<div class="title_img">
61 71
 						<h2>舆情监测</h2>
62 72
 					</div>
63
-					<div class="dataT">
64
-						当月数据
73
+					<div class="dataT act">
74
+						<label  class="dataAct" data-pos="1" indexTitle="舆情监测">
75
+							今日<span class="day active"></span>
76
+						</label><br>
77
+						<label  class="dataAct" data-pos="2" indexTitle="舆情监测">
78
+							本月<span class="month"></span>
79
+						</label>
65 80
 					</div>
66 81
 					<div id="hotThings" style="width: 100%;height:250px;"></div>
67 82
 				</div>
@@ -131,8 +146,13 @@
131 146
 					<div class="title_img">
132 147
 						<h2>高频事项</h2>
133 148
 					</div>
134
-					<div class="dataT">
135
-						当日数据
149
+					<div class="dataT act">
150
+						<label  class="dataAct" data-pos="1" indexTitle="高频事项">
151
+							今日<span class="day active"></span>
152
+						</label><br>
153
+						<label  class="dataAct" data-pos="2" indexTitle="高频事项">
154
+							本月<span class="month"></span>
155
+						</label>
136 156
 					</div>
137 157
 					<div id="keyword" style="width: 100%;height:290px;">
138 158
 					</div>
@@ -147,8 +167,13 @@
147 167
 					<div class="title_img">
148 168
 						<h2>工单类型</h2>
149 169
 					</div>
150
-					<div class="dataT">
151
-						当月数据
170
+					<div class="dataT act">
171
+						<label  class="dataAct" data-pos="1" indexTitle="工单类型">
172
+							今日<span class="day active"></span>
173
+						</label><br>
174
+						<label  class="dataAct" data-pos="2" indexTitle="工单类型">
175
+							本月<span class="month"></span>
176
+						</label>
152 177
 					</div>
153 178
 					<div id="workOrder" style="width: 800px;height:250px;"></div>
154 179
 				</div>
@@ -163,8 +188,13 @@
163 188
 						<span class="responseLength" data-state='3'>切换</span>
164 189
 						<img src="./image/switch.png" alt="">
165 190
 					</div>
166
-					<div class="dataT">
167
-						当月数据
191
+					<div class="dataT act">
192
+						<label  class="dataAct" data-pos="1" indexTitle="绩效考核排名">
193
+							今日<span class="day active"></span>
194
+						</label><br>
195
+						<label  class="dataAct" data-pos="2" indexTitle="绩效考核排名">
196
+							本月<span class="month"></span>
197
+						</label>
168 198
 					</div>
169 199
 					<div class="count-share">
170 200
 						<div class="com-screen-content">
@@ -880,5 +910,7 @@
880 910
 <script src="js/workOrder.js"></script>
881 911
 <!--当日话务数据统计修改-->
882 912
 <script src="js/trafficData.js"></script>
913
+<!--2023-06-01 切换年月日-->
914
+<script src="js/newAdd/timetype.js"></script>
883 915
 
884 916
 </html>

+ 0 - 62
WebChartNewest/js - 副本/ScrollDiv.js

@@ -1,62 +0,0 @@
1
-(function($) {
2
-	function Scroll(obj, opt) {
3
-		this.obj = obj;
4
-		this.opt = $.extend(obj, opt);
5
-		this.init = function() {
6
-			clearInterval(obj.attr("timerID"));
7
-			this.Scrolls(obj, opt);
8
-		}
9
-	}
10
-	Scroll.prototype = {
11
-		//					 timerID:null,
12
-		Scrolls: function(obj, opt) {
13
-			this.hovered(obj, opt)
14
-		},
15
-		scrollDown: function(obj, opt) {
16
-			var _this = obj.eq(0).find("table:first");
17
-			var lineH = _this.find("tr:first").height(); //获取行高
18
-			_this.animate({
19
-					marginTop: -lineH + "px"
20
-				}, //动画展示css样式
21
-				opt.speed,
22
-				function() {
23
-					_this.find("tr:first").appendTo(_this);
24
-					_this.css({
25
-						marginTop: "0px"
26
-					});
27
-				}
28
-			)
29
-		},
30
-		hovered: function(obj, opt) {
31
-			var timerID, $thats = this,
32
-				_thisH = obj.eq(0).find("table:first").height(),
33
-				thisH = obj.eq(0).height();
34
-			obj.eq(0).find("table:first").unbind();
35
-			//鼠标事件绑定
36
-			obj.eq(0).find("table:first").hover(function() {
37
-				clearInterval(obj.attr("timerID"));
38
-			}, function() {
39
-				if(_thisH > thisH) {
40
-					timerID = setInterval(function() {
41
-						$thats.scrollDown(obj, opt)
42
-					}, opt.timer); //这里调用向下或者向上滚动函数
43
-					obj.attr("timerID", timerID);
44
-				}
45
-			}).mouseout();
46
-		}
47
-
48
-	}
49
-	$.fn.Scroll = function(obj) {
50
-		var $that = this;
51
-		//参数初始化
52
-		if(!obj) var obj = {};
53
-		var _this = $that.eq(0).find("table:first");
54
-		var lineH = _this.find("tr:first").height(), //获取行高
55
-			line = obj.line ? parseInt(obj.line, 10) : parseInt($that.height() / lineH, 10), //每次滚动的行数,默认为一屏,即父容器高度
56
-			speed = obj.speed ? parseInt(obj.speed, 10) : 500, //卷动速度,数值越大,速度越慢(毫秒)
57
-			timer = obj.timer ? parseInt(obj.timer, 10) : 2000; //滚动的时间间隔(毫秒)
58
-		if(line == 0) line = 1;
59
-		var rollNumObj = new Scroll($that, obj);
60
-		rollNumObj.init();
61
-	};
62
-})(jQuery);

+ 0 - 652
WebChartNewest/js - 副本/TelephoneDetails.js

@@ -1,652 +0,0 @@
1
-	var areaOneVal = helper.cookies.get("areaOneVal");
2
-	var areaOneText = helper.cookies.get("areaOneText");
3
-	// 如果浏览器不支持websocket,会使用这个flash自动模拟websocket协议,此过程对开发者透明
4
-	WEB_SOCKET_SWF_LOCATION = "./js/websocket/WebSocketMain.swf";
5
-	// 开启flash的websocket debug
6
-	WEB_SOCKET_DEBUG = true;
7
-	var ws, n = 0,
8
-		timer;
9
-	var lockReconnect = false; //避免重复连接
10
-	var obj = {};
11
-	var Statess;
12
-	var cls = 0;
13
-	var lasttime = new Date().getTime();
14
-	var cons;
15
-	var person = '';
16
-	if(areaOneVal) {
17
-		var areaOneVal = helper.cookies.get("areaOneVal");
18
-	} else {
19
-		var areaOneVal = "sqs12345"
20
-	}
21
-	//创建scoket连接
22
-	function createWebSocket() {
23
-		try {
24
-
25
-			Connect();
26
-		} catch(e) {
27
-			reconnect();
28
-		}
29
-	}
30
-	//连接
31
-	function Connect() {
32
-		// debugger
33
-		ws = new WebSocket("ws://" + huayi.config.socket_ip + ":" + huayi.config.socket_port);
34
-		ws.onopen = function() {
35
-			console.log(new Date() + "    " + "建立连接");
36
-			cls = 0;
37
-			lasttime = new Date().getTime();
38
-			join()
39
-			SayBusy()
40
-
41
-		};
42
-		//接收到消息的回调方法
43
-		ws.onmessage = function(evt) {
44
-			//如果获取到消息,心跳检测重置
45
-			//拿到任何消息都说明当前连接是正常的
46
-			//heartCheck.reset().start();
47
-			var myDate = new Date();
48
-			console.log(myDate + "  receive  " + evt.data);
49
-			var data = JSON.parse(evt.data)[0];
50
-			if(data) {
51
-				var rlt = data.Result;
52
-				var type = data.Type;
53
-				if(rlt == true) {
54
-					switch(type.toLowerCase()) {
55
-						//case "heart": HeartBack(); break;//心跳
56
-						case "login":
57
-							LoginBack();
58
-							break; //签入
59
-						case "subscribecancel":
60
-							SubScribeCancelBack();
61
-							break; //停止监测
62
-						case "agentstate":
63
-							AgentStateBack(data);
64
-							break; //坐席状态
65
-					}
66
-				} else {
67
-					if(rlt == false) {
68
-						$(".hwzt").text('操作失败!');
69
-					} else {
70
-						$(".hwzt").text(rlt);
71
-						if(type.toLowerCase() == 'waitcount') {
72
-							backstageQueue(data);
73
-						}
74
-					}
75
-				}
76
-			}
77
-		};
78
-
79
-		//连接关闭的回调方法
80
-		ws.onclose = function(evt) {
81
-			if(cls == 0) {
82
-				cls = 1;
83
-				$(".hwzt").text('连接关闭!');
84
-				$("#top-search li i").removeClass("active");
85
-				reconnect();
86
-			}
87
-		};
88
-		//连接发生错误的回调方法
89
-		ws.onerror = function(evt) {
90
-			//产生异常
91
-			$(".hwzt").text('连接出现异常!');
92
-			console.log(ws);
93
-			if(ws == null || ws.readyState != ws.OPEN) {
94
-				console.log(new Date() + "开始重连");
95
-				reconnect();
96
-			}
97
-
98
-		};
99
-	}
100
-	//重连
101
-	function reconnect() {
102
-
103
-		if(lockReconnect) return;
104
-		lockReconnect = true;
105
-		//没连接上会一直重连,设置延迟避免请求过多
106
-		setTimeout(function() {
107
-			console.log(new Date() + "    " + "重连中……");
108
-			createWebSocket("ws://" + huayi.config.socket_ip + ":" + huayi.config.socket_port);
109
-			lockReconnect = false;
110
-			SayBusy()
111
-		}, 2000);
112
-	}
113
-
114
-	//发送
115
-	function Send() {
116
-		if(ws.readyState != ws.OPEN) {
117
-			//reconnect();
118
-		}
119
-		if(ws.readyState == ws.OPEN) {
120
-			console.log(new Date() + "  send  " + JSON.stringify(obj));
121
-			ws.send(JSON.stringify(obj));
122
-		}
123
-	}
124
-	//心跳检测
125
-	var heartCheck = {
126
-		timeout: 25000, //25秒
127
-		timeoutObj: null,
128
-		serverTimeoutObj: null,
129
-		reset: function() {
130
-			clearTimeout(this.timeoutObj);
131
-			clearTimeout(this.serverTimeoutObj);
132
-			return this;
133
-		},
134
-		start: function() {
135
-			var self = this;
136
-			this.timeoutObj = setTimeout(function() {
137
-				//这里发送一个心跳,后端收到后,返回一个心跳消息,
138
-				//onmessage拿到返回的心跳就说明连接正常
139
-				obj.Type = "Heart";
140
-				Send();
141
-				self.serverTimeoutObj = setTimeout(function() { //如果超过一定时间还没重置,说明后端主动断开了
142
-					ws.close(); //如果onclose会执行reconnect,我们执行ws.close()就行了.如果直接执行reconnect 会触发onclose导致重连两次
143
-				}, self.timeout)
144
-			}, this.timeout)
145
-		}
146
-	}
147
-	// 签入
148
-	function SayBusy() {
149
-		obj.Type = "SayBusy";
150
-		Send();
151
-	}
152
-	//签入
153
-	function LoginBack() {
154
-		obj.Type = "SayBusy";
155
-		Send();
156
-	}
157
-	// 点击签入
158
-	function join() {
159
-		obj.Type = 'Login',
160
-		obj.AgentID = '9898',
161
-		obj.AgentExten = '1015',
162
-		obj.AgentType = '0',
163
-		obj.AgentGroup = '364'
164
-		Send()
165
-	}
166
-	//取消监测
167
-	function SubScribeCancelBack() {
168
-		$('.yuan_one').addClass("lx")
169
-		$('.yuan_two').addClass("lx")
170
-	}
171
-	//坐席状态
172
-	function AgentStateBack(data) {
173
-		
174
-		$(cons).each(function(i, n) {
175
-			if(n.F_UserCode == data.AgentID) {
176
-				
177
-				$('.yuan_one').eq(i).removeClass("lx")
178
-				$('.yuan_two').eq(i).removeClass("lx")
179
-				
180
-				$('.yuan_one').eq(i).removeClass("kx")
181
-				$('.yuan_two').eq(i).removeClass("kx")
182
-				
183
-				$('.yuan_one').eq(i).removeClass("hc")
184
-				$('.yuan_two').eq(i).removeClass("hc")
185
-				
186
-				$('.yuan_one').eq(i).removeClass("hh")
187
-				$('.yuan_two').eq(i).removeClass("hh")
188
-				
189
-				$('.yuan_one').eq(i).removeClass("ml")
190
-				$('.yuan_two').eq(i).removeClass("ml")
191
-				
192
-				$('.yuan_one').eq(i).removeClass("zl")
193
-				$('.yuan_two').eq(i).removeClass("zl")
194
-				
195
-				if(data.State == '0') {
196
-					$('.yuan_one').eq(i).addClass("lx")
197
-					$('.yuan_two').eq(i).addClass("lx")
198
-				} else if(data.State == '2') {
199
-					$('.yuan_one').eq(i).addClass("kx")
200
-					$('.yuan_two').eq(i).addClass("kx")
201
-				} else if(data.State == '3') {
202
-					$('.yuan_one').eq(i).addClass("hc")
203
-					$('.yuan_two').eq(i).addClass("hc")
204
-				} else if(data.State == '4') {
205
-					$('.yuan_one').eq(i).addClass("hh")
206
-					$('.yuan_two').eq(i).addClass("hh")
207
-				} else if(data.State == '5') {
208
-					$('.yuan_one').eq(i).addClass("ml")
209
-					$('.yuan_two').eq(i).addClass("ml")
210
-				} else if(data.State == '6') {
211
-					$('.yuan_one').eq(i).addClass("zl")
212
-					$('.yuan_two').eq(i).addClass("zl")
213
-				}
214
-			}
215
-		})
216
-
217
-	}
218
-
219
-	//后台排队
220
-	function backstageQueue(data) {
221
-		person = data.WaitCount
222
-		console.log(person)
223
-	}
224
-
225
-	$(function() {
226
-		createWebSocket()
227
-		SayBusy()
228
-		partOne($('#time1').val() && $('#time1').val().split(' ~ ')[0], $('#time1').val() && $('#time1').val().split(' ~ ')[1], areaOneVal);
229
-		laydate.render({
230
-			elem: '#time1',
231
-			range: '~',
232
-			theme: '#114a97',
233
-			done: function(value, date) {
234
-				var areaOneVal = $(".areaOne").val();
235
-				partOne(value && value.split(' ~ ')[0], value && value.split(' ~ ')[1], areaOneVal);
236
-			}
237
-
238
-		});
239
-		laydate.render({
240
-			elem: '#time2',
241
-			theme: '#114a97',
242
-			done: function(value, date) {
243
-				var areaOneVal = $(".areaOne").val();
244
-				partTwo(value, areaOneVal)
245
-			}
246
-		});
247
-		laydate.render({
248
-			elem: '#time3',
249
-			theme: '#114a97',
250
-			done: function(value, date) {
251
-				var areaOneVal = $(".areaOne").val();
252
-				partThree(value, areaOneVal)
253
-			}
254
-		});
255
-		Ajax();
256
-		$(".areaOne").change(function() {
257
-			var areaOneVal = $(this).val();
258
-			var areaOneText = $(".areaOne").find("option:selected").text();
259
-			helper.cookies.set("areaOneVal", areaOneVal, 7);
260
-			helper.cookies.set("areaOneText", areaOneText, 7);
261
-			partOne($('#time1').val() && $('#time1').val().split(' ~ ')[0], $('#time1').val() && $('#time1').val().split(' ~ ')[1], areaOneVal);
262
-			partTwo($('#time2').val(), areaOneVal);
263
-			partThree($('#time3').val(), areaOneVal);
264
-			//  	Ajax()
265
-		});
266
-	})
267
-	// 跳轉
268
-	$(".index").click(function() {
269
-		window.open('detail.html', '_self')
270
-	})
271
-	$(".second").click(function() {
272
-		window.open('second.html', '_self')
273
-	})
274
-	$(".third").click(function() {
275
-		window.open('third.html', '_self')
276
-	})
277
-	$(".fourth").click(function() {
278
-		window.open('fourth.html', '_self')
279
-	})
280
-	$(".nav_middle").click(function() {
281
-		window.open('index.html', '_self')
282
-	})
283
-	$("#department").click(function() {
284
-		window.open('receiptDepartment.html', '_self')
285
-	})
286
-	$("#sourceChannel").click(function() {
287
-		window.open('sourceChannel.html', '_self')
288
-	})
289
-	// $("#call").click(function(){
290
-	// 	window.open('TelephoneDetails.html','_self')
291
-	// })
292
-	$("#complaint").click(function() {
293
-		window.open('complaintsReport.html', '_self')
294
-	})
295
-
296
-	//区县筛选
297
-	//deprtment();
298
-	function deprtment() {
299
-		$.getJSON(huayi.config.callcenter_url + "CountyBranch/GetBranchListS", function(result) {
300
-			if(result.state.toLowerCase() == "success") {
301
-				goodslist = result.data;
302
-				//			第五屏
303
-				$(".areaOne").empty();
304
-				$(goodslist).each(function(i, n) {
305
-					$('<option value="' + n.F_Code +
306
-						'">' + n.F_Name +
307
-						'</option>').appendTo($(".areaOne"));
308
-				});
309
-				if(areaOneVal) {
310
-					$(".areaOne").val(areaOneVal);
311
-				}
312
-			}
313
-		});
314
-	}
315
-
316
-	function partOne(starts, ends, areaOneVal) {
317
-		$.ajax({
318
-			type: "get",
319
-			url: huayi.config.callcenter_url + "SeatMonitoring/getlist",
320
-			async: true,
321
-			dataType: 'json',
322
-			data: {
323
-				// start: starts,
324
-				// end: ends,
325
-				// branchcode:areaOneVal
326
-			},
327
-			success: function(data) {
328
-				if(data.state.toLowerCase() == 'success') {
329
-					// 	   			layer.close(index);
330
-					var newdatas=[]
331
-					cons = data.data;
332
-					for(var i=0;i<cons.length;i++){
333
-						console.log(cons[i].F_RoleCode)
334
-						if(cons[i].F_RoleCode=="ZXHWY"){
335
-							newdatas.push(cons[i])
336
-						}
337
-					}
338
-					console.log(newdatas)
339
-					$(".users").html('')
340
-					$(newdatas).each(function(i, n) {
341
-						var str = ' <li class="touxiang"><ol class="tx"><li class="person"><span class="yuan_one ">' +
342
-							'</span><span class="yuan_two"></span></li><li class="userid">' +
343
-							n.F_UserCode + '</li></ol></li>';
344
-						var a = $(str)
345
-						a.appendTo($(".users"))
346
-					})
347
-
348
-				}
349
-
350
-			}
351
-
352
-		});
353
-	}
354
-	// 开始检测
355
-	$(".kqc").click(function() {
356
-		// if (!$(this).hasClass("dis")) {
357
-		$('.kqc').addClass('kqc_active')
358
-		$('.jqc').removeClass('dis')
359
-		$(cons).each(function(i, n) {
360
-			obj.Type = "SubScribe";
361
-			obj.SubParmer = n.F_WorkNumber * 1;
362
-
363
-			obj.SubType = "0"; //根据工号订阅坐席状态
364
-			Send();
365
-			obj.SubType = "1"; //根据工号订阅线路状态
366
-			Send();
367
-		})
368
-		//top.obj.Type = "SubScribe";
369
-		//top.obj.SubParmer = "8003";
370
-
371
-		//top.obj.SubType = "0";//根据工号订阅坐席状态
372
-		//top.Send();
373
-		//top.obj.SubType = "1";//根据工号订阅线路状态
374
-		//top.Send();
375
-		// }
376
-	})
377
-
378
-	//停止监测
379
-	$(".jqc").click(function() {
380
-		$('.kqc').removeClass('kqc_active')
381
-		$('.jqc').addClass('dis')
382
-		//$(user).each(function (i, n) {
383
-		//   obj.Type = "SubScribeCancel";
384
-		//   obj.SubParmer = n.F_WorkNumber;
385
-
386
-		//   obj.SubType = "0";//根据工号取消订阅坐席状态
387
-		//   Send();
388
-		//   obj.SubType = "1";//根据工号取消订阅线路状态
389
-		//   Send();
390
-		//})
391
-		obj.Type = "SubScribeCancel";
392
-		obj.SubParmer = "-1";
393
-
394
-		obj.SubType = "0"; //根据工号取消订阅坐席状态
395
-		Send();
396
-		obj.SubType = "1"; //根据工号取消订阅线路状态
397
-		Send();
398
-
399
-	})
400
-	//part 2
401
-	var phoneTimeCount = echarts.init(document.getElementById('phoneTimeCount'));
402
-	phoneTimeCount.setOption({
403
-		color: ['#ceba5f', '#4da991', '#f06e84', '#6a91e0'],
404
-		tooltip: {
405
-			trigger: 'axis',
406
-			axisPointer: {
407
-				type: 'cross',
408
-				label: {
409
-					show: true,
410
-					backgroundColor: '#333'
411
-				}
412
-			}
413
-		},
414
-		grid: {
415
-			left: '2%',
416
-			right: '5%',
417
-			bottom: '6%',
418
-			containLabel: true
419
-		},
420
-		legend: {
421
-			top: 'top',
422
-			left: '180px',
423
-			data: ["来电数量", "接通数量", "放弃数量", "黑名单拒接数量"],
424
-			textStyle: {
425
-				color: '#00e9ff'
426
-			}
427
-
428
-		},
429
-		xAxis: {
430
-			name: '时',
431
-			data: [],
432
-			axisLine: {
433
-				lineStyle: {
434
-					color: '#3061a2'
435
-				}
436
-			},
437
-			axisTick: {
438
-				alignWithLabel: true,
439
-				show: false
440
-			},
441
-			axisLabel: { //横轴字体颜色
442
-				show: true,
443
-				textStyle: {
444
-					color: '#eff0f4'
445
-				}
446
-			}
447
-		},
448
-		yAxis: {
449
-			name: '数量',
450
-			splitLine: {
451
-				show: false
452
-			},
453
-			axisLine: {
454
-				lineStyle: {
455
-					color: '#3061a2'
456
-				}
457
-			},
458
-			axisLabel: { //横轴字体颜色
459
-				show: true,
460
-				textStyle: {
461
-					color: '#eff0f4'
462
-				}
463
-			}
464
-		},
465
-		series: []
466
-	});
467
-
468
-	function partTwo(dates, areaOneVal) {
469
-		//		var index = layer.load(1, {
470
-		//			shade: [0.5, '#030303'] //0.1透明度的白色背景
471
-		//		});
472
-		$.ajax({
473
-			type: "get",
474
-			url: huayi.config.callcenter_url + "info/GetTelCount24ByDate",
475
-			async: true,
476
-			dataType: "json",
477
-			data: {
478
-				date: dates,
479
-				branchcode: areaOneVal
480
-			},
481
-			success: function(data) {
482
-				if(data.state.toLowerCase() == "success") {
483
-					//					layer.close(index);
484
-					var con = data.data;
485
-					phoneTimeCount.setOption({
486
-						xAxis: {
487
-							data: con.hours
488
-						},
489
-						series: [{
490
-								name: "来电数量",
491
-								type: "line",
492
-								smooth: true,
493
-								showAllSymbol: true,
494
-								symbol: "emptyCircle",
495
-								symbolSize: 10,
496
-								data: con.rcounts
497
-							}, {
498
-								name: "接通数量",
499
-								type: "line",
500
-								smooth: true,
501
-								showAllSymbol: true,
502
-								symbol: "emptyCircle",
503
-								symbolSize: 10,
504
-								data: con.ccounts
505
-							},
506
-							{
507
-								name: "放弃数量",
508
-								type: "line",
509
-								smooth: true,
510
-								showAllSymbol: true,
511
-								symbol: "emptyCircle",
512
-								symbolSize: 10,
513
-								data: con.gcounts
514
-							},
515
-							{
516
-								name: "黑名单拒接数量",
517
-								type: "line",
518
-								smooth: true,
519
-								showAllSymbol: true,
520
-								symbol: "emptyCircle",
521
-								symbolSize: 10,
522
-								data: con.scounts
523
-							}
524
-						]
525
-
526
-					})
527
-
528
-				}
529
-			}
530
-
531
-		});
532
-
533
-	}
534
-
535
-	//part3
536
-	var todyPhoneCount = echarts.init(document.getElementById('todyPhoneCount'));
537
-
538
-	todyPhoneCount.setOption({
539
-		tooltip: {
540
-			trigger: 'axis',
541
-			axisPointer: {
542
-				type: false,
543
-				label: {
544
-					show: true,
545
-					backgroundColor: '#030917'
546
-				}
547
-			},
548
-		},
549
-		xAxis: {
550
-			name: '类型',
551
-			data: ["话务量(通)", "来电(通)", "接通量(通)", "平均通话时长(秒)", "排队人数"],
552
-			axisLine: {
553
-				lineStyle: {
554
-					color: '#3061a2'
555
-				}
556
-			},
557
-			axisTick: {
558
-				alignWithLabel: true,
559
-				show: false
560
-			},
561
-			axisLabel: { //横轴字体颜色
562
-				show: true,
563
-				textStyle: {
564
-					color: '#eff0f4'
565
-				}
566
-			}
567
-		},
568
-		yAxis: {
569
-			name: '数量',
570
-			splitLine: {
571
-				show: false
572
-			},
573
-			axisLine: {
574
-				lineStyle: {
575
-					color: '#3061a2'
576
-				}
577
-			},
578
-			axisLabel: { //横轴字体颜色
579
-				show: true,
580
-				textStyle: {
581
-					color: '#eff0f4'
582
-				}
583
-			}
584
-
585
-		},
586
-		series: [{
587
-			name: '数量',
588
-			type: 'bar',
589
-			barWidth: 18,
590
-			itemStyle: {
591
-				normal: {
592
-					color: function(params) {
593
-						// build a color map as your need.
594
-						var colorList = [
595
-							'#368cab', '#54b793', '#4b6ab0', '#2531a9', '#a93d19'
596
-						];
597
-						return colorList[params.dataIndex]
598
-					}
599
-				}
600
-			},
601
-			label: {
602
-				normal: {
603
-					show: true,
604
-					position: 'top', //顶部数据显示位置
605
-					textStyle: {
606
-						color: '#fff' //顶部数据颜色
607
-					},
608
-					formatter: '{c}' // 这里是数据展示的时候显示的数据
609
-				}
610
-			},
611
-			data: []
612
-		}]
613
-
614
-	});
615
-
616
-	function partThree(dates, areaOneVal) {
617
-		$.ajax({
618
-			type: "get",
619
-			url: huayi.config.callcenter_url + "info/GetTelCountByDate",
620
-			async: true,
621
-			dataType: "json",
622
-			data: {
623
-				date: dates,
624
-				branchcode: areaOneVal
625
-			},
626
-			success: function(data) {
627
-				if(data.state.toLowerCase() == "success") {
628
-					//					layer.close(index);
629
-					var con = data.data;
630
-					
631
-					console.log(con)
632
-					todyPhoneCount.setOption({
633
-						series: [{
634
-							data: [con.hwcon, con.lhcon, con.jtcon, con.pjthtimes, person]
635
-						}]
636
-
637
-					})
638
-
639
-				}
640
-			}
641
-
642
-		});
643
-
644
-	}
645
-
646
-	function Ajax() {
647
-		var areaOneVal = helper.cookies.get("areaOneVal");
648
-		var areaOneText = helper.cookies.get("areaOneText");
649
-		//partOne($('#time1').val() && $('#time1').val().split(' ~ ')[0], $('#time1').val() && $('#time1').val().split(' ~ ')[1],areaOneVal);
650
-		partTwo($('#time2').val(), areaOneVal)
651
-		partThree($('#time3').val(), areaOneVal);
652
-	}

File diff suppressed because it is too large
+ 0 - 1316
WebChartNewest/js - 副本/anyangMap.js


+ 0 - 131
WebChartNewest/js - 副本/anyangMap2.js

@@ -1,131 +0,0 @@
1
-function initSecondMap(uploadedDataURL,mapWorkOrder,points,num){
2
-	let myChart = echarts.init(document.getElementById('regionMap'));
3
-	var option = null;
4
-	 $.getJSON(uploadedDataURL, function(geoJson) {
5
-		 console.log(geoJson)
6
-		 echarts.registerMap('js', geoJson);
7
-		 myChart.hideLoading();
8
-		 option = {
9
-			 // tooltip: {
10
-			 // 	trigger: 'item',
11
-			 // 	textStyle: {
12
-			 // 		color: '#fff',
13
-			 // 		fontSize: '16',
14
-			 // 		fontWeight: '600'
15
-			 // 	},
16
-			 // 	position: 'top',
17
-			 // 	backgroundColor: 'rgba(250,250,250,0)',
18
-			 // 	transitionDuration: 0.4,
19
-			 // 	formatter: function(params) {
20
-			 // 		return '<div class="frame" style="background: url(image/hotline_pie.png) no-repeat;width:208px;height:100px;background-size: 100% 100%;text-align:center;top:20px;"><div class="frameC">' +
21
-			 // 			params.name + '今日受理量<br>'+params.value+'</div></div>';
22
-			 // 	}
23
-			 // },
24
-		 	visualMap: {
25
-		 		show: true,
26
-		 		max: 2653,
27
-		 		seriesIndex: [0],
28
-		 		right: 100,
29
-				bottom:100,
30
-		 		calculable: true,
31
-		 		inRange: {
32
-		 			color: ['#fffb00', '#ff0100']
33
-		 		}
34
-		 	},
35
-		 	geo: [{
36
-		 		map: 'js',
37
-		 		roam: false, //是否允许缩放
38
-		 		zoom: num, //默认显示级别
39
-		 		right: 100,
40
-				// bottom:200,
41
-		 		scaleLimit: {
42
-		 			min: 0,
43
-		 			max: 3
44
-		 		}, //缩放级别
45
-		 		itemStyle: {
46
-		 			normal: {
47
-		 				// areaColor: '#013C62',
48
-		 				shadowColor: '#013C62',
49
-		 				shadowBlur: 20,
50
-		 				shadowOffsetX: -5,
51
-		 				shadowOffsetY: 15,
52
-		 			}
53
-		 		},
54
-		 		tooltip: {
55
-		 			show: false
56
-		 		}
57
-		 	}],
58
-		 	series: [
59
-		 		//地图
60
-		 		{
61
-		 			type: 'map',
62
-		 			mapType: 'js',
63
-		 			geoIndex: -1,
64
-		 			zoom: num, //默认显示级别
65
-		 			right: 100,
66
-					// bottom:200,
67
-		 			label: {
68
-		 				show: false,
69
-		 				color: '#222',
70
-		 				offset: [-20, -20],
71
-		 				emphasis: {
72
-		 					color: 'white',
73
-		 					show: false
74
-		 				}
75
-		 			},
76
-		 			itemStyle: {
77
-		 				normal: {
78
-		 					borderColor: '#2980b9',
79
-		 					borderWidth: 1,
80
-		 					areaColor: '#12235c'
81
-		 				},
82
-						emphasis: {
83
-						    // areaColor: '#FA8C16',
84
-						    borderWidth: 0,
85
-						    color: 'green'
86
-						}
87
-		 			},
88
-		 			data: mapWorkOrder
89
-		 		},
90
-		 		{
91
-		 			type: 'effectScatter',
92
-		 			coordinateSystem: 'geo',
93
-		 			showEffectOn: 'render',
94
-		 			rippleEffect: {
95
-		 				period: 2,
96
-		 				scale: 3,
97
-		 				brushType: 'fill'
98
-		 			}, 
99
-					// symbol:'none',
100
-		 			hoverAnimation: true,
101
-		 			label: {
102
-		 			    formatter: '{b}',
103
-		 			    position: 'right',
104
-		 			    offset: [-20, -20],
105
-		 			    color: '#000000',
106
-						fontWeight:600,
107
-		 			    show: true
108
-		 			},
109
-		 			itemStyle: {
110
-						opacity:1,
111
-						color: 'rgba(250,250,250,0)',
112
-		 				// normal: {
113
-		 				// 	color: '#00fcff',
114
-		 				// 	shadowBlur: 1,
115
-		 				// 	borderWidth:1,
116
-		 				// 	shadowColor: '#00fcff'
117
-		 				// }
118
-		 			},
119
-		 			emphasis: {
120
-		 				show: false,
121
-		 				itemStyle: {
122
-		 					opacity: 1, //线条宽度
123
-		 				}
124
-		 			},
125
-		 			data: points
126
-		 		}
127
-		 	]
128
-		 };
129
-		 myChart.setOption(option);
130
-	 })
131
-}

File diff suppressed because it is too large
+ 0 - 9
WebChartNewest/js - 副本/bootstrap/bootstrap-select.min.js


+ 0 - 48
WebChartNewest/js - 副本/bootstrap/bootstrap-table-zh-CN.js

@@ -1,48 +0,0 @@
1
-/**
2
- * Bootstrap Table Chinese translation
3
- * Author: Zhixin Wen<wenzhixin2010@gmail.com>
4
- */
5
-(function ($) {
6
-    'use strict';
7
-
8
-    $.fn.bootstrapTable.locales['zh-CN'] = {
9
-        formatLoadingMessage: function () {
10
-            return '正在努力地高速加载数据中,请稍候……';
11
-        },
12
-        formatRecordsPerPage: function (pageNumber) {
13
-            return '每页显示 ' + pageNumber + ' 条';
14
-        },
15
-        formatShowingRows: function (pageFrom, pageTo, totalRows) {
16
-//          return '显示第 ' + pageFrom + ' 到第 ' + pageTo + ' 条记录,总共 ' + totalRows + ' 条记录';
17
-            return ' 共 ' + totalRows + ' 条';
18
-        },
19
-        formatSearch: function () {
20
-        	
21
-            return '搜索';
22
-        },
23
-        formatNoMatches: function () {
24
-            return '没有找到您想要的记录呢!我会努力的...';
25
-        },
26
-        formatPaginationSwitch: function () {
27
-            return '隐藏/显示分页';
28
-        },
29
-        formatRefresh: function () {
30
-            return '刷新';
31
-        },
32
-        formatToggle: function () {
33
-            return '切换';
34
-        },
35
-        formatColumns: function () {
36
-            return '列';
37
-        },
38
-        formatExport: function () {
39
-            return '导出数据';
40
-        },
41
-        formatClearFilters: function () {
42
-            return '清空过滤';
43
-        }
44
-    };
45
-
46
-    $.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['zh-CN']);
47
-
48
-})(jQuery);

File diff suppressed because it is too large
+ 0 - 3100
WebChartNewest/js - 副本/bootstrap/bootstrap-table.js


File diff suppressed because it is too large
+ 0 - 8
WebChartNewest/js - 副本/bootstrap/bootstrap-table.min.js


+ 0 - 413
WebChartNewest/js - 副本/complaintsReport.js

@@ -1,413 +0,0 @@
1
-var areaOneVal = helper.cookies.get("areaOneVal");
2
-var areaOneText = helper.cookies.get("areaOneText");
3
-if (areaOneVal) {
4
-	var areaOneVal = helper.cookies.get("areaOneVal");
5
-	
6
-} else{
7
-	var areaOneVal="sqs12345"
8
-	
9
-}
10
-$(function() {
11
-	laydate.render({
12
-		elem: '#time1',
13
-		range: '~',
14
-		format: 'yyyy-MM',
15
-		type: 'month',
16
-		theme: '#114a97',
17
-		done: function(value, date) {
18
-			var areaOneVal=$(".areaOne").val();
19
-			partOne(value && value.split(' ~ ')[0], value && value.split(' ~ ')[1],areaOneVal)
20
-			var start=value.split(' ~ ')[0];
21
-			var end=value.split(' ~ ')[1];
22
-		}
23
-	});
24
-	// 跳轉
25
-	$(".index").click(function(){
26
-		window.open('detail.html','_self')
27
-	})
28
-	$(".second").click(function(){
29
-		window.open('second.html','_self')
30
-	})
31
-	$(".third").click(function(){
32
-		window.open('third.html','_self')
33
-	})
34
-	$(".fourth").click(function(){
35
-		window.open('fourth.html','_self')
36
-	})
37
-	$("#department").click(function(){
38
-		window.open('receiptDepartment.html','_self')
39
-	})
40
-	$("#sourceChannel").click(function(){
41
-		window.open('sourceChannel.html','_self')
42
-	})
43
-	$("#call").click(function(){
44
-		window.open('TelephoneDetails.html','_self')
45
-	})
46
-	
47
-$(".nav_middle").click(function(){
48
-		window.open('index.html','_self')
49
-	})
50
-	laydate.render({
51
-		elem: '#time2',
52
-		range: '~',
53
-		format: 'yyyy-MM-dd',
54
-		theme: '#114a97',
55
-		done: function(value, date) {
56
-			var areaOneVal=$(".areaOne").val();
57
-			partTwo(value && value.split(' ~ ')[0], value && value.split(' ~ ')[1],areaOneVal)
58
-		}
59
-	});
60
-	laydate.render({
61
-		elem: '#time3',
62
-		range: '~',
63
-		theme: '#114a97',
64
-		done: function(value, date) {
65
-			var areaOneVal=$(".areaOne").val();
66
-			partThree(value && value.split(' ~ ')[0], value && value.split(' ~ ')[1],areaOneVal)
67
-		}
68
-	});
69
-	Ajax()
70
-	$(".areaOne").change(function() {
71
-      	var areaOneVal=$(this).val();
72
-  		var areaOneText=$(".areaOne").find("option:selected").text();
73
-  		helper.cookies.set("areaOneVal", areaOneVal, 7);
74
-  		helper.cookies.set("areaOneText", areaOneText, 7);
75
-      	partOne($('#time1').val() && $('#time1').val().split(' ~ ')[0], $('#time1').val() && $('#time1').val().split(' ~ ')[1],areaOneVal);
76
-		partTwo($('#time2').val() && $('#time2').val().split(' ~ ')[0], $('#time2').val() && $('#time2').val().split(' ~ ')[1],areaOneVal);
77
-		partThree($('#time3').val() && $('#time3').val().split(' ~ ')[0], $('#time3').val() && $('#time3').val().split(' ~ ')[1],areaOneVal);
78
-//  	Ajax()
79
-	});
80
-	$(".keys").change(function() {
81
-		var areaOneVal = helper.cookies.get("areaOneVal");
82
-		partTwo($('#time2').val() && $('#time2').val().split(' ~ ')[0], $('#time2').val() && $('#time2').val().split(' ~ ')[1],areaOneVal);
83
-	})
84
-	
85
-	keylist ();
86
-	//部门下拉框
87
-	function keylist () {
88
-		$.getJSON( huayi.config.callcenter_url +"info/GetKeyList", function(result) {
89
-			if(result.state.toLowerCase() == "success") {
90
-				goodslist = result.data;
91
-				$(".keys").empty();
92
-				$('<option value="">请选择关键词</option>').appendTo($(".keys"));
93
-				$(goodslist).each(function(i, n) {
94
-					$('<option value="' + n.F_ValueId 
95
-					+ '">' + n.F_Value 
96
-					+ '</option>').appendTo($(".keys"));
97
-				})
98
-			}
99
-		});
100
-	}
101
-})
102
-
103
-//区县筛选
104
-//deprtment ();
105
-function deprtment () {
106
-	$.getJSON( huayi.config.callcenter_url +"CountyBranch/GetBranchListS", function(result) {
107
-		if(result.state.toLowerCase() == "success") {
108
-			goodslist = result.data;
109
-//			第五屏
110
-			$(".areaOne").empty();
111
-			$(goodslist).each(function(i, n) {
112
-				$('<option value="' + n.F_Code 
113
-				+ '">' + n.F_Name 
114
-				+ '</option>').appendTo($(".areaOne"));
115
-			});
116
-			if (areaOneVal) {
117
-				$(".areaOne").val(areaOneVal);
118
-			}
119
-		}
120
-	});
121
-}
122
-//part 1 //投诉类别月统计  对接完毕
123
-var part_1 = echarts.init(document.getElementById('part_1'));
124
-part_1.setOption({
125
-	color: ['#69e1a9', '#6a91e0', '#ceba5f', '#f06e84', '#569d4e', '#7d55ba', '#ce5aba', '#345cdd', '#569d4e'],
126
-	tooltip: {
127
-		trigger: 'axis',
128
-		axisPointer: {
129
-			type: 'cross',
130
-			label: {
131
-				show: true,
132
-				backgroundColor: '#333'
133
-			}
134
-		}
135
-	},
136
-	grid: {
137
-		left: '2%',
138
-		right: '5%',
139
-		bottom: '6%',
140
-		containLabel: true
141
-	},
142
-	legend: {
143
-		top: 'top',
144
-		left: '180px',
145
-		data: [],
146
-		textStyle: {
147
-			color: '#00e9ff'
148
-		}
149
-	},
150
-	xAxis: {
151
-		name: '月份',
152
-		data: [],
153
-		axisLine: {
154
-			lineStyle: {
155
-				color: '#3061a2'
156
-			}
157
-		},
158
-		axisTick: {
159
-			alignWithLabel: true,
160
-			show: false
161
-		},
162
-		axisLabel: { //横轴字体颜色
163
-			show: true,
164
-			textStyle: {
165
-				color: '#eff0f4'
166
-			}
167
-		}
168
-	},
169
-	yAxis: {
170
-		name: '(数量)',
171
-		splitLine: {
172
-			show: false
173
-		},
174
-		axisLine: {
175
-			lineStyle: {
176
-				color: '#3061a2'
177
-			}
178
-		},
179
-		axisLabel: { //横轴字体颜色
180
-			show: true,
181
-			textStyle: {
182
-				color: '#eff0f4'
183
-			}
184
-		}
185
-	},
186
-	series: []
187
-});
188
-
189
-function partOne(start, end,areaOneVal) {
190
-	//		var index = layer.load(1, {
191
-	//			shade: [0.5, '#030303'] //0.1透明度的白色背景
192
-	//		});
193
-	
194
-	$.ajax({
195
-		type: "get",
196
-		url: huayi.config.callcenter_url + "info/GetTypeCountMonthByDate",
197
-		async: true,
198
-		dataType: 'json',
199
-		data: {
200
-			start: start,
201
-			end: end,
202
-			branchcode:areaOneVal
203
-		},
204
-		success: function(data) {
205
-			if(data.state.toLowerCase() == 'success') {
206
-				//							layer.close(index);
207
-				var con = data.data;
208
-				var counts = con.counts;
209
-				var sers = [];
210
-				$(counts).each(function(i, n) {
211
-					var obj = {};
212
-					obj.name = con.cols[i];
213
-					obj.type = "line";
214
-					obj.smooth = true;
215
-					obj.showAllSymbol = true;
216
-					obj.symbol = "emptyCircle";
217
-					obj.symbolSize = 10;
218
-					obj.data = n;
219
-					sers.push(obj)
220
-				});
221
-				part_1.setOption({
222
-					xAxis: {
223
-						data: con.months
224
-					},
225
-					legend: {
226
-						data: con.cols
227
-					},
228
-					series: sers
229
-				});
230
-
231
-			}
232
-		}
233
-	});
234
-}
235
-//part2 //投诉关键字统计
236
-
237
-function partTwo(starts, ends, areaOneVal) {
238
-	var keyid=$('.keys').val()
239
-	$.ajax({
240
-		type: "get",
241
-		url: huayi.config.callcenter_url + "Info/GetKeyCountByDateNew",
242
-		dataType: 'json',
243
-		async: true,
244
-		data: {
245
-			start: starts,
246
-			end: ends,
247
-			keyid: keyid,
248
-			branchcode:areaOneVal
249
-		},
250
-		success: function(data) {
251
-			if(data.state.toLowerCase() == 'success') {
252
-				$('.thead tr').html('');
253
-				$('#scroll_table tbody').html('');
254
-				var con = data.data;
255
-				var thead = con[0];
256
-				$.each(thead, function(k, val) {
257
-					$('<td>' + k + '</td>').appendTo('.thead tr');
258
-				})
259
-				$(con).each(function(j, n) {
260
-					var str = '<tr>'
261
-					$.each(thead, function(j, m) {
262
-						$.each(n, function(k, val) {
263
-							if(j == k) {
264
-								if(val == '') {
265
-									val = 0;
266
-
267
-								}
268
-								str += '<td>' + val + '</td>'
269
-							}
270
-						})
271
-					})
272
-					str += '</tr>';
273
-
274
-					$('#scroll_table tbody').append(str);
275
-				})
276
-
277
-			}
278
-		}
279
-	});
280
-}
281
-// part3 投诉分类统计
282
-var part3 = echarts.init(document.getElementById('part3'));
283
-part3.setOption({
284
-	color: ['#6ce7ac', '#6a91e0', '#ceba5f', '#cb5f79', '#ae765a', '#569d4e'],
285
-	tooltip: {
286
-		trigger: 'item',
287
-		formatter: "{a} <br/>{b} : {c} ({d}%)",
288
-		axisPointer: {
289
-			crossStyle: {
290
-				color: '#fff'
291
-			}
292
-		}
293
-	},
294
-	//			legend: {
295
-	//				//      orient: 'vertical',
296
-	//				bottom: 'bottom',
297
-	//				data: [],
298
-	//				textStyle: {
299
-	//					color: '#fff'
300
-	//				}
301
-	//			},
302
-	series: [{
303
-		name: '数据',
304
-		type: 'pie',
305
-		radius: ['30%', '60%'],
306
-		center: ['40%', '50%'],
307
-		data: [],
308
-		itemStyle: {
309
-			emphasis: {
310
-				shadowBlur: 10,
311
-				shadowOffsetX: 0,
312
-				shadowColor: 'rgba(0, 0, 0, 0.5)'
313
-			},
314
-			normal: {
315
-				label: {
316
-					show: true,
317
-					//                                 formatter: '{b} : {c} ({d}%)' 
318
-					formatter: '{d}%'
319
-				},
320
-				labelLine: {
321
-					show: true
322
-				}
323
-			}
324
-		},
325
-		label: {
326
-			normal: {
327
-				textStyle: {
328
-					color: '#fff'
329
-				}
330
-			}
331
-		}
332
-	}]
333
-});
334
-
335
-function partThree(start, end,areaOneVal) {
336
-	//		var index = layer.load(1, {
337
-	//			shade: [0.5, '#030303'] //0.1透明度的白色背景
338
-	//		});
339
-	$.ajax({
340
-		type: "get",
341
-		url: huayi.config.callcenter_url + "info/GetTypeCountByDate",
342
-		async: true,
343
-		dataType: 'json',
344
-		data: {
345
-			start: start,
346
-			end: end,
347
-			branchcode:areaOneVal
348
-		},
349
-		success: function(data) {
350
-			if(data.state.toLowerCase() == 'success') {
351
-				//						layer.close(index);
352
-				$('.complaint_type').html('');
353
-				var con = data.data;
354
-				var part_1_legend = [];
355
-				var part_1_ser = [];
356
-				$(con).each(function(i, n) {
357
-					part_1_legend.push(n.TypeName)
358
-					var part_1_obj = {};
359
-					part_1_obj.value = n.Count;
360
-					part_1_obj.name = n.TypeName;
361
-					part_1_ser.push(part_1_obj)
362
-					$('<li>' +
363
-						'<span class="type_name">' + n.TypeName + '</span>   <span class="type_count">' + n.Count + '</span>' +
364
-						'</li>').appendTo('.complaint_type')
365
-				})
366
-				part3.setOption({
367
-					//							legend: {
368
-					//								data: part_1_legend
369
-					//							},
370
-					series: [{
371
-						data: part_1_ser
372
-					}]
373
-				})
374
-
375
-			}
376
-		}
377
-	});
378
-}
379
-
380
-//表格滚动
381
-var area = document.getElementById('scroll_table');
382
-var iliHeight = 34; //单行滚动的高度  
383
-var speed = 20; //滚动的速度  
384
-var time;
385
-var delay = 1000;
386
-area.scrollTop = 0;
387
-area.innerHTML += area.innerHTML; //克隆一份一样的内容  
388
-function startScroll() {
389
-	time = setInterval("scrollUp()", speed);
390
-	area.scrollTop++;
391
-	console.log(area.scrollTop);
392
-}
393
-
394
-function scrollUp() {
395
-	if(area.scrollTop % iliHeight == 0) {
396
-		clearInterval(time);
397
-		setTimeout(startScroll, delay);
398
-	} else {
399
-		area.scrollTop++;
400
-		if(area.scrollTop >= area.scrollHeight / 2) {
401
-			area.scrollTop = 0;
402
-		}
403
-	}
404
-}
405
-setTimeout(startScroll, delay)
406
-
407
-function Ajax() {
408
-	var areaOneVal = helper.cookies.get("areaOneVal");
409
-	var areaOneText = helper.cookies.get("areaOneText");
410
-	partOne($('#time1').val() && $('#time1').val().split(' ~ ')[0], $('#time1').val() && $('#time1').val().split(' ~ ')[1],areaOneVal)
411
-	partTwo($('#time2').val() && $('#time2').val().split(' ~ ')[0], $('#time2').val() && $('#time2').val().split(' ~ ')[1],areaOneVal);
412
-	partThree($('#time3').val() && $('#time3').val().split(' ~ ')[0], $('#time3').val() && $('#time3').val().split(' ~ ')[1],areaOneVal)
413
-}

File diff suppressed because it is too large
+ 0 - 6059
WebChartNewest/js - 副本/crypto-js.js


+ 0 - 602
WebChartNewest/js - 副本/detail.js

@@ -1,602 +0,0 @@
1
-var newData = [] //数据倒序
2
-var floag = true
3
-
4
-// var areaOneVal = helper.cookies.get("areaOneVal");
5
-// var areaOneText = helper.cookies.get("areaOneText");
6
-// if (areaOneVal) {
7
-// 	var areaOneVal = helper.cookies.get("areaOneVal");
8
-
9
-// } else{
10
-// 	var areaOneVal="sqs12345"
11
-
12
-// }
13
-$(function() {
14
-
15
-	loginTimeLimit(); //登录
16
-
17
-	var mySwiper = new Swiper('.swiper-container', {
18
-		//		loop: true,
19
-		//		autoplay: {
20
-		//			delay: 60000,
21
-		//		},
22
-		pagination: { /* 分页器*/
23
-			el: '.swiper-pagination',
24
-			clickable: true,
25
-		},
26
-		navigation: {
27
-			nextEl: '.swiper-button-next',
28
-			prevEl: '.swiper-button-prev',
29
-		},
30
-		//				followFinger : false,
31
-		//				speed:800,
32
-		on: {
33
-			init: function() {
34
-				swiperAnimateCache(this); //隐藏动画元素 
35
-				swiperAnimate(this); //初始化完成开始动画
36
-			},
37
-			transitionEnd: function() {
38
-				swiperAnimate(this); //每个slide切换结束时也运行当前slide动画
39
-
40
-			},
41
-		}
42
-
43
-	})
44
-	// 跳轉
45
-	$(".nav_middle").click(function() {
46
-		window.open('index.html', '_self')
47
-	})
48
-	$("#department").click(function() {
49
-		window.open('receiptDepartment.html', '_self')
50
-	})
51
-	$("#sourceChannel").click(function() {
52
-		window.open('sourceChannel.html', '_self')
53
-	})
54
-	$("#call").click(function() {
55
-		window.open('TelephoneDetails.html', '_self')
56
-	})
57
-	$("#complaint").click(function() {
58
-		window.open('complaintsReport.html', '_self')
59
-	})
60
-	// 選項卡
61
-	$(".smallimg").click(function() {
62
-		//获取点击的元素给其添加样式,讲其兄弟元素的样式移除
63
-		$(this).addClass("activeBox").siblings().removeClass("activeBox");
64
-		//获取选中元素的下标
65
-		var index = $(this).index();
66
-		$(".slideCon_bg").eq(index).addClass("slideCon_bg_block")
67
-			.siblings().removeClass("slideCon_bg_block");
68
-	});
69
-	Ajax();
70
-	deprtment(); // 第五屏部门下拉
71
-	laydate.render({
72
-		elem: '#time1',
73
-		range: '~',
74
-		format: 'yyyy-MM-dd',
75
-		theme: '#114a97',
76
-		done: function(value, date) {
77
-			floag = true
78
-			oneScreen(value && value.split(' ~ ')[0], value && value.split(' ~ ')[1])
79
-		}
80
-	});
81
-	laydate.render({
82
-		elem: '#time2',
83
-		range: '~',
84
-		format: 'yyyy-MM-dd',
85
-		theme: '#114a97',
86
-		done: function(value, date) {
87
-			twoScreen(value && value.split(' ~ ')[0], value && value.split(' ~ ')[1], $(".areaTwo").val())
88
-			satisfaction(value && value.split(' ~ ')[0], value && value.split(' ~ ')[1], $(".areaTwo").val())
89
-		}
90
-	});
91
-	laydate.render({
92
-		elem: '#time3',
93
-		format: 'yyyy-MM-dd',
94
-		theme: '#114a97',
95
-		done: function(value) {
96
-			threeScreen(value, $(".areaThree").val())
97
-		}
98
-	});
99
-	laydate.render({
100
-		elem: '#test6',
101
-		range: '~',
102
-		format: 'yyyy-MM-dd',
103
-		theme: '#114a97',
104
-		done: function(value, date) {
105
-			fiveScreen(value && value.split(' ~ ')[0], value && value.split(' ~ ')[1], $(".areaFive").val())
106
-		}
107
-	});
108
-})
109
-var cityObj = {
110
-	ele1: "sqs_count",
111
-	ele2: "syq_count",
112
-	ele3: "lyq_count",
113
-	ele4: "ycs_count",
114
-	ele5: "mqx_count",
115
-	ele6: "sx_count",
116
-	ele7: "nlx_count",
117
-	ele8: "zcx_count",
118
-	ele9: "ycx_count",
119
-	ele10: "xyx_count",
120
-	ele11: "cxyt_count",
121
-	ele12: "lhpz_count",
122
-	ele13: "saz_count",
123
-	ele14: "djbl_count"
124
-}
125
-var vars = {};
126
-getCountUp(cityObj)
127
-
128
-function getCountUp(obj1) {
129
-	var options = {
130
-		useEasing: true,
131
-		useGrouping: true,
132
-		separator: ',',
133
-		decimal: '.',
134
-	};
135
-	$.each(obj1, function(k, v) {
136
-		new CountUp(v, 0, 0, 0, 2, options).start()
137
-		vars[v] = new CountUp(v, 0, 0, 0, 2, options)
138
-	})
139
-}
140
-
141
-var myDate = new Date();
142
-
143
-function turn(aa) {
144
-	if (aa < 10) {
145
-		aa = "0" + aa;
146
-	}
147
-	return aa
148
-}
149
-// 第三屏 第四屏 发光外框 定时
150
-(function() {
151
-	var i = 0;
152
-	var length = $(".orderState_ul >li").length;
153
-	var j = 0;
154
-	var length_1 = $(".orderTtype_Con li").length;
155
-	setInterval(function() {
156
-		if (i == length) {
157
-			i = 0;
158
-			$(".orderState_ul >li").removeClass('active');
159
-		}
160
-		$(".orderState_ul >li").eq(i).addClass('active').siblings().removeClass('active');
161
-		if (i == 5) {
162
-			$(".orderState_ul >li").eq(4).removeClass('active');
163
-		}
164
-		i++;
165
-
166
-		if (j == length_1) {
167
-			j = 0;
168
-		}
169
-		$(".orderTtype_Con li").eq(j).addClass('active').siblings().removeClass('active');
170
-		j++;
171
-	}, 2000);
172
-})();
173
-//对数组进行排序
174
-function compare(property) {
175
-	return (firstobj, secondobj) => {
176
-		const firstValue = firstobj[property];
177
-		const secondValue = secondobj[property];
178
-		return secondValue - firstValue; //降序
179
-	};
180
-}
181
-//第一屏幕 开始
182
-function oneScreen(sd, ed) {
183
-	$.ajax({
184
-		type: "get",
185
-		url: huayi.config.callcenter_url + "/info/GetAreaCountByDateNew",
186
-		async: true,
187
-		dataType: 'json',
188
-		data: {
189
-			start: sd,
190
-			end: ed,
191
-		},
192
-		
193
-		success: function(data) {
194
-			if (data.state.toLowerCase() == 'success') {
195
-				var con = data.data;
196
-				newData = con.sort(compare("SLCount"));
197
-				console.log(newData)
198
-				$(newData).each(function(i, n) {
199
-					if (n.AreaName == '安阳市') {
200
-						n.AreaName = "市区"
201
-					}
202
-					// 	if(n.AreaName.indexOf('安阳市') != -1) {
203
-					// 		$(".AY_num").html(n.SLCount)
204
-					// 	}
205
-					// 	if(n.AreaName.indexOf('文峰区') != -1) {
206
-					// 		$(".WFQ_num").html(n.SLCount)
207
-					// 	}
208
-					// 	if(n.AreaName.indexOf('北关区') != -1) {
209
-					// 		$(".BGQ_num").html(n.SLCount)
210
-					// 	}
211
-					// 	if(n.AreaName.indexOf('殷都区') != -1) {
212
-					// 		$(".YDQ_num").html(n.SLCount)
213
-					// 	}
214
-					// 	if(n.AreaName.indexOf('龙安区') != -1) {
215
-					// 		$(".LAQ_num").html(n.SLCount)
216
-					// 	}
217
-					// 	if(n.AreaName.indexOf('安阳县') != -1) {
218
-					// 		$(".AYX_num").html(n.SLCount)
219
-					// 	}
220
-					// 	if(n.AreaName.indexOf('汤阴县') != -1) {
221
-					// 		$(".TYX_num").text(n.SLCount)
222
-					// 	}
223
-					// 	if(n.AreaName.indexOf('内黄县') != -1) {
224
-					// 		$(".NHX_num").html(n.SLCount)
225
-					// 	}
226
-					// 	if(n.AreaName.indexOf('滑县') != -1) {
227
-					// 		$(".HX_num").html(n.SLCount)
228
-					// 	}
229
-					// 	if(n.AreaName.indexOf('林州市') != -1) {
230
-					// 		$(".LZS_num").html(n.SLCount)
231
-					// 	}
232
-					if (floag == true) {
233
-						$("#det_ult").html('')
234
-						$(".right_box").html('')
235
-						$(newData).each(function(i, n) {
236
-							console.log(n.SLCount)
237
-							if (i < 5) {
238
-								var str = ' <li class="orderli"><img src="img/num_icon.png" alt="" /><p class="num_word"><span>' + n.AreaName +
239
-									'</span><span class="AY_num">' + n.SLCount + '</span></p></li>';
240
-								var a = $(str)
241
-								a.appendTo($("#det_ult"))
242
-							}
243
-							if (i >= 5) {
244
-								var str = ' <li class="orderli"><img src="img/num_icon.png" alt="" /><p class="num_word"><span>' + n.AreaName +
245
-									'</span><span class="AY_num">' + n.SLCount + '</span></p></li>';
246
-								var a = $(str)
247
-								a.appendTo($(".right_box"))
248
-							}
249
-						})
250
-
251
-						floag = false
252
-					}
253
-					if (n.AreaName.indexOf('总计') != -1) {
254
-						$(".allSLCount").html(n.SLCount); //受理量
255
-						$(".allJACount").html(n.JACount); //结案量
256
-						//$(".allJARate").html(n.JARate); //结案量
257
-						$(".allJARate").html("93%"); //结案量
258
-						$(".allMYRate").html('94.09%'); //满意度
259
-					}
260
-				})
261
-			}
262
-		}
263
-	});
264
-}
265
-
266
-function aa() {
267
-
268
-
269
-}
270
-//第二屏
271
-function twoScreen(start, end, areaTwoVal) {
272
-	//	if(!areaTwoVal) {
273
-	//		areaTwoVal = "sqs12345"
274
-	//	}
275
-	$.ajax({
276
-		type: "get",
277
-		url: huayi.config.callcenter_url + "info/GetSourceByDateNew",
278
-		async: true,
279
-		dataType: 'json',
280
-		data: {
281
-			start: start,
282
-			end: end,
283
-			branchcode: areaTwoVal
284
-		},
285
-		success: function(data) {
286
-			if (data.state.toLowerCase() == 'success') {
287
-				//layer.close(index);
288
-				$('.orderSource ul li .rectangle').remove();
289
-				var con = data.data;
290
-				var obj = con[0];
291
-				var con_list = [];
292
-				con_list = con.shift();
293
-				con.splice(3, 0, obj);
294
-				var Percent;
295
-				$(con).each(function(i, n) {
296
-					// if(n.Source.indexOf('信箱') != -1) {
297
-					// 	n.Source = '市长信箱'
298
-					// }
299
-					// if(n.Source.indexOf('APP') != -1) {
300
-					// 	n.Source = 'APP'
301
-					// }
302
-					// if(n.Source.indexOf('政务') != -1) {
303
-					// 	n.Source = '政务网'
304
-					// }
305
-					var str = '<div class="source_kuang rectangle">' +
306
-						'<div class="pbout">' +
307
-						'<div class="percent_box">' +
308
-						'<div class="percent_out"></div>	' +
309
-						' <div class="percent_in"></div>' +
310
-						' <div class="percent_word"><p>' + n.Rate.split('%')[0] + '%' + '</p><p style="margin-top: 30px;">占总量</p>' +
311
-						'</div>' +
312
-						'</div>' +
313
-						'</div>' +
314
-						'<p class="num_word nw">' +
315
-						'<span>' + n.Source + '</span><span>' + n.Count + '</span>' +
316
-						'</p>' +
317
-						'</div>'
318
-					$('.orderSource ul li').eq(i).prepend(str)
319
-				})
320
-			}
321
-		}
322
-	});
323
-}
324
-
325
-//第三屏
326
-function threeScreen(sd, areaTwoVal) {
327
-	//alert(sd)
328
-	$.ajax({
329
-		type: "get",
330
-		url: huayi.config.callcenter_url + "Info/GetTypeCountNew",
331
-		async: true,
332
-		dataType: 'json',
333
-		data: {
334
-			date: sd,
335
-			branchcode: areaTwoVal
336
-		},
337
-		success: function(data) {
338
-			if (data.state.toLowerCase() == 'success') {
339
-				$('.orderTtype_Con ul').html('');
340
-				// 	   			layer.close(index);
341
-				var newDatas = data.data;
342
-				var con = newDatas.sort(compare("TotalCount"))
343
-				var img_name = '';
344
-				$(con).each(function(i, n) {
345
-					if (n.TypeName.indexOf('咨询') != -1) {
346
-						img_name = 'order_ZX.png'
347
-					}
348
-					if (n.TypeName.indexOf('求助') != -1) {
349
-						img_name = 'order_QZ.png'
350
-					}
351
-					if (n.TypeName.indexOf('投诉') != -1) {
352
-						img_name = 'order_TS.png'
353
-					}
354
-					if (n.TypeName.indexOf('建议') != -1) {
355
-						img_name = 'order_JY.png'
356
-					}
357
-					if (n.TypeName.indexOf('表扬') != -1) {
358
-						img_name = 'order_BY.png'
359
-					}
360
-					if (n.TypeName.indexOf('其他') != -1) {
361
-						img_name = 'order_QT.png'
362
-					}
363
-					$('<li>' +
364
-						'<div class="typeWord">' + n.TypeName + '</div>' +
365
-						'<img src="img/' + img_name + '" alt="" />' +
366
-						'<p class="typeWord_line">数据展示</p>' +
367
-						'<p class="order_count">' + n.DayCount + '</p>' +
368
-						'<p class="typeWord_line">今日' + n.TypeName + '量</p>' +
369
-						'<p class="order_count">' + n.MonthCount + '</p>' +
370
-						'<p class="typeWord_line">本月' + n.TypeName + '量</p>' +
371
-						'<p class="order_count">' + n.TotalCount + '</p>' +
372
-						'<p class="typeWord_line">' + n.TypeName + '总量</p>' +
373
-						'<div class="persent_box">' +
374
-						'<div class="persent_kuang">' + n.Percent + '</div>' +
375
-						'</div>' +
376
-						'<p class="persent_word">总量占比</p>' +
377
-						'</li>').appendTo('.orderTtype_Con ul');
378
-
379
-				})
380
-			}
381
-		}
382
-	});
383
-}
384
-//第五屏js
385
-function fiveScreen(sd, ed, areaTwoVal) {
386
-	//		if(!sd){
387
-	//			sd="2019-11-01"
388
-	//		}if(!ed){
389
-	//			ed="2019-11-30"
390
-	//		}
391
-	keyWord(sd, ed, areaTwoVal);
392
-}
393
-$(".depart").change(function() {
394
-	keyWordDetail($('#test6').val() && $('#test6').val().split(' ~ ')[0], $('#test6').val() && $('#test6').val().split(
395
-		' ~ ')[1], $(".areaFive").val());
396
-})
397
-//	第二屏
398
-$(".areaTwo").change(function() {
399
-	var areaTwoVal = $(this).val();
400
-	twoScreen($('#time2').val() && $('#time2').val().split(' ~ ')[0], $('#time2').val() && $('#time2').val().split(' ~ ')[
401
-		1], areaTwoVal);
402
-	satisfaction($('#time2').val() && $('#time2').val().split(' ~ ')[0], $('#time2').val() && $('#time2').val().split(
403
-		' ~ ')[1], areaTwoVal)
404
-});
405
-//第三屏
406
-$(".areaThree").change(function() {
407
-	var areaTwoVal = $(this).val();
408
-	threeScreen($('#time3').val(), areaTwoVal);
409
-});
410
-//第五屏
411
-$(".areaFive").change(function() {
412
-	var areaTwoVal = $(this).val();
413
-	fiveScreen($('#test6').val() && $('#test6').val().split(' ~ ')[0], $('#test6').val() && $('#test6').val().split(
414
-		' ~ ')[1], areaTwoVal);
415
-	deprtment()
416
-});
417
-//部门下拉框
418
-function deprtment() {
419
-	$.getJSON(huayi.config.callcenter_url + "info/GetDeptList", {
420
-			branchcode: $(".areaFive").val()
421
-		},
422
-		function(result) {
423
-			if (result.state.toLowerCase() == "success") {
424
-				goodslist = result.data;
425
-				$(".depart").empty();
426
-				$('<option value="">请选择部门</option>').appendTo($(".depart"));
427
-				$(goodslist).each(function(i, n) {
428
-					$('<option value="' + n.F_DeptId +
429
-						'">' + n.F_DeptName +
430
-						'</option>').appendTo($(".depart"));
431
-				})
432
-			}
433
-		});
434
-}
435
-//区县筛选
436
-//areaSelect ();
437
-function areaSelect() {
438
-	$.getJSON(huayi.config.callcenter_url + "CountyBranch/GetBranchListS", function(result) {
439
-		if (result.state.toLowerCase() == "success") {
440
-			goodslist = result.data;
441
-			//				第五屏
442
-			$(".areaFive").empty();
443
-			$(goodslist).each(function(i, n) {
444
-				$('<option value="' + n.F_Code +
445
-					'">' + n.F_Name +
446
-					'</option>').appendTo($(".areaFive"));
447
-			});
448
-			//第3屏
449
-			$(".areaThree").empty();
450
-			$(goodslist).each(function(i, n) {
451
-				$('<option value="' + n.F_Code +
452
-					'">' + n.F_Name +
453
-					'</option>').appendTo($(".areaThree"));
454
-			});
455
-			//第2屏
456
-			$(".areaTwo").empty();
457
-			$(goodslist).each(function(i, n) {
458
-				$('<option value="' + n.F_Code +
459
-					'">' + n.F_Name +
460
-					'</option>').appendTo($(".areaTwo"));
461
-			});
462
-		}
463
-	});
464
-}
465
-//	左侧关键词
466
-function keyWord(sd, ed, areaTwoVal) {
467
-	$.ajax({
468
-		type: "get",
469
-		url: huayi.config.callcenter_url + "info/GetKeyCountRankByDate",
470
-		async: true,
471
-		dataType: 'json',
472
-		data: {
473
-			start: sd,
474
-			end: ed,
475
-			branchcode: areaTwoVal
476
-		},
477
-		success: function(data) {
478
-			if (data.state.toLowerCase() == 'success') {
479
-				var con = data.data.reverse();
480
-				if (con.length > 0) {
481
-					//						$(".keyW_t").text(con[0].TypeName)
482
-					$('.tagcloud').html('');
483
-					$(con).each(function(k, j) {
484
-						if (k < 19) {
485
-							var strs = '<div index="' + j.Id + '" class="tagcloud_bj">' +
486
-								'<p class="tag_title">' + j.TypeName + '</p>' +
487
-								'<p class="imgs">' + j.Count + '</p>' +
488
-								'</div>'
489
-							$('.tagcloud').append(strs);
490
-						}
491
-					})
492
-					$(".tagcloud div:first-child").removeClass("tagcloud_bj");
493
-					$(".tagcloud div:first-child").addClass("tagcloud_bjShine");
494
-					keyWordDetail(sd, ed, areaTwoVal);
495
-				} else {
496
-					$('.tagcloud').html('');
497
-				}
498
-
499
-			}
500
-		}
501
-	});
502
-}
503
-
504
-//	右侧部门
505
-function keyWordDetail(sd, ed, areaTwoVal) {
506
-	$.ajax({
507
-		type: "get",
508
-		url: huayi.config.callcenter_url + "info/GetDeptKeyCountByDateNew",
509
-		async: true,
510
-		dataType: 'json',
511
-		data: {
512
-			start: sd,
513
-			end: ed,
514
-			branchcode: areaTwoVal,
515
-			deptid: $('.depart').val(),
516
-			keyid: $(".tagcloud_bjShine").eq(0).attr("index")
517
-		},
518
-		success: function(data) {
519
-			if (data.state.toLowerCase() == 'success') {
520
-				$('.scroll_table tbody').html('');
521
-				var con = data.data;
522
-				$(con).each(function(j, n) {
523
-					var rate = '';
524
-					if (n.rate) {
525
-						rate = n.rate;
526
-					}
527
-					var str = '<tr><td>' + n.deptname + '</td><td>' + n.acceptcount + '</td><td>' + rate + '</td></tr>'
528
-					$('.scroll_table tbody').append(str);
529
-				})
530
-				$(".scroll_table").Scroll({
531
-					line: 1,
532
-					speed: 500,
533
-					timer: 2000
534
-				});
535
-			}
536
-		}
537
-	});
538
-}
539
-$(".tagcloud").on("click", "div", function() {
540
-	$(".tagcloud div").addClass("tagcloud_bj");
541
-	$(".tagcloud div").removeClass("tagcloud_bjShine");
542
-	$(this).removeClass("tagcloud_bj");
543
-	$(this).addClass("tagcloud_bjShine");
544
-	keyWordDetail($('#test6').val() && $('#test6').val().split(' ~ ')[0], $('#test6').val() && $('#test6').val().split(
545
-		' ~ ')[1], $(".areaFive").val());
546
-});
547
-
548
-function Ajax() {
549
-
550
-	oneScreen($('#time1').val() && $('#time1').val().split(' ~ ')[0], $('#time1').val() && $('#time1').val().split(' ~ ')[
551
-		1])
552
-	twoScreen($('#time2').val() && $('#time2').val().split(' ~ ')[0], $('#time2').val() && $('#time2').val().split(' ~ ')[
553
-		1])
554
-	satisfaction($('#time2').val() && $('#time2').val().split(' ~ ')[0], $('#time2').val() && $('#time2').val().split(
555
-		' ~ ')[1])
556
-	threeScreen($('#time3').val(), $(".areaThree").val());
557
-	fiveScreen($('#test6').val() && $('#test6').val().split(' ~ ')[0], $('#test6').val() && $('#test6').val().split(' ~ ')[
558
-		1], $(".areaFive").val())
559
-
560
-	// //第五 屏  渠道来源
561
-	// var areaOneVal = helper.cookies.get("areaOneVal");
562
-	// var areaOneText = helper.cookies.get("areaOneText");
563
-	// partThree($('#time3').val() && $('#time3').val().split(' ~ ')[0], $('#time3').val() && $('#time3').val().split(' ~ ')[
564
-	// 	1], areaOneVal)
565
-
566
-
567
-	// // 接单 部门
568
-	// partTwo($('#phone_time').val() && $('#phone_time').val().split(' ~ ')[0], $('#phone_time').val() && $('#phone_time').val()
569
-	// 	.split(' ~ ')[1], areaOneVal);
570
-
571
-	// // 话务数量
572
-	// parthuawu($('#time3').val(), areaOneVal);
573
-
574
-	// // 投诉举报
575
-	// partcomplain($('#time3').val() && $('#time3').val().split(' ~ ')[0], $('#time3').val() && $('#time3').val().split(
576
-	// 	' ~ ')[1], areaOneVal)
577
-
578
-}
579
-
580
-
581
-function loginTimeLimit() {
582
-	$.ajax({
583
-		type: "get",
584
-		url: huayi.config.callcenter_url + "Login/GetAuAuthDate",
585
-		async: false,
586
-		success: function(res) {
587
-			var res = $.parseJSON(res)
588
-			if (res.state == "success") {} else {
589
-				layer.confirm(res.message, {
590
-					icon: 2,
591
-					btn: ['确定'],
592
-					yes: function(index, layero) {
593
-						$("#wrap").hide()
594
-						$(".timeLimit-wrapper").show()
595
-						$(".nav_middle ul a").attr('href', '#')
596
-						layer.close(index)
597
-					},
598
-				});
599
-			}
600
-		}
601
-	});
602
-}

BIN
WebChartNewest/js - 副本/digifaw.ttf


File diff suppressed because it is too large
+ 0 - 22
WebChartNewest/js - 副本/echarts.min.js


+ 0 - 326
WebChartNewest/js - 副本/gray.js

@@ -1,326 +0,0 @@
1
-/**
2
- * @license Highcharts JS v5.0.10 (2017-03-31)
3
- *
4
- * (c) 2009-2017 Torstein Honsi
5
- *
6
- * License: www.highcharts.com/license
7
- */
8
-'use strict';
9
-(function(factory) {
10
-    if (typeof module === 'object' && module.exports) {
11
-        module.exports = factory;
12
-    } else {
13
-        factory(Highcharts);
14
-    }
15
-}(function(Highcharts) {
16
-    (function(Highcharts) {
17
-        /**
18
-         * (c) 2010-2017 Torstein Honsi
19
-         *
20
-         * License: www.highcharts.com/license
21
-         * 
22
-         * Gray theme for Highcharts JS
23
-         * @author Torstein Honsi
24
-         */
25
-
26
-        Highcharts.theme = {
27
-            colors: ['#DDDF0D', '#7798BF', '#55BF3B', '#DF5353', '#aaeeee', '#ff0066', '#eeaaee',
28
-                '#55BF3B', '#DF5353', '#7798BF', '#aaeeee'
29
-            ],
30
-            chart: {
31
-                backgroundColor: {
32
-                    linearGradient: {
33
-                        x1: 0,
34
-                        y1: 0,
35
-                        x2: 0,
36
-                        y2: 1
37
-                    },
38
-                    stops: [
39
-                        [0, 'rgb(96, 96, 96)'],
40
-                        [1, 'rgb(16, 16, 16)']
41
-                    ]
42
-                },
43
-                borderWidth: 0,
44
-                borderRadius: 0,
45
-                plotBackgroundColor: null,
46
-                plotShadow: false,
47
-                plotBorderWidth: 0
48
-            },
49
-            title: {
50
-                style: {
51
-                    color: '#FFF',
52
-                    font: '16px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif'
53
-                }
54
-            },
55
-            subtitle: {
56
-                style: {
57
-                    color: '#DDD',
58
-                    font: '12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif'
59
-                }
60
-            },
61
-            xAxis: {
62
-                gridLineWidth: 0,
63
-                lineColor: '#999',
64
-                tickColor: '#999',
65
-                labels: {
66
-                    style: {
67
-                        color: '#999',
68
-                        fontWeight: 'bold'
69
-                    }
70
-                },
71
-                title: {
72
-                    style: {
73
-                        color: '#AAA',
74
-                        font: 'bold 12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif'
75
-                    }
76
-                }
77
-            },
78
-            yAxis: {
79
-                alternateGridColor: null,
80
-                minorTickInterval: null,
81
-                gridLineColor: 'rgba(255, 255, 255, .1)',
82
-                minorGridLineColor: 'rgba(255,255,255,0.07)',
83
-                lineWidth: 0,
84
-                tickWidth: 0,
85
-                labels: {
86
-                    style: {
87
-                        color: '#999',
88
-                        fontWeight: 'bold'
89
-                    }
90
-                },
91
-                title: {
92
-                    style: {
93
-                        color: '#AAA',
94
-                        font: 'bold 12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif'
95
-                    }
96
-                }
97
-            },
98
-            legend: {
99
-                itemStyle: {
100
-                    color: '#CCC'
101
-                },
102
-                itemHoverStyle: {
103
-                    color: '#FFF'
104
-                },
105
-                itemHiddenStyle: {
106
-                    color: '#333'
107
-                }
108
-            },
109
-            labels: {
110
-                style: {
111
-                    color: '#CCC'
112
-                }
113
-            },
114
-            tooltip: {
115
-                backgroundColor: {
116
-                    linearGradient: {
117
-                        x1: 0,
118
-                        y1: 0,
119
-                        x2: 0,
120
-                        y2: 1
121
-                    },
122
-                    stops: [
123
-                        [0, 'rgba(96, 96, 96, .8)'],
124
-                        [1, 'rgba(16, 16, 16, .8)']
125
-                    ]
126
-                },
127
-                borderWidth: 0,
128
-                style: {
129
-                    color: '#FFF'
130
-                }
131
-            },
132
-
133
-
134
-            plotOptions: {
135
-                series: {
136
-                    nullColor: '#444444'
137
-                },
138
-                line: {
139
-                    dataLabels: {
140
-                        color: '#CCC'
141
-                    },
142
-                    marker: {
143
-                        lineColor: '#333'
144
-                    }
145
-                },
146
-                spline: {
147
-                    marker: {
148
-                        lineColor: '#333'
149
-                    }
150
-                },
151
-                scatter: {
152
-                    marker: {
153
-                        lineColor: '#333'
154
-                    }
155
-                },
156
-                candlestick: {
157
-                    lineColor: 'white'
158
-                }
159
-            },
160
-
161
-            toolbar: {
162
-                itemStyle: {
163
-                    color: '#CCC'
164
-                }
165
-            },
166
-
167
-            navigation: {
168
-                buttonOptions: {
169
-                    symbolStroke: '#DDDDDD',
170
-                    hoverSymbolStroke: '#FFFFFF',
171
-                    theme: {
172
-                        fill: {
173
-                            linearGradient: {
174
-                                x1: 0,
175
-                                y1: 0,
176
-                                x2: 0,
177
-                                y2: 1
178
-                            },
179
-                            stops: [
180
-                                [0.4, '#606060'],
181
-                                [0.6, '#333333']
182
-                            ]
183
-                        },
184
-                        stroke: '#000000'
185
-                    }
186
-                }
187
-            },
188
-
189
-            // scroll charts
190
-            rangeSelector: {
191
-                buttonTheme: {
192
-                    fill: {
193
-                        linearGradient: {
194
-                            x1: 0,
195
-                            y1: 0,
196
-                            x2: 0,
197
-                            y2: 1
198
-                        },
199
-                        stops: [
200
-                            [0.4, '#888'],
201
-                            [0.6, '#555']
202
-                        ]
203
-                    },
204
-                    stroke: '#000000',
205
-                    style: {
206
-                        color: '#CCC',
207
-                        fontWeight: 'bold'
208
-                    },
209
-                    states: {
210
-                        hover: {
211
-                            fill: {
212
-                                linearGradient: {
213
-                                    x1: 0,
214
-                                    y1: 0,
215
-                                    x2: 0,
216
-                                    y2: 1
217
-                                },
218
-                                stops: [
219
-                                    [0.4, '#BBB'],
220
-                                    [0.6, '#888']
221
-                                ]
222
-                            },
223
-                            stroke: '#000000',
224
-                            style: {
225
-                                color: 'white'
226
-                            }
227
-                        },
228
-                        select: {
229
-                            fill: {
230
-                                linearGradient: {
231
-                                    x1: 0,
232
-                                    y1: 0,
233
-                                    x2: 0,
234
-                                    y2: 1
235
-                                },
236
-                                stops: [
237
-                                    [0.1, '#000'],
238
-                                    [0.3, '#333']
239
-                                ]
240
-                            },
241
-                            stroke: '#000000',
242
-                            style: {
243
-                                color: 'yellow'
244
-                            }
245
-                        }
246
-                    }
247
-                },
248
-                inputStyle: {
249
-                    backgroundColor: '#333',
250
-                    color: 'silver'
251
-                },
252
-                labelStyle: {
253
-                    color: 'silver'
254
-                }
255
-            },
256
-
257
-            navigator: {
258
-                handles: {
259
-                    backgroundColor: '#666',
260
-                    borderColor: '#AAA'
261
-                },
262
-                outlineColor: '#CCC',
263
-                maskFill: 'rgba(16, 16, 16, 0.5)',
264
-                series: {
265
-                    color: '#7798BF',
266
-                    lineColor: '#A6C7ED'
267
-                }
268
-            },
269
-
270
-            scrollbar: {
271
-                barBackgroundColor: {
272
-                    linearGradient: {
273
-                        x1: 0,
274
-                        y1: 0,
275
-                        x2: 0,
276
-                        y2: 1
277
-                    },
278
-                    stops: [
279
-                        [0.4, '#888'],
280
-                        [0.6, '#555']
281
-                    ]
282
-                },
283
-                barBorderColor: '#CCC',
284
-                buttonArrowColor: '#CCC',
285
-                buttonBackgroundColor: {
286
-                    linearGradient: {
287
-                        x1: 0,
288
-                        y1: 0,
289
-                        x2: 0,
290
-                        y2: 1
291
-                    },
292
-                    stops: [
293
-                        [0.4, '#888'],
294
-                        [0.6, '#555']
295
-                    ]
296
-                },
297
-                buttonBorderColor: '#CCC',
298
-                rifleColor: '#FFF',
299
-                trackBackgroundColor: {
300
-                    linearGradient: {
301
-                        x1: 0,
302
-                        y1: 0,
303
-                        x2: 0,
304
-                        y2: 1
305
-                    },
306
-                    stops: [
307
-                        [0, '#000'],
308
-                        [1, '#333']
309
-                    ]
310
-                },
311
-                trackBorderColor: '#666'
312
-            },
313
-
314
-            // special colors for some of the demo examples
315
-            legendBackgroundColor: 'rgba(48, 48, 48, 0.8)',
316
-            background2: 'rgb(70, 70, 70)',
317
-            dataLabelsColor: '#444',
318
-            textColor: '#E0E0E0',
319
-            maskColor: 'rgba(255,255,255,0.3)'
320
-        };
321
-
322
-        // Apply the theme
323
-        Highcharts.setOptions(Highcharts.theme);
324
-
325
-    }(Highcharts));
326
-}));

+ 0 - 751
WebChartNewest/js - 副本/index_20190701.js

@@ -1,751 +0,0 @@
1
-var areaFourVal="";
2
-var dayTime="";
3
-$(function() {
4
-	// laydate.render({
5
-		// elem: '#time2',
6
-		// format: 'yyyy-MM-dd',
7
-		// theme: '#114a97',
8
-			// done: function(value, date) {
9
-			// fourScreen(areaFourVal,value && value.split('-')[2]);
10
-			// dayTime=value.split('-')[2];
11
-		// }
12
-	// });
13
-	laydate.render({
14
-		elem: '#time3',
15
-		range: '~',
16
-		theme: '#114a97',
17
-		done: function(value, date) {
18
-			var areaOneVal=$(".areaOne").val();
19
-			twoScreen(value && value.split(' ~ ')[0], value && value.split(' ~ ')[1],areaOneVal)
20
-		}
21
-	});
22
-	var mySwiper = new Swiper('.swiper-container', {
23
-		loop: true,
24
-		autoplay: {
25
-			delay: 60000,
26
-		},
27
-		pagination: { /* 分页器*/
28
-			el: '.swiper-pagination',
29
-			clickable: true,
30
-
31
-		},
32
-		navigation: {
33
-			nextEl: '.swiper-button-next',
34
-			prevEl: '.swiper-button-prev',
35
-		},
36
-		//				followFinger : false,
37
-		//				speed:800,
38
-		on: {
39
-			init: function() {
40
-				swiperAnimateCache(this); //隐藏动画元素 
41
-				swiperAnimate(this); //初始化完成开始动画
42
-			},
43
-			transitionEnd: function() {
44
-				swiperAnimate(this); //每个slide切换结束时也运行当前slide动画
45
-
46
-			},
47
-		}
48
-
49
-	})
50
-	Ajax();
51
-})
52
-var cityObj = {
53
-		ele1: "sqs_count",
54
-		ele2: "syq_count",
55
-		ele3: "lyq_count",
56
-		ele4: "ycs_count",
57
-		ele5: "mqx_count",
58
-		ele6: "sx_count",
59
-		ele7: "nlx_count",
60
-		ele8: "zcx_count",
61
-		ele9: "ycx_count",
62
-		ele10: "xyx_count",
63
-		ele11: "cxyt_count",
64
-		ele12: "djbl_count"
65
-	}
66
-	var vars = {};
67
-	getCountUp(cityObj)
68
-
69
-	function getCountUp(obj1) {
70
-		var options = {  
71
-			useEasing: true,
72
-			  useGrouping: true,
73
-			  separator: ',',
74
-			  decimal: '.',
75
-		};
76
-		$.each(obj1, function(k, v) {
77
-			new CountUp(v, 0, 100, 0, 2, options).start()
78
-			vars[v] = new CountUp(v, 0, 100, 0, 2, options)
79
-		})
80
-	}
81
-	
82
-var myDate = new Date();
83
-
84
-function turn(aa) {
85
-	if(aa < 10) {
86
-		aa = "0" + aa;
87
-	}
88
-	return aa
89
-}
90
-
91
-
92
-	// 第三屏 第四屏 发光外框 定时
93
-	(function() {
94
-		var i = 0;
95
-		var length = $(".orderState_ul >li").length;
96
-		var j = 0;
97
-		var length_1 = $(".orderTtype_Con li").length;
98
-		setInterval(function() {
99
-			if(i == length) {
100
-				i = 0;
101
-				$(".orderState_ul >li").removeClass('active');
102
-			}
103
-			$(".orderState_ul >li").eq(i).addClass('active').siblings().removeClass('active');
104
-			if(i == 5) {
105
-				$(".orderState_ul >li").eq(4).removeClass('active');
106
-			}
107
-			i++;
108
-
109
-			if(j == length_1) {
110
-				j = 0;
111
-			}
112
-			$(".orderTtype_Con li").eq(j).addClass('active').siblings().removeClass('active');
113
-			j++;
114
-		}, 2000);
115
-	})();
116
-	//第一屏幕 开始
117
-
118
-	function oneScreen() {
119
-		//			 	$('.gdmap-r ul').html('');
120
-		//			 		var index = layer.load(1, { shade: [0.5,'#030303'] //0.1透明度的白色背景
121
-		//			});
122
-		$.ajax({
123
-			type: "get",
124
-			url: huayi.config.callcenter_url + "info/GetAreaCountByDate",
125
-			async: true,
126
-			dataType: 'json',
127
-			data: {
128
-				start: myDate.getFullYear() + "-" + turn(myDate.getMonth() + 1) + "-" + turn(myDate.getDate()),
129
-				end: myDate.getFullYear() + "-" + turn(myDate.getMonth() + 1) + "-" + turn(myDate.getDate()),
130
-			},
131
-			success: function(data) {
132
-				if(data.state.toLowerCase() == 'success') {
133
-					// 	   			layer.close(index);
134
-                    var con = data.data;
135
-                    console.log(con);
136
-					$(con).each(function(i, n) {
137
-						if(n.AreaName.indexOf('商丘') != -1) {
138
-							vars.sqs_count.update(n.Count);
139
-						}
140
-						if(n.AreaName.indexOf('睢阳') != -1) {
141
-							vars.syq_count.update(n.Count);
142
-						}
143
-						if(n.AreaName.indexOf('梁园') != -1) {
144
-							vars.lyq_count.update(n.Count);
145
-						}
146
-						if(n.AreaName.indexOf('永城') != -1) {
147
-							vars.ycs_count.update(n.Count);
148
-						}
149
-						if(n.AreaName.indexOf('民权') != -1) {
150
-							vars.mqx_count.update(n.Count);
151
-						}
152
-						if(n.AreaName.indexOf('睢县') != -1) {
153
-							vars.sx_count.update(n.Count);
154
-						}
155
-						if(n.AreaName.indexOf('宁陵') != -1) {
156
-							vars.nlx_count.update(n.Count);
157
-						}
158
-						if(n.AreaName.indexOf('柘城') != -1) {
159
-							vars.zcx_count.update(n.Count);
160
-						}
161
-						if(n.AreaName.indexOf('虞城') != -1) {
162
-							vars.ycx_count.update(n.Count);
163
-						}
164
-						if(n.AreaName.indexOf('夏邑') != -1) {
165
-							vars.xyx_count.update(n.Count);
166
-						}
167
-						if(n.AreaName.indexOf('城乡一体') != -1) {
168
-							vars.cxyt_count.update(n.Count);
169
-						}
170
-						if(n.AreaName.indexOf('当即办理') != -1) {
171
-							vars.djbl_count.update(n.Count);
172
-						}
173
-					})
174
-				}
175
-			}
176
-		});
177
-	}
178
-
179
-	//第二屏
180
-
181
-	function twoScreen(start, end,areaTwoVal) {
182
-		if(!areaTwoVal){
183
-			areaTwoVal="sqs12345"
184
-		}
185
-		$.ajax({
186
-			type: "get",
187
-			url: huayi.config.callcenter_url + "info/GetSourceByDate",
188
-			async: true,
189
-			dataType: 'json',
190
-			data: {
191
-				start: start,
192
-				end: end,
193
-				branchcode:areaTwoVal
194
-			},
195
-			success: function(data) {
196
-				if(data.state.toLowerCase() == 'success') {
197
-					// 	   			layer.close(index);
198
-					$('.orderSource ul li .rectangle').remove();
199
-					var con = data.data;
200
-
201
-					$(con).each(function(i, n) {
202
-						if(!n.Percent) {
203
-							n.Percent = '0.00%'
204
-						}
205
-						if(n.Source.indexOf('信箱') != -1) {
206
-							n.Source = '信箱'
207
-						}
208
-						if(n.Source.indexOf('APP') != -1) {
209
-							n.Source = 'APP'
210
-						}
211
-						if(n.Source.indexOf('政务') != -1) {
212
-							n.Source = '政务网'
213
-						}
214
-						var str = '<div class="source_kuang rectangle">' +
215
-							'<div class="pbout">' +
216
-							'<div class="percent_box">' +
217
-							'<div class="percent_out"></div>	' +
218
-							' <div class="percent_in"></div>' +
219
-							' <div class="percent_word"><p>' + n.Percent.split('%')[0] + '</p>%<p style="margin-top: 16px;">占总量</p>' +
220
-							'</div>' +
221
-							'</div>' +
222
-							'</div>' +
223
-							'<p class="num_word">' +
224
-							'<span>' + n.Source + '</span><span>' + n.Count + '</span>' +
225
-							'</p>' +
226
-							'</div>'
227
-						$('.orderSource ul li').eq(i).prepend(str)
228
-					})
229
-				}
230
-			}
231
-		});
232
-	}
233
-
234
-	//第三屏
235
-
236
-	function threeScreen(areaThreeVal) {
237
-		if(!areaThreeVal){
238
-			areaThreeVal="sqs12345"
239
-		}
240
-		$.ajax({
241
-			type: "get",
242
-			url: huayi.config.callcenter_url + "Info/GetTypeCountNew",
243
-			data:{
244
-				branchcode:areaThreeVal
245
-			},
246
-			async: true,
247
-			dataType: 'json',
248
-			success: function(data) {
249
-				if(data.state.toLowerCase() == 'success') {
250
-					$('.orderTtype_Con ul').html('');
251
-					// 	   			layer.close(index);
252
-					var con = data.data;
253
-					var img_name = '';
254
-					$(con).each(function(i, n) {
255
-						if(n.TypeName.indexOf('咨询') != -1) {
256
-							img_name = 'order_ZX.png'
257
-						}
258
-						if(n.TypeName.indexOf('求助') != -1) {
259
-							img_name = 'order_QZ.png'
260
-						}
261
-						if(n.TypeName.indexOf('投诉') != -1) {
262
-							img_name = 'order_TS.png'
263
-						}
264
-						if(n.TypeName.indexOf('建议') != -1) {
265
-							img_name = 'order_JY.png'
266
-						}
267
-						if(n.TypeName.indexOf('表扬') != -1) {
268
-							img_name = 'order_BY.png'
269
-						}
270
-						if(n.TypeName.indexOf('其他') != -1) {
271
-							img_name = 'order_QT.png'
272
-						}
273
-						$('<li>' +
274
-							'<div class="typeWord">' + n.TypeName + '</div>' +
275
-							'<img src="img/' + img_name + '" alt="" />' +
276
-							'<p class="typeWord_line">数据展示</p>' +
277
-							'<p class="order_count">' + n.DayCount + '</p>' +
278
-							'<p class="typeWord_line">今日' + n.TypeName + '量</p>' +
279
-							'<p class="order_count">' + n.MonthCount + '</p>' +
280
-							'<p class="typeWord_line">本月' + n.TypeName + '量</p>' +
281
-							'<p class="order_count">' + n.TotalCount + '</p>' +
282
-							'<p class="typeWord_line">' + n.TypeName + '总量</p>' +
283
-							'<div class="persent_box">' +
284
-							'<div class="persent_kuang">' + n.Percent + '</div>' +
285
-							'</div>' +
286
-							'<p class="persent_word">总计类型占比</p>' +
287
-							'</li>').appendTo('.orderTtype_Con ul');
288
-
289
-					})
290
-				}
291
-			}
292
-		});
293
-	}
294
-
295
-	// //第四屏 数字滚动
296
-	// function fourScreen(areaFourVal,dayTime) {
297
-		// if(!areaFourVal){
298
-			// areaFourVal="sqs12345"
299
-		// }
300
-		// $.ajax({
301
-			// type: "get",
302
-			// url: huayi.config.callcenter_url + "Info/GetStateCountByMonth",
303
-			// data:{
304
-				// branchcode:areaFourVal,
305
-				// day:dayTime
306
-			// },
307
-			// async: true,
308
-			// dataType: 'json',
309
-			// success: function(data) {
310
-				// if(data.state.toLowerCase() == 'success') {
311
-					// // 	   			layer.close(index);
312
-					// var con = data.data;
313
-					// $(con).each(function(i, n) {
314
-						// if(n.Name.indexOf('延时审核') != -1) {
315
-							// $("#state_yssh").rollNum({
316
-								// deVal: n.Count
317
-							// });
318
-						// }
319
-						// if(n.Name.indexOf('已办理') != -1) {
320
-							// $("#state_ybl").rollNum({
321
-								// deVal: n.Count
322
-							// });
323
-						// }
324
-						// if(n.Name.indexOf('已回访') != -1) {
325
-
326
-							// $("#state_yhf").rollNum({
327
-								// deVal: n.Count
328
-							// });
329
-						// }
330
-						// if(n.Name.indexOf('重办中') != -1) {
331
-							// $("#state_cbz").rollNum({
332
-								// deVal: n.Count
333
-							// });
334
-						// }
335
-						// if(n.Name.indexOf('已结案') != -1) {
336
-							// $("#state_yja").rollNum({
337
-								// deVal: n.Count
338
-							// });
339
-						// }
340
-						// if(n.Name.indexOf('新工单') != -1) {
341
-							// $("#state_xzgd").rollNum({
342
-								// deVal: n.Count
343
-							// });
344
-						// }
345
-						// if(n.Name.indexOf('待交办') != -1) {
346
-							// $("#state_djb").rollNum({
347
-								// deVal: n.Count
348
-							// });
349
-						// }
350
-						// if(n.Name.indexOf('待查收') != -1) {
351
-							// $("#state_dcs").rollNum({
352
-								// deVal: n.Count
353
-							// });
354
-						// }
355
-						// if(n.Name.indexOf('退回审核') != -1) {
356
-							// $("#state_thsh").rollNum({
357
-								// deVal: n.Count
358
-							// });
359
-						// }
360
-						// if(n.Name.indexOf('办理中') != -1) {
361
-							// $("#state_blz").rollNum({
362
-								// deVal: n.Count
363
-							// });
364
-						// }
365
-						// if(n.Name.indexOf('待审核') != -1) {
366
-							// $("#state_dsh").rollNum({
367
-								// deVal: n.Count
368
-							// });
369
-						// }
370
-						// if(n.Name.indexOf('重办待交办') != -1) {
371
-							// $("#state_cbdjb").rollNum({
372
-								// deVal: n.Count
373
-							// });
374
-						// }
375
-					// });
376
-				// }
377
-			// }
378
-		// });
379
-
380
-	// }
381
-	//第五屏js
382
-	function fiveScreen(areaFiveVal) {
383
-		if(areaFiveVal){
384
-			huawus(areaFiveVal);
385
-			jtvs(areaFiveVal);
386
-			keyWord(areaFiveVal);	
387
-		}else{
388
-			areaFiveVal="sqs12345"
389
-			huawus(areaFiveVal);
390
-			jtvs(areaFiveVal);
391
-			keyWord(areaFiveVal);
392
-		}
393
-	}
394
-
395
-	function huawus(areaFiveVal) {
396
-		$.ajax({
397
-			type: "get",
398
-			url: huayi.config.callcenter_url + "info/GetTelCountByDate",
399
-			async: true,
400
-			dataType: "json",
401
-			data: {
402
-				date: myDate.getFullYear() + "-" + turn(myDate.getMonth() + 1) + "-" + turn(myDate.getDate()),
403
-				branchcode:areaFiveVal
404
-			},
405
-			success: function(data) {
406
-				if(data.state.toLowerCase() == "success") {
407
-					//					layer.close(index);
408
-					var con = data.data;
409
-					huawu.setOption({
410
-						series: [{
411
-							data: [con.hwcon, con.lhcon, con.jtcon, con.pjthtimes]
412
-//							data: [20, 100, 5, 80]
413
-						}]
414
-
415
-					})
416
-
417
-				}
418
-			}
419
-
420
-		});
421
-
422
-	}
423
-
424
-	function jtvs(areaFiveVal) {
425
-		$.ajax({
426
-			type: "get",
427
-			url: huayi.config.callcenter_url + "info/GetTelRate24ByDate",
428
-			async: true,
429
-			dataType: 'json',
430
-			data: {
431
-				// 	   		date:$('#time4').val()
432
-				branchcode:areaFiveVal
433
-			},
434
-			success: function(data) {
435
-				if(data.state.toLowerCase() == 'success') {
436
-					// 	   			layer.close(index);
437
-					var con = data.data;
438
-					// 	   			var part3=data.data.b;
439
-					jtv_num.setOption({
440
-						xAxis: {
441
-							data: con.hours
442
-						},
443
-						series: [{
444
-							data: con.rates
445
-						}]
446
-
447
-					})
448
-
449
-				}
450
-			}
451
-		});
452
-	}
453
-//	$(".depart").change(function() {
454
-//      keyWordDetail($('#test6').val() && $('#test6').val().split(' ~ ')[0], $('#test6').val() && $('#test6').val().split(' ~ ')[1]);
455
-//	});
456
-	//	第五屏
457
-	$(".areaFive").change(function() {
458
-      	var areaFiveVal=$(this).val();
459
-    	fiveScreen(areaFiveVal);
460
-	});
461
-	//	第四屏
462
-	// $(".areaFour").change(function() {
463
-      	// var areaFourVal=$(this).val();
464
-      	// fourScreen(areaFourVal,dayTime)
465
-	// });
466
-	//	第三屏
467
-	$(".areaThree").change(function() {
468
-      	var areaThreeVal=$(this).val();
469
-    	threeScreen(areaThreeVal);
470
-	});
471
-	//	第二屏
472
-	$(".areaTwo").change(function() {
473
-      	var areaTwoVal=$(this).val();
474
-    	twoScreen($('#time3').val() && $('#time3').val().split(' ~ ')[0], $('#time3').val() && $('#time3').val().split(' ~ ')[1],areaTwoVal);
475
-	});
476
-	//区县筛选
477
-	deprtment ();
478
-	function deprtment () {
479
-		$.getJSON( huayi.config.callcenter_url +"CountyBranch/GetBranchListS", function(result) {
480
-			if(result.state.toLowerCase() == "success") {
481
-				goodslist = result.data;
482
-//				第五屏
483
-				$(".areaFive").empty();
484
-				$(goodslist).each(function(i, n) {
485
-					$('<option value="' + n.F_Code 
486
-					+ '">' + n.F_Name 
487
-					+ '</option>').appendTo($(".areaFive"));
488
-				});
489
-				//第4屏
490
-				$(".areaFour").empty();
491
-				$(goodslist).each(function(i, n) {
492
-					$('<option value="' + n.F_Code 
493
-					+ '">' + n.F_Name 
494
-					+ '</option>').appendTo($(".areaFour"));
495
-				});
496
-				//第3屏
497
-				$(".areaThree").empty();
498
-				$(goodslist).each(function(i, n) {
499
-					$('<option value="' + n.F_Code 
500
-					+ '">' + n.F_Name 
501
-					+ '</option>').appendTo($(".areaThree"));
502
-				});
503
-				//第2屏
504
-				$(".areaTwo").empty();
505
-				$(goodslist).each(function(i, n) {
506
-					$('<option value="' + n.F_Code 
507
-					+ '">' + n.F_Name 
508
-					+ '</option>').appendTo($(".areaTwo"));
509
-				});
510
-			}
511
-		});
512
-	}
513
-	
514
-	function keyWord(areaFiveVal) {
515
-		$.ajax({
516
-			type: "get",
517
-			url: huayi.config.callcenter_url + "info/GetKeyCountByDateNew",
518
-			async: true,
519
-			dataType: 'json',
520
-			data: {
521
-				// 	   		date:$('#time4').val()
522
-				branchcode:areaFiveVal
523
-			},
524
-			success: function(data) {
525
-				if(data.state.toLowerCase() == 'success') {
526
-					// 	   			layer.close(index);
527
-					var con = data.data;
528
-					$('.tagcloud').html('');
529
-					//							var strs='<div class="tagcloud">'
530
-					$(con).each(function(k, j) {
531
-						if(k < 10) {
532
-							var strs = '<div>' +
533
-								'<p class="tag_title">' + j.关键字 + '</p>' +
534
-								'<p class="imgs">' + j.投诉 + '</p>' +
535
-								'<p class="ts_count">投诉量</p>' +
536
-								'</div>'
537
-							$('.tagcloud').append(strs);
538
-						}
539
-					})
540
-					
541
-				}
542
-			},
543
-			complete: function(XMLHttpRequest) {
544
-//						setTimeout(function(){
545
-							tagcloud({
546
-									selector: ".tagcloud", //元素选择器
547
-									fontsize: 16, //基本字体大小, 单位px
548
-									radius: 150, //滚动半径, 单位px
549
-									mspeed: "normal", //滚动最大速度, 取值: slow, normal(默认), fast
550
-									ispeed: "normal", //滚动初速度, 取值: slow, normal(默认), fast
551
-									direction: 135, //初始滚动方向, 取值角度(顺时针360): 0对应top, 90对应left, 135对应right-bottom(默认)...
552
-									keep: false //	鼠标移出组件后是否继续随鼠标滚动, 取值: false, true(默认) 对应 减速至初速度滚动, 随鼠标滚动
553
-
554
-								});
555
-//						},100);
556
-					
557
-			}
558
-		});
559
-	}
560
-	//第五屏图表js
561
-	var huawu = echarts.init(document.getElementById('huawu_tody'));
562
-	huawu.setOption({
563
-		tooltip: {
564
-			trigger: 'axis',
565
-			axisPointer: {
566
-				type: false,
567
-				label: {
568
-					show: true,
569
-					backgroundColor: '#030917'
570
-				}
571
-			},
572
-		},
573
-		grid: {
574
-			left: '2%',
575
-			right: '8%',
576
-			bottom: '6%',
577
-			containLabel: true
578
-		},
579
-		xAxis: {
580
-			name: '类型',
581
-			data: ["话务量(通)", "来电(通)", "接通量(通)", "平均通话时长(秒)"],
582
-			axisLine: {
583
-				lineStyle: {
584
-					color: '#038de2'
585
-				}
586
-			},
587
-			axisTick: {
588
-				alignWithLabel: true,
589
-				show: false
590
-			},
591
-			axisLabel: { //横轴字体颜色
592
-				show: true,
593
-				textStyle: {
594
-					color: '#00daf4'
595
-				}
596
-			}
597
-		},
598
-		yAxis: {
599
-			name: '数量',
600
-			splitLine: {
601
-				show: false
602
-			},
603
-			axisLine: {
604
-				lineStyle: {
605
-					color: '#038de2'
606
-				}
607
-			}
608
-	
609
-		},
610
-		series: [{
611
-			name: '数量',
612
-			type: 'bar',
613
-			barWidth: 18,
614
-			itemStyle: {
615
-				normal: {
616
-					color: new echarts.graphic.LinearGradient(
617
-						0, 0, 0, 1, [{
618
-								offset: 0,
619
-								color: '#0285ff'
620
-							},
621
-							{
622
-								offset: 1,
623
-								color: '#0385ff24'
624
-							}
625
-						]
626
-					)
627
-				}
628
-			},
629
-			label: {
630
-				normal: {
631
-					show: true,
632
-					position: 'top', //顶部数据显示位置
633
-					textStyle: {
634
-						color: '#fff' //顶部数据颜色
635
-					},
636
-					formatter: '{c}' // 这里是数据展示的时候显示的数据
637
-				}
638
-			},
639
-			data: []
640
-		}]
641
-	
642
-	});
643
-	
644
-	var jtv_num = echarts.init(document.getElementById('jtv_num'));
645
-	
646
-	jtv_num.setOption({
647
-	//	title: {
648
-	//		text: '接通率统计',
649
-	//		x: 'center',
650
-	//		textStyle: {
651
-	//			color: '#fff',
652
-	//			fontSize: 18,
653
-	//			fontWeight: 'normal'
654
-	//		}
655
-	//	},
656
-	grid: {
657
-		left: '6%',
658
-		right: '8%',
659
-		bottom: '6%',
660
-		containLabel: true
661
-	},
662
-	tooltip: {
663
-		trigger: 'axis',
664
-		axisPointer: {
665
-			type: 'shadow',
666
-			label: {
667
-				show: true,
668
-				backgroundColor: '#333'
669
-			}
670
-		},
671
-		formatter: function(datas) {
672
-			var res = datas[0].name + '<br/>',
673
-				val;
674
-			for(var i = 0, length = datas.length; i < length; i++) {
675
-				val = (datas[i].value) + '%';
676
-				res += datas[i].seriesName + ':' + val + '<br/>';
677
-			}
678
-			return res;
679
-		}
680
-	},
681
-	//	legend: {
682
-	////		top: 30,
683
-	//bottom:'bottom',
684
-	//		data: ['接通率'],
685
-	//		textStyle: {
686
-	//			color: '#fff'
687
-	//		}
688
-	//	},
689
-	xAxis: {
690
-		name: '时',
691
-		data: [],
692
-		axisLine: {
693
-			lineStyle: {
694
-				color: '#038de2'
695
-			}
696
-		},
697
-		axisTick: {
698
-			alignWithLabel: true,
699
-			show: false
700
-		},
701
-		axisLabel: { //横轴字体颜色
702
-			show: true,
703
-			textStyle: {
704
-				color: '#00daf4'
705
-			}
706
-		}
707
-
708
-	},
709
-	yAxis: {
710
-		name: '比率',
711
-		splitLine: {
712
-			show: false
713
-		},
714
-		axisLine: {
715
-			lineStyle: {
716
-				color: '#038de2'
717
-			}
718
-		}
719
-	},
720
-	series: [{
721
-		name: '接通率',
722
-		type: 'bar',
723
-		barWidth: 8,
724
-		itemStyle: {
725
-			normal: {
726
-				color: new echarts.graphic.LinearGradient(
727
-					0, 0, 0, 1, [{
728
-							offset: 0,
729
-							color: '#00e8fe'
730
-						},
731
-						{
732
-							offset: 1,
733
-							color: '#016fa4'
734
-						}
735
-					]
736
-				)
737
-			}
738
-		},
739
-//		data: [500, 10, 25, 78, 85, 89, 56, 120, 20, 230, 52, 85, 45, 46, 12, 600, 15, 18, 95, 150, 28, 134, 146, 145]
740
-		data: []
741
-	}]
742
-
743
-});
744
-
745
-	function Ajax() {
746
-		oneScreen();
747
-		twoScreen();
748
-		threeScreen();
749
-		//fourScreen();
750
-		fiveScreen()
751
-	}

+ 0 - 117
WebChartNewest/js - 副本/jq/jquery.cookie.js

@@ -1,117 +0,0 @@
1
-/*!
2
- * jQuery Cookie Plugin v1.4.1
3
- * https://github.com/carhartl/jquery-cookie
4
- *
5
- * Copyright 2013 Klaus Hartl
6
- * Released under the MIT license
7
- */
8
-(function (factory) {
9
-	if (typeof define === 'function' && define.amd) {
10
-		// AMD
11
-		define(['jquery'], factory);
12
-	} else if (typeof exports === 'object') {
13
-		// CommonJS
14
-		factory(require('jquery'));
15
-	} else {
16
-		// Browser globals
17
-		factory(jQuery);
18
-	}
19
-}(function ($) {
20
-
21
-	var pluses = /\+/g;
22
-
23
-	function encode(s) {
24
-		return config.raw ? s : encodeURIComponent(s);
25
-	}
26
-
27
-	function decode(s) {
28
-		return config.raw ? s : decodeURIComponent(s);
29
-	}
30
-
31
-	function stringifyCookieValue(value) {
32
-		return encode(config.json ? JSON.stringify(value) : String(value));
33
-	}
34
-
35
-	function parseCookieValue(s) {
36
-		if (s.indexOf('"') === 0) {
37
-			// This is a quoted cookie as according to RFC2068, unescape...
38
-			s = s.slice(1, -1).replace(/\\"/g, '"').replace(/\\\\/g, '\\');
39
-		}
40
-
41
-		try {
42
-			// Replace server-side written pluses with spaces.
43
-			// If we can't decode the cookie, ignore it, it's unusable.
44
-			// If we can't parse the cookie, ignore it, it's unusable.
45
-			s = decodeURIComponent(s.replace(pluses, ' '));
46
-			return config.json ? JSON.parse(s) : s;
47
-		} catch(e) {}
48
-	}
49
-
50
-	function read(s, converter) {
51
-		var value = config.raw ? s : parseCookieValue(s);
52
-		return $.isFunction(converter) ? converter(value) : value;
53
-	}
54
-
55
-	var config = $.cookie = function (key, value, options) {
56
-
57
-		// Write
58
-
59
-		if (value !== undefined && !$.isFunction(value)) {
60
-			options = $.extend({}, config.defaults, options);
61
-
62
-			if (typeof options.expires === 'number') {
63
-				var days = options.expires, t = options.expires = new Date();
64
-				t.setTime(+t + days * 864e+5);
65
-			}
66
-
67
-			return (document.cookie = [
68
-				encode(key), '=', stringifyCookieValue(value),
69
-				options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE
70
-				options.path    ? '; path=' + options.path : '',
71
-				options.domain  ? '; domain=' + options.domain : '',
72
-				options.secure  ? '; secure' : ''
73
-			].join(''));
74
-		}
75
-
76
-		// Read
77
-
78
-		var result = key ? undefined : {};
79
-
80
-		// To prevent the for loop in the first place assign an empty array
81
-		// in case there are no cookies at all. Also prevents odd result when
82
-		// calling $.cookie().
83
-		var cookies = document.cookie ? document.cookie.split('; ') : [];
84
-
85
-		for (var i = 0, l = cookies.length; i < l; i++) {
86
-			var parts = cookies[i].split('=');
87
-			var name = decode(parts.shift());
88
-			var cookie = parts.join('=');
89
-
90
-			if (key && key === name) {
91
-				// If second argument (value) is a function it's a converter...
92
-				result = read(cookie, value);
93
-				break;
94
-			}
95
-
96
-			// Prevent storing a cookie that we couldn't decode.
97
-			if (!key && (cookie = read(cookie)) !== undefined) {
98
-				result[name] = cookie;
99
-			}
100
-		}
101
-
102
-		return result;
103
-	};
104
-
105
-	config.defaults = {};
106
-
107
-	$.removeCookie = function (key, options) {
108
-		if ($.cookie(key) === undefined) {
109
-			return false;
110
-		}
111
-
112
-		// Must not alter options, thus extending a fresh object...
113
-		$.cookie(key, '', $.extend({}, options, { expires: -1 }));
114
-		return !$.cookie(key);
115
-	};
116
-
117
-}));

+ 0 - 229
WebChartNewest/js - 副本/jq/jquery.md5.js

@@ -1,229 +0,0 @@
1
-	/**
2
-	 * jQuery MD5 hash algorithm function
3
-	 * 
4
-	 * 	<code>
5
-	 * 		Calculate the md5 hash of a String 
6
-	 * 		String $.md5 ( String str )
7
-	 * 	</code>
8
-	 * 
9
-	 * Calculates the MD5 hash of str using the » RSA Data Security, Inc. MD5 Message-Digest Algorithm, and returns that hash. 
10
-	 * MD5 (Message-Digest algorithm 5) is a widely-used cryptographic hash function with a 128-bit hash value. MD5 has been employed in a wide variety of security applications, and is also commonly used to check the integrity of data. The generated hash is also non-reversable. Data cannot be retrieved from the message digest, the digest uniquely identifies the data.
11
-	 * MD5 was developed by Professor Ronald L. Rivest in 1994. Its 128 bit (16 byte) message digest makes it a faster implementation than SHA-1.
12
-	 * This script is used to process a variable length message into a fixed-length output of 128 bits using the MD5 algorithm. It is fully compatible with UTF-8 encoding. It is very useful when u want to transfer encrypted passwords over the internet. If you plan using UTF-8 encoding in your project don't forget to set the page encoding to UTF-8 (Content-Type meta tag). 
13
-	 * This function orginally get from the WebToolkit and rewrite for using as the jQuery plugin.
14
-	 * 
15
-	 * Example
16
-	 * 	Code
17
-	 * 		<code>
18
-	 * 			$.md5("I'm Persian."); 
19
-	 * 		</code>
20
-	 * 	Result
21
-	 * 		<code>
22
-	 * 			"b8c901d0f02223f9761016cfff9d68df"
23
-	 * 		</code>
24
-	 * 
25
-	 * @alias Muhammad Hussein Fattahizadeh < muhammad [AT] semnanweb [DOT] com >
26
-	 * @link http://www.semnanweb.com/jquery-plugin/md5.html
27
-	 * @see http://www.webtoolkit.info/
28
-	 * @license http://www.gnu.org/licenses/gpl.html [GNU General Public License]
29
-	 * @param {jQuery} {md5:function(string))
30
-	 * @return string
31
-	 */
32
-	
33
-	(function($){
34
-		
35
-		var rotateLeft = function(lValue, iShiftBits) {
36
-			return (lValue << iShiftBits) | (lValue >>> (32 - iShiftBits));
37
-		}
38
-		
39
-		var addUnsigned = function(lX, lY) {
40
-			var lX4, lY4, lX8, lY8, lResult;
41
-			lX8 = (lX & 0x80000000);
42
-			lY8 = (lY & 0x80000000);
43
-			lX4 = (lX & 0x40000000);
44
-			lY4 = (lY & 0x40000000);
45
-			lResult = (lX & 0x3FFFFFFF) + (lY & 0x3FFFFFFF);
46
-			if (lX4 & lY4) return (lResult ^ 0x80000000 ^ lX8 ^ lY8);
47
-			if (lX4 | lY4) {
48
-				if (lResult & 0x40000000) return (lResult ^ 0xC0000000 ^ lX8 ^ lY8);
49
-				else return (lResult ^ 0x40000000 ^ lX8 ^ lY8);
50
-			} else {
51
-				return (lResult ^ lX8 ^ lY8);
52
-			}
53
-		}
54
-		
55
-		var F = function(x, y, z) {
56
-			return (x & y) | ((~ x) & z);
57
-		}
58
-		
59
-		var G = function(x, y, z) {
60
-			return (x & z) | (y & (~ z));
61
-		}
62
-		
63
-		var H = function(x, y, z) {
64
-			return (x ^ y ^ z);
65
-		}
66
-		
67
-		var I = function(x, y, z) {
68
-			return (y ^ (x | (~ z)));
69
-		}
70
-		
71
-		var FF = function(a, b, c, d, x, s, ac) {
72
-			a = addUnsigned(a, addUnsigned(addUnsigned(F(b, c, d), x), ac));
73
-			return addUnsigned(rotateLeft(a, s), b);
74
-		};
75
-		
76
-		var GG = function(a, b, c, d, x, s, ac) {
77
-			a = addUnsigned(a, addUnsigned(addUnsigned(G(b, c, d), x), ac));
78
-			return addUnsigned(rotateLeft(a, s), b);
79
-		};
80
-		
81
-		var HH = function(a, b, c, d, x, s, ac) {
82
-			a = addUnsigned(a, addUnsigned(addUnsigned(H(b, c, d), x), ac));
83
-			return addUnsigned(rotateLeft(a, s), b);
84
-		};
85
-		
86
-		var II = function(a, b, c, d, x, s, ac) {
87
-			a = addUnsigned(a, addUnsigned(addUnsigned(I(b, c, d), x), ac));
88
-			return addUnsigned(rotateLeft(a, s), b);
89
-		};
90
-		
91
-		var convertToWordArray = function(string) {
92
-			var lWordCount;
93
-			var lMessageLength = string.length;
94
-			var lNumberOfWordsTempOne = lMessageLength + 8;
95
-			var lNumberOfWordsTempTwo = (lNumberOfWordsTempOne - (lNumberOfWordsTempOne % 64)) / 64;
96
-			var lNumberOfWords = (lNumberOfWordsTempTwo + 1) * 16;
97
-			var lWordArray = Array(lNumberOfWords - 1);
98
-			var lBytePosition = 0;
99
-			var lByteCount = 0;
100
-			while (lByteCount < lMessageLength) {
101
-				lWordCount = (lByteCount - (lByteCount % 4)) / 4;
102
-				lBytePosition = (lByteCount % 4) * 8;
103
-				lWordArray[lWordCount] = (lWordArray[lWordCount] | (string.charCodeAt(lByteCount) << lBytePosition));
104
-				lByteCount++;
105
-			}
106
-			lWordCount = (lByteCount - (lByteCount % 4)) / 4;
107
-			lBytePosition = (lByteCount % 4) * 8;
108
-			lWordArray[lWordCount] = lWordArray[lWordCount] | (0x80 << lBytePosition);
109
-			lWordArray[lNumberOfWords - 2] = lMessageLength << 3;
110
-			lWordArray[lNumberOfWords - 1] = lMessageLength >>> 29;
111
-			return lWordArray;
112
-		};
113
-		
114
-		var wordToHex = function(lValue) {
115
-			var WordToHexValue = "", WordToHexValueTemp = "", lByte, lCount;
116
-			for (lCount = 0; lCount <= 3; lCount++) {
117
-				lByte = (lValue >>> (lCount * 8)) & 255;
118
-				WordToHexValueTemp = "0" + lByte.toString(16);
119
-				WordToHexValue = WordToHexValue + WordToHexValueTemp.substr(WordToHexValueTemp.length - 2, 2);
120
-			}
121
-			return WordToHexValue;
122
-		};
123
-		
124
-		var uTF8Encode = function(string) {
125
-			string = string.replace(/\x0d\x0a/g, "\x0a");
126
-			var output = "";
127
-			for (var n = 0; n < string.length; n++) {
128
-				var c = string.charCodeAt(n);
129
-				if (c < 128) {
130
-					output += String.fromCharCode(c);
131
-				} else if ((c > 127) && (c < 2048)) {
132
-					output += String.fromCharCode((c >> 6) | 192);
133
-					output += String.fromCharCode((c & 63) | 128);
134
-				} else {
135
-					output += String.fromCharCode((c >> 12) | 224);
136
-					output += String.fromCharCode(((c >> 6) & 63) | 128);
137
-					output += String.fromCharCode((c & 63) | 128);
138
-				}
139
-			}
140
-			return output;
141
-		};
142
-		
143
-		$.extend({
144
-			md5: function(string) {
145
-				var x = Array();
146
-				var k, AA, BB, CC, DD, a, b, c, d;
147
-				var S11=7, S12=12, S13=17, S14=22;
148
-				var S21=5, S22=9 , S23=14, S24=20;
149
-				var S31=4, S32=11, S33=16, S34=23;
150
-				var S41=6, S42=10, S43=15, S44=21;
151
-				string = uTF8Encode(string);
152
-				x = convertToWordArray(string);
153
-				a = 0x67452301; b = 0xEFCDAB89; c = 0x98BADCFE; d = 0x10325476;
154
-				for (k = 0; k < x.length; k += 16) {
155
-					AA = a; BB = b; CC = c; DD = d;
156
-					a = FF(a, b, c, d, x[k+0],  S11, 0xD76AA478);
157
-					d = FF(d, a, b, c, x[k+1],  S12, 0xE8C7B756);
158
-					c = FF(c, d, a, b, x[k+2],  S13, 0x242070DB);
159
-					b = FF(b, c, d, a, x[k+3],  S14, 0xC1BDCEEE);
160
-					a = FF(a, b, c, d, x[k+4],  S11, 0xF57C0FAF);
161
-					d = FF(d, a, b, c, x[k+5],  S12, 0x4787C62A);
162
-					c = FF(c, d, a, b, x[k+6],  S13, 0xA8304613);
163
-					b = FF(b, c, d, a, x[k+7],  S14, 0xFD469501);
164
-					a = FF(a, b, c, d, x[k+8],  S11, 0x698098D8);
165
-					d = FF(d, a, b, c, x[k+9],  S12, 0x8B44F7AF);
166
-					c = FF(c, d, a, b, x[k+10], S13, 0xFFFF5BB1);
167
-					b = FF(b, c, d, a, x[k+11], S14, 0x895CD7BE);
168
-					a = FF(a, b, c, d, x[k+12], S11, 0x6B901122);
169
-					d = FF(d, a, b, c, x[k+13], S12, 0xFD987193);
170
-					c = FF(c, d, a, b, x[k+14], S13, 0xA679438E);
171
-					b = FF(b, c, d, a, x[k+15], S14, 0x49B40821);
172
-					a = GG(a, b, c, d, x[k+1],  S21, 0xF61E2562);
173
-					d = GG(d, a, b, c, x[k+6],  S22, 0xC040B340);
174
-					c = GG(c, d, a, b, x[k+11], S23, 0x265E5A51);
175
-					b = GG(b, c, d, a, x[k+0],  S24, 0xE9B6C7AA);
176
-					a = GG(a, b, c, d, x[k+5],  S21, 0xD62F105D);
177
-					d = GG(d, a, b, c, x[k+10], S22, 0x2441453);
178
-					c = GG(c, d, a, b, x[k+15], S23, 0xD8A1E681);
179
-					b = GG(b, c, d, a, x[k+4],  S24, 0xE7D3FBC8);
180
-					a = GG(a, b, c, d, x[k+9],  S21, 0x21E1CDE6);
181
-					d = GG(d, a, b, c, x[k+14], S22, 0xC33707D6);
182
-					c = GG(c, d, a, b, x[k+3],  S23, 0xF4D50D87);
183
-					b = GG(b, c, d, a, x[k+8],  S24, 0x455A14ED);
184
-					a = GG(a, b, c, d, x[k+13], S21, 0xA9E3E905);
185
-					d = GG(d, a, b, c, x[k+2],  S22, 0xFCEFA3F8);
186
-					c = GG(c, d, a, b, x[k+7],  S23, 0x676F02D9);
187
-					b = GG(b, c, d, a, x[k+12], S24, 0x8D2A4C8A);
188
-					a = HH(a, b, c, d, x[k+5],  S31, 0xFFFA3942);
189
-					d = HH(d, a, b, c, x[k+8],  S32, 0x8771F681);
190
-					c = HH(c, d, a, b, x[k+11], S33, 0x6D9D6122);
191
-					b = HH(b, c, d, a, x[k+14], S34, 0xFDE5380C);
192
-					a = HH(a, b, c, d, x[k+1],  S31, 0xA4BEEA44);
193
-					d = HH(d, a, b, c, x[k+4],  S32, 0x4BDECFA9);
194
-					c = HH(c, d, a, b, x[k+7],  S33, 0xF6BB4B60);
195
-					b = HH(b, c, d, a, x[k+10], S34, 0xBEBFBC70);
196
-					a = HH(a, b, c, d, x[k+13], S31, 0x289B7EC6);
197
-					d = HH(d, a, b, c, x[k+0],  S32, 0xEAA127FA);
198
-					c = HH(c, d, a, b, x[k+3],  S33, 0xD4EF3085);
199
-					b = HH(b, c, d, a, x[k+6],  S34, 0x4881D05);
200
-					a = HH(a, b, c, d, x[k+9],  S31, 0xD9D4D039);
201
-					d = HH(d, a, b, c, x[k+12], S32, 0xE6DB99E5);
202
-					c = HH(c, d, a, b, x[k+15], S33, 0x1FA27CF8);
203
-					b = HH(b, c, d, a, x[k+2],  S34, 0xC4AC5665);
204
-					a = II(a, b, c, d, x[k+0],  S41, 0xF4292244);
205
-					d = II(d, a, b, c, x[k+7],  S42, 0x432AFF97);
206
-					c = II(c, d, a, b, x[k+14], S43, 0xAB9423A7);
207
-					b = II(b, c, d, a, x[k+5],  S44, 0xFC93A039);
208
-					a = II(a, b, c, d, x[k+12], S41, 0x655B59C3);
209
-					d = II(d, a, b, c, x[k+3],  S42, 0x8F0CCC92);
210
-					c = II(c, d, a, b, x[k+10], S43, 0xFFEFF47D);
211
-					b = II(b, c, d, a, x[k+1],  S44, 0x85845DD1);
212
-					a = II(a, b, c, d, x[k+8],  S41, 0x6FA87E4F);
213
-					d = II(d, a, b, c, x[k+15], S42, 0xFE2CE6E0);
214
-					c = II(c, d, a, b, x[k+6],  S43, 0xA3014314);
215
-					b = II(b, c, d, a, x[k+13], S44, 0x4E0811A1);
216
-					a = II(a, b, c, d, x[k+4],  S41, 0xF7537E82);
217
-					d = II(d, a, b, c, x[k+11], S42, 0xBD3AF235);
218
-					c = II(c, d, a, b, x[k+2],  S43, 0x2AD7D2BB);
219
-					b = II(b, c, d, a, x[k+9],  S44, 0xEB86D391);
220
-					a = addUnsigned(a, AA);
221
-					b = addUnsigned(b, BB);
222
-					c = addUnsigned(c, CC);
223
-					d = addUnsigned(d, DD);
224
-				}
225
-				var tempValue = wordToHex(a) + wordToHex(b) + wordToHex(c) + wordToHex(d);
226
-				return tempValue.toLowerCase();
227
-			}
228
-		});
229
-	})(jQuery);

File diff suppressed because it is too large
+ 0 - 6
WebChartNewest/js - 副本/jq/jquery.min.js


+ 0 - 431
WebChartNewest/js - 副本/laiyuanqudao.js

@@ -1,431 +0,0 @@
1
-		$(document).ready(function() {
2
-
3
-			laydate.render({
4
-				elem: '#time1',
5
-				theme: '#00a1cb'
6
-			});
7
-			laydate.render({
8
-				elem: '#time2',
9
-				theme: '#00a1cb'
10
-			});
11
-			laydate.render({
12
-				elem: '#time3',
13
-				theme: '#00a1cb'
14
-			});
15
-
16
-			laydate.render({
17
-				elem: '#time4',
18
-				theme: '#00a1cb'
19
-			});
20
-			laydate.render({
21
-				elem: '#time5',
22
-				theme: '#00a1cb'
23
-			});
24
-
25
-			var container1 = echarts.init(document.getElementById('container1'));
26
-			container1.setOption({
27
-				tooltip: {
28
-					trigger: 'axis',
29
-					axisPointer: {
30
-						type: 'cross',
31
-						label: {
32
-							show: true,
33
-							backgroundColor: '#030917'
34
-						}
35
-					}
36
-				},
37
-				legend: {
38
-					//				x : '20%',
39
-					//			    y : '25%',
40
-					//				width:"90%",
41
-					//				bottom:0,
42
-					//				data: [],
43
-					//				textStyle: {
44
-					//					color: '#ccc'
45
-					//				},
46
-					show: false
47
-
48
-				},
49
-				xAxis: {
50
-					name: '时间',
51
-					data: [],
52
-					axisLine: {
53
-						lineStyle: {
54
-							color: '#ccc'
55
-						}
56
-					}
57
-				},
58
-				yAxis: {
59
-					name: '数量',
60
-					//				min: 0,
61
-					//				max: 100,
62
-					//				interval: 20,
63
-					splitLine: {
64
-						show: false
65
-					},
66
-					axisLine: {
67
-						lineStyle: {
68
-							color: '#fff'
69
-						}
70
-					}
71
-				},
72
-				series: [],
73
-				color: ['#61a0a9', '#cb885d', '#c4352d', '#314452', '#a88c1e', '#2f5675', '#94c8b1', '#babc2f', '#e86617', '#afe817', '#e8178d']
74
-			});
75
-			
76
-
77
-			function partOne() {
78
-				var index = layer.load(1, {
79
-					shade: [0.5, '#030303'] //0.1透明度的白色背景
80
-				});
81
-				$('.list_one').html('');
82
-				$.ajax({
83
-					type: "get",
84
-					url: huayi.config.callcenter_url + "info/GetAreaCount24ByDate",
85
-					async: true,
86
-					dataType: "json",
87
-					data: {
88
-						date: $('#time1').val()
89
-					},
90
-					success: function(data) {
91
-						if(data.state.toLowerCase() == "success") {
92
-							layer.close(index);
93
-							var con = data.data;
94
-							var part1Axis = con.hours;
95
-							var sers = []
96
-							$(con.cols).each(function(i, n) {
97
-								var html = "";
98
-								var obj = {};
99
-								obj.name = n;
100
-								obj.type = "line";
101
-								obj.smooth = true;
102
-								obj.showAllSymbol = true;
103
-								obj.symbol = "emptyCircle";
104
-								obj.symbolSize = 10;
105
-								obj.data = con.counts[i];
106
-								sers.push(obj);
107
-								//							qunZhongArea.push(n.AreaName);
108
-								//							$('<tr>'+
109
-								//								'<td>'+ n.AreaName +'</td>'+
110
-								//								'<td><a>'+ n.Count +'</a></td>'+
111
-								//							'</tr>').appendTo('.table1 tbody');
112
-								html = '<li>' +
113
-									'<div class="tool_count">' +
114
-									'<span class="iconfont icon-tubiao4 color' + i + ' tbr"></span>' + con.cols[i] + ':'+con.tcounts[i]+'<div class="tooltips clearfix">'+
115
-									'<div class="toolsTitle">'+  con.cols[i] +':'+con.tcounts[i]+'</div>'
116
-								$(con.items[i]).each(function(i, n) {
117
-									html += '<p>' + n.TypeName + ':' + n.Count + '</p>'
118
-								})
119
-								html += '</div>' +
120
-									'</div>' +
121
-									'</li>';
122
-								$('.list_one').append(html);
123
-							})
124
-							container1.setOption({
125
-								xAxis: {
126
-									data: part1Axis
127
-								},
128
-								//							legend: {
129
-								//								data: qunZhongArea.cols
130
-								//							},
131
-								series: sers
132
-							});
133
-
134
-						}
135
-					}
136
-
137
-				});
138
-
139
-			}
140
-
141
-			$('.list').on('click', 'li', function() {
142
-				if($(this).find(".tooltips").css("display") == 'none') {
143
-					$(this).find(".tooltips").show();
144
-					$(this).siblings().find(".tooltips").hide();
145
-				} else {
146
-					$(this).find(".tooltips").hide()
147
-				}
148
-
149
-			})
150
-			$('.part1Btn').click(function() {
151
-				partOne();
152
-			})
153
-
154
-			//受理区域统计 part2
155
-			var shouLiArea = echarts.init(document.getElementById('shouLiArea'));
156
-			shouLiArea.setOption({
157
-//				title: {
158
-//					text: '投诉/举报汇总',
159
-//					x: 'center',
160
-//					textStyle: {
161
-//						color: '#fff',
162
-//						fontSize: 18
163
-//					},
164
-//				},
165
-				tooltip: {
166
-					trigger: 'item',
167
-					formatter: "{a} <br/>{b} : {c} ({d}%)",
168
-					axisPointer: {
169
-						crossStyle: {
170
-							color: '#fff'
171
-						}
172
-					}
173
-				},
174
-				legend: {
175
-					orient: 'vertical',
176
-					bottom: '20%',
177
-					right:'right',
178
-					data: [],
179
-					textStyle: {
180
-						color: '#fff'
181
-					}
182
-				},
183
-				series: [{
184
-					name: '数量统计',
185
-					type: 'pie',
186
-					radius: '55%',
187
-					center: ['35%', '50%'],
188
-					data: [],
189
-					itemStyle: {
190
-						emphasis: {
191
-							shadowBlur: 10,
192
-							shadowOffsetX: 0,
193
-							shadowColor: 'rgba(0, 0, 0, 0.5)'
194
-						},
195
-						normal: {
196
-							label: {
197
-								show: true,
198
-								formatter: '{b} : {c} ({d}%)'
199
-//								formatter: '{c} ({d}%)'
200
-							},
201
-							labelLine: {
202
-								show: true
203
-							}
204
-						}
205
-					},
206
-					label: {
207
-						normal: {
208
-							textStyle: {
209
-								color: '#fff'
210
-							}
211
-						}
212
-					}
213
-				}]
214
-			});
215
-			
216
-			function partTwo(){
217
-				$('.list_two').html(''); 
218
-					var index = layer.load(1, {
219
-			shade: [0.5, '#030303'] //0.1透明度的白色背景
220
-		});
221
-				$.ajax({
222
-					type:"get",
223
-					url:huayi.config.callcenter_url + "info/GetAreaCountByDate",
224
-					async:true,
225
-					dataType:'json',
226
-					data:{
227
-						start:$('#time2').val(),
228
-						end:$('#time3').val()
229
-					},
230
-					success:function(data){
231
-						if(data.state.toLowerCase()=='success'){
232
-							layer.close(index);
233
-							var con=data.data;
234
-							var hsouLiArea_lengend = [];
235
-							var hsouLiArea_ser = [];
236
-							$(con).each(function(i, n) {
237
-								var html = "";
238
-								var hsouLiArea_obj = {};
239
-								if(n.AreaName.indexOf('商丘') != -1) {
240
-									n.AreaName = "市直单位"
241
-								}
242
-								hsouLiArea_lengend.push(n.AreaName);
243
-								hsouLiArea_obj.value = n.Count;
244
-								hsouLiArea_obj.name = n.AreaName;
245
-								hsouLiArea_ser.push(hsouLiArea_obj);
246
-								 
247
-								html = '<li>' +
248
-									'<div class="tool_count">' +
249
-									'<span class="iconfont icon-tubiao3 color' + i + ' tbr"></span>' + n.AreaName + ':' + n.Count + '<div class="tooltips clearfix">'+
250
-										'<div class="toolsTitle">' + n.AreaName + ':' + n.Count + '</div>'
251
-								$(n.Item).each(function(j, m) {
252
-									html += '<p>' + m.TypeName + ':' + m.Count + '</p>'
253
-								})
254
-								html += '</div>' +
255
-									'</div>' +
256
-									'</li>';
257
-								$('.list_two').append(html); 
258
-							})
259
-							shouLiArea.setOption({
260
-								legend: {
261
-									data: hsouLiArea_lengend,
262
-									selected: {
263
-										'当即办理': false
264
-									}
265
-								},
266
-								series: [{
267
-									data: hsouLiArea_ser
268
-								}]
269
-							});
270
-						}
271
-					}
272
-				});
273
-			}
274
-			$('.part2Btn').click(function() {
275
-				partTwo();
276
-			})
277
-			
278
-			//受理渠道24小时统计 part3
279
-			var qd_box = echarts.init(document.getElementById('qd_box'));
280
-			qd_box.setOption({
281
-
282
-				tooltip: {
283
-					trigger: 'axis',
284
-					axisPointer: {
285
-						type: false,
286
-						label: {
287
-							show: true,
288
-							backgroundColor: '#030917'
289
-						}
290
-					},
291
-					//			formatter: function(datas) 
292
-					//	              {
293
-					//	              var res = datas[0].name + '<br/>', val;
294
-					//	                  for(var i = 0, length = datas.length; i < length; i++) {
295
-					//	                        val = (datas[i].value) + '%';
296
-					//	                        res += datas[i].seriesName + ':' + val + '<br/>';
297
-					//	                    }
298
-					//	                    return res;
299
-					//	               }
300
-				},
301
-				legend: {
302
-					top: 30,
303
-					data: [],
304
-					textStyle: {
305
-						color: '#fff'
306
-					}
307
-				},
308
-				xAxis: {
309
-					//			name: '时',
310
-					data: [],
311
-					axisLine: {
312
-						lineStyle: {
313
-							color: '#ccc'
314
-						}
315
-					},
316
-
317
-				},
318
-				yAxis: {
319
-					name: '数量',
320
-					splitLine: {
321
-						show: false
322
-					},
323
-					axisLine: {
324
-						lineStyle: {
325
-							color: '#ccc'
326
-						}
327
-					}
328
-				},
329
-				series: [{
330
-					name: '渠道占比',
331
-					type: 'bar',
332
-					barWidth: 18,
333
-					itemStyle: {
334
-						normal: {
335
-							color: new echarts.graphic.LinearGradient(
336
-								0, 0, 0, 1, [{
337
-										offset: 0,
338
-										color: '#14c8d4'
339
-									},
340
-									{
341
-										offset: 1,
342
-										color: '#43eec6'
343
-									}
344
-								]
345
-							)
346
-						}
347
-					},
348
-					label: {
349
-						normal: {
350
-							show: true,
351
-							position: 'top', //顶部数据显示位置
352
-							formatter: '{c}' // 这里是数据展示的时候显示的数据
353
-						}
354
-					},
355
-					data: []
356
-				}]
357
-
358
-			});
359
-   			
360
-   			function part_three(){
361
-   				$('.list_three').html(''); 
362
-   				var index = layer.load(1, {
363
-			shade: [0.5, '#030303'] //0.1透明度的白色背景
364
-		});
365
-   				$.ajax({
366
-   					type:"get",
367
-   					url: huayi.config.callcenter_url + "info/GetSourcePercentByDate",
368
-					dataType: 'json',
369
-					async: true,
370
-					data:{
371
-						start:$('#time4').val(),
372
-						end:$('#time5').val()
373
-					},
374
-					success:function(data){
375
-						if(data.state.toLowerCase()=='success'){
376
-								layer.close(index);
377
-							var con=data.data;
378
-							var qd_legend = [];
379
-							var qd_sers = [];
380
-							var ser_data = [];
381
-							var qd_label = {
382
-								normal: {
383
-									show: true,
384
-									position: 'inside',
385
-									formatter: '{c}%'
386
-								}
387
-							};
388
-							$(con).each(function(i, n) {
389
-								var htmls="";
390
-								ser_data.push(n.Count)
391
-								qd_legend.push(n.Source);
392
-								htmls = '<li>' +
393
-									'<div class="tool_count">' +
394
-									'<span class="iconfont icon-tubiaozhuzhuangtu color11 tbr"></span>' + n.Source + ':' + n.Count + '<div class="tooltips clearfix">'
395
-								$(n.Item).each(function(j, m) {
396
-									htmls += '<p>' + m.TypeName + ':' + m.Count + '</p>'
397
-								})
398
-								htmls += '</div>' +
399
-									'</div>' +
400
-									'</li>';
401
-								$('.list_three').append(htmls); 
402
-							})
403
-							qd_box.setOption({
404
-								legend: {
405
-									data: qd_legend
406
-								},
407
-
408
-								xAxis: {
409
-									data: qd_legend
410
-								},
411
-								series: {
412
-									data: ser_data
413
-								}
414
-
415
-							});
416
-						}
417
-					}
418
-   				});
419
-   			}
420
-$('.part3Btn').click(function() {
421
-				part_three();
422
-			})
423
-		 Ajax();
424
-		function Ajax() {
425
-			partOne();
426
-			partTwo();
427
-			part_three();
428
-			}
429
-			setInterval(Ajax, huayi.config.indextime);//Ajax调用函数
430
-//				
431
-})

File diff suppressed because it is too large
+ 0 - 2
WebChartNewest/js - 副本/laydate/laydate.js


BIN
WebChartNewest/js - 副本/laydate/theme/default/font/iconfont.eot


File diff suppressed because it is too large
+ 0 - 45
WebChartNewest/js - 副本/laydate/theme/default/font/iconfont.svg


BIN
WebChartNewest/js - 副本/laydate/theme/default/font/iconfont.ttf


BIN
WebChartNewest/js - 副本/laydate/theme/default/font/iconfont.woff


File diff suppressed because it is too large
+ 0 - 2
WebChartNewest/js - 副本/laydate/theme/default/laydate.css


File diff suppressed because it is too large
+ 0 - 2
WebChartNewest/js - 副本/layer/layer.js


File diff suppressed because it is too large
+ 0 - 2
WebChartNewest/js - 副本/layer/mobile/layer.js


File diff suppressed because it is too large
+ 0 - 1
WebChartNewest/js - 副本/layer/mobile/need/layer.css


BIN
WebChartNewest/js - 副本/layer/skin/default/icon-ext.png


BIN
WebChartNewest/js - 副本/layer/skin/default/icon.png


+ 0 - 957
WebChartNewest/js - 副本/layer/skin/default/layer.css

@@ -1,957 +0,0 @@
1
-.layui-layer-imgbar,
2
-.layui-layer-imgtit a,
3
-.layui-layer-tab .layui-layer-title span,
4
-.layui-layer-title {
5
-	text-overflow: ellipsis;
6
-	white-space: nowrap
7
-}
8
-
9
-*html {
10
-	background-image: url(about:blank);
11
-	background-attachment: fixed
12
-}
13
-
14
-html #layuicss-skinlayercss {
15
-	display: none;
16
-	position: absolute;
17
-	width: 1989px
18
-}
19
-
20
-.layui-layer,
21
-.layui-layer-shade {
22
-	position: fixed;
23
-	_position: absolute;
24
-	pointer-events: auto
25
-}
26
-
27
-.layui-layer-shade {
28
-	top: 0;
29
-	left: 0;
30
-	width: 100%;
31
-	height: 100%;
32
-	_height: expression(document.body.offsetHeight+"px")
33
-}
34
-
35
-.layui-layer {
36
-	-webkit-overflow-scrolling: touch;
37
-	top: 150px;
38
-	left: 0;
39
-	margin: 0;
40
-	padding: 0;
41
-	background-color: #fff;
42
-	-webkit-background-clip: content;
43
-	box-shadow: 1px 1px 50px rgba(0, 0, 0, .3)
44
-}
45
-
46
-.layui-layer-close {
47
-	position: absolute
48
-}
49
-
50
-.layui-layer-content {
51
-	position: relative
52
-}
53
-
54
-.layui-layer-border {
55
-	border: 1px solid #B2B2B2;
56
-	border: 1px solid rgba(0, 0, 0, .1);
57
-	box-shadow: 1px 1px 5px rgba(0, 0, 0, .2)
58
-}
59
-
60
-.layui-layer-load {
61
-	background: url(loading-1.gif) center center no-repeat #eee
62
-}
63
-
64
-.layui-layer-ico {
65
-	background: url(icon.png) no-repeat
66
-}
67
-
68
-.layui-layer-btn a,
69
-.layui-layer-dialog .layui-layer-ico,
70
-.layui-layer-setwin a {
71
-	display: inline-block;
72
-	*display: inline;
73
-	*zoom: 1;
74
-	vertical-align: top
75
-}
76
-
77
-.layui-layer-move {
78
-	display: none;
79
-	position: fixed;
80
-	*position: absolute;
81
-	left: 0;
82
-	top: 0;
83
-	width: 100%;
84
-	height: 100%;
85
-	cursor: move;
86
-	opacity: 0;
87
-	filter: alpha(opacity=0);
88
-	background-color: #fff;
89
-	z-index: 2147483647
90
-}
91
-
92
-.layui-layer-resize {
93
-	position: absolute;
94
-	width: 15px;
95
-	height: 15px;
96
-	right: 0;
97
-	bottom: 0;
98
-	cursor: se-resize
99
-}
100
-
101
-.layui-layer {
102
-	border-radius: 2px;
103
-	-webkit-animation-fill-mode: both;
104
-	animation-fill-mode: both;
105
-	-webkit-animation-duration: .3s;
106
-	animation-duration: .3s
107
-}
108
-
109
-@-webkit-keyframes layer-bounceIn {
110
-	0% {
111
-		opacity: 0;
112
-		-webkit-transform: scale(.5);
113
-		transform: scale(.5)
114
-	}
115
-	100% {
116
-		opacity: 1;
117
-		-webkit-transform: scale(1);
118
-		transform: scale(1)
119
-	}
120
-}
121
-
122
-@keyframes layer-bounceIn {
123
-	0% {
124
-		opacity: 0;
125
-		-webkit-transform: scale(.5);
126
-		-ms-transform: scale(.5);
127
-		transform: scale(.5)
128
-	}
129
-	100% {
130
-		opacity: 1;
131
-		-webkit-transform: scale(1);
132
-		-ms-transform: scale(1);
133
-		transform: scale(1)
134
-	}
135
-}
136
-
137
-.layer-anim {
138
-	-webkit-animation-name: layer-bounceIn;
139
-	animation-name: layer-bounceIn
140
-}
141
-
142
-@-webkit-keyframes layer-zoomInDown {
143
-	0% {
144
-		opacity: 0;
145
-		-webkit-transform: scale(.1) translateY(-2000px);
146
-		transform: scale(.1) translateY(-2000px);
147
-		-webkit-animation-timing-function: ease-in-out;
148
-		animation-timing-function: ease-in-out
149
-	}
150
-	60% {
151
-		opacity: 1;
152
-		-webkit-transform: scale(.475) translateY(60px);
153
-		transform: scale(.475) translateY(60px);
154
-		-webkit-animation-timing-function: ease-out;
155
-		animation-timing-function: ease-out
156
-	}
157
-}
158
-
159
-@keyframes layer-zoomInDown {
160
-	0% {
161
-		opacity: 0;
162
-		-webkit-transform: scale(.1) translateY(-2000px);
163
-		-ms-transform: scale(.1) translateY(-2000px);
164
-		transform: scale(.1) translateY(-2000px);
165
-		-webkit-animation-timing-function: ease-in-out;
166
-		animation-timing-function: ease-in-out
167
-	}
168
-	60% {
169
-		opacity: 1;
170
-		-webkit-transform: scale(.475) translateY(60px);
171
-		-ms-transform: scale(.475) translateY(60px);
172
-		transform: scale(.475) translateY(60px);
173
-		-webkit-animation-timing-function: ease-out;
174
-		animation-timing-function: ease-out
175
-	}
176
-}
177
-
178
-.layer-anim-01 {
179
-	-webkit-animation-name: layer-zoomInDown;
180
-	animation-name: layer-zoomInDown
181
-}
182
-
183
-@-webkit-keyframes layer-fadeInUpBig {
184
-	0% {
185
-		opacity: 0;
186
-		-webkit-transform: translateY(2000px);
187
-		transform: translateY(2000px)
188
-	}
189
-	100% {
190
-		opacity: 1;
191
-		-webkit-transform: translateY(0);
192
-		transform: translateY(0)
193
-	}
194
-}
195
-
196
-@keyframes layer-fadeInUpBig {
197
-	0% {
198
-		opacity: 0;
199
-		-webkit-transform: translateY(2000px);
200
-		-ms-transform: translateY(2000px);
201
-		transform: translateY(2000px)
202
-	}
203
-	100% {
204
-		opacity: 1;
205
-		-webkit-transform: translateY(0);
206
-		-ms-transform: translateY(0);
207
-		transform: translateY(0)
208
-	}
209
-}
210
-
211
-.layer-anim-02 {
212
-	-webkit-animation-name: layer-fadeInUpBig;
213
-	animation-name: layer-fadeInUpBig
214
-}
215
-
216
-@-webkit-keyframes layer-zoomInLeft {
217
-	0% {
218
-		opacity: 0;
219
-		-webkit-transform: scale(.1) translateX(-2000px);
220
-		transform: scale(.1) translateX(-2000px);
221
-		-webkit-animation-timing-function: ease-in-out;
222
-		animation-timing-function: ease-in-out
223
-	}
224
-	60% {
225
-		opacity: 1;
226
-		-webkit-transform: scale(.475) translateX(48px);
227
-		transform: scale(.475) translateX(48px);
228
-		-webkit-animation-timing-function: ease-out;
229
-		animation-timing-function: ease-out
230
-	}
231
-}
232
-
233
-@keyframes layer-zoomInLeft {
234
-	0% {
235
-		opacity: 0;
236
-		-webkit-transform: scale(.1) translateX(-2000px);
237
-		-ms-transform: scale(.1) translateX(-2000px);
238
-		transform: scale(.1) translateX(-2000px);
239
-		-webkit-animation-timing-function: ease-in-out;
240
-		animation-timing-function: ease-in-out
241
-	}
242
-	60% {
243
-		opacity: 1;
244
-		-webkit-transform: scale(.475) translateX(48px);
245
-		-ms-transform: scale(.475) translateX(48px);
246
-		transform: scale(.475) translateX(48px);
247
-		-webkit-animation-timing-function: ease-out;
248
-		animation-timing-function: ease-out
249
-	}
250
-}
251
-
252
-.layer-anim-03 {
253
-	-webkit-animation-name: layer-zoomInLeft;
254
-	animation-name: layer-zoomInLeft
255
-}
256
-
257
-@-webkit-keyframes layer-rollIn {
258
-	0% {
259
-		opacity: 0;
260
-		-webkit-transform: translateX(-100%) rotate(-120deg);
261
-		transform: translateX(-100%) rotate(-120deg)
262
-	}
263
-	100% {
264
-		opacity: 1;
265
-		-webkit-transform: translateX(0) rotate(0);
266
-		transform: translateX(0) rotate(0)
267
-	}
268
-}
269
-
270
-@keyframes layer-rollIn {
271
-	0% {
272
-		opacity: 0;
273
-		-webkit-transform: translateX(-100%) rotate(-120deg);
274
-		-ms-transform: translateX(-100%) rotate(-120deg);
275
-		transform: translateX(-100%) rotate(-120deg)
276
-	}
277
-	100% {
278
-		opacity: 1;
279
-		-webkit-transform: translateX(0) rotate(0);
280
-		-ms-transform: translateX(0) rotate(0);
281
-		transform: translateX(0) rotate(0)
282
-	}
283
-}
284
-
285
-.layer-anim-04 {
286
-	-webkit-animation-name: layer-rollIn;
287
-	animation-name: layer-rollIn
288
-}
289
-
290
-@keyframes layer-fadeIn {
291
-	0% {
292
-		opacity: 0
293
-	}
294
-	100% {
295
-		opacity: 1
296
-	}
297
-}
298
-
299
-.layer-anim-05 {
300
-	-webkit-animation-name: layer-fadeIn;
301
-	animation-name: layer-fadeIn
302
-}
303
-
304
-@-webkit-keyframes layer-shake {
305
-	0%,
306
-	100% {
307
-		-webkit-transform: translateX(0);
308
-		transform: translateX(0)
309
-	}
310
-	10%,
311
-	30%,
312
-	50%,
313
-	70%,
314
-	90% {
315
-		-webkit-transform: translateX(-10px);
316
-		transform: translateX(-10px)
317
-	}
318
-	20%,
319
-	40%,
320
-	60%,
321
-	80% {
322
-		-webkit-transform: translateX(10px);
323
-		transform: translateX(10px)
324
-	}
325
-}
326
-
327
-@keyframes layer-shake {
328
-	0%,
329
-	100% {
330
-		-webkit-transform: translateX(0);
331
-		-ms-transform: translateX(0);
332
-		transform: translateX(0)
333
-	}
334
-	10%,
335
-	30%,
336
-	50%,
337
-	70%,
338
-	90% {
339
-		-webkit-transform: translateX(-10px);
340
-		-ms-transform: translateX(-10px);
341
-		transform: translateX(-10px)
342
-	}
343
-	20%,
344
-	40%,
345
-	60%,
346
-	80% {
347
-		-webkit-transform: translateX(10px);
348
-		-ms-transform: translateX(10px);
349
-		transform: translateX(10px)
350
-	}
351
-}
352
-
353
-.layer-anim-06 {
354
-	-webkit-animation-name: layer-shake;
355
-	animation-name: layer-shake
356
-}
357
-
358
-@-webkit-keyframes fadeIn {
359
-	0% {
360
-		opacity: 0
361
-	}
362
-	100% {
363
-		opacity: 1
364
-	}
365
-}
366
-
367
-.layui-layer-title {
368
-	padding: 0 80px 0 20px;
369
-	height: 42px;
370
-	line-height: 42px;
371
-	border-bottom: 1px solid #eee;
372
-	font-size: 16px;
373
-	color: #FFFFFF;
374
-	overflow: hidden;
375
-	background-color:  #23c6c8;
376
-	border-radius: 2px 2px 0 0
377
-}
378
-
379
-.layui-layer-setwin {
380
-	position: absolute;
381
-	right: 15px;
382
-	*right: 0;
383
-	top: 15px;
384
-	font-size: 0;
385
-	line-height: initial
386
-}
387
-
388
-.layui-layer-setwin a {
389
-	position: relative;
390
-	width: 16px;
391
-	height: 16px;
392
-	margin-left: 10px;
393
-	font-size: 12px;
394
-	_overflow: hidden
395
-}
396
-
397
-.layui-layer-setwin .layui-layer-min cite {
398
-	position: absolute;
399
-	width: 14px;
400
-	height: 2px;
401
-	left: 0;
402
-	top: 50%;
403
-	margin-top: -1px;
404
-	background-color: #2E2D3C;
405
-	cursor: pointer;
406
-	_overflow: hidden
407
-}
408
-
409
-.layui-layer-setwin .layui-layer-min:hover cite {
410
-	background-color: #2D93CA
411
-}
412
-
413
-.layui-layer-setwin .layui-layer-max {
414
-	background-position: -32px -40px
415
-}
416
-
417
-.layui-layer-setwin .layui-layer-max:hover {
418
-	background-position: -16px -40px
419
-}
420
-
421
-.layui-layer-setwin .layui-layer-maxmin {
422
-	background-position: -65px -40px
423
-}
424
-
425
-.layui-layer-setwin .layui-layer-maxmin:hover {
426
-	background-position: -49px -40px
427
-}
428
-
429
-.layui-layer-setwin .layui-layer-close1 {
430
-	background-position: 1px -40px;
431
-	cursor: pointer;
432
-	color: #FFFFFF;
433
-}
434
-
435
-.layui-layer-setwin .layui-layer-close1:hover {
436
-	opacity: .7
437
-}
438
-
439
-.layui-layer-setwin .layui-layer-close2 {
440
-	position: absolute;
441
-	right: -28px;
442
-	top: -28px;
443
-	width: 30px;
444
-	height: 30px;
445
-	margin-left: 0;
446
-	background-position: -149px -31px;
447
-	*right: -18px;
448
-	_display: none
449
-}
450
-
451
-.layui-layer-setwin .layui-layer-close2:hover {
452
-	background-position: -180px -31px
453
-}
454
-
455
-.layui-layer-btn {
456
-	text-align: right;
457
-	padding: 0 10px 12px;
458
-	pointer-events: auto;
459
-	user-select: none;
460
-	-webkit-user-select: none
461
-}
462
-
463
-.layui-layer-btn a {
464
-	height: 28px;
465
-	line-height: 28px;
466
-	margin: 6px 6px 0;
467
-	padding: 0 15px;
468
-	border: 1px solid #dedede;
469
-	background-color: #f1f1f1;
470
-	color: #333;
471
-	border-radius: 2px;
472
-	font-weight: 400;
473
-	cursor: pointer;
474
-	text-decoration: none
475
-}
476
-
477
-.layui-layer-btn a:hover {
478
-	opacity: .9;
479
-	text-decoration: none
480
-}
481
-
482
-.layui-layer-btn a:active {
483
-	opacity: .8
484
-}
485
-
486
-.layui-layer-btn .layui-layer-btn0 {
487
-	border-color: #4898d5;
488
-	background-color: #2e8ded;
489
-	color: #fff
490
-}
491
-
492
-.layui-layer-btn-l {
493
-	text-align: left
494
-}
495
-
496
-.layui-layer-btn-c {
497
-	text-align: center
498
-}
499
-
500
-.layui-layer-dialog {
501
-	min-width: 260px
502
-}
503
-
504
-.layui-layer-dialog .layui-layer-content {
505
-	position: relative;
506
-	padding: 20px;
507
-	line-height: 24px;
508
-	word-break: break-all;
509
-	overflow: hidden;
510
-	font-size: 14px;
511
-	overflow-x: hidden;
512
-	overflow-y: auto
513
-}
514
-
515
-.layui-layer-dialog .layui-layer-content .layui-layer-ico {
516
-	position: absolute;
517
-	top: 16px;
518
-	left: 15px;
519
-	_left: -40px;
520
-	width: 30px;
521
-	height: 30px
522
-}
523
-
524
-.layui-layer-ico1 {
525
-	background-position: -30px 0
526
-}
527
-
528
-.layui-layer-ico2 {
529
-	background-position: -60px 0
530
-}
531
-
532
-.layui-layer-ico3 {
533
-	background-position: -90px 0
534
-}
535
-
536
-.layui-layer-ico4 {
537
-	background-position: -120px 0
538
-}
539
-
540
-.layui-layer-ico5 {
541
-	background-position: -150px 0
542
-}
543
-
544
-.layui-layer-ico6 {
545
-	background-position: -180px 0
546
-}
547
-
548
-.layui-layer-rim {
549
-	border: 6px solid #8D8D8D;
550
-	border: 6px solid rgba(0, 0, 0, .3);
551
-	border-radius: 5px;
552
-	box-shadow: none
553
-}
554
-
555
-.layui-layer-msg {
556
-	min-width: 180px;
557
-	border: 1px solid #D3D4D3;
558
-	box-shadow: none
559
-}
560
-
561
-.layui-layer-hui {
562
-	min-width: 100px;
563
-	background-color: #000;
564
-	filter: alpha(opacity=60);
565
-	background-color: rgba(0, 0, 0, .6);
566
-	color: #fff;
567
-	border: none
568
-}
569
-
570
-.layui-layer-hui .layui-layer-content {
571
-	padding: 12px 25px;
572
-	text-align: center
573
-}
574
-
575
-.layui-layer-dialog .layui-layer-padding {
576
-	padding: 20px 20px 20px 55px;
577
-	text-align: left
578
-}
579
-
580
-.layui-layer-page .layui-layer-content {
581
-	position: relative;
582
-	overflow: auto
583
-}
584
-
585
-.layui-layer-iframe .layui-layer-btn,
586
-.layui-layer-page .layui-layer-btn {
587
-	padding-top: 10px
588
-}
589
-
590
-.layui-layer-nobg {
591
-	background: 0 0
592
-}
593
-
594
-.layui-layer-iframe iframe {
595
-	display: block;
596
-	width: 100%
597
-}
598
-
599
-.layui-layer-loading {
600
-	border-radius: 100%;
601
-	background: 0 0;
602
-	box-shadow: none;
603
-	border: none
604
-}
605
-
606
-.layui-layer-loading .layui-layer-content {
607
-	width: 60px;
608
-	height: 24px;
609
-	background: url(loading-0.gif) no-repeat
610
-}
611
-
612
-.layui-layer-loading .layui-layer-loading1 {
613
-	width: 37px;
614
-	height: 37px;
615
-	background: url(loading-1.gif) no-repeat
616
-}
617
-
618
-.layui-layer-ico16,
619
-.layui-layer-loading .layui-layer-loading2 {
620
-	width: 32px;
621
-	height: 32px;
622
-	background: url(loading-2.gif) no-repeat
623
-}
624
-
625
-.layui-layer-tips {
626
-	background: 0 0;
627
-	box-shadow: none;
628
-	border: none
629
-}
630
-
631
-.layui-layer-tips .layui-layer-content {
632
-	position: relative;
633
-	line-height: 22px;
634
-	min-width: 12px;
635
-	padding: 5px 10px;
636
-	font-size: 12px;
637
-	_float: left;
638
-	border-radius: 2px;
639
-	box-shadow: 1px 1px 3px rgba(0, 0, 0, .2);
640
-	background-color: #000;
641
-	color: #fff
642
-}
643
-
644
-.layui-layer-tips .layui-layer-close {
645
-	right: -2px;
646
-	top: -1px
647
-}
648
-
649
-.layui-layer-tips i.layui-layer-TipsG {
650
-	position: absolute;
651
-	width: 0;
652
-	height: 0;
653
-	border-width: 8px;
654
-	border-color: transparent;
655
-	border-style: dashed;
656
-	*overflow: hidden
657
-}
658
-
659
-.layui-layer-tips i.layui-layer-TipsB,
660
-.layui-layer-tips i.layui-layer-TipsT {
661
-	left: 5px;
662
-	border-right-style: solid;
663
-	border-right-color: #000
664
-}
665
-
666
-.layui-layer-tips i.layui-layer-TipsT {
667
-	bottom: -8px
668
-}
669
-
670
-.layui-layer-tips i.layui-layer-TipsB {
671
-	top: -8px
672
-}
673
-
674
-.layui-layer-tips i.layui-layer-TipsL,
675
-.layui-layer-tips i.layui-layer-TipsR {
676
-	top: 1px;
677
-	border-bottom-style: solid;
678
-	border-bottom-color: #000
679
-}
680
-
681
-.layui-layer-tips i.layui-layer-TipsR {
682
-	left: -8px
683
-}
684
-
685
-.layui-layer-tips i.layui-layer-TipsL {
686
-	right: -8px
687
-}
688
-
689
-.layui-layer-lan[type=dialog] {
690
-	min-width: 280px
691
-}
692
-
693
-.layui-layer-lan .layui-layer-title {
694
-	background: #4476A7;
695
-	color: #fff;
696
-	border: none
697
-}
698
-
699
-.layui-layer-lan .layui-layer-btn {
700
-	padding: 5px 10px 10px;
701
-	text-align: right;
702
-	border-top: 1px solid #E9E7E7
703
-}
704
-
705
-.layui-layer-lan .layui-layer-btn a {
706
-	background: #BBB5B5;
707
-	border: none
708
-}
709
-
710
-.layui-layer-lan .layui-layer-btn .layui-layer-btn1 {
711
-	background: #C9C5C5
712
-}
713
-
714
-.layui-layer-molv .layui-layer-title {
715
-	background: #009f95;
716
-	color: #fff;
717
-	border: none
718
-}
719
-
720
-.layui-layer-molv .layui-layer-btn a {
721
-	background: #009f95
722
-}
723
-
724
-.layui-layer-molv .layui-layer-btn .layui-layer-btn1 {
725
-	background: #92B8B1
726
-}
727
-
728
-.layui-layer-iconext {
729
-	background: url(icon-ext.png) no-repeat
730
-}
731
-
732
-.layui-layer-prompt .layui-layer-input {
733
-	display: block;
734
-	width: 220px;
735
-	height: 30px;
736
-	margin: 0 auto;
737
-	line-height: 30px;
738
-	padding: 0 5px;
739
-	border: 1px solid #ccc;
740
-	box-shadow: 1px 1px 5px rgba(0, 0, 0, .1) inset;
741
-	color: #333
742
-}
743
-
744
-.layui-layer-prompt textarea.layui-layer-input {
745
-	width: 300px;
746
-	height: 100px;
747
-	line-height: 20px
748
-}
749
-
750
-.layui-layer-prompt .layui-layer-content {
751
-	padding: 20px
752
-}
753
-
754
-.layui-layer-prompt .layui-layer-btn {
755
-	padding-top: 0
756
-}
757
-
758
-.layui-layer-tab {
759
-	box-shadow: 1px 1px 50px rgba(0, 0, 0, .4)
760
-}
761
-
762
-.layui-layer-tab .layui-layer-title {
763
-	padding-left: 0;
764
-	border-bottom: 1px solid #ccc;
765
-	background-color: #eee;
766
-	overflow: visible
767
-}
768
-
769
-.layui-layer-tab .layui-layer-title span {
770
-	position: relative;
771
-	float: left;
772
-	min-width: 80px;
773
-	max-width: 260px;
774
-	padding: 0 20px;
775
-	text-align: center;
776
-	cursor: default;
777
-	overflow: hidden
778
-}
779
-
780
-.layui-layer-tab .layui-layer-title span.layui-layer-tabnow {
781
-	height: 43px;
782
-	border-left: 1px solid #ccc;
783
-	border-right: 1px solid #ccc;
784
-	background-color: #fff;
785
-	z-index: 10
786
-}
787
-
788
-.layui-layer-tab .layui-layer-title span:first-child {
789
-	border-left: none
790
-}
791
-
792
-.layui-layer-tabmain {
793
-	line-height: 24px;
794
-	clear: both
795
-}
796
-
797
-.layui-layer-tabmain .layui-layer-tabli {
798
-	display: none
799
-}
800
-
801
-.layui-layer-tabmain .layui-layer-tabli.xubox_tab_layer {
802
-	display: block
803
-}
804
-
805
-.xubox_tabclose {
806
-	position: absolute;
807
-	right: 10px;
808
-	top: 5px;
809
-	cursor: pointer
810
-}
811
-
812
-.layui-layer-photos {
813
-	-webkit-animation-duration: .8s;
814
-	animation-duration: .8s
815
-}
816
-
817
-.layui-layer-photos .layui-layer-content {
818
-	overflow: hidden;
819
-	text-align: center
820
-}
821
-
822
-.layui-layer-photos .layui-layer-phimg img {
823
-	position: relative;
824
-	width: 100%;
825
-	display: inline-block;
826
-	*display: inline;
827
-	*zoom: 1;
828
-	vertical-align: top
829
-}
830
-
831
-.layui-layer-imgbar,
832
-.layui-layer-imguide {
833
-	display: none
834
-}
835
-
836
-.layui-layer-imgnext,
837
-.layui-layer-imgprev {
838
-	position: absolute;
839
-	top: 50%;
840
-	width: 27px;
841
-	_width: 44px;
842
-	height: 44px;
843
-	margin-top: -22px;
844
-	outline: 0;
845
-	blr: expression(this.onFocus=this.blur())
846
-}
847
-
848
-.layui-layer-imgprev {
849
-	left: 10px;
850
-	background-position: -5px -5px;
851
-	_background-position: -70px -5px
852
-}
853
-
854
-.layui-layer-imgprev:hover {
855
-	background-position: -33px -5px;
856
-	_background-position: -120px -5px
857
-}
858
-
859
-.layui-layer-imgnext {
860
-	right: 10px;
861
-	_right: 8px;
862
-	background-position: -5px -50px;
863
-	_background-position: -70px -50px
864
-}
865
-
866
-.layui-layer-imgnext:hover {
867
-	background-position: -33px -50px;
868
-	_background-position: -120px -50px
869
-}
870
-
871
-.layui-layer-imgbar {
872
-	position: absolute;
873
-	left: 0;
874
-	bottom: 0;
875
-	width: 100%;
876
-	height: 32px;
877
-	line-height: 32px;
878
-	background-color: rgba(0, 0, 0, .8);
879
-	background-color: #000\9;
880
-	filter: Alpha(opacity=80);
881
-	color: #fff;
882
-	overflow: hidden;
883
-	font-size: 0
884
-}
885
-
886
-.layui-layer-imgtit * {
887
-	display: inline-block;
888
-	*display: inline;
889
-	*zoom: 1;
890
-	vertical-align: top;
891
-	font-size: 12px
892
-}
893
-
894
-.layui-layer-imgtit a {
895
-	max-width: 65%;
896
-	overflow: hidden;
897
-	color: #fff
898
-}
899
-
900
-.layui-layer-imgtit a:hover {
901
-	color: #fff;
902
-	text-decoration: underline
903
-}
904
-
905
-.layui-layer-imgtit em {
906
-	padding-left: 10px;
907
-	font-style: normal
908
-}
909
-
910
-@-webkit-keyframes layer-bounceOut {
911
-	100% {
912
-		opacity: 0;
913
-		-webkit-transform: scale(.7);
914
-		transform: scale(.7)
915
-	}
916
-	30% {
917
-		-webkit-transform: scale(1.05);
918
-		transform: scale(1.05)
919
-	}
920
-	0% {
921
-		-webkit-transform: scale(1);
922
-		transform: scale(1)
923
-	}
924
-}
925
-
926
-@keyframes layer-bounceOut {
927
-	100% {
928
-		opacity: 0;
929
-		-webkit-transform: scale(.7);
930
-		-ms-transform: scale(.7);
931
-		transform: scale(.7)
932
-	}
933
-	30% {
934
-		-webkit-transform: scale(1.05);
935
-		-ms-transform: scale(1.05);
936
-		transform: scale(1.05)
937
-	}
938
-	0% {
939
-		-webkit-transform: scale(1);
940
-		-ms-transform: scale(1);
941
-		transform: scale(1)
942
-	}
943
-}
944
-
945
-.layer-anim-close {
946
-	-webkit-animation-name: layer-bounceOut;
947
-	animation-name: layer-bounceOut;
948
-	-webkit-animation-duration: .2s;
949
-	animation-duration: .2s
950
-}
951
-
952
-@media screen and (max-width:1100px) {
953
-	.layui-layer-iframe {
954
-		overflow-y: auto;
955
-		-webkit-overflow-scrolling: touch
956
-	}
957
-}

BIN
WebChartNewest/js - 副本/layer/skin/default/loading-0.gif


BIN
WebChartNewest/js - 副本/layer/skin/default/loading-1.gif


BIN
WebChartNewest/js - 副本/layer/skin/default/loading-2.gif


+ 0 - 0
WebChartNewest/js - 副本/login.js


+ 0 - 274
WebChartNewest/js - 副本/main.js

@@ -1,274 +0,0 @@
1
-if (typeof console == "undefined") {
2
-	this.console = {
3
-		log: function(msg) {}
4
-	};
5
-}
6
-// 如果浏览器不支持websocket,会使用这个flash自动模拟websocket协议,此过程对开发者透明
7
-WEB_SOCKET_SWF_LOCATION = "./js/websocket/WebSocketMain.swf";
8
-// 开启flash的websocket debug
9
-WEB_SOCKET_DEBUG = true;
10
-
11
-var ws, n = 0,
12
-	timer;
13
-var lockReconnect = false; //避免重复连接
14
-var obj = {};
15
-var Statess;
16
-var cls = 0;
17
-var webData;
18
-var dataLength;
19
-let callDate = [];
20
-
21
-var lasttime = new Date().getTime();
22
-//坐席分析
23
-agentCount();
24
-setInterval(function(){
25
-	agentCount();
26
-},120000)
27
-//坐席数量
28
-function agentCount(){
29
-	$.ajax({
30
-		url: huayi.config.callcenter_url + "SeatMonitoring/getlist",
31
-		data: {},
32
-		async: false,
33
-		dataType:'json',
34
-		success: function(res) {
35
-			dataLength=res.data.length;
36
-		}
37
-	})
38
-}
39
-Connect()
40
-//创建scoket连接
41
-function createWebSocket() {
42
-	try {
43
-		Connect();
44
-	} catch (e) {
45
-		reconnect();
46
-	}
47
-}
48
-//连接
49
-function Connect() {
50
-	//	debugger
51
-	ws = new WebSocket("ws://" + huayi.config.socket_ip + ":" + huayi.config.socket_port);
52
-	ws.onopen = function() {
53
-		console.log(new Date() + "    " + "建立连接");
54
-		//心跳检测重置
55
-		heartCheck.reset().start();
56
-		cls = 0;
57
-		$(".Login").addClass("active");
58
-		lasttime = new Date().getTime();
59
-		//		debugger
60
-		//话务坐席情况
61
-		obj = {
62
-			"Type": 'GetAgentDetail', //话后处理时长设置,0代表一致话后处理,除非发送置闲 (按照历史习惯,字符串形式)
63
-		};
64
-		Send();
65
-	};
66
-	//接收到消息的回调方法
67
-	ws.onmessage = function(evt) {
68
-		//如果获取到消息,心跳检测重置
69
-		//拿到任何消息都说明当前连接是正常的
70
-		heartCheck.reset().start();
71
-		var myDate = new Date();
72
-		webData = JSON.parse(evt.data)[0];
73
-		if(webData.Type=='GetAgentDetail'){
74
-			const outLine=dataLength - webData.AgentOnlineCount;
75
-			callDate = [dataLength, webData.AgentOnlineCount, webData.AgentSpeakCount, webData
76
-				.AgentProcessingCount, webData.AgentReposeCount, webData.AgentFreeCount, outLine
77
-			]
78
-			chart1(callDate);
79
-			
80
-		}
81
-	}
82
-};
83
-//连接关闭的回调方法
84
-ws.onclose = function(evt) {
85
-	if (cls == 0) {
86
-		cls = 1;
87
-		//console.log("连接关闭!");
88
-		//layer.confirm('连接关闭!', {
89
-		//    btn: ['确定']
90
-		//});
91
-		$(".hwzt").text('连接关闭!');
92
-		$("#top-search li i").removeClass("active");
93
-		reconnect();
94
-	}
95
-};
96
-//连接发生错误的回调方法
97
-ws.onerror = function(evt) {
98
-	//产生异常
99
-	$(".hwzt").text('连接出现异常!');
100
-	console.log(ws);
101
-	if (ws == null || ws.readyState != ws.OPEN) {
102
-		console.log(new Date() + "开始重连");
103
-		reconnect();
104
-	}
105
-
106
-};
107
-//}
108
-//重连
109
-function reconnect() {
110
-	if (lockReconnect) return;
111
-	lockReconnect = true;
112
-	//没连接上会一直重连,设置延迟避免请求过多
113
-	setTimeout(function() {
114
-		console.log(new Date() + "    " + "重连中……");
115
-		createWebSocket("ws://" + huayi.config.socket_ip + ":" + huayi.config.socket_port);
116
-		lockReconnect = false;
117
-	}, 2000);
118
-}
119
-
120
-//发送
121
-
122
-function Send() {
123
-	if (ws.readyState != ws.OPEN) {
124
-		reconnect();
125
-	}
126
-	if (ws.readyState == ws.OPEN) {
127
-		console.log(new Date() + "  send  " + JSON.stringify(obj));
128
-		ws.send(JSON.stringify(obj));
129
-	}
130
-}
131
-//心跳检测
132
-var heartCheck = {
133
-	timeout: 25000, //25秒
134
-	timeoutObj: null,
135
-	serverTimeoutObj: null,
136
-	reset: function() {
137
-		clearTimeout(this.timeoutObj);
138
-		clearTimeout(this.serverTimeoutObj);
139
-		return this;
140
-	},
141
-	start: function() {
142
-		var self = this;
143
-		this.timeoutObj = setTimeout(function() {
144
-			//这里发送一个心跳,后端收到后,返回一个心跳消息,
145
-			//onmessage拿到返回的心跳就说明连接正常
146
-			obj.Type = "Heart";
147
-			Send();
148
-			self.serverTimeoutObj = setTimeout(function() { //如果超过一定时间还没重置,说明后端主动断开了
149
-				ws
150
-			.close(); //如果onclose会执行reconnect,我们执行ws.close()就行了.如果直接执行reconnect 会触发onclose导致重连两次
151
-			}, self.timeout)
152
-		}, this.timeout)
153
-	}
154
-}
155
-
156
-function toDub(i) {
157
-	return i < 10 ? "0" + i : "" + i;
158
-}
159
-//默认记忆上次是否签入,是否置忙置闲 0表示已签入 空闲,1表示签入置忙,2表示签出 
160
-function SetStateCookie(state) {
161
-	$.cookie("socket_state", state);
162
-}
163
-
164
-function backstageQueue(data) {
165
-	console.log("123")
166
-	var obj = $("iframe:visible")
167
-	// if (obj.attr("data-id") == "index_v1.html") {
168
-	window.frames[obj.attr("name")].realTimeMonitorQueue(data.WaitCount);
169
-	// }
170
-}
171
-//在线坐席信息
172
-function GetAgentListBack(data) {
173
-	console.log(data)
174
-	$.ajax({
175
-		type: "get",
176
-		url: huayi.config.callcenter_url + "SeatMonitoring/GetAgentList",
177
-		async: true,
178
-		dataType: 'json',
179
-		data: {
180
-			"token": $.cookie("token")
181
-		},
182
-		success: function(result) {
183
-			var user = result.data;
184
-			$(user).each(function(j, m) {
185
-				$(data.AgentList).each(function(k, g) {
186
-					if (g.AgentID == m.UserCode) {
187
-						g.userName = m.UserName;
188
-					}
189
-				})
190
-
191
-			})
192
-			$(data.AgentList).each(function(k, m) {
193
-				var strr = '';
194
-				switch (m.State) {
195
-					case "0":
196
-						strr = "离线";
197
-						break; //离线
198
-					case "1":
199
-						break; //登录中
200
-					case "2":
201
-						strr = "空闲";
202
-						break; //空闲
203
-					case "3":
204
-						strr = "通话中";
205
-						break; //通话中
206
-					case "4":
207
-						strr = "话后处理中";
208
-						break; //话后处理中
209
-					case "5":
210
-						strr = "忙碌";
211
-						break; //小休
212
-					case "6":
213
-						strr = "振铃";
214
-						break; //被请求
215
-					case "7":
216
-						strr = "注销";
217
-						break; //注销
218
-				}
219
-				var html = '<tr fjh="' + m.AgentExten + '">' +
220
-					'<td>' + (m.userName ? '' : m.userName) + '</td>' //姓名
221
-					+
222
-					'<td>' + m.AgentID + '</td>' //工号
223
-					+
224
-					'<td>' + m.AgentExten + '</td>' //分机号
225
-					+
226
-					'<td class=" ' + m.UserCode + 'state">' + strr + '</td>' //状态
227
-					+
228
-					'</tr>';
229
-				$(html).appendTo("#zxTable tbody");
230
-
231
-			})
232
-		}
233
-	});
234
-}
235
-//获取当前的日期时间 格式“yyyy-MM-dd HH:mm:ss”
236
-function getNowFormatDate() {
237
-	var date = new Date();
238
-	var seperator1 = "-";
239
-	var seperator2 = ":";
240
-	var month = date.getMonth() + 1;
241
-	var strDate = date.getDate();
242
-	if (month >= 1 && month <= 9) {
243
-		month = "0" + month;
244
-	}
245
-	if (strDate >= 0 && strDate <= 9) {
246
-		strDate = "0" + strDate;
247
-	}
248
-	var currentdate = date.getFullYear() + seperator1 + month + seperator1 + strDate +
249
-		" " + date.getHours() + seperator2 + date.getMinutes() +
250
-		seperator2 + date.getSeconds();
251
-	return currentdate;
252
-}
253
-
254
-var iswebcloase = 1;
255
-window.onunload = function() {
256
-	if (iswebcloase) {
257
-		iswebcloase = 0;
258
-		if (ws.readyState == ws.OPEN) {
259
-			obj.Type = 'Logout';
260
-			Send();
261
-			ws.onclose();
262
-		}
263
-	}
264
-}
265
-window.onbeforeunload = function() {
266
-	if (iswebcloase) {
267
-		iswebcloase = 0;
268
-		if (ws.readyState == ws.OPEN) {
269
-			obj.Type = 'Logout';
270
-			Send();
271
-			ws.onclose();
272
-		}
273
-	}
274
-}

File diff suppressed because it is too large
+ 0 - 326
WebChartNewest/js - 副本/map.js


File diff suppressed because it is too large
+ 0 - 382
WebChartNewest/js - 副本/map1.js


File diff suppressed because it is too large
+ 0 - 1378
WebChartNewest/js - 副本/newIndex.js


+ 0 - 0
WebChartNewest/js - 副本/pageJs/second_index.js


+ 0 - 192
WebChartNewest/js - 副本/pieChat.js

@@ -1,192 +0,0 @@
1
-
2
-function satisfaction(start, end, areaTwoVal) {
3
-//	if(!areaTwoVal) {
4
-//		areaTwoVal = "sqs12345"
5
-//	}
6
-//	if(!start){
7
-//		start="2019-11-01"
8
-//	} 
9
-//	if(!end){
10
-//		end="2019-11-30"
11
-//	}
12
-	$.ajax({
13
-		type: "get",
14
-		url: huayi.config.callcenter_url + '/info/GetSourceByDateNew',
15
-		async: true,
16
-		dataType: 'json',
17
-		data: {
18
-			start: start,
19
-			end: end,
20
-			branchcode: areaTwoVal
21
-		},
22
-		success: function(data) {
23
-			if(data.state == "success") {
24
-				var sorceData=data.data
25
-				var option = {
26
-//					tooltip: {
27
-//						formatter: "{b} : {c} ({d}%)"
28
-//					},
29
-					tooltip: {
30
-					    formatter: function (val) {
31
-					        // console.log(val);// 打印可以看到里面包含什么
32
-					        var percent = val.data.name+":"+val.data.text;
33
-					        // 下面return的值可以随便填。填你所需要的值就好。
34
-					        return percent;
35
-					    }
36
-					},
37
-					legend: {
38
-						orient: 'vertical',
39
-						top: 'middle',
40
-						x: 'top',
41
-						left: 10,
42
-						top: 0,
43
-						//data: ['12345邮箱', '电话', '市县转单', '手机APP', '网站', '微博', '微信', '政府服务网']
44
-					},
45
-					series: [{
46
-						type: 'pie',
47
-						radius: '70%',
48
-						selectedMode: 'single',
49
-						center: ['50%', '50%'],
50
-						label: {
51
-							normal: {
52
-								show: false,
53
-//								formatter: "{b} : {c} ",
54
-//								textStyle: {
55
-//						            color:''  // 改变标示文字的颜色
56
-//						        }
57
-							}
58
-						},
59
-						itemStyle: {
60
-			                normal: {
61
-//			                	color:function(params) {
62
-//						    	    //自定义颜色
63
-//						    	    var colorList = [           
64
-//				                            '#159FE9','#159FE9','#159FE9','#159FE9','#159FE9',
65
-//						    	     	    '#159FE9','#159FE9','#159FE9'
66
-//						    	    ];
67
-//					    	        return colorList[params.dataIndex]
68
-//					    	    },
69
-					    	    color:'#159FE9',
70
-					    	    //borderWidth:10,	//边框的宽度
71
-			                    opacity:0.3,
72
-			                },
73
-			                emphasis: {
74
-			                	opacity:1,				                	opacity:1
75
-		                    }
76
-			           },
77
-						labelLine: {
78
-							normal: {
79
-								show: false,
80
-//								lineStyle: {
81
-//						            color: ""  // 改变标示线的颜色
82
-//								}
83
-							}
84
-						},
85
-
86
-						data: [{
87
-								value: 0,
88
-								text: sorceData[0].Count,
89
-								name: '12345邮箱',
90
-							},
91
-							{
92
-								value: 0,
93
-								text: sorceData[1].Count,
94
-								name: '电话',
95
-							},
96
-							{
97
-								value: 0,
98
-								text: sorceData[2].Count,
99
-								name: '市县转单',
100
-							},
101
-							{
102
-								value: 0,
103
-								text: sorceData[3].Count,
104
-								name: '手机APP',
105
-							},
106
-							{
107
-								value: 0,
108
-								text: sorceData[4].Count,
109
-								name: '网站',
110
-							},
111
-							{
112
-								value: 0,
113
-								text: sorceData[5].Count,
114
-								name: '微博',
115
-							},
116
-							{
117
-								value: 0,
118
-								text: sorceData[6].Count,
119
-								name: '微信',
120
-							},
121
-							{
122
-								value: 0,
123
-								text: sorceData[7].Count,
124
-								name: '政府服务网',
125
-							}
126
-
127
-						],
128
-
129
-					}]
130
-				};
131
-				echartsPie = echarts.init(document.getElementById('phoneTimeCount'));
132
-
133
-				echartsPie.setOption(option);
134
-			}
135
-
136
-		},
137
-		error: function(data) {
138
-			console.log(data.message);
139
-		}
140
-	});
141
-//	option = {
142
-//		title: {
143
-//			text: '某站点用户访问来源',
144
-//			subtext: '纯属虚构',
145
-//			x: 'center'
146
-//		},
147
-//		tooltip: {
148
-//			trigger: 'item',
149
-//			formatter: "{a} <br/>{b} : {c} ({d}%)"
150
-//		},
151
-//		legend: {
152
-//			orient: 'vertical',
153
-//			left: 'left',
154
-//			data: ['直接访问', '邮件营销', '联盟广告', '视频广告', '搜索引擎']
155
-//		},
156
-//		series: [{
157
-//			name: '访问来源',
158
-//			type: 'pie',
159
-//			radius: '55%',
160
-//			center: ['50%', '60%'],
161
-//			data: [{
162
-//					value: 335,
163
-//					name: '直接访问'
164
-//				},
165
-//				{
166
-//					value: 310,
167
-//					name: '邮件营销'
168
-//				},
169
-//				{
170
-//					value: 234,
171
-//					name: '联盟广告'
172
-//				},
173
-//				{
174
-//					value: 135,
175
-//					name: '视频广告'
176
-//				},
177
-//				{
178
-//					value: 1548,
179
-//					name: '搜索引擎'
180
-//				}
181
-//			],
182
-//			itemStyle: {
183
-//				emphasis: {
184
-//					shadowBlur: 10,
185
-//					shadowOffsetX: 0,
186
-//					shadowColor: 'rgba(0, 0, 0, 0.5)'
187
-//				}
188
-//			}
189
-//		}]
190
-//	}
191
-	
192
-}

+ 0 - 313
WebChartNewest/js - 副本/radialIndicator.js

@@ -1,313 +0,0 @@
1
-/*
2
-    radialIndicator.js v 1.0.0
3
-    Author: Sudhanshu Yadav
4
-    Copyright (c) 2015 Sudhanshu Yadav - ignitersworld.com , released under the MIT license.
5
-    Demo on: ignitersworld.com/lab/radialIndicator.html
6
-*/
7
-
8
-;(function ($, window, document) {
9
-    "use strict";
10
-    //circumfence and quart value to start bar from top
11
-    var circ = Math.PI * 2,
12
-        quart = Math.PI / 2;
13
-
14
-    //function to convert hex to rgb
15
-
16
-    function hexToRgb(hex) {
17
-        // Expand shorthand form (e.g. "03F") to full form (e.g. "0033FF")
18
-        var shorthandRegex = /^#?([a-f\d])([a-f\d])([a-f\d])$/i;
19
-        hex = hex.replace(shorthandRegex, function (m, r, g, b) {
20
-            return r + r + g + g + b + b;
21
-        });
22
-
23
-        var result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex);
24
-        return result ? [parseInt(result[1], 16), parseInt(result[2], 16), parseInt(result[3], 16)] : null;
25
-    }
26
-
27
-    function getPropVal(curShift, perShift, bottomRange, topRange) {
28
-        return Math.round(bottomRange + ((topRange - bottomRange) * curShift / perShift));
29
-    }
30
-
31
-
32
-    //function to get current color in case of 
33
-    function getCurrentColor(curPer, bottomVal, topVal, bottomColor, topColor) {
34
-        var rgbAryTop = topColor.indexOf('#') != -1 ? hexToRgb(topColor) : topColor.match(/\d+/g),
35
-            rgbAryBottom = bottomColor.indexOf('#') != -1 ? hexToRgb(bottomColor) : bottomColor.match(/\d+/g),
36
-            perShift = topVal - bottomVal,
37
-            curShift = curPer - bottomVal;
38
-
39
-        if (!rgbAryTop || !rgbAryBottom) return null;
40
-
41
-        return 'rgb(' + getPropVal(curShift, perShift, rgbAryBottom[0], rgbAryTop[0]) + ',' + getPropVal(curShift, perShift, rgbAryBottom[1], rgbAryTop[1]) + ',' + getPropVal(curShift, perShift, rgbAryBottom[2], rgbAryTop[2]) + ')';
42
-    }
43
-
44
-    //to merge object
45
-    function merge() {
46
-        var arg = arguments,
47
-            target = arg[0];
48
-        for (var i = 1, ln = arg.length; i < ln; i++) {
49
-            var obj = arg[i];
50
-            for (var k in obj) {
51
-                if (obj.hasOwnProperty(k)) {
52
-                    target[k] = obj[k];
53
-                }
54
-            }
55
-        }
56
-        return target;
57
-    }
58
-
59
-    //function to apply formatting on number depending on parameter
60
-    function formatter(pattern) {
61
-        return function (num) {
62
-            if(!pattern) return num.toString();
63
-            num = num || 0
64
-            var numRev = num.toString().split('').reverse(),
65
-                output = pattern.split("").reverse(),
66
-                i = 0,
67
-                lastHashReplaced = 0;
68
-
69
-            //changes hash with numbers
70
-            for (var ln = output.length; i < ln; i++) {
71
-                if (!numRev.length) break;
72
-                if (output[i] == "#") {
73
-                    lastHashReplaced = i;
74
-                    output[i] = numRev.shift();
75
-                }
76
-            }
77
-
78
-            //add overflowing numbers before prefix
79
-            output.splice(lastHashReplaced+1, output.lastIndexOf('#') - lastHashReplaced, numRev.reverse().join(""));
80
-
81
-            return output.reverse().join('');
82
-        }
83
-    }
84
-
85
-
86
-    //circle bar class
87
-    function Indicator(container, indOption) {
88
-        indOption = indOption || {};
89
-        indOption = merge({}, radialIndicator.defaults, indOption);
90
-
91
-        this.indOption = indOption;
92
-
93
-        //create a queryselector if a selector string is passed in container
94
-        if (typeof container == "string")
95
-            container = document.querySelector(container);
96
-
97
-        //get the first element if container is a node list
98
-        if (container.length)
99
-            container = container[0];
100
-
101
-        this.container = container;
102
-
103
-        //create a canvas element
104
-        var canElm = document.createElement("canvas");
105
-        container.appendChild(canElm);
106
-
107
-        this.canElm = canElm; // dom object where drawing will happen
108
-
109
-        this.ctx = canElm.getContext('2d'); //get 2d canvas context
110
-
111
-        //add intial value 
112
-        this.current_value = indOption.initValue || indOption.minValue || 0;
113
-
114
-    }
115
-
116
-
117
-    Indicator.prototype = {
118
-        constructor: radialIndicator,
119
-        init: function () {
120
-            var indOption = this.indOption,
121
-                canElm = this.canElm,
122
-                ctx = this.ctx,
123
-                dim = (indOption.radius + indOption.barWidth) * 2, //elm width and height
124
-                center = dim / 2; //center point in both x and y axis
125
-
126
-
127
-            //create a formatter function
128
-            this.formatter = typeof indOption.format == "function" ? indOption.format : formatter(indOption.format);
129
-
130
-            //maximum text length;
131
-            this.maxLength = indOption.percentage ? 4 : this.formatter(indOption.maxValue).length;
132
-
133
-            canElm.width = dim;
134
-            canElm.height = dim;
135
-
136
-            //draw a grey circle
137
-            ctx.strokeStyle = indOption.barBgColor; //background circle color
138
-            ctx.lineWidth = indOption.barWidth;
139
-            ctx.beginPath();
140
-            ctx.arc(center, center, indOption.radius, 0, 2 * Math.PI);
141
-            ctx.stroke();
142
-
143
-            //store the image data after grey circle draw
144
-            this.imgData = ctx.getImageData(0, 0, dim, dim);
145
-
146
-            //put the initial value if defined
147
-            this.value(this.current_value);
148
-
149
-            return this;
150
-        },
151
-        //update the value of indicator without animation
152
-        value: function (val) {
153
-            //return the val if val is not provided
154
-            if (val === undefined || isNaN(val)) {
155
-                return this.current_value;
156
-            }
157
-
158
-            val = parseInt(val);
159
-            
160
-            var ctx = this.ctx,
161
-                indOption = this.indOption,
162
-                curColor = indOption.barColor,
163
-                dim = (indOption.radius + indOption.barWidth) * 2,
164
-                minVal = indOption.minValue,
165
-                maxVal = indOption.maxValue,
166
-                center = dim / 2;
167
-
168
-            //limit the val in range of 0 to 100
169
-            val = val < minVal ? minVal : val > maxVal ? maxVal : val;
170
-
171
-            var perVal = Math.round(((val - minVal) * 100 / (maxVal - minVal)) * 100) / 100, //percentage value tp two decimal precision
172
-                dispVal = indOption.percentage ? perVal + '%' : this.formatter(val); //formatted value
173
-
174
-            //save val on object
175
-            this.current_value = val;
176
-
177
-
178
-            //draw the bg circle
179
-            ctx.putImageData(this.imgData, 0, 0);
180
-
181
-            //get current color if color range is set
182
-            if (typeof curColor == "object") {
183
-                var range = Object.keys(curColor);
184
-
185
-                for (var i = 1, ln = range.length; i < ln; i++) {
186
-                    var bottomVal = range[i - 1],
187
-                        topVal = range[i],
188
-                        bottomColor = curColor[bottomVal],
189
-                        topColor = curColor[topVal],
190
-                        newColor = val == bottomVal ? bottomColor : val == topVal ? topColor : val > bottomVal && val < topVal ? indOption.interpolate ? getCurrentColor(val, bottomVal, topVal, bottomColor, topColor) : topColor : false;
191
-
192
-                    if (newColor != false) {
193
-                        curColor = newColor;
194
-                        break;
195
-                    }
196
-                }
197
-            }
198
-
199
-            //draw th circle value
200
-            ctx.strokeStyle = curColor;
201
-
202
-            //add linecap if value setted on options
203
-            if (indOption.roundCorner) ctx.lineCap = "round";
204
-
205
-            ctx.beginPath();
206
-            ctx.arc(center, center, indOption.radius, -(quart), ((circ) * perVal / 100) - quart, false);
207
-            ctx.stroke();
208
-
209
-            //add percentage text
210
-            if (indOption.displayNumber) {
211
-                var cFont = ctx.font.split(' '),
212
-                    weight = indOption.fontWeight,
213
-                    fontSize = indOption.fontSize || (dim / (this.maxLength - (Math.floor(this.maxLength*1.4/4)-1)));
214
-
215
-                cFont = indOption.fontFamily || cFont[cFont.length - 1];
216
-
217
-
218
-                ctx.fillStyle = indOption.fontColor || curColor;
219
-                ctx.font = weight +" "+ fontSize + "px " + cFont;
220
-                ctx.textAlign = "center";
221
-                ctx.textBaseline = 'middle';
222
-                ctx.fillText(dispVal, center, center);
223
-            }
224
-
225
-            return this;
226
-        },
227
-        //animate progressbar to the value
228
-        animate: function (val) {
229
-
230
-            var indOption = this.indOption,
231
-                counter = this.current_value || indOption.minValue,
232
-                self = this,
233
-                incBy = Math.ceil((indOption.maxValue - indOption.minValue) / (indOption.frameNum || (indOption.percentage ? 100 : 500))), //increment by .2% on every tick and 1% if showing as percentage
234
-                back = val < counter;
235
-
236
-            //clear interval function if already started
237
-            if (this.intvFunc) clearInterval(this.intvFunc); 
238
-
239
-            this.intvFunc = setInterval(function () {
240
-
241
-                if ((!back && counter >= val) || (back && counter <= val)) {
242
-                    if (self.current_value == counter) {
243
-                        clearInterval(self.intvFunc);
244
-                        return;
245
-                    } else {
246
-                        counter = val;
247
-                    }
248
-                }
249
-
250
-                self.value(counter); //dispaly the value
251
-
252
-                if (counter != val) {
253
-                    counter = counter + (back ? -incBy : incBy)
254
-                }; //increment or decrement till counter does not reach  to value
255
-            }, indOption.frameTime);
256
-
257
-            return this;
258
-        },
259
-        //method to update options
260
-        option: function (key, val) {
261
-            if (val === undefined) return this.option[key];
262
-
263
-            if (['radius', 'barWidth', 'barBgColor', 'format', 'maxValue', 'percentage'].indexOf(key) != -1) {
264
-                this.indOption[key] = val;
265
-                this.init().value(this.current_value);
266
-            }
267
-            this.indOption[key] = val;
268
-        }
269
-
270
-    };
271
-
272
-    /** Initializer function **/
273
-    function radialIndicator(container, options) {
274
-        var progObj = new Indicator(container, options);
275
-        progObj.init();
276
-        return progObj;
277
-    }
278
-
279
-    //radial indicator defaults
280
-    radialIndicator.defaults = {
281
-        radius: 50, //inner radius of indicator
282
-        barWidth: 5, //bar width
283
-        barBgColor: '#eeeeee', //unfilled bar color
284
-        barColor: '#99CC33', //filled bar color , can be a range also having different colors on different value like {0 : "#ccc", 50 : '#333', 100: '#000'}
285
-        format: null, //format indicator numbers, can be a # formator ex (##,###.##) or a function
286
-        frameTime: 10, //miliseconds to move from one frame to another
287
-        frameNum: null, //Defines numbers of frame in indicator, defaults to 100 when showing percentage and 500 for other values
288
-        fontColor: null, //font color
289
-        fontFamily: null, //defines font family
290
-        fontWeight: 'bold', //defines font weight
291
-        fontSize : null, //define the font size of indicator number
292
-        interpolate: true, //interpolate color between ranges
293
-        percentage: false, //show percentage of value
294
-        displayNumber: true, //display indicator number
295
-        roundCorner: false, //have round corner in filled bar
296
-        minValue: 0, //minimum value
297
-        maxValue: 100, //maximum value
298
-        initValue: 0 //define initial value of indicator
299
-    };
300
-    
301
-    window.radialIndicator = radialIndicator;
302
-
303
-    //add as a jquery plugin
304
-    if ($) {
305
-        $.fn.radialIndicator = function (options) {
306
-            return this.each(function () {
307
-                var newPCObj = radialIndicator(this, options);
308
-                $.data(this, 'radialIndicator', newPCObj);
309
-            });
310
-        };
311
-    }
312
-
313
-}(window.jQuery, window, document, void 0));

+ 0 - 424
WebChartNewest/js - 副本/receiptDepartment.js

@@ -1,424 +0,0 @@
1
-var areaOneVal = helper.cookies.get("areaOneVal");
2
-var areaOneText = helper.cookies.get("areaOneText");
3
-if (areaOneVal) {
4
-	var areaOneVal = helper.cookies.get("areaOneVal");
5
-	
6
-} else{
7
-	var areaOneVal="sqs12345"
8
-	
9
-}
10
-$(function() {
11
-	laydate.render({
12
-		elem: '#phone_time',
13
-		range: '~',
14
-		theme: '#114a97',
15
-		done: function(value, date) {
16
-			var areaOneVal=$(".areaOne").val();
17
-			partTwo(value && value.split(' ~ ')[0], value && value.split(' ~ ')[1],areaOneVal);
18
-		}
19
-	});
20
-	laydate.render({
21
-		elem: '#tody_time',
22
-		theme: '#114a97',
23
-		done: function(value, date) {
24
-			var areaOneVal=$(".areaOne").val();
25
-			partThree(value,areaOneVal);
26
-		}
27
-	});
28
-	Ajax();
29
-	$(".areaOne").change(function() {
30
-      	var areaOneVal=$(this).val();
31
-  		var areaOneText=$(".areaOne").find("option:selected").text();
32
-  		helper.cookies.set("areaOneVal", areaOneVal, 7);
33
-  		helper.cookies.set("areaOneText", areaOneText, 7);
34
-      	partOne(areaOneVal);
35
-		partTwo($('#phone_time').val() && $('#phone_time').val().split(' ~ ')[0], $('#phone_time').val() && $('phone_time').val().split(' ~ ')[1],areaOneVal);
36
-		partThree($('#tody_time').val(), areaOneVal);
37
-	});
38
-	$(".depart").change(function() {
39
-		var areaOneVal = helper.cookies.get("areaOneVal");
40
-		partTwo($('#phone_time').val() && $('#phone_time').val().split(' ~ ')[0], $('#phone_time').val() && $('#phone_time').val().split(' ~ ')[1],areaOneVal);
41
-	})
42
-	deprtment ();
43
-	//部门下拉框
44
-	function deprtment () {
45
-		$.getJSON( huayi.config.callcenter_url +"info/GetDeptList", function(result) {
46
-			if(result.state.toLowerCase() == "success") {
47
-				goodslist = result.data;
48
-				$(".depart").empty();
49
-				$('<option value="">请选择部门</option>').appendTo($(".depart"));
50
-				$(goodslist).each(function(i, n) {
51
-					$('<option value="' + n.F_DeptId 
52
-					+ '">' + n.F_DeptName 
53
-					+ '</option>').appendTo($(".depart"));
54
-				})
55
-			}
56
-		});
57
-	}
58
-})
59
-//区县筛选
60
-//deprtment ();
61
-function deprtment () {
62
-	$.getJSON( huayi.config.callcenter_url +"CountyBranch/GetBranchListS", function(result) {
63
-		if(result.state.toLowerCase() == "success") {
64
-			goodslist = result.data;
65
-//			第五屏
66
-			$(".areaOne").empty();
67
-			$(goodslist).each(function(i, n) {
68
-				$('<option value="' + n.F_Code 
69
-				+ '">' + n.F_Name 
70
-				+ '</option>').appendTo($(".areaOne"));
71
-			});
72
-			if (areaOneVal) {
73
-				$(".areaOne").val(areaOneVal);
74
-			}
75
-		}
76
-	});
77
-}
78
-// 跳轉
79
-	$(".index").click(function(){
80
-		window.open('detail.html','_self')
81
-	})
82
-	$(".second").click(function(){
83
-		window.open('second.html','_self')
84
-	})
85
-	$(".third").click(function(){
86
-		window.open('third.html','_self')
87
-	})
88
-	$(".fourth").click(function(){
89
-		window.open('fourth.html','_self')
90
-	})
91
-	$(".nav_middle").click(function(){
92
-		window.open('index.html','_self')
93
-	})
94
-	// $("#department").click(function(){
95
-	// 	window.open('receiptDepartment.html','_self')
96
-	// })
97
-	$("#sourceChannel").click(function(){
98
-		window.open('sourceChannel.html','_self')
99
-	})
100
-	$("#call").click(function(){
101
-		window.open('TelephoneDetails.html','_self')
102
-	})
103
-	$("#complaint").click(function(){
104
-		window.open('complaintsReport.html','_self')
105
-	})
106
-//part 1 //工单状态统计  对接完毕
107
-var phoneTimeCount = echarts.init(document.getElementById('phoneTimeCount'));
108
-phoneTimeCount.setOption({
109
-	color: ['#69e1a9', '#6a91e0', '#ceba5f', '#f06e84', '#569d4e', '#7d55ba', '#ce5aba', '#345cdd', '#569d4e'],
110
-	tooltip: {
111
-		trigger: 'axis',
112
-		axisPointer: {
113
-			type: 'cross',
114
-			label: {
115
-				show: true,
116
-				backgroundColor: '#333'
117
-			}
118
-		}
119
-	},
120
-	grid: {
121
-		left: '2%',
122
-		right: '5%',
123
-		bottom: '6%',
124
-		containLabel: true
125
-	},
126
-	legend: {
127
-		top: 'top',
128
-		left: '180px',
129
-		data: [],
130
-		textStyle: {
131
-			color: '#00e9ff'
132
-		}
133
-	},
134
-	xAxis: {
135
-		name: '月份',
136
-		data: [],
137
-		axisLine: {
138
-			lineStyle: {
139
-				color: '#3061a2'
140
-			}
141
-		},
142
-		axisTick: {
143
-			alignWithLabel: true,
144
-			show: false
145
-		},
146
-		axisLabel: { //横轴字体颜色
147
-			show: true,
148
-			textStyle: {
149
-				color: '#eff0f4'
150
-			}
151
-		}
152
-	},
153
-	yAxis: {
154
-		name: '(数量)',
155
-		splitLine: {
156
-			show: false
157
-		},
158
-		axisLine: {
159
-			lineStyle: {
160
-				color: '#3061a2'
161
-			}
162
-		},
163
-		axisLabel: { //横轴字体颜色
164
-			show: true,
165
-			textStyle: {
166
-				color: '#eff0f4'
167
-			}
168
-		}
169
-	},
170
-	series: []
171
-});
172
-
173
-function partOne(areaOneVal) {
174
-	//		var index = layer.load(1, {
175
-	//			shade: [0.5, '#030303'] //0.1透明度的白色背景
176
-	//		});
177
-	$.ajax({
178
-		type: "get",
179
-		url: huayi.config.callcenter_url + "info/GetStateCountMonthByDate",
180
-		async: true,
181
-		data:{
182
-			branchcode:areaOneVal
183
-		},
184
-		dataType: 'json',
185
-		success: function(data) {
186
-			if(data.state.toLowerCase() == 'success') {
187
-				//	layer.close(index);
188
-				var con = data.data;
189
-				//						var jieDans = result.data.a;
190
-				var counts = con.counts;
191
-				var sers = [];
192
-				$(counts).each(function(i, n) {
193
-					var obj = {};
194
-					obj.name = con.cols[i];
195
-					obj.type = "line";
196
-					obj.smooth = true;
197
-					obj.showAllSymbol = true;
198
-					obj.symbol = "emptyCircle";
199
-					obj.symbolSize = 10;
200
-					obj.data = n;
201
-					sers.push(obj)
202
-				});
203
-				phoneTimeCount.setOption({
204
-					xAxis: {
205
-						data: con.months
206
-					},
207
-					legend: {
208
-						data: con.cols
209
-					},
210
-					series: sers
211
-				});
212
-			}
213
-		}
214
-	});
215
-}
216
-
217
-//part 2 //各部门工单情况
218
-function partTwo(starts, ends, areaOneVal) {
219
-	$.ajax({
220
-		type: "get",
221
-		url: huayi.config.callcenter_url + "Info/GetDeptCountByDateNew",
222
-		dataType: 'json',
223
-		async: true,
224
-		data: {
225
-			start: starts,
226
-			end: ends,
227
-			deptid: $('.depart').val(),
228
-			branchcode:areaOneVal
229
-		},
230
-		success: function(data) {
231
-			if(data.state.toLowerCase() == 'success') {
232
-				$('.thead tr').html('');
233
-				$('#scroll_table tbody').html('');
234
-				var con = data.data;
235
-				var thead = con[0];
236
-				$.each(thead, function(k, val) {
237
-					$('<td>' + k + '</td>').appendTo('.thead tr');
238
-				})
239
-				$(con).each(function(j, n) {
240
-					var str = '<tr>'
241
-					$.each(thead, function(j, m) {
242
-						$.each(n, function(k, val) {
243
-							if(j == k) {
244
-								if(val == '') {
245
-									val = 0;
246
-								}
247
-								str += '<td>' + val + '</td>'
248
-							}
249
-						})
250
-					})
251
-					str += '</tr>';
252
-
253
-					$('#scroll_table tbody').append(str);
254
-				})
255
-
256
-			}
257
-		}
258
-	});
259
-}
260
-
261
-// part3 工单处理时间分布
262
-var sitProportion = echarts.init(document.getElementById('sitProportion')); //坐席闲忙比例
263
-sitProportion.setOption({
264
-	color: ['#4ab7c7', '#2484d9', '#2e39c1'],
265
-	tooltip: {
266
-		trigger: 'axis',
267
-		axisPointer: {
268
-			type: 'shadow',
269
-			label: {
270
-				show: true,
271
-				backgroundColor: '#333'
272
-			}
273
-		},
274
-		formatter: function(datas) {
275
-			var res = datas[0].name + '<br/>',
276
-				val;
277
-			for(var i = 0, length = datas.length; i < length; i++) {
278
-				//							val = (datas[i].value) + '%';
279
-				val = (datas[i].value);
280
-				res += datas[i].seriesName + ':' + val + '<br/>';
281
-			}
282
-			return res;
283
-		}
284
-	},
285
-	legend: {
286
-		top: 'top',
287
-		left: '165px',
288
-		data: ['受理工单数', '处理工单数'],
289
-		textStyle: {
290
-			color: '#00e9ff'
291
-		}
292
-	},
293
-	grid: {
294
-		left: '2%',
295
-		right: '5%',
296
-		bottom: '5%',
297
-		containLabel: true
298
-	},
299
-	xAxis: {
300
-		name: '时',
301
-		data: [],
302
-		axisLine: {
303
-			lineStyle: {
304
-				color: '#3061a2'
305
-			}
306
-		},
307
-		axisTick: {
308
-			alignWithLabel: true,
309
-			show: false
310
-		},
311
-		axisLabel: { //横轴字体颜色
312
-			show: true,
313
-			textStyle: {
314
-				color: '#eff0f4'
315
-			}
316
-		}
317
-
318
-	},
319
-	yAxis: {
320
-		name: '(数量)',
321
-		splitLine: {
322
-			show: false
323
-		},
324
-		axisLine: {
325
-			lineStyle: {
326
-				color: '#3061a2'
327
-			}
328
-		},
329
-		axisLabel: { //横轴字体颜色
330
-			show: true,
331
-			textStyle: {
332
-				color: '#eff0f4'
333
-			}
334
-		}
335
-	},
336
-	series: [{
337
-		name: '受理工单数',
338
-		type: 'bar',
339
-		barGap: 0,
340
-		data: []
341
-	}, {
342
-		name: '处理工单数',
343
-		type: 'bar',
344
-		data: []
345
-	}]
346
-
347
-});
348
-// 跳轉
349
-	$(".index").click(function(){
350
-		window.open('detail.html','_self')
351
-	})
352
-	$(".second").click(function(){
353
-		window.open('second.html','_self')
354
-	})
355
-	$(".third").click(function(){
356
-		window.open('third.html','_self')
357
-	})
358
-	$(".fourth").click(function(){
359
-		window.open('fourth.html','_self')
360
-	})
361
-	$(".nav_middle").click(function(){
362
-		window.open('index.html','_self')
363
-	})
364
-function partThree(dates,areaOneVal) {
365
-	$.ajax({
366
-		type: "get",
367
-		url: huayi.config.callcenter_url + "info/GetDealCount24ByDate",
368
-		dataType: 'json',
369
-		async: true,
370
-		data: {
371
-			date: dates,
372
-			branchcode:areaOneVal
373
-		},
374
-		success: function(data) {
375
-			if(data.state.toLowerCase() == 'success') {
376
-				var con = data.data;
377
-				sitProportion.setOption({
378
-					xAxis: {
379
-						data: con.hours
380
-					},
381
-					series: [{
382
-						data: con.acounts
383
-					}, {
384
-						data: con.fcounts
385
-					}]
386
-				});
387
-			}
388
-		}
389
-	});
390
-}
391
-//表格滚动
392
-var area = document.getElementById('scroll_table');
393
-var iliHeight = 34; //单行滚动的高度  
394
-var speed = 20; //滚动的速度  
395
-var time;
396
-var delay = 1000;
397
-area.scrollTop = 0;
398
-area.innerHTML += area.innerHTML; //克隆一份一样的内容  
399
-function startScroll() {
400
-	time = setInterval("scrollUp()", speed);
401
-	area.scrollTop++;
402
-	console.log(area.scrollTop);
403
-}
404
-
405
-function scrollUp() {
406
-	if(area.scrollTop % iliHeight == 0) {
407
-		clearInterval(time);
408
-		setTimeout(startScroll, delay);
409
-	} else {
410
-		area.scrollTop++;
411
-		if(area.scrollTop >= area.scrollHeight / 2) {
412
-			area.scrollTop = 0;
413
-		}
414
-	}
415
-}
416
-setTimeout(startScroll, delay)
417
-
418
-function Ajax() {
419
-	var areaOneVal = helper.cookies.get("areaOneVal");
420
-	var areaOneText = helper.cookies.get("areaOneText");
421
-	partOne(areaOneVal)
422
-	partTwo($('#phone_time').val() && $('#phone_time').val().split(' ~ ')[0], $('#phone_time').val() && $('#phone_time').val().split(' ~ ')[1],areaOneVal);
423
-	partThree($('#tody_time').val(),areaOneVal);
424
-}

+ 0 - 237
WebChartNewest/js - 副本/scrallNum/countUp.js

@@ -1,237 +0,0 @@
1
-/*
2
-
3
-	countUp.js
4
-	by @inorganik
5
-
6
-*/
7
-
8
-// target = id of html element or var of previously selected html element where counting occurs
9
-// startVal = the value you want to begin at
10
-// endVal = the value you want to arrive at
11
-// decimals = number of decimal places, default 0
12
-// duration = duration of animation in seconds, default 2
13
-// options = optional object of options (see below)
14
-
15
-var CountUp = function(target, startVal, endVal, decimals, duration, options) {
16
-
17
-	var self = this;
18
-	self.version = function () { return '1.9.1'; };
19
-	
20
-	// default options
21
-	self.options = {
22
-		useEasing: true, // toggle easing
23
-		useGrouping: true, // 1,000,000 vs 1000000
24
-		separator: ',', // character to use as a separator
25
-		decimal: '.', // character to use as a decimal
26
-		easingFn: easeOutExpo, // optional custom easing function, default is Robert Penner's easeOutExpo
27
-		formattingFn: formatNumber, // optional custom formatting function, default is formatNumber above
28
-		prefix: '', // optional text before the result
29
-		suffix: '', // optional text after the result
30
-		numerals: [] // optionally pass an array of custom numerals for 0-9
31
-	};
32
-
33
-	// extend default options with passed options object
34
-	if (options && typeof options === 'object') {
35
-		for (var key in self.options) {
36
-			if (options.hasOwnProperty(key) && options[key] !== null) {
37
-				self.options[key] = options[key];
38
-			}
39
-		}
40
-	}
41
-
42
-	if (self.options.separator === '') self.options.useGrouping = false;
43
-
44
-	// make sure requestAnimationFrame and cancelAnimationFrame are defined
45
-	// polyfill for browsers without native support
46
-	// by Opera engineer Erik Möller
47
-	var lastTime = 0;
48
-	var vendors = ['webkit', 'moz', 'ms', 'o'];
49
-	for(var x = 0; x < vendors.length && !window.requestAnimationFrame; ++x) {
50
-		window.requestAnimationFrame = window[vendors[x]+'RequestAnimationFrame'];
51
-		window.cancelAnimationFrame =
52
-		  window[vendors[x]+'CancelAnimationFrame'] || window[vendors[x]+'CancelRequestAnimationFrame'];
53
-	}
54
-	if (!window.requestAnimationFrame) {
55
-		window.requestAnimationFrame = function(callback, element) {
56
-			var currTime = new Date().getTime();
57
-			var timeToCall = Math.max(0, 16 - (currTime - lastTime));
58
-			var id = window.setTimeout(function() { callback(currTime + timeToCall); },
59
-			  timeToCall);
60
-			lastTime = currTime + timeToCall;
61
-			return id;
62
-		};
63
-	}
64
-	if (!window.cancelAnimationFrame) {
65
-		window.cancelAnimationFrame = function(id) {
66
-			clearTimeout(id);
67
-		};
68
-	}
69
-
70
-	function formatNumber(num) {
71
-		num = num.toFixed(self.decimals);
72
-		num += '';
73
-		var x, x1, x2, rgx;
74
-		x = num.split('.');
75
-		x1 = x[0];
76
-		x2 = x.length > 1 ? self.options.decimal + x[1] : '';
77
-		rgx = /(\d+)(\d{3})/;
78
-		if (self.options.useGrouping) {
79
-			while (rgx.test(x1)) {
80
-				x1 = x1.replace(rgx, '$1' + self.options.separator + '$2');
81
-			}
82
-		}
83
-		// optional numeral substitution
84
-		if (self.options.numerals.length) {
85
-			x1 = x1.replace(/[0-9]/g, function(w) {
86
-                return self.options.numerals[+w];
87
-            })
88
-			x2 = x2.replace(/[0-9]/g, function(w) {
89
-                return self.options.numerals[+w];
90
-            })
91
-		}
92
-		return self.options.prefix + x1 + x2 + self.options.suffix;
93
-	}
94
-	// Robert Penner's easeOutExpo
95
-	function easeOutExpo(t, b, c, d) {
96
-		return c * (-Math.pow(2, -10 * t / d) + 1) * 1024 / 1023 + b;
97
-	}
98
-	function ensureNumber(n) {
99
-		return (typeof n === 'number' && !isNaN(n));
100
-	}
101
-
102
-	self.initialize = function() { 
103
-		if (self.initialized) return true;
104
-		
105
-		self.error = '';
106
-		self.d = (typeof target === 'string') ? document.getElementById(target) : target;
107
-		if (!self.d) { 
108
-			self.error = '[CountUp] target is null or undefined'
109
-			return false;
110
-		}
111
-		self.startVal = Number(startVal);
112
-		self.endVal = Number(endVal);
113
-		// error checks
114
-		if (ensureNumber(self.startVal) && ensureNumber(self.endVal)) {
115
-			self.decimals = Math.max(0, decimals || 0);
116
-			self.dec = Math.pow(10, self.decimals);
117
-			self.duration = Number(duration) * 1000 || 2000;
118
-			self.countDown = (self.startVal > self.endVal);
119
-			self.frameVal = self.startVal;
120
-			self.initialized = true;
121
-			return true;
122
-		}
123
-		else {
124
-			self.error = '[CountUp] startVal ('+startVal+') or endVal ('+endVal+') is not a number';
125
-			return false;
126
-		}
127
-	};
128
-
129
-	// Print value to target
130
-	self.printValue = function(value) {
131
-		var result = self.options.formattingFn(value);
132
-
133
-		if (self.d.tagName === 'INPUT') {
134
-			this.d.value = result;
135
-		}
136
-		else if (self.d.tagName === 'text' || self.d.tagName === 'tspan') {
137
-			this.d.textContent = result;
138
-		}
139
-		else {
140
-			this.d.innerHTML = result;
141
-		}
142
-	};
143
-
144
-	self.count = function(timestamp) {
145
-
146
-		if (!self.startTime) { self.startTime = timestamp; }
147
-
148
-		self.timestamp = timestamp;
149
-		var progress = timestamp - self.startTime;
150
-		self.remaining = self.duration - progress;
151
-
152
-		// to ease or not to ease
153
-		if (self.options.useEasing) {
154
-			if (self.countDown) {
155
-				self.frameVal = self.startVal - self.options.easingFn(progress, 0, self.startVal - self.endVal, self.duration);
156
-			} else {
157
-				self.frameVal = self.options.easingFn(progress, self.startVal, self.endVal - self.startVal, self.duration);
158
-			}
159
-		} else {
160
-			if (self.countDown) {
161
-				self.frameVal = self.startVal - ((self.startVal - self.endVal) * (progress / self.duration));
162
-			} else {
163
-				self.frameVal = self.startVal + (self.endVal - self.startVal) * (progress / self.duration);
164
-			}
165
-		}
166
-
167
-		// don't go past endVal since progress can exceed duration in the last frame
168
-		if (self.countDown) {
169
-			self.frameVal = (self.frameVal < self.endVal) ? self.endVal : self.frameVal;
170
-		} else {
171
-			self.frameVal = (self.frameVal > self.endVal) ? self.endVal : self.frameVal;
172
-		}
173
-
174
-		// decimal
175
-		self.frameVal = Math.round(self.frameVal*self.dec)/self.dec;
176
-
177
-		// format and print value
178
-		self.printValue(self.frameVal);
179
-
180
-		// whether to continue
181
-		if (progress < self.duration) {
182
-			self.rAF = requestAnimationFrame(self.count);
183
-		} else {
184
-			if (self.callback) self.callback();
185
-		}
186
-	};
187
-	// start your animation
188
-	self.start = function(callback) {
189
-		if (!self.initialize()) return;
190
-		self.callback = callback;
191
-		self.rAF = requestAnimationFrame(self.count);
192
-	};
193
-	// toggles pause/resume animation
194
-	self.pauseResume = function() {
195
-		if (!self.paused) {
196
-			self.paused = true;
197
-			cancelAnimationFrame(self.rAF);
198
-		} else {
199
-			self.paused = false;
200
-			delete self.startTime;
201
-			self.duration = self.remaining;
202
-			self.startVal = self.frameVal;
203
-			requestAnimationFrame(self.count);
204
-		}
205
-	};
206
-	// reset to startVal so animation can be run again
207
-	self.reset = function() {
208
-		self.paused = false;
209
-		delete self.startTime;
210
-		self.initialized = false;
211
-		if (self.initialize()) {
212
-			cancelAnimationFrame(self.rAF);
213
-			self.printValue(self.startVal);
214
-		}
215
-	};
216
-	// pass a new endVal and start animation
217
-	self.update = function (newEndVal) {
218
-		if (!self.initialize()) return;
219
-		newEndVal = Number(newEndVal);
220
-		if (!ensureNumber(newEndVal)) {
221
-			self.error = '[CountUp] update() - new endVal is not a number: '+newEndVal;
222
-			return;
223
-		}
224
-		self.error = '';
225
-//		if (newEndVal === self.frameVal) return;
226
-		cancelAnimationFrame(self.rAF);
227
-		self.paused = false;
228
-		delete self.startTime;
229
-		self.startVal = self.frameVal;
230
-		self.endVal = newEndVal;
231
-		self.countDown = (self.startVal > self.endVal);
232
-		self.rAF = requestAnimationFrame(self.count);
233
-	};
234
-
235
-	// format startVal on initialization
236
-	if (self.initialize()) self.printValue(self.startVal);
237
-};

+ 0 - 88
WebChartNewest/js - 副本/scrallNum/jquery.countUp.js

@@ -1,88 +0,0 @@
1
-/*!
2
-* jquery.countup.js 1.0.3
3
-*
4
-* Copyright 2016, Adrián Guerra Marrero http://agmstudio.io @AGMStudio_io
5
-* Released under the MIT License
6
-*
7
-* Date: Oct 27, 2016
8
-*/
9
-(function( $ ){
10
-  "use strict";
11
-
12
-  $.fn.countUp = function( options ) {
13
-
14
-    // Defaults
15
-    var settings = $.extend({
16
-        'time': 2000,
17
-        'delay': 10
18
-    }, options);
19
-
20
-    return this.each(function(){
21
-
22
-        // Store the object
23
-        var $this = $(this);
24
-        var $settings = settings;
25
-
26
-        var counterUpper = function() {
27
-            if(!$this.data('counterupTo')) {
28
-                $this.data('counterupTo',$this.text());
29
-            }
30
-            var time = parseInt($this.data("counter-time")) > 0 ? parseInt($this.data("counter-time")) : $settings.time;
31
-            var delay = parseInt($this.data("counter-delay")) > 0 ? parseInt($this.data("counter-delay")) : $settings.delay;
32
-            var divisions = time / delay;
33
-            var num = $this.data('counterupTo');
34
-            var nums = [num];
35
-            var isComma = /[0-9]+,[0-9]+/.test(num);
36
-            num = num.replace(/,/g, '');
37
-            var isInt = /^[0-9]+$/.test(num);
38
-            var isFloat = /^[0-9]+\.[0-9]+$/.test(num);
39
-            var decimalPlaces = isFloat ? (num.split('.')[1] || []).length : 0;
40
-
41
-            // Generate list of incremental numbers to display
42
-            for (var i = divisions; i >= 1; i--) {
43
-
44
-                // Preserve as int if input was int
45
-                var newNum = parseInt(Math.round(num / divisions * i));
46
-
47
-                // Preserve float if input was float
48
-                if (isFloat) {
49
-                    newNum = parseFloat(num / divisions * i).toFixed(decimalPlaces);
50
-                }
51
-
52
-                // Preserve commas if input had commas
53
-                if (isComma) {
54
-                    while (/(\d+)(\d{3})/.test(newNum.toString())) {
55
-                        newNum = newNum.toString().replace(/(\d+)(\d{3})/, '$1'+','+'$2');
56
-                    }
57
-                }
58
-
59
-                nums.unshift(newNum);
60
-            }
61
-
62
-            $this.data('counterup-nums', nums);
63
-            $this.text('0');
64
-
65
-            // Updates the number until we're done
66
-            var f = function() {
67
-                $this.text($this.data('counterup-nums').shift());
68
-                if ($this.data('counterup-nums').length) {
69
-                    setTimeout($this.data('counterup-func'),delay);
70
-                } else {
71
-                    delete $this.data('counterup-nums');
72
-                    $this.data('counterup-nums', null);
73
-                    $this.data('counterup-func', null);
74
-                }
75
-            };
76
-            $this.data('counterup-func', f);
77
-
78
-            // Start the count up
79
-            setTimeout($this.data('counterup-func'),delay);
80
-        };
81
-
82
-        // Perform counts when the element gets into view
83
-        $this.waypoint(counterUpper, { offset: '100%', triggerOnce: true });
84
-    });
85
-
86
-  };
87
-
88
-})( jQuery );

+ 0 - 55
WebChartNewest/js - 副本/scrallNum/jquery.countUp.min.js

@@ -1,55 +0,0 @@
1
-/*!
2
-* jquery.counterup.js 1.0
3
-*
4
-* Copyright 2013, Benjamin Intal http://gambit.ph @bfintal
5
-* Released under the GPL v2 License
6
-*
7
-* Date: Nov 26, 2013
8
-*/
9
-(function(e) {
10
-    "use strict";
11
-    e.fn.counterUp = function(t) {
12
-        var n = e.extend({
13
-            time: 400,
14
-            delay: 10
15
-        }, t);
16
-        return this.each(function() {
17
-            var t = e(this),
18
-                r = n,
19
-                i = function() {
20
-                    var e = [],
21
-                        n = r.time / r.delay,
22
-                        i = t.text(),
23
-                        s = /[0-9]+,[0-9]+/.test(i);
24
-                    i = i.replace(/,/g, "");
25
-                    var o = /^[0-9]+$/.test(i),
26
-                        u = /^[0-9]+\.[0-9]+$/.test(i),
27
-                        a = u ? (i.split(".")[1] || []).length : 0;
28
-                    for (var f = n; f >= 1; f--) {
29
-                        var l = parseInt(i / n * f);
30
-                        u && (l = parseFloat(i / n * f).toFixed(a));
31
-                        if (s)
32
-                            while (/(\d+)(\d{3})/.test(l.toString())) l = l.toString().replace(/(\d+)(\d{3})/, "$1,$2");
33
-                        e.unshift(l)
34
-                    }
35
-                    t.data("counterup-nums", e);
36
-                    t.text("0");
37
-                    var c = function() {
38
-                        t.text(t.data("counterup-nums").shift());
39
-                        if (t.data("counterup-nums").length) setTimeout(t.data("counterup-func"), r.delay);
40
-                        else {
41
-                            delete t.data("counterup-nums");
42
-                            t.data("counterup-nums", null);
43
-                            t.data("counterup-func", null)
44
-                        }
45
-                    };
46
-                    t.data("counterup-func", c);
47
-                    setTimeout(t.data("counterup-func"), r.delay)
48
-                };
49
-            t.waypoint(i, {
50
-                offset: "100%",
51
-                triggerOnce: !0
52
-            })
53
-        })
54
-    }
55
-})(jQuery);

File diff suppressed because it is too large
+ 0 - 7
WebChartNewest/js - 副本/scrallNum/jquery.waypoints.min.js


File diff suppressed because it is too large
+ 0 - 69
WebChartNewest/js - 副本/scrallNum/num_scroll.js


+ 0 - 84
WebChartNewest/js - 副本/scrallNum/numscrall.js

@@ -1,84 +0,0 @@
1
-/*!
2
- * jquery.numscroll.js -- 数字滚动累加动画插件  (Digital rolling cumulative animation)
3
- * version 1.0.0
4
- * 2018-09-22
5
- * author: KevinTseng < 921435247@qq.com@qq.com >
6
- * 文档:  https://github.com/chaorenzeng/jquery.numscroll.js.git
7
- * QQ交流群: 739574382
8
- */
9
-
10
-(function($) {
11
-    
12
-    function isInt(num) {
13
-        //作用:是否为整数
14
-        //返回:true是 false否
15
-        var res = false;
16
-        try {
17
-            if(String(num).indexOf(".") == -1 && String(num).indexOf(",") == -1) {
18
-                res = parseInt(num) % 1 === 0 ? true : false;
19
-            }
20
-        } catch(e) {
21
-            res = false;
22
-        }
23
-        return res;
24
-    }
25
-
26
-    function isFloat(num) {
27
-        //作用:是否为小数
28
-        //返回:小数位数(-1不是小数)
29
-        var res = -1;
30
-        try {
31
-            if(String(num).indexOf(".") != -1) {
32
-                var index = String(num).indexOf(".") + 1; //获取小数点的位置
33
-                var count = String(num).length - index; //获取小数点后的个数
34
-                if(index > 0) {
35
-                    res = count;
36
-                }
37
-            }
38
-        } catch(e) {
39
-            res = -1;
40
-        }
41
-        return res;
42
-    }
43
-
44
-    $.fn.numScroll = function(options) {
45
-        
46
-        var settings = $.extend({
47
-            'time': 1500,
48
-            'delay': 0
49
-        }, options);
50
-        
51
-        return this.each(function() {
52
-            var $this = $(this);
53
-            var $settings = settings;
54
-            
55
-            var num = $this.attr("data-num") || $this.text(); //实际值
56
-            var temp = 0; //初始值
57
-            $this.text(temp);
58
-            var numIsInt = isInt(num);
59
-            var numIsFloat = isFloat(num);
60
-            var step = (num / $settings.time) * 10; //步长
61
-            
62
-            setTimeout(function() {
63
-                var numScroll = setInterval(function() {
64
-                    if(numIsInt) {
65
-                        $this.text(Math.floor(temp));
66
-                    } else if(numIsFloat != -1) {
67
-                        $this.text(temp.toFixed(numIsFloat));
68
-                    } else {
69
-                        $this.text(num);
70
-                        clearInterval(numScroll);
71
-                        return;
72
-                    }
73
-                    temp += step;
74
-                    if(temp > num) {
75
-                        $this.text(num);
76
-                        clearInterval(numScroll);
77
-                    }
78
-                }, 1);
79
-            }, $settings.delay);
80
-            
81
-        });
82
-    };
83
-
84
-})(jQuery);

+ 0 - 5
WebChartNewest/js - 副本/setItervalTime.js

@@ -1,5 +0,0 @@
1
-
2
-$(function(){
3
-	setInterval(Ajax, huayi.config.indextime);//Ajax调用函数
4
-})
5
-

+ 0 - 509
WebChartNewest/js - 副本/sourceChannel.js

@@ -1,509 +0,0 @@
1
-var areaOneVal = helper.cookies.get("areaOneVal");
2
-var areaOneText = helper.cookies.get("areaOneText");
3
-if (areaOneVal) {
4
-	var areaOneVal = helper.cookies.get("areaOneVal");
5
-	
6
-} else{
7
-	var areaOneVal="sqs12345"
8
-	
9
-}
10
-$(function() {
11
-	laydate.render({
12
-		elem: '#time1',
13
-		format: 'yyyy-MM-dd',
14
-		theme: '#114a97',
15
-		done: function(value, date) {
16
-			var areaOneVal=$(".areaOne").val();
17
-			partOne(value,areaOneVal)
18
-		}
19
-	});
20
-	laydate.render({
21
-		elem: '#time2',
22
-		range: '~',
23
-		format: 'yyyy-MM-dd',
24
-		theme: '#114a97',
25
-		done: function(value, date) {
26
-			var areaOneVal=$(".areaOne").val();
27
-			partTwo(value && value.split(' ~ ')[0], value && value.split(' ~ ')[1],areaOneVal)
28
-		}
29
-	});
30
-	laydate.render({
31
-		elem: '#time3',
32
-		range: '~',
33
-		theme: '#114a97',
34
-		done: function(value, date) {
35
-			var areaOneVal=$(".areaOne").val();
36
-			partThree(value && value.split(' ~ ')[0], value && value.split(' ~ ')[1],areaOneVal)
37
-		}
38
-	});
39
-	Ajax();
40
-	$(".areaOne").change(function() {
41
-      	var areaOneVal=$(this).val();
42
-      	var areaOneText=$(".areaOne").find("option:selected").text();
43
-      	helper.cookies.set("areaOneVal", areaOneVal, 7);
44
-      	helper.cookies.set("areaOneText", areaOneText, 7);
45
-      	
46
-      	partOne($('#time1').val(),areaOneVal);
47
-		partTwo($('#time2').val() && $('#time2').val().split(' ~ ')[0], $('#time2').val() && $('#time2').val().split(' ~ ')[1],areaOneVal);
48
-		partThree($('#time3').val() && $('#time3').val().split(' ~ ')[0], $('#time3').val() && $('#time3').val().split(' ~ ')[1],areaOneVal);
49
-//  	Ajax()
50
-	});
51
-})
52
-// 跳轉
53
-	$(".index").click(function(){
54
-		window.open('detail.html','_self')
55
-	})
56
-	$(".second").click(function(){
57
-		window.open('second.html','_self')
58
-	})
59
-	$(".third").click(function(){
60
-		window.open('third.html','_self')
61
-	})
62
-	$(".fourth").click(function(){
63
-		window.open('fourth.html','_self')
64
-	})
65
-	$("#department").click(function(){
66
-		window.open('receiptDepartment.html','_self')
67
-	})
68
-	$("#call").click(function(){
69
-		window.open('TelephoneDetails.html','_self')
70
-	})
71
-	$("#complaint").click(function(){
72
-		window.open('complaintsReport.html','_self')
73
-	})
74
-	$(".nav_middle").click(function(){
75
-		window.open('index.html','_self')
76
-	})
77
-//区县筛选
78
-//deprtment();
79
-function deprtment() {
80
-	$.getJSON( huayi.config.callcenter_url +"CountyBranch/GetBranchListS", function(result) {
81
-		if(result.state.toLowerCase() == "success") {
82
-			goodslist = result.data;
83
-//			第五屏
84
-			$(".areaOne").empty();
85
-			$(goodslist).each(function(i, n) {
86
-				$('<option value="' + n.F_Code 
87
-				+ '">' + n.F_Name 
88
-				+ '</option>').appendTo($(".areaOne"));
89
-			});
90
-			if (areaOneVal) {
91
-				$(".areaOne").val(areaOneVal);
92
-			}
93
-		}
94
-	});
95
-}
96
-//part 1 //受理群众区域统计  对接完毕
97
-var part_1 = echarts.init(document.getElementById('part_1'));
98
-part_1.setOption({
99
-	color: ['#69e1a9', '#6a91e0', '#ceba5f', '#f06e84', '#569d4e', '#7d55ba', '#ce5aba', '#7931dd', '#7f9d3e','#ff5500','#0a45e7'],
100
-	tooltip: {
101
-		trigger: 'axis',
102
-		axisPointer: {
103
-			type: 'cross',
104
-			label: {
105
-				show: true,
106
-				backgroundColor: '#333'
107
-			}
108
-		}
109
-	},
110
-	 toolbox: {
111
-		    x:100,
112
-		    y:20,
113
-	        show : true,
114
-	        feature : {
115
-			   
116
-	            mark : {show: true},
117
-	            magicType : {show: true, type: ['line', 'bar']},
118
-	        },
119
-			  iconStyle:{
120
-			                    normal:{
121
-			                      color:'#ffaa00',//设置颜色
122
-			                    }
123
-			                } 
124
-	    },
125
-	grid: {
126
-		left: '2%',
127
-		right: '5%',
128
-		bottom: '6%',
129
-		containLabel: true
130
-	},
131
-	legend: {
132
-		top: 'top',
133
-		left: '180px',
134
-		data: [],
135
-		textStyle: {
136
-			color: '#00e9ff'
137
-		},
138
-						 selected: {
139
-							'市区': true,
140
-							'文峰区': false,
141
-							'北关区': false,
142
-							'殷都区': false,
143
-							'龙安区': false,
144
-							'安阳县': false,
145
-							'汤阴县': false,
146
-							'内黄县': false,
147
-							'滑县': false,
148
-							'林州市': false,
149
-							'高新区': false
150
-						}
151
-	},
152
-	xAxis: {
153
-		name: '时',
154
-		data: [],
155
-		axisLine: {
156
-			lineStyle: {
157
-				color: '#3061a2'
158
-			}
159
-		},
160
-		axisTick: {
161
-			alignWithLabel: true,
162
-			show: false
163
-		},
164
-		axisLabel: { //横轴字体颜色
165
-			show: true,
166
-			textStyle: {
167
-				color: '#eff0f4'
168
-			}
169
-		}
170
-	},
171
-	yAxis: {
172
-		name: '(数量)',
173
-		splitLine: {
174
-			show: false
175
-		},
176
-		axisLine: {
177
-			lineStyle: {
178
-				color: '#3061a2'
179
-			}
180
-		},
181
-		axisLabel: { //横轴字体颜色
182
-			show: true,
183
-			textStyle: {
184
-				color: '#eff0f4'
185
-			}
186
-		}
187
-	},
188
-	series: []
189
-});
190
-    part_1.on('legendselectchanged', function(params) {
191
-		console.log(params.selected)
192
-        var option = this.getOption();
193
-        var select_key = Object.keys(params.selected);
194
-        var select_value = Object.values(params.selected);
195
-		console.log(select_value,select_key)
196
-        var n = 0;
197
-        // select_value.map(res => {
198
-        //    if(!res){
199
-        //        n++;
200
-        //     }
201
-        // });
202
-        // console.log('n',n)
203
-        //    if (n == select_value.length ) {
204
-        //                        option.legend[0].selected[params.name] = true;
205
-        //              }
206
-		// $sel.map(res => {
207
-		//    console.log(res)
208
-		// });
209
-        this.setOption(option)
210
-     
211
-    });
212
-function partOne(dates,areaOneVal) {
213
-	$.ajax({
214
-		type: "get",
215
-		url: huayi.config.callcenter_url + "info/GetAreaCount24ByDate",
216
-		async: true,
217
-		dataType: "json",
218
-		data: {
219
-			date: dates,
220
-			branchcode:areaOneVal
221
-		},
222
-		success: function(data) {
223
-			if(data.state.toLowerCase() == "success") {
224
-				var con = data.data;
225
-				console.log(con)
226
-				var part1Axis = con.hours;
227
-				var sers = []
228
-				$(con.cols).each(function(i, n) {
229
-					var obj = {};
230
-					obj.name = n;
231
-					obj.type = "bar";
232
-					obj.smooth = true;
233
-					obj.showAllSymbol = true;
234
-					obj.symbol = "emptyCircle";
235
-					obj.symbolSize = 10;
236
-					obj.data = con.counts[i];
237
-					sers.push(obj);
238
-					console.log(sers)
239
-				})
240
-				part_1.setOption({
241
-					xAxis: {
242
-						data: part1Axis
243
-					},
244
-					legend: {
245
-						data: con.cols
246
-					},
247
-					series: sers
248
-				});
249
-
250
-			}
251
-		}
252
-
253
-	});
254
-}
255
-//part2 //渠道来源
256
-var source = echarts.init(document.getElementById('source'));
257
-source.setOption({
258
-
259
-	tooltip: {
260
-		trigger: 'axis',
261
-		axisPointer: {
262
-			type: false,
263
-			label: {
264
-				show: true,
265
-				backgroundColor: '#030917'
266
-			}
267
-		},
268
-	},
269
-	//				legend: {
270
-	//					top: 'top',
271
-	//					left: '180px',
272
-	//					data: [],
273
-	//					textStyle: {
274
-	//						color: '#00e9ff'
275
-	//					}
276
-	//				},
277
-	xAxis: {
278
-		//			name: '时',
279
-		data: [],
280
-		axisLine: {
281
-			lineStyle: {
282
-				color: '#3061a2'
283
-			}
284
-		},
285
-		axisTick: {
286
-			alignWithLabel: true,
287
-			show: false
288
-		},
289
-		axisLabel: { //横轴字体颜色
290
-			show: true,
291
-			textStyle: {
292
-				color: '#eff0f4'
293
-			}
294
-		}
295
-	},
296
-	yAxis: {
297
-		name: '数量',
298
-		splitLine: {
299
-			show: false
300
-		},
301
-		axisLine: {
302
-			lineStyle: {
303
-				color: '#3061a2'
304
-			}
305
-		},
306
-		axisLabel: { //横轴字体颜色
307
-			show: true,
308
-			textStyle: {
309
-				color: '#eff0f4'
310
-			}
311
-		}
312
-
313
-	},
314
-	series: [{
315
-		name: '数量',
316
-		type: 'bar',
317
-		barWidth: 18,
318
-		itemStyle: {
319
-			normal: {
320
-				color: function(params) {
321
-					// build a color map as your need.
322
-					var colorList = ['#368cab', '#54b793', '#4b6ab0', '#2531a9'];
323
-					return colorList[params.dataIndex]
324
-				}
325
-			}
326
-		},
327
-		label: {
328
-			normal: {
329
-				show: true,
330
-				position: 'top', //顶部数据显示位置
331
-				textStyle: {
332
-					color: '#fff' //顶部数据颜色
333
-				},
334
-				formatter: '{c}' // 这里是数据展示的时候显示的数据
335
-			}
336
-		},
337
-		data: []
338
-	}]
339
-
340
-});
341
-
342
-function partTwo(start, end,areaOneVal) {
343
-	$.ajax({
344
-		type: "get",
345
-		url: huayi.config.callcenter_url + "info/GetSourcePercentByDate",
346
-		dataType: 'json',
347
-		async: true,
348
-		data: {
349
-			start: start,
350
-			end: end,
351
-			branchcode:areaOneVal
352
-		},
353
-		success: function(data) {
354
-			if(data.state.toLowerCase() == "success") {
355
-				//					layer.close(index);
356
-				var con = data.data;
357
-				var qd_legend = [];
358
-				var ser_data = [];
359
-				$(con).each(function(i, n) {
360
-					ser_data.push(n.Count)
361
-					qd_legend.push(n.Source);
362
-				})
363
-				source.setOption({
364
-					//								legend: {
365
-					//									data: qd_legend
366
-					//								},
367
-					xAxis: {
368
-						data: qd_legend
369
-					},
370
-					series: {
371
-						data: ser_data
372
-					}
373
-
374
-				})
375
-
376
-			}
377
-		}
378
-
379
-	});
380
-
381
-}
382
-// part3 受理区域统计
383
-var part3 = echarts.init(document.getElementById('part3'));
384
-part3.setOption({
385
-	color: ['#6ce7ac', '#6a91e0', '#ce2c10', '#cb5f79', '#ae765a', '#569d4e', '#7d55ba', '#ce5aba', '#355cdd', '#44c1c6', '#ceba5e', '#c64444','#ffff00'],
386
-	title: {
387
-		text: '各区县占比',
388
-		x: 'center',
389
-		y: '45%',
390
-		textStyle: {
391
-			fontWeight: 'normal',
392
-			fontSize: 16,
393
-			color: '#fff'
394
-
395
-		}
396
-	},
397
-	tooltip: {
398
-		trigger: 'item',
399
-		formatter: "{a} <br/>{b} : {c} ({d}%)",
400
-		axisPointer: {
401
-			crossStyle: {
402
-				color: '#fff'
403
-			}
404
-		}
405
-	},
406
-				legend: {
407
-					//      orient: 'vertical',
408
-					bottom: 'bottom',
409
-					data: ['安阳县','北关区','林州市','龙安区','内黄县','市区','汤阴县','安阳县','文峰区','殷都区','滑县','高新区'],
410
-					textStyle: {
411
-						color: '#fff'
412
-					}
413
-				},
414
-	series: [{
415
-		name: '数据',
416
-		type: 'pie',
417
-		radius: ['30%', '60%'],
418
-		center: ['50%', '50%'],
419
-		data: [],
420
-		itemStyle: {
421
-			emphasis: {
422
-				shadowBlur: 10,
423
-				shadowOffsetX: 0,
424
-				shadowColor: 'rgba(0, 0, 0, 0.5)'
425
-			},
426
-			normal: {
427
-				label: {
428
-					show: true,
429
-					//                                 formatter: '{b} : {c} ({d}%)' 
430
-					formatter: '{d}%'
431
-				},
432
-				labelLine: {
433
-					show: true
434
-				}
435
-			}
436
-		},
437
-		label: {
438
-			normal: {
439
-				textStyle: {
440
-					color: '#fff'
441
-				}
442
-			}
443
-		}
444
-	}]
445
-});
446
-
447
-function partThree(start, end,areaOneVal) {
448
-	//		var index = layer.load(1, {
449
-	//			shade: [0.5, '#030303'] //0.1透明度的白色背景
450
-	//		});
451
-	$.ajax({
452
-		type: "get",
453
-		url: huayi.config.callcenter_url + "info/GetAreaCountByDate",
454
-		async: true,
455
-		dataType: 'json',
456
-		data: {
457
-			start: start,
458
-			end: end,
459
-			branchcode:areaOneVal
460
-		},
461
-		success: function(data) {
462
-			if(data.state.toLowerCase() == 'success') {
463
-				//						layer.close(index);
464
-				$('.complaint_typeL').html('');
465
-				$('.complaint_typeR').html('');
466
-				var con = data.data;
467
-				var part_1_legend = [];
468
-				var part_1_ser = [];
469
-				$(con).each(function(i, n) {
470
-					part_1_legend.push(n.AreaName)
471
-					var part_1_obj = {};
472
-					part_1_obj.value = n.Count;
473
-					part_1_obj.name = n.AreaName;
474
-					part_1_ser.push(part_1_obj)
475
-					if(n.AreaName.indexOf('城乡一体') != -1) {
476
-						n.AreaName = "城乡示范"
477
-					}
478
-					var str = '<li>' +
479
-						'<span class="type_name">' + n.AreaName + '</span>   <span class="type_count">' + n.Count + '</span>' +
480
-						'</li>'
481
-					if(i <= 5) {
482
-						$(str).appendTo('.complaint_typeL');
483
-					} else if(i <= 11&&i >5){
484
-						$(str).appendTo('.complaint_typeR');
485
-					}
486
-				})
487
-				part3.setOption({
488
-					//									legend: {
489
-					//										selected: {
490
-					//										'当即办理': false
491
-					//									}
492
-					//									},
493
-					series: [{
494
-						data: part_1_ser
495
-					}]
496
-				})
497
-
498
-			}
499
-		}
500
-	});
501
-}
502
-
503
-function Ajax() {
504
-	var areaOneVal = helper.cookies.get("areaOneVal");
505
-	var areaOneText = helper.cookies.get("areaOneText");
506
-	partOne($('#time1').val(),areaOneVal)
507
-	partTwo($('#time2').val() && $('#time2').val().split(' ~ ')[0], $('#time2').val() && $('#time2').val().split(' ~ ')[1],areaOneVal);
508
-	partThree($('#time3').val() && $('#time3').val().split(' ~ ')[0], $('#time3').val() && $('#time3').val().split(' ~ ')[1],areaOneVal)
509
-}

File diff suppressed because it is too large
+ 0 - 3
WebChartNewest/js - 副本/swiper.animate1.0.3.min.js


File diff suppressed because it is too large
+ 0 - 13
WebChartNewest/js - 副本/swiper.min.js


+ 0 - 298
WebChartNewest/js - 副本/tagcloud.js

@@ -1,298 +0,0 @@
1
-// /*
2
-// * 3d标签云
3
-// * 功能:鼠标移入标签,当前标签静止放大
4
-// * 说明:
5
-// * */
6
-// var tagcloud = (function(win, doc) { // ns
7
-//     // 判断对象
8
-//     function isObject (obj) {
9
-//         return Object.prototype.toString.call(obj) === '[object Object]';
10
-//     }
11
-
12
-//     // 构造函数
13
-//     function TagCloud (options) {
14
-//         var self = this;
15
-//         self.config = TagCloud._getConfig(options);
16
-//         self.box = self.config.element;   //组件元素
17
-//         self.fontsize = self.config.fontsize; //平均字体大小
18
-//         self.radius = self.config.radius; //滚动半径
19
-//         self.depth = 2 * self.radius;   //滚动深度
20
-//         self.size = 2 * self.radius;    //随鼠标滚动变速作用区域
21
-
22
-//         self.mspeed = TagCloud._getMsSpeed(self.config.mspeed);
23
-//         self.ispeed = TagCloud._getIsSpeed(self.config.ispeed);
24
-//         self.items = self._getItems();
25
-
26
-//         self.direction = self.config.direction;  //初始滚动方向
27
-//         self.keep = self.config.keep; //鼠标移出后是否保持之前滚动
28
-
29
-//         //初始化
30
-//         self.active = false;   //是否为激活状态
31
-//         self.lasta = 1;
32
-//         self.lastb = 1;
33
-//         self.mouseX0 = self.ispeed * Math.sin(self.direction * Math.PI / 180);    //鼠标与滚动圆心x轴初始距离
34
-//         self.mouseY0 = -self.ispeed * Math.cos(self.direction * Math.PI / 180);   //鼠标与滚动圆心y轴初始距离
35
-//         self.mouseX = self.mouseX0;   //鼠标与滚动圆心x轴距离
36
-//         self.mouseY = self.mouseY0;   //鼠标与滚动圆心y轴距离
37
-//         self.index = -1;
38
-
39
-//         //鼠标移入
40
-//         TagCloud._on(self.box, 'mouseover', function () {
41
-//             self.active = true;
42
-//         });
43
-//         //鼠标移出
44
-//         TagCloud._on(self.box, 'mouseout', function () {
45
-//             self.active = false;
46
-//         });
47
-
48
-//         //鼠标在内移动
49
-//         TagCloud._on(self.keep ? win : self.box, 'mousemove', function (ev) {
50
-//             var oEvent = win.event || ev;
51
-//             var boxPosition = self.box.getBoundingClientRect();
52
-//             self.mouseX = (oEvent.clientX - (boxPosition.left + self.box.offsetWidth / 2)) / 5;
53
-//             self.mouseY = (oEvent.clientY - (boxPosition.top + self.box.offsetHeight / 2)) / 5;
54
-//         });
55
-
56
-//         for (var j = 0, len = self.items.length; j < len; j++) {
57
-//             self.items[j].element.index=j;
58
-
59
-//             //鼠标移出子元素,当前元素静止放大
60
-//             self.items[j].element.onmouseover = function(){
61
-//                 self.index = this.index;
62
-//             };
63
-
64
-//             //鼠标移出子元素,当前元素继续滚动
65
-//             self.items[j].element.onmouseout = function(){
66
-//                 self.index = -1;
67
-//             };
68
-//         }
69
-
70
-//         //定时更新
71
-//         TagCloud.boxs.push(self.box);
72
-//         self.update(self);    //初始更新
73
-       
74
-//         self.box.style.visibility = "visible";
75
-//         self.box.style.position = "relative";
76
-//         self.box.style.minHeight = 1.2 * self.size + "px";
77
-//         self.box.style.minWidth = 1.5 * self.size + "px";
78
-//         for (var j = 0, len = self.items.length; j < len; j++) {
79
-//             self.items[j].element.style.position = "absolute";
80
-//             self.items[j].element.style.zIndex = j + 1;
81
-//         }
82
-//         self.up = setInterval(function() {
83
-//             self.update(self);
84
-//         }, 30);
85
-//     }
86
-
87
-//     //实例
88
-//     TagCloud.boxs = []; //实例元素数组
89
-//     // 静态方法们
90
-//     TagCloud._set = function (element) {
91
-//         if (TagCloud.boxs.indexOf(element) == -1) {//ie8不支持数组的indexOf方法
92
-//             return true;
93
-//         }
94
-//     };
95
-
96
-//     //添加数组IndexOf方法
97
-//     if (!Array.prototype.indexOf){
98
-//         Array.prototype.indexOf = function(elt /*, from*/){
99
-//             var len = this.length >>> 0;
100
-//             var from = Number(arguments[1]) || 0;
101
-//             from = (from < 0)
102
-//                 ? Math.ceil(from)
103
-//                 : Math.floor(from);
104
-//             if (from < 0)
105
-//                 from += len;
106
-
107
-//             for (; from < len; from++){
108
-//                 if (from in this && this[from] === elt)
109
-//                     return from;
110
-//             }
111
-//             return -1;
112
-//         };
113
-//     }
114
-
115
-
116
-//     TagCloud._getConfig = function (config) {
117
-//         var defaultConfig = {   //默认值
118
-//             fontsize: 16,       //基本字体大小, 单位px
119
-//             radius: 60,         //滚动半径, 单位px
120
-//             mspeed: "normal",   //滚动最大速度, 取值: slow, normal(默认), fast
121
-//             ispeed: "normal",   //滚动初速度, 取值: slow, normal(默认), fast
122
-//             direction: 135,     //初始滚动方向, 取值角度(顺时针360): 0对应top, 90对应left, 135对应right-bottom(默认)...
123
-//             keep: true          //鼠标移出组件后是否继续随鼠标滚动, 取值: false, true(默认) 对应 减速至初速度滚动, 随鼠标滚动
124
-//         };
125
-
126
-//         if(isObject(config)) {
127
-//             for(var i in config) {
128
-//                 if(config.hasOwnProperty(i)) {//hasOwnProperty()用来判断一个属性是定义在对象本身而不是继承自原型链
129
-//                     defaultConfig[i] = config[i]; //用户配置
130
-//                 }
131
-//             }
132
-//         }
133
-
134
-//         return defaultConfig;// 配置 Merge
135
-//     };
136
-//     TagCloud._getMsSpeed = function (mspeed) {    //滚动最大速度
137
-//         var speedMap = {
138
-//             slow: 1.5,
139
-//             normal: 3,
140
-//             fast: 5
141
-//         };
142
-//         return speedMap[mspeed] || 3;
143
-//     };
144
-//     TagCloud._getIsSpeed = function (ispeed) {    //滚动初速度
145
-//         var speedMap = {
146
-//             slow: 10,
147
-//             normal: 25,
148
-//             fast: 50
149
-//         };
150
-//         return speedMap[ispeed] || 25;
151
-//     };
152
-//     TagCloud._getSc = function(a, b) {
153
-//         var l = Math.PI / 180;
154
-//         //数组顺序0,1,2,3表示asin,acos,bsin,bcos
155
-//         return [
156
-//             Math.sin(a * l),
157
-//             Math.cos(a * l),
158
-//             Math.sin(b * l),
159
-//             Math.cos(b * l)
160
-//         ];
161
-//     };
162
-
163
-//     TagCloud._on = function (ele, eve, handler, cap) {
164
-//         if (ele.addEventListener) {
165
-//             ele.addEventListener(eve, handler, cap);
166
-//         } else if (ele.attachEvent) {
167
-//             ele.attachEvent('on' + eve, handler);
168
-//         } else {
169
-//             ele['on' + eve] = handler;
170
-//         }
171
-//     };
172
-
173
-//     // 原型方法
174
-//     TagCloud.prototype = {
175
-//         constructor: TagCloud, // 反向引用构造器
176
-
177
-//         update: function () {
178
-//             var self = this, a, b;
179
-//             if (!self.active && !self.keep) {
180
-//                 self.mouseX = Math.abs(self.mouseX - self.mouseX0) < 1 ? self.mouseX0 : (self.mouseX + self.mouseX0) / 2;   //重置鼠标与滚动圆心x轴距离
181
-//                 self.mouseY = Math.abs(self.mouseY - self.mouseY0) < 1 ? self.mouseY0 : (self.mouseY + self.mouseY0) / 2;   //重置鼠标与滚动圆心y轴距离
182
-//             }
183
-
184
-//             a = -(Math.min(Math.max(-self.mouseY, -self.size), self.size) / self.radius ) * self.mspeed;
185
-//             b = (Math.min(Math.max(-self.mouseX, -self.size), self.size) / self.radius ) * self.mspeed;
186
-
187
-//             if (Math.abs(a) <= 0.01 && Math.abs(b) <= 0.01) { return; }
188
-
189
-//             self.lasta = a;
190
-//             self.lastb = b;
191
-
192
-//             var sc = TagCloud._getSc(a, b);
193
-				
194
-//             for (var j = 0, len = self.items.length; j < len; j++) {
195
-
196
-//                 var rx1 = self.items[j].x,
197
-//                     ry1 = self.items[j].y*sc[1] + self.items[j].z*(-sc[0]),
198
-//                     rz1 = self.items[j].y*sc[0] + self.items[j].z*sc[1];
199
-
200
-//                 var rx2 = rx1 * sc[3] + rz1 * sc[2],
201
-//                     ry2 = ry1,
202
-//                     rz2 = rz1 * sc[3] - rx1 * sc[2];
203
-
204
-//                 if(self.index==j){
205
-
206
-//                     self.items[j].scale = 1; //取值范围0.6 ~ 3
207
-//                     self.items[j].fontsize = 16;
208
-//                     self.items[j].alpha = 1;
209
-//                     self.items[j].element.style.zIndex = 99;
210
-//                 }else{
211
-//                     var per = self.depth / (self.depth + rz2);
212
-//                     self.items[j].x = rx2;
213
-//                     self.items[j].y = ry2;
214
-//                     self.items[j].z = rz2;
215
-
216
-//                     self.items[j].scale = per; //取值范围0.6 ~ 3
217
-//                     self.items[j].fontsize = Math.ceil(per * 2) + self.fontsize - 6;
218
-//                     self.items[j].alpha = 1.5 * per - 0.5;
219
-//                     self.items[j].element.style.zIndex = Math.ceil(per*10-5);
220
-//                 }
221
-//                  self.items[j].element.style.fontSize = self.items[j].fontsize + "px";
222
-// //              self.items[j].element.style.left = self.items[j].x + (self.box.offsetWidth - self.items[j].offsetWidth) / 2 + "px";
223
-//                 self.items[j].element.style.left = self.items[j].x / 1.2+self.box.offsetWidth/2.3-40 + "px";
224
-// //              self.items[j].element.style.top = self.items[j].y + (self.box.offsetHeight - self.items[j].offsetHeight) / 2 + "px";
225
-// //              self.items[j].element.style.top = self.items[j].y + (self.box.offsetWidth - self.items[j].offsetWidth )/ 3.4+ "px";
226
-//                 self.items[j].element.style.top = self.items[j].y/ 1.2+self.box.offsetWidth/3+20+ "px";
227
-//                 self.items[j].element.style.filter = "alpha(opacity=" + 100 * self.items[j].alpha + ")";
228
-//                 self.items[j].element.style.opacity = self.items[j].alpha;
229
-//             }
230
-//         },
231
-
232
-//         _getItems: function () {
233
-//             var self = this,
234
-//                 items = [],
235
-//                 element = self.box.children, // children 全部是Element
236
-//                 length = element.length,
237
-//                 item;
238
-
239
-//             for (var i = 0; i < length; i++) {
240
-//                 item = {};
241
-//                 item.angle = {};
242
-//                 item.angle.phi = Math.acos(-1 + (2 * i + 1) / length);
243
-//                 item.angle.theta = Math.sqrt((length + 1) * Math.PI) * item.angle.phi;
244
-//                 item.element = element[i];
245
-//                 item.offsetWidth = item.element.offsetWidth;
246
-//                 item.offsetHeight = item.element.offsetHeight;
247
-//                 item.x = self.radius * 1.5 * Math.cos(item.angle.theta) * Math.sin(item.angle.phi);
248
-//                 item.y = self.radius * 1.5 * Math.sin(item.angle.theta) * Math.sin(item.angle.phi);
249
-//                 item.z = self.radius * 1.5 * Math.cos(item.angle.phi);
250
-//                 item.element.style.left = item.x + (self.box.offsetWidth - item.offsetWidth) / 2 + "px";
251
-//                 item.element.style.top = item.y + (self.box.offsetHeight - item.offsetHeight) / 2 + "px";
252
-//                 items.push(item);
253
-//             }
254
-
255
-//             return items;   //单元素数组
256
-//         }
257
-
258
-
259
-
260
-//     };
261
-
262
-//     if (!doc.querySelectorAll) {//ie7不支持querySelectorAll,所以要重新定义
263
-//         doc.querySelectorAll = function (selectors) {
264
-//             var style = doc.createElement('style'), elements = [], element;
265
-//             doc.documentElement.firstChild.appendChild(style);
266
-//             doc._qsa = [];
267
-
268
-//             style.styleSheet.cssText = selectors + '{x-qsa:expression(document._qsa && document._qsa.push(this))}';
269
-//             window.scrollBy(0, 0);
270
-//             style.parentNode.removeChild(style);
271
-
272
-//             while (doc._qsa.length) {
273
-//                 element = doc._qsa.shift();
274
-//                 element.style.removeAttribute('x-qsa');
275
-//                 elements.push(element);
276
-//             }
277
-//             doc._qsa = null;
278
-//             return elements;
279
-//         };
280
-//     }
281
-
282
-//     return function (options) { // factory
283
-//         options = options || {}; // 短路语法
284
-//         var selector = options.selector || '.tagcloud', //默认选择class为tagcloud的元素
285
-//             elements = doc.querySelectorAll(selector),
286
-//             instance = [];
287
-//         for (var index = 0, len = elements.length; index < len; index++) {
288
-//             options.element = elements[index];
289
-// //          if (!!TagCloud._set(options.element)) {
290
-//                 instance.push(new TagCloud(options));
291
-// //          }
292
-//         }
293
-//         console.log(instance);
294
-//         return instance;
295
-//     };
296
-
297
-// })(window, document);
298
-

+ 0 - 86
WebChartNewest/js - 副本/util - 副本.js

@@ -1,86 +0,0 @@
1
-/**
2
- * ajax的二次封装
3
- * Created by huantt on 2018/7/16.
4
- * https://blog.csdn.net/u010791662
5
- */
6
-
7
-(function () {
8
-    /**
9
-     * 
10
-     * @param opts
11
-     */
12
-    function doAjax(opts) {
13
-        this.url = opts.url;
14
-        this.data = opts.data || {};
15
-        // this.isShowLoad = opts.isShowLoad == undefined ? false : opts.isShowLoad;
16
-        this.Type = opts.Type || "POST";
17
-        this.dataType = opts.dataType || "json";
18
-        this.callBack = opts.callBack;
19
-        this.async = opts.async || true;
20
-        this.contentType = opts.contentType == undefined ? "application/x-www-form-urlencoded" : opts.contentType;
21
-        this.processData = opts.processData == undefined ? true : opts.processData;
22
-        this.error = opts.error || requestError;
23
-        this.init();
24
-    }
25
-
26
-    //初始化
27
-    doAjax.prototype.init = function () {
28
-        this.getRequire();
29
-    };
30
-
31
-    //发送请求
32
-    doAjax.prototype.getRequire = function () {
33
-
34
-        var self = this;
35
-        // if (self.isShowLoad)
36
-        //     showWait(0);
37
-        $.ajax({
38
-                url: self.url,
39
-                data: self.data,
40
-                type: self.Type,
41
-                dataType: self.dataType,
42
-                async: self.async,
43
-                contentType: self.contentType,
44
-                processData: self.processData,
45
-                success: function (res) {
46
-                    beforeResponse(res);
47
-                    if (self.callBack) {
48
-                        if ($.isFunction(self.callBack)) {
49
-                            self.callBack(res);
50
-                        } else {
51
-                            console.log("callBack is not a function");
52
-                        }
53
-                    }
54
-
55
-                },
56
-                error: self.error
57
-            }
58
-        );
59
-    };
60
-    window.doAjax = doAjax;
61
-    return this;
62
-})();
63
-
64
-/**
65
- * 请求错误的统一处理
66
- * @param jqXHR
67
- * @param textStatus
68
- * @param errorThrown
69
- */
70
-function requestError(jqXHR, textStatus, errorThrown) {
71
-    /*弹出jqXHR对象的信息*/
72
-    // console.log(jqXHR.responseText);
73
-    console.log(jqXHR.status);
74
-    // console.log(jqXHR.readyState);
75
-    // console.log(jqXHR.statusText);
76
-    // /*弹出其他两个参数的信息*/
77
-    // console.log(textStatus);
78
-    // console.log(errorThrown);
79
-
80
-}
81
-/**
82
- * 执行回调函数前的统一处理
83
- * @param result
84
- */
85
-function beforeResponse(result) {
86
-}

+ 0 - 86
WebChartNewest/js - 副本/util.js

@@ -1,86 +0,0 @@
1
-/**
2
- * ajax的二次封装
3
- * Created by huantt on 2018/7/16.
4
- * https://blog.csdn.net/u010791662
5
- */
6
-
7
-(function () {
8
-    /**
9
-     * 
10
-     * @param opts
11
-     */
12
-    function doAjax(opts) {
13
-        this.url = opts.url;
14
-        this.data = opts.data || {};
15
-        // this.isShowLoad = opts.isShowLoad == undefined ? false : opts.isShowLoad;
16
-        this.Type = opts.Type || "POST";
17
-        this.dataType = opts.dataType || "json";
18
-        this.callBack = opts.callBack;
19
-        this.async = opts.async || true;
20
-        this.contentType = opts.contentType == undefined ? "application/x-www-form-urlencoded" : opts.contentType;
21
-        this.processData = opts.processData == undefined ? true : opts.processData;
22
-        this.error = opts.error || requestError;
23
-        this.init();
24
-    }
25
-
26
-    //初始化
27
-    doAjax.prototype.init = function () {
28
-        this.getRequire();
29
-    };
30
-
31
-    //发送请求
32
-    doAjax.prototype.getRequire = function () {
33
-
34
-        var self = this;
35
-        // if (self.isShowLoad)
36
-        //     showWait(0);
37
-        $.ajax({
38
-                url: self.url,
39
-                data: self.data,
40
-                type: self.Type,
41
-                dataType: self.dataType,
42
-                async: self.async,
43
-                contentType: self.contentType,
44
-                processData: self.processData,
45
-                success: function (res) {
46
-                    beforeResponse(res);
47
-                    if (self.callBack) {
48
-                        if ($.isFunction(self.callBack)) {
49
-                            self.callBack(res);
50
-                        } else {
51
-                            console.log("callBack is not a function");
52
-                        }
53
-                    }
54
-
55
-                },
56
-                error: self.error
57
-            }
58
-        );
59
-    };
60
-    window.doAjax = doAjax;
61
-    return this;
62
-})();
63
-
64
-/**
65
- * 请求错误的统一处理
66
- * @param jqXHR
67
- * @param textStatus
68
- * @param errorThrown
69
- */
70
-function requestError(jqXHR, textStatus, errorThrown) {
71
-    /*弹出jqXHR对象的信息*/
72
-    // console.log(jqXHR.responseText);
73
-    console.log(jqXHR.status);
74
-    // console.log(jqXHR.readyState);
75
-    // console.log(jqXHR.statusText);
76
-    // /*弹出其他两个参数的信息*/
77
-    // console.log(textStatus);
78
-    // console.log(errorThrown);
79
-
80
-}
81
-/**
82
- * 执行回调函数前的统一处理
83
- * @param result
84
- */
85
-function beforeResponse(result) {
86
-}

BIN
WebChartNewest/js - 副本/websocket/WebSocketMain.swf


File diff suppressed because it is too large
+ 0 - 4
WebChartNewest/js - 副本/websocket/swfobject.js


+ 0 - 398
WebChartNewest/js - 副本/websocket/web_socket.js

@@ -1,398 +0,0 @@
1
-// Copyright: Hiroshi Ichikawa <http://gimite.net/en/>
2
-// License: New BSD License
3
-// Reference: http://dev.w3.org/html5/websockets/
4
-// Reference: http://tools.ietf.org/html/rfc6455
5
-
6
-(function() {
7
-  
8
-  if (window.WEB_SOCKET_FORCE_FLASH) {
9
-    // Keeps going.
10
-  } else if (window.WebSocket) {
11
-    return;
12
-  } else if (window.MozWebSocket) {
13
-    // Firefox.
14
-    window.WebSocket = MozWebSocket;
15
-    return;
16
-  }
17
-  
18
-  var logger;
19
-  if (window.WEB_SOCKET_LOGGER) {
20
-    logger = WEB_SOCKET_LOGGER;
21
-  } else if (window.console && window.console.log && window.console.error) {
22
-    // In some environment, console is defined but console.log or console.error is missing.
23
-    logger = window.console;
24
-  } else {
25
-    logger = {log: function(){ }, error: function(){ }};
26
-  }
27
-  
28
-  // swfobject.hasFlashPlayerVersion("10.0.0") doesn't work with Gnash.
29
-  if (swfobject.getFlashPlayerVersion().major < 10) {
30
-    logger.error("Flash Player >= 10.0.0 is required.");
31
-    return;
32
-  }
33
-  if (location.protocol == "file:") {
34
-    logger.error(
35
-      "WARNING: web-socket-js doesn't work in file:///... URL " +
36
-      "unless you set Flash Security Settings properly. " +
37
-      "Open the page via Web server i.e. http://...");
38
-  }
39
-
40
-  /**
41
-   * Our own implementation of WebSocket class using Flash.
42
-   * @param {string} url
43
-   * @param {array or string} protocols
44
-   * @param {string} proxyHost
45
-   * @param {int} proxyPort
46
-   * @param {string} headers
47
-   */
48
-  window.WebSocket = function(url, protocols, proxyHost, proxyPort, headers) {
49
-    var self = this;
50
-    self.__id = WebSocket.__nextId++;
51
-    WebSocket.__instances[self.__id] = self;
52
-    self.readyState = WebSocket.CONNECTING;
53
-    self.bufferedAmount = 0;
54
-    self.__events = {};
55
-    if (!protocols) {
56
-      protocols = [];
57
-    } else if (typeof protocols == "string") {
58
-      protocols = [protocols];
59
-    }
60
-    // Uses setTimeout() to make sure __createFlash() runs after the caller sets ws.onopen etc.
61
-    // Otherwise, when onopen fires immediately, onopen is called before it is set.
62
-    self.__createTask = setTimeout(function() {
63
-      WebSocket.__addTask(function() {
64
-        self.__createTask = null;
65
-        WebSocket.__flash.create(
66
-            self.__id, url, protocols, proxyHost || null, proxyPort || 0, headers || null);
67
-      });
68
-    }, 0);
69
-  };
70
-
71
-  /**
72
-   * Send data to the web socket.
73
-   * @param {string} data  The data to send to the socket.
74
-   * @return {boolean}  True for success, false for failure.
75
-   */
76
-  WebSocket.prototype.send = function(data) {
77
-    if (this.readyState == WebSocket.CONNECTING) {
78
-      throw "INVALID_STATE_ERR: Web Socket connection has not been established";
79
-    }
80
-    // We use encodeURIComponent() here, because FABridge doesn't work if
81
-    // the argument includes some characters. We don't use escape() here
82
-    // because of this:
83
-    // https://developer.mozilla.org/en/Core_JavaScript_1.5_Guide/Functions#escape_and_unescape_Functions
84
-    // But it looks decodeURIComponent(encodeURIComponent(s)) doesn't
85
-    // preserve all Unicode characters either e.g. "\uffff" in Firefox.
86
-    // Note by wtritch: Hopefully this will not be necessary using ExternalInterface.  Will require
87
-    // additional testing.
88
-    var result = WebSocket.__flash.send(this.__id, encodeURIComponent(data));
89
-    if (result < 0) { // success
90
-      return true;
91
-    } else {
92
-      this.bufferedAmount += result;
93
-      return false;
94
-    }
95
-  };
96
-
97
-  /**
98
-   * Close this web socket gracefully.
99
-   */
100
-  WebSocket.prototype.close = function() {
101
-    if (this.__createTask) {
102
-      clearTimeout(this.__createTask);
103
-      this.__createTask = null;
104
-      this.readyState = WebSocket.CLOSED;
105
-      return;
106
-    }
107
-    if (this.readyState == WebSocket.CLOSED || this.readyState == WebSocket.CLOSING) {
108
-      return;
109
-    }
110
-    this.readyState = WebSocket.CLOSING;
111
-    WebSocket.__flash.close(this.__id);
112
-  };
113
-
114
-  /**
115
-   * Implementation of {@link <a href="http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-registration">DOM 2 EventTarget Interface</a>}
116
-   *
117
-   * @param {string} type
118
-   * @param {function} listener
119
-   * @param {boolean} useCapture
120
-   * @return void
121
-   */
122
-  WebSocket.prototype.addEventListener = function(type, listener, useCapture) {
123
-    if (!(type in this.__events)) {
124
-      this.__events[type] = [];
125
-    }
126
-    this.__events[type].push(listener);
127
-  };
128
-
129
-  /**
130
-   * Implementation of {@link <a href="http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-registration">DOM 2 EventTarget Interface</a>}
131
-   *
132
-   * @param {string} type
133
-   * @param {function} listener
134
-   * @param {boolean} useCapture
135
-   * @return void
136
-   */
137
-  WebSocket.prototype.removeEventListener = function(type, listener, useCapture) {
138
-    if (!(type in this.__events)) return;
139
-    var events = this.__events[type];
140
-    for (var i = events.length - 1; i >= 0; --i) {
141
-      if (events[i] === listener) {
142
-        events.splice(i, 1);
143
-        break;
144
-      }
145
-    }
146
-  };
147
-
148
-  /**
149
-   * Implementation of {@link <a href="http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-registration">DOM 2 EventTarget Interface</a>}
150
-   *
151
-   * @param {Event} event
152
-   * @return void
153
-   */
154
-  WebSocket.prototype.dispatchEvent = function(event) {
155
-    var events = this.__events[event.type] || [];
156
-    for (var i = 0; i < events.length; ++i) {
157
-      events[i](event);
158
-    }
159
-    var handler = this["on" + event.type];
160
-    if (handler) handler.apply(this, [event]);
161
-  };
162
-
163
-  /**
164
-   * Handles an event from Flash.
165
-   * @param {Object} flashEvent
166
-   */
167
-  WebSocket.prototype.__handleEvent = function(flashEvent) {
168
-    
169
-    if ("readyState" in flashEvent) {
170
-      this.readyState = flashEvent.readyState;
171
-    }
172
-    if ("protocol" in flashEvent) {
173
-      this.protocol = flashEvent.protocol;
174
-    }
175
-    
176
-    var jsEvent;
177
-    if (flashEvent.type == "open" || flashEvent.type == "error") {
178
-      jsEvent = this.__createSimpleEvent(flashEvent.type);
179
-    } else if (flashEvent.type == "close") {
180
-      jsEvent = this.__createSimpleEvent("close");
181
-      jsEvent.wasClean = flashEvent.wasClean ? true : false;
182
-      jsEvent.code = flashEvent.code;
183
-      jsEvent.reason = flashEvent.reason;
184
-    } else if (flashEvent.type == "message") {
185
-      var data = decodeURIComponent(flashEvent.message);
186
-      jsEvent = this.__createMessageEvent("message", data);
187
-    } else {
188
-      throw "unknown event type: " + flashEvent.type;
189
-    }
190
-    
191
-    this.dispatchEvent(jsEvent);
192
-    
193
-  };
194
-  
195
-  WebSocket.prototype.__createSimpleEvent = function(type) {
196
-    if (document.createEvent && window.Event) {
197
-      var event = document.createEvent("Event");
198
-      event.initEvent(type, false, false);
199
-      return event;
200
-    } else {
201
-      return {type: type, bubbles: false, cancelable: false};
202
-    }
203
-  };
204
-  
205
-  WebSocket.prototype.__createMessageEvent = function(type, data) {
206
-    if (window.MessageEvent && typeof(MessageEvent) == "function" && !window.opera) {
207
-      return new MessageEvent("message", {
208
-        "view": window,
209
-        "bubbles": false,
210
-        "cancelable": false,
211
-        "data": data
212
-      });
213
-    } else if (document.createEvent && window.MessageEvent && !window.opera) {
214
-      var event = document.createEvent("MessageEvent");
215
-    	event.initMessageEvent("message", false, false, data, null, null, window, null);
216
-      return event;
217
-    } else {
218
-      // Old IE and Opera, the latter one truncates the data parameter after any 0x00 bytes.
219
-      return {type: type, data: data, bubbles: false, cancelable: false};
220
-    }
221
-  };
222
-  
223
-  /**
224
-   * Define the WebSocket readyState enumeration.
225
-   */
226
-  WebSocket.CONNECTING = 0;
227
-  WebSocket.OPEN = 1;
228
-  WebSocket.CLOSING = 2;
229
-  WebSocket.CLOSED = 3;
230
-
231
-  // Field to check implementation of WebSocket.
232
-  WebSocket.__isFlashImplementation = true;
233
-  WebSocket.__initialized = false;
234
-  WebSocket.__flash = null;
235
-  WebSocket.__instances = {};
236
-  WebSocket.__tasks = [];
237
-  WebSocket.__nextId = 0;
238
-  
239
-  /**
240
-   * Load a new flash security policy file.
241
-   * @param {string} url
242
-   */
243
-  WebSocket.loadFlashPolicyFile = function(url){
244
-    WebSocket.__addTask(function() {
245
-      WebSocket.__flash.loadManualPolicyFile(url);
246
-    });
247
-  };
248
-
249
-  /**
250
-   * Loads WebSocketMain.swf and creates WebSocketMain object in Flash.
251
-   */
252
-  WebSocket.__initialize = function() {
253
-    
254
-    if (WebSocket.__initialized) return;
255
-    WebSocket.__initialized = true;
256
-    
257
-    if (WebSocket.__swfLocation) {
258
-      // For backword compatibility.
259
-      window.WEB_SOCKET_SWF_LOCATION = WebSocket.__swfLocation;
260
-    }
261
-    if (!window.WEB_SOCKET_SWF_LOCATION) {
262
-      logger.error("[WebSocket] set WEB_SOCKET_SWF_LOCATION to location of WebSocketMain.swf");
263
-      return;
264
-    }
265
-    if (!window.WEB_SOCKET_SUPPRESS_CROSS_DOMAIN_SWF_ERROR &&
266
-        !WEB_SOCKET_SWF_LOCATION.match(/(^|\/)WebSocketMainInsecure\.swf(\?.*)?$/) &&
267
-        WEB_SOCKET_SWF_LOCATION.match(/^\w+:\/\/([^\/]+)/)) {
268
-      var swfHost = RegExp.$1;
269
-      if (location.host != swfHost) {
270
-        logger.error(
271
-            "[WebSocket] You must host HTML and WebSocketMain.swf in the same host " +
272
-            "('" + location.host + "' != '" + swfHost + "'). " +
273
-            "See also 'How to host HTML file and SWF file in different domains' section " +
274
-            "in README.md. If you use WebSocketMainInsecure.swf, you can suppress this message " +
275
-            "by WEB_SOCKET_SUPPRESS_CROSS_DOMAIN_SWF_ERROR = true;");
276
-      }
277
-    }
278
-    var container = document.createElement("div");
279
-    container.id = "webSocketContainer";
280
-    // Hides Flash box. We cannot use display: none or visibility: hidden because it prevents
281
-    // Flash from loading at least in IE. So we move it out of the screen at (-100, -100).
282
-    // But this even doesn't work with Flash Lite (e.g. in Droid Incredible). So with Flash
283
-    // Lite, we put it at (0, 0). This shows 1x1 box visible at left-top corner but this is
284
-    // the best we can do as far as we know now.
285
-    container.style.position = "absolute";
286
-    if (WebSocket.__isFlashLite()) {
287
-      container.style.left = "0px";
288
-      container.style.top = "0px";
289
-    } else {
290
-      container.style.left = "-100px";
291
-      container.style.top = "-100px";
292
-    }
293
-    var holder = document.createElement("div");
294
-    holder.id = "webSocketFlash";
295
-    container.appendChild(holder);
296
-    document.body.appendChild(container);
297
-    // See this article for hasPriority:
298
-    // http://help.adobe.com/en_US/as3/mobile/WS4bebcd66a74275c36cfb8137124318eebc6-7ffd.html
299
-    swfobject.embedSWF(
300
-      WEB_SOCKET_SWF_LOCATION,
301
-      "webSocketFlash",
302
-      "1" /* width */,
303
-      "1" /* height */,
304
-      "10.0.0" /* SWF version */,
305
-      null,
306
-      null,
307
-      {hasPriority: true, swliveconnect : true, allowScriptAccess: "always"},
308
-      null,
309
-      function(e) {
310
-        if (!e.success) {
311
-          logger.error("[WebSocket] swfobject.embedSWF failed");
312
-        }
313
-      }
314
-    );
315
-    
316
-  };
317
-  
318
-  /**
319
-   * Called by Flash to notify JS that it's fully loaded and ready
320
-   * for communication.
321
-   */
322
-  WebSocket.__onFlashInitialized = function() {
323
-    // We need to set a timeout here to avoid round-trip calls
324
-    // to flash during the initialization process.
325
-    setTimeout(function() {
326
-      WebSocket.__flash = document.getElementById("webSocketFlash");
327
-      WebSocket.__flash.setCallerUrl(location.href);
328
-      WebSocket.__flash.setDebug(!!window.WEB_SOCKET_DEBUG);
329
-      for (var i = 0; i < WebSocket.__tasks.length; ++i) {
330
-        WebSocket.__tasks[i]();
331
-      }
332
-      WebSocket.__tasks = [];
333
-    }, 0);
334
-  };
335
-  
336
-  /**
337
-   * Called by Flash to notify WebSockets events are fired.
338
-   */
339
-  WebSocket.__onFlashEvent = function() {
340
-    setTimeout(function() {
341
-      try {
342
-        // Gets events using receiveEvents() instead of getting it from event object
343
-        // of Flash event. This is to make sure to keep message order.
344
-        // It seems sometimes Flash events don't arrive in the same order as they are sent.
345
-        var events = WebSocket.__flash.receiveEvents();
346
-        for (var i = 0; i < events.length; ++i) {
347
-          WebSocket.__instances[events[i].webSocketId].__handleEvent(events[i]);
348
-        }
349
-      } catch (e) {
350
-        logger.error(e);
351
-      }
352
-    }, 0);
353
-    return true;
354
-  };
355
-  
356
-  // Called by Flash.
357
-  WebSocket.__log = function(message) {
358
-    logger.log(decodeURIComponent(message));
359
-  };
360
-  
361
-  // Called by Flash.
362
-  WebSocket.__error = function(message) {
363
-    logger.error(decodeURIComponent(message));
364
-  };
365
-  
366
-  WebSocket.__addTask = function(task) {
367
-    if (WebSocket.__flash) {
368
-      task();
369
-    } else {
370
-      WebSocket.__tasks.push(task);
371
-    }
372
-  };
373
-  
374
-  /**
375
-   * Test if the browser is running flash lite.
376
-   * @return {boolean} True if flash lite is running, false otherwise.
377
-   */
378
-  WebSocket.__isFlashLite = function() {
379
-    if (!window.navigator || !window.navigator.mimeTypes) {
380
-      return false;
381
-    }
382
-    var mimeType = window.navigator.mimeTypes["application/x-shockwave-flash"];
383
-    if (!mimeType || !mimeType.enabledPlugin || !mimeType.enabledPlugin.filename) {
384
-      return false;
385
-    }
386
-    return mimeType.enabledPlugin.filename.match(/flashlite/i) ? true : false;
387
-  };
388
-  
389
-  if (!window.WEB_SOCKET_DISABLE_AUTO_INITIALIZATION) {
390
-    // NOTE:
391
-    //   This fires immediately if web_socket.js is dynamically loaded after
392
-    //   the document is loaded.
393
-    swfobject.addDomLoadEvent(function() {
394
-      WebSocket.__initialize();
395
-    });
396
-  }
397
-  
398
-})();

+ 46 - 79
WebChartNewest/js/index.js

@@ -6,11 +6,14 @@ var numscroll = [];
6 6
 var numscroll1 = [];
7 7
 var trafficState = 0
8 8
 var trafficData = [];
9
-var sourceCountId = [];
10
-var seatData = []; 
11
-var timeState = 1
9
+var sourceCountId = [],
10
+	seatData = [], 
11
+	timeState = 1,
12
+	hotlineDataType = 0,
13
+	MajoreventsDataType=0,
14
+	keyCountDataType=0,
15
+	typeCountDataType=0
12 16
 //时段话务
13
-$('.act').html('当日数据')
14 17
 gettraffic() //话务量
15 18
 getHotline() //热线
16 19
 getHotThings() //重大事件
@@ -477,7 +480,8 @@ function getHotThings() {
477 480
 		Type: 'get',
478 481
 		data: {
479 482
 			stime: '',
480
-			etime: ''
483
+			etime: '',
484
+			timetype:MajoreventsDataType
481 485
 		},
482 486
 		callBack: function (res) {
483 487
 			res.forEach(function (v, n) {
@@ -508,12 +512,7 @@ function gettraffic() {
508 512
 					$('#traffic').css('display', 'block')
509 513
 					$('#timeTraffic').css('display', 'none')
510 514
 					$('.call_situation h2').text('话务数据统计')
511
-					$('.act').html(`<label data-pos="1">
512
-							今日<span class="month active"></span>
513
-						</label><br>
514
-						<label data-pos="2">
515
-							本月<span class="day"></span>
516
-						</label> `)
515
+					$(this).siblings(".act").children("label").attr("indexTitle","话务数据统计2")
517 516
 					new doAjax({
518 517
 						url: huayi.config.callcenter_url + "InfoNew/GetHWCount24ByNow",
519 518
 						data: {},
@@ -521,38 +520,7 @@ function gettraffic() {
521 520
 							trafficChart(res.data.hours, res.data.hwcount[0], res.data.jtcount[0])
522 521
 						}
523 522
 					});
524
-					//话务点击
525
-					$('.act').click(function (e) {
526
-						if (!e.isPropagationStopped()) {//确定stopPropagation是否被调用过
527
-							if (e.target.tagName == 'LABEL') {
528
-								if ($(e.target).attr('data-pos') == '1') {
529
-									$('.month').addClass('active');
530
-									$('.day').removeClass('active')
531
-									new doAjax({
532
-										url: huayi.config.callcenter_url + "InfoNew/GetHWCount24ByNow",
533
-										data: {},
534
-										callBack: function (res) {
535
-											trafficChart(res.data.hours, res.data.hwcount[0], res.data.jtcount[0])
536
-										}
537
-									});
538
-									trafficState = 0;
539
-
540
-								} else if ($(e.target).attr('data-pos') == '2') {
541
-									$('.day').addClass('active');
542
-									$('.month').removeClass('active')
543
-									new doAjax({
544
-										url: huayi.config.callcenter_url + "InfoNew/GetHWCountMonthByNow",
545
-										data: {},
546
-										callBack: function (res) {
547
-											trafficChart(res.data.days, res.data.hwcount[0], res.data.jtcount[0])
548
-										}
549
-									});
550
-									trafficState = 1;
551
-								}
552
-							}
553
-						}
554
-						// e.stopPropagation();
555
-					})
523
+					
556 524
 				}
557 525
 			}
558 526
 		}
@@ -565,7 +533,9 @@ function getHotline() {
565 533
 	let newArr = []
566 534
 	new doAjax({
567 535
 		url: huayi.config.callcenter_url + "/InfoNew/GetHotline",
568
-		data: {},
536
+		data: {
537
+			timetype:hotlineDataType
538
+		},
569 539
 		callBack: function (res) {
570 540
 			let str = '';
571 541
 			res.data.forEach(function (v, n) {
@@ -584,37 +554,37 @@ function getHotline() {
584 554
 			res.data.forEach(function (val, num) {
585 555
 				arr.forEach(function (v, n) {
586 556
 					if (n === 0 && v.name === val.value) {
587
-						str += '<li onmouseover="getHotLineInfo(\'' + val.name + '\',\'' + val.bili + '\',\'' + n + '\')" style="background-image: url(../image/line/line' + n + '.png);"><div class="number">' + val.count + '</div><div class="hotCall">' + val.value + '</div></li>'
557
+						str += '<li onmouseover="getHotLineInfo(\'' + val.name + '\',\'' + val.bili + '\',\'' + n + '\')" style="background-image: url(./image/line/line' + n + '.png);"><div class="number">' + val.count + '</div><div class="hotCall">' + val.value + '</div></li>'
588 558
 					} else if (n === 1 && v.name === val.value) {
589
-						str += '<li onmouseover="getHotLineInfo(\'' + val.name + '\',\'' + val.bili + '\',\'' + n + '\')" style="background-image: url(../image/line/line' + n + '.png);"><div class="number">' + val.count + '</div><div class="hotCall">' + val.value + '</div></li>'
559
+						str += '<li onmouseover="getHotLineInfo(\'' + val.name + '\',\'' + val.bili + '\',\'' + n + '\')" style="background-image: url(./image/line/line' + n + '.png);"><div class="number">' + val.count + '</div><div class="hotCall">' + val.value + '</div></li>'
590 560
 					} else if (n === 2 && v.name === val.value) {
591
-						str += '<li onmouseover="getHotLineInfo(\'' + val.name + '\',\'' + val.bili + '\',\'' + n + '\')" style="background-image: url(../image/line/line' + n + '.png);"><div class="number">' + val.count + '</div><div class="hotCall">' + val.value + '</div></li>'
561
+						str += '<li onmouseover="getHotLineInfo(\'' + val.name + '\',\'' + val.bili + '\',\'' + n + '\')" style="background-image: url(./image/line/line' + n + '.png);"><div class="number">' + val.count + '</div><div class="hotCall">' + val.value + '</div></li>'
592 562
 					} else if (n === 3 && v.name === val.value) {
593
-						str += '<li onmouseover="getHotLineInfo(\'' + val.name + '\',\'' + val.bili + '\',\'' + n + '\')" style="background-image: url(../image/line/line' + n + '.png);"><div class="number">' + val.count + '</div><div class="hotCall">' + val.value + '</div></li>'
563
+						str += '<li onmouseover="getHotLineInfo(\'' + val.name + '\',\'' + val.bili + '\',\'' + n + '\')" style="background-image: url(./image/line/line' + n + '.png);"><div class="number">' + val.count + '</div><div class="hotCall">' + val.value + '</div></li>'
594 564
 					} else if (n === 4 && v.name === val.value) {
595
-						str += '<li onmouseover="getHotLineInfo(\'' + val.name + '\',\'' + val.bili + '\',\'' + n + '\')" style="background-image: url(../image/line/line' + n + '.png);"><div class="number">' + val.count + '</div><div class="hotCall">' + val.value + '</div></li>'
565
+						str += '<li onmouseover="getHotLineInfo(\'' + val.name + '\',\'' + val.bili + '\',\'' + n + '\')" style="background-image: url(./image/line/line' + n + '.png);"><div class="number">' + val.count + '</div><div class="hotCall">' + val.value + '</div></li>'
596 566
 					} else if (n === 5 && v.name === val.value) {
597
-						str += '<li onmouseover="getHotLineInfo(\'' + val.name + '\',\'' + val.bili + '\',\'' + n + '\')" style="background-image: url(../image/line/line' + n + '.png);"><div class="number">' + val.count + '</div><div class="hotCall">' + val.value + '</div></li>'
567
+						str += '<li onmouseover="getHotLineInfo(\'' + val.name + '\',\'' + val.bili + '\',\'' + n + '\')" style="background-image: url(./image/line/line' + n + '.png);"><div class="number">' + val.count + '</div><div class="hotCall">' + val.value + '</div></li>'
598 568
 					} else if (n === 6 && v.name === val.value) {
599
-						str += '<li onmouseover="getHotLineInfo(\'' + val.name + '\',\'' + val.bili + '\',\'' + n + '\')" style="background-image: url(../image/line/line' + n + '.png);"><div class="number">' + val.count + '</div><div class="hotCall">' + val.value + '</div></li>'
569
+						str += '<li onmouseover="getHotLineInfo(\'' + val.name + '\',\'' + val.bili + '\',\'' + n + '\')" style="background-image: url(./image/line/line' + n + '.png);"><div class="number">' + val.count + '</div><div class="hotCall">' + val.value + '</div></li>'
600 570
 					} else if (n === 7 && v.name === val.value) {
601
-						str += '<li onmouseover="getHotLineInfo(\'' + val.name + '\',\'' + val.bili + '\',\'' + n + '\')" style="background-image: url(../image/line/line' + n + '.png);"><div class="number">' + val.count + '</div><div class="hotCall">' + val.value + '</div></li>'
571
+						str += '<li onmouseover="getHotLineInfo(\'' + val.name + '\',\'' + val.bili + '\',\'' + n + '\')" style="background-image: url(./image/line/line' + n + '.png);"><div class="number">' + val.count + '</div><div class="hotCall">' + val.value + '</div></li>'
602 572
 					} else if (n === 8 && v.name === val.value) {
603
-						str += '<li onmouseover="getHotLineInfo(\'' + val.name + '\',\'' + val.bili + '\',\'' + n + '\')" style="background-image: url(../image/line/line' + n + '.png);"><div class="number">' + val.count + '</div><div class="hotCall">' + val.value + '</div></li>'
573
+						str += '<li onmouseover="getHotLineInfo(\'' + val.name + '\',\'' + val.bili + '\',\'' + n + '\')" style="background-image: url(./image/line/line' + n + '.png);"><div class="number">' + val.count + '</div><div class="hotCall">' + val.value + '</div></li>'
604 574
 					} else if (n === 9 && v.name === val.value) {
605
-						str += '<li onmouseover="getHotLineInfo(\'' + val.name + '\',\'' + val.bili + '\',\'' + n + '\')" style="background-image: url(../image/line/line' + n + '.png);"><div class="number">' + val.count + '</div><div class="hotCall">' + val.value + '</div></li>'
575
+						str += '<li onmouseover="getHotLineInfo(\'' + val.name + '\',\'' + val.bili + '\',\'' + n + '\')" style="background-image: url(./image/line/line' + n + '.png);"><div class="number">' + val.count + '</div><div class="hotCall">' + val.value + '</div></li>'
606 576
 					} else if (n === 10 && v.name === val.value) {
607
-						str += '<li onmouseover="getHotLineInfo(\'' + val.name + '\',\'' + val.bili + '\',\'' + n + '\')" style="background-image: url(../image/line/line' + n + '.png);"><div class="number">' + val.count + '</div><div class="hotCall">' + val.value + '</div></li>'
577
+						str += '<li onmouseover="getHotLineInfo(\'' + val.name + '\',\'' + val.bili + '\',\'' + n + '\')" style="background-image: url(./image/line/line' + n + '.png);"><div class="number">' + val.count + '</div><div class="hotCall">' + val.value + '</div></li>'
608 578
 					} else if (n === 11 && v.name === val.value) {
609
-						str += '<li onmouseover="getHotLineInfo(\'' + val.name + '\',\'' + val.bili + '\',\'' + n + '\')" style="background-image: url(../image/line/line' + n + '.png);"><div class="number">' + val.count + '</div><div class="hotCall">' + val.value + '</div></li>'
579
+						str += '<li onmouseover="getHotLineInfo(\'' + val.name + '\',\'' + val.bili + '\',\'' + n + '\')" style="background-image: url(./image/line/line' + n + '.png);"><div class="number">' + val.count + '</div><div class="hotCall">' + val.value + '</div></li>'
610 580
 					} else if (n === 12 && v.name === val.value) {
611
-						str += '<li onmouseover="getHotLineInfo(\'' + val.name + '\',\'' + val.bili + '\',\'' + n + '\')" style="background-image: url(../image/line/line' + n + '.png);"><div class="number">' + val.count + '</div><div class="hotCall">' + val.value + '</div></li>'
581
+						str += '<li onmouseover="getHotLineInfo(\'' + val.name + '\',\'' + val.bili + '\',\'' + n + '\')" style="background-image: url(./image/line/line' + n + '.png);"><div class="number">' + val.count + '</div><div class="hotCall">' + val.value + '</div></li>'
612 582
 					} else if (n === 13 && v.name === val.value) {
613
-						str += '<li onmouseover="getHotLineInfo(\'' + val.name + '\',\'' + val.bili + '\',\'' + n + '\')" style="background-image: url(../image/line/line' + n + '.png);"><div class="number">' + val.count + '</div><div class="hotCall">' + val.value + '</div></li>'
583
+						str += '<li onmouseover="getHotLineInfo(\'' + val.name + '\',\'' + val.bili + '\',\'' + n + '\')" style="background-image: url(./image/line/line' + n + '.png);"><div class="number">' + val.count + '</div><div class="hotCall">' + val.value + '</div></li>'
614 584
 					}else if (n === 14 && v.name === val.value) {
615
-						str += '<li onmouseover="getHotLineInfo(\'' + val.name + '\',\'' + val.bili + '\',\'' + n + '\')" style="background-image: url(../image/line/line' + n + '.png);"><div class="number">' + val.count + '</div><div class="hotCall">' + val.value + '</div></li>'
585
+						str += '<li onmouseover="getHotLineInfo(\'' + val.name + '\',\'' + val.bili + '\',\'' + n + '\')" style="background-image: url(./image/line/line' + n + '.png);"><div class="number">' + val.count + '</div><div class="hotCall">' + val.value + '</div></li>'
616 586
 					}else if (n === 15 && v.name === val.value) {
617
-						str += '<li onmouseover="getHotLineInfo(\'' + val.name + '\',\'' + val.bili + '\',\'' + n + '\')" style="background-image: url(../image/line/line' + n + '.png);"><div class="number">' + val.count + '</div><div class="hotCall">' + val.value + '</div></li>'
587
+						str += '<li onmouseover="getHotLineInfo(\'' + val.name + '\',\'' + val.bili + '\',\'' + n + '\')" style="background-image: url(./image/line/line' + n + '.png);"><div class="number">' + val.count + '</div><div class="hotCall">' + val.value + '</div></li>'
618 588
 					}
619 589
 				})
620 590
 			})
@@ -728,7 +698,9 @@ function getKeyWord() {
728 698
 	new doAjax({
729 699
 		url: huayi.config.callcenter_url + "/InfoNew/GetKeyCountByNow",
730 700
 		// url: "http://192.168.8.9:1042/InfoNew/GetKeyCountByNow",
731
-		data: {},
701
+		data: {
702
+			timetype:keyCountDataType
703
+		},
732 704
 		callBack: function (res) {
733 705
 			let str = '';
734 706
 			let keyName;
@@ -747,7 +719,9 @@ function getworkOrder() {
747 719
 	let workOrderName = []
748 720
 	new doAjax({
749 721
 		url: huayi.config.callcenter_url + "/InfoNew/GetTypeCount",
750
-		data: {},
722
+		data: {
723
+			timetype:typeCountDataType
724
+		},
751 725
 		callBack: function (res) {
752 726
 			res.data.forEach(function (v, n) {
753 727
 				workOrderData.push({
@@ -951,7 +925,8 @@ function getKeyInfo(keyid, n) {
951 925
 	new doAjax({
952 926
 		url: huayi.config.callcenter_url + "/InfoNew/GetKeyArea",
953 927
 		data: {
954
-			pid: keyid
928
+			pid: keyid,
929
+			timetype:keyCountDataType
955 930
 		},
956 931
 		callBack: function (res) {
957 932
 			let str = ''
@@ -1803,7 +1778,7 @@ $('.test_rank .count-share').click(function (e) {
1803 1778
 	e.stopPropagation()
1804 1779
 })
1805 1780
 
1806
-$('.accept_statistics').click(function (e) {
1781
+$('.accept_statistics ul').click(function (e) {
1807 1782
 	$('.bulletFrame').show();
1808 1783
 	$('.hotline_wrap').show();
1809 1784
 	$('.hotline_wrap').siblings().hide()
@@ -1827,7 +1802,8 @@ $('.accept_statistics').click(function (e) {
1827 1802
 			Type: 'get',
1828 1803
 			data: {
1829 1804
 				stime: value && value.split(' ~ ')[0],
1830
-				etime: value && value.split(' ~ ')[1]
1805
+				etime: value && value.split(' ~ ')[1],
1806
+				timetype:hotlineDataType
1831 1807
 			},
1832 1808
 			callBack: function (res) {
1833 1809
 				res.data.forEach(function (v, n) {
@@ -1845,7 +1821,7 @@ $('.accept_statistics').click(function (e) {
1845 1821
 	e.stopPropagation()
1846 1822
 })
1847 1823
 //重大事件
1848
-$('.accept_channel').click(function (e) {
1824
+$('.accept_channel #hotThings').click(function (e) {
1849 1825
 	$('.bulletFrame').show();
1850 1826
 	$('.events_wrap').show();
1851 1827
 	$('.events_wrap').siblings().hide()
@@ -1863,7 +1839,8 @@ $('.accept_channel').click(function (e) {
1863 1839
 				Type: 'get',
1864 1840
 				data: {
1865 1841
 					stime: value && value.split(' ~ ')[0],
1866
-					etime: value && value.split(' ~ ')[1]
1842
+					etime: value && value.split(' ~ ')[1],
1843
+					timetype:MajoreventsDataType
1867 1844
 				},
1868 1845
 				callBack: function (res) {
1869 1846
 					channelData = [];
@@ -1901,7 +1878,7 @@ $('.accept_channel').click(function (e) {
1901 1878
 	e.stopPropagation()
1902 1879
 })
1903 1880
 //受理工单类型
1904
-$('.time_statistics').click(function (e) {
1881
+$('.time_statistics #workOrder').click(function (e) {
1905 1882
 	$('.bulletFrame').show();
1906 1883
 	$('.acceptanceType_wrap').show();
1907 1884
 	$('.acceptanceType_wrap').siblings().hide()
@@ -2058,7 +2035,7 @@ $('#timeTraffic').click(function (e) {
2058 2035
 	$('.seatMonitor').show();
2059 2036
 	$('.seatMonitor').siblings().hide()
2060 2037
 	//坐席列表展示 GetSeatflagList
2061
-	$.getJSON(huayi.config.callcenter_url + 'SeatMonitoring/getlist', {}, function (res) {
2038
+	$.getJSON(huayi.config.callcenter_url + 'SeatMonitoring/GetSeatGroupList', {}, function (res) {
2062 2039
 		user = res.data
2063 2040
 		if (res.state.toLowerCase() == "success") {
2064 2041
 			let str = ''
@@ -2068,16 +2045,6 @@ $('#timeTraffic').click(function (e) {
2068 2045
 					objSeat.groupID =v.F_SeartGroupID
2069 2046
 					objSeat.agentID =v.F_WorkNumber
2070 2047
 					seatData.push(objSeat)
2071
-//					var arr=[2,8,5,0,5,2,6,7,2];
2072
-//					function unique1(arr){
2073
-//					  var hash=[];
2074
-//					  for (var i = 0; i < arr.length; i++) {
2075
-//					     if(hash.indexOf(arr[i])==-1){
2076
-//					         hash.push(arr[i]);
2077
-//					     }
2078
-//					  }
2079
-//					  return hash;
2080
-//					}
2081 2048
 					str += '<li class="people_list ' + v.F_WorkNumber + 
2082 2049
 					' "><div><div style="margin-right: 3px;"><span class="g-num">' + v.F_WorkNumber +
2083 2050
 					'</span></div><div ><div class="bg_person"></div><p><span class="g-name">' + v.F_UserName+

+ 1 - 1
WebChartNewest/js/main.js

@@ -20,7 +20,7 @@ let callDate = [];//话务坐席数据
20 20
 let hwcount;
21 21
 let jtcount;
22 22
 let daySeatName = ['登陆坐席数量', '呼叫排队数量', '话务量', '呼入接通量'];
23
-let callSeatStateName = ['排队', '通话中', '话后处理', '置忙', '空闲']
23
+let callSeatStateName = ['等待', '通话中', '话后处理', '置忙', '空闲']
24 24
 var lasttime = new Date().getTime();
25 25
 let callSeatStateData;
26 26
 let locationNum = 0;

+ 74 - 0
WebChartNewest/js/newAdd/timetype.js

@@ -0,0 +1,74 @@
1
+//话务点击
2
+$('.dataAct').click(function () {
3
+	var indexTitle = $(this).attr('indexTitle')
4
+	if($(this).attr('data-pos') == '1'){
5
+		$(this).children(".day").addClass('active');
6
+		$(this).siblings("label").children('.month').removeClass('active');
7
+		console.log($(this).attr('indexTitle'))
8
+		if(indexTitle=="话务数据统计1"){
9
+			console.log("日-话务数据统计1")
10
+		}else if(indexTitle=="话务数据统计2"){
11
+			console.log("日-话务数据统计2")
12
+			getHWCount24() //话务数据统计 日
13
+		}else if(indexTitle=="热线整合受理情况"){
14
+			console.log("日-热线整合受理情况")
15
+			hotlineDataType = 0
16
+			getHotline()
17
+		}else if(indexTitle=="舆情监测"){
18
+			console.log("日-舆情监测")
19
+			MajoreventsDataType = 0
20
+			getHotThings()
21
+		}else if(indexTitle=="高频事项"){
22
+			keyCountDataType = 0
23
+			getKeyWord()
24
+			console.log("日-高频事项")
25
+		}else if(indexTitle=="工单类型"){
26
+			console.log("日-工单类型")
27
+			typeCountDataType = 0
28
+			getworkOrder()
29
+		}
30
+		trafficState = 0;
31
+	} else if ($(this).attr('data-pos') == '2') {
32
+		$(this).children('.month').addClass('active')
33
+		$(this).siblings("label").children('.day').removeClass('active');
34
+		console.log($(this).attr('indexTitle'))
35
+		if(indexTitle=="话务数据统计1"){
36
+		}else if(indexTitle=="话务数据统计2"){
37
+			getHWCountMonth() ////话务数据统计 月
38
+		}else if(indexTitle=="热线整合受理情况"){
39
+			hotlineDataType = 1
40
+			getHotline()
41
+		}else if(indexTitle=="舆情监测"){
42
+			MajoreventsDataType = 1
43
+			getHotThings()
44
+		}else if(indexTitle=="高频事项"){
45
+			keyCountDataType = 1
46
+			getKeyWord()
47
+		}else if(indexTitle=="工单类型"){
48
+			typeCountDataType = 1
49
+			getworkOrder()
50
+		}
51
+		trafficState = 1;
52
+	}
53
+})
54
+
55
+//话务数据统计 日
56
+function getHWCount24(){
57
+	new doAjax({
58
+		url: huayi.config.callcenter_url + "InfoNew/GetHWCount24ByNow",
59
+		data: {},
60
+		callBack: function (res) {
61
+			trafficChart(res.data.hours, res.data.hwcount[0], res.data.jtcount[0])
62
+		}
63
+	});
64
+}
65
+//话务数据统计 月
66
+function getHWCountMonth(){
67
+	new doAjax({
68
+		url: huayi.config.callcenter_url + "InfoNew/GetHWCountMonthByNow",
69
+		data: {},
70
+		callBack: function (res) {
71
+			trafficChart(res.data.days, res.data.hwcount[0], res.data.jtcount[0])
72
+		}
73
+	});
74
+}

+ 8 - 4
WebChartNewest/js/second_index.js

@@ -87,6 +87,7 @@ function keyWordTable(id, con, value) {
87 87
 		queryParams: function queryParams(params) { //设置查询参数
88 88
 			var param = {
89 89
 				pid: id,
90
+				timetype:keyCountDataType,			
90 91
 				date: value
91 92
 			}
92 93
 			return param
@@ -933,9 +934,10 @@ function getAcceptanceType() {
933 934
 		//设置为limit可以获取limit, offset, search, sort, order
934 935
 		queryParamsType: "undefined",
935 936
 		queryParams: function queryParams(params) { //设置查询参数
936
-			// var param = {
937
-			// }
938
-			// return param
937
+			 var param = {
938
+			 	timetype:typeCountDataType
939
+			 }
940
+			 return param
939 941
 		},
940 942
 		onLoadSuccess: function (data) { //加载成功时执行
941 943
 			const newDataL = {};
@@ -946,7 +948,9 @@ function getAcceptanceType() {
946 948
 			$tableLeft.bootstrapTable('load', newDataL);
947 949
 			new doAjax({
948 950
 				url: huayi.config.callcenter_url + "/InfoNew/GetHandling",
949
-				data: {},
951
+				data: {
952
+					timetype:typeCountDataType
953
+				},
950 954
 				callBack: function (res) {
951 955
 					let handingData = [{
952 956
 						value: res[0].db,

+ 4 - 23
WebChartNewest/js/trafficData.js

@@ -1,14 +1,14 @@
1 1
 trafficDataChart('timeTraffic', daySeatName, callDate, callDate[0])
2
-getworkOrder()
3 2
 $('.btn_time').click(function(e) {
4 3
 	if(e.target.tagName == 'SPAN') {
5
-		console.log("哈哈哈哈,点我揍你")
6 4
 		if($(e.target).attr('data-state') == '1') {
7 5
 			$('.daySeat').css('display', 'none')
8 6
 			$('.timeTraffic').css('display', 'inline-block')
9 7
 			$('#traffic').css('display', 'none')
10 8
 			$('#timeTraffic').css('display', 'block')
11
-			$('.act').html('当日数据')
9
+			$(this).siblings(".act").children("label").attr("indexTitle","日话务数据统计1")
10
+			
11
+//			$(".act").attr("indexTitle","日话务数据统计1")
12 12
 			$('.call_situation h2').text('话务数据统计')
13 13
 			trafficDataChart('timeTraffic', ['登陆坐席数量1', '呼叫排队数量1', '话务量1', '呼入接通量1'], callDate, callDate[0])
14 14
 			trafficState = 0
@@ -16,26 +16,7 @@ $('.btn_time').click(function(e) {
16 16
 	}
17 17
 	e.stopPropagation();
18 18
 })
19
-function getworkOrder() {
20
-	let workOrderData = [];
21
-	let workOrderName = []
22
-	new doAjax({
23
-		url: huayi.config.callcenter_url + "/InfoNew/GetTelCountByNow",
24
-		data: {},
25
-		callBack: function (res) {
26
-			console.log(res)
27
-//			res.data.forEach(function (v, n) {
28
-//				workOrderData.push({
29
-//					name: v.type,
30
-//					value: v.count
31
-//				})
32
-//				workOrderName.push(v.type);
33
-//			})
34
-//			workOrderName.reverse();
35
-//			workOrderChart(workOrderData, workOrderName)
36
-		}
37
-	});
38
-}
19
+
39 20
 function trafficDataChart(dom, data, count, count1, rotate = 0) {
40 21
 	let hotThings = echarts.init(document.getElementById("timeTraffic"));
41 22
 	console.log(hotThings)

+ 9 - 1
WebUI/CallCenterWeb.UI/Appeal/Lawsuit.html

@@ -282,7 +282,14 @@
282 282
 											<option value="1">是</option>
283 283
 										</select>
284 284
 		                            </td>
285
-		                           
285
+		                            <th>是否超期:</th>
286
+		                            <td>
287
+		                                <select id="overtime" class="form-control" name="select">
288
+											<option value="">请选择</option>
289
+											<option value="1">即将超期</option>
290
+											<option value="2">已超期</option>
291
+										</select>
292
+		                            </td>
286 293
 								</tr>
287 294
 							</table>
288 295
 						</div>
@@ -476,6 +483,7 @@
476 483
 							phoneType: 2, // 12345来电
477 484
 							myd: $("#satisfaction").val(), //满意度
478 485
 							isbusiness: $("#isbusiness").val(),
486
+							overtime:$("#overtime").val(),
479 487
 							phoneTypes:$("#phoneType").val(),
480 488
 							token: $.cookie("token"),
481 489
 						};

+ 5 - 0
WebUI/CallCenterWeb.UI/Appeal/expiredWorkOrders.html

@@ -113,6 +113,10 @@
113 113
 											<option value="">请选择调度员</option>
114 114
 										</select>
115 115
 									</td>
116
+									<th>省平台编号:</th>
117
+	                                <td>
118
+	                                    <input type="text" placeholder="输入工单号" id="strworkorderid" class="form-control  Min-width" />
119
+	                                </td>
116 120
 								</tr>
117 121
 							</table>
118 122
 						</div>
@@ -276,6 +280,7 @@
276 280
 							sourcearea: $('#sourceAreas').val(), //区域
277 281
 							jianhang: jianhang ? jianhang : 0,
278 282
 							phoneType: 2, // 12345来电
283
+							strworkorderid:$("#strworkorderid").val().replace(/\s+/g, ""),
279 284
 							token: $.cookie("token")
280 285
 						};
281 286
 						// 导出参数

+ 14 - 49
WebUI/CallCenterWeb.UI/Business/UnsuccessfulLevel2.html

@@ -111,6 +111,12 @@
111 111
                                     <botton class="btns exportFile">导出</botton>
112 112
                                 </td>
113 113
                             </tr>
114
+                            <tr>
115
+                            	<th>省平台编号:</th>
116
+                                <td>
117
+                                    <input type="text" placeholder="输入工单号" id="strworkorderid" class="form-control" />
118
+                                </td>
119
+                            </tr>
114 120
                         </table>
115 121
                     </div>
116 122
                 </div>
@@ -186,6 +192,7 @@
186 192
     <script src="../js/WorkOrder/WorkOrderList.js"></script>
187 193
 
188 194
     <script>
195
+    	var exportParams; // 导出参数
189 196
         $(document).ready(function () {
190 197
             var wid = helper.request.queryString("wid");
191 198
             if (wid) {
@@ -291,8 +298,11 @@
291 298
                         tab: 18,
292 299
                         dealtype: $("#dealtype").val(),
293 300
                         sourcearea: $("#sourceAreas").val(), //区域
301
+                        strworkorderid:$("#strworkorderid").val().replace(/\s+/g, ""),
294 302
                         token: $.cookie("token"),
295 303
                     };
304
+                    // 导出参数
305
+                    exportParams = param;
296 306
                     return param;
297 307
                 },
298 308
                 onLoadSuccess: function (data) {
@@ -968,55 +978,10 @@
968 978
                 $("audio")[0].pause();
969 979
             }
970 980
         }
971
-        $(".exportFile").click(function () {
972
-            var usercode_ = $("#ZX").val(); //坐席
973
-            if (usercode_ != null) {
974
-                $(usercode_).each(function (i, n) {
975
-                    var obj1 = "";
976
-                    obj1 = n + ",";
977
-                    usercodeID += obj1;
978
-                });
979
-            } else {
980
-                usercodeID = "";
981
-            }
982
-
983
-            //      	调度员
984
-            var ddusercodeID = "";
985
-            var ddusercode_ = $("#yardman").val(); //坐席
986
-            if (ddusercode_ != null) {
987
-                $(ddusercode_).each(function (i, n) {
988
-                    var obj2 = "";
989
-                    obj2 = n + ",";
990
-                    ddusercodeID += obj2;
991
-                });
992
-            } else {
993
-                ddusercodeID = "";
994
-            }
995
-
996
-            // var isproresult = 2 // 已办未果
997
-            var key = $("#key").val() //=关键字
998
-            var tel = $("#tel").val() //=客户电话
999
-            var name = $("#name").val() //=客户名称
1000
-            var usercode = usercodeID //=坐席工号
1001
-            var ddusercode = ddusercodeID
1002
-            var source = $("#source").val() //=来源&
1003
-            var starttime = $("#starttime").val() //=开始时间
1004
-            var endtime = $("#endtime").val() //=结束时间
1005
-            var deptid = $("#PID").val()
1006
-            var type = $("#type").val() //=工单类型
1007
-            var dealtype = $("#dealtype").val()
1008
-            var sourcearea = $("#sourceAreas").val() //区域
1009
-            var workid = $("#wids").val()
1010
-            var state = "" //=工单状态
1011
-            var tab = 18
1012
-            var keyid = $("#keyid").val() //=关键词id
1013
-
1014
-            var url = huayi.config.callcenter_url + "WorkOrder/GetDWDealList?token=" + $.cookie("token");
1015
-            url += "&workid=" + workid + "&state=" + state + "&tab=" + tab + "&type=" + type + "&key=" + key +
1016
-                "&tel=" + tel + "&name=" + name + "&usercode=" + usercode + "&ddusercode=" + ddusercode +
1017
-                "&keyid=" + keyid + "&source=" + source + "&starttime=" + starttime + "&endtime=" + endtime +
1018
-                "&deptid=" + deptid + "&sourcearea=" + sourcearea + "&dealtype=" + dealtype + "&isdc=1";
1019
-            window.location.href = url;
981
+        // 导出文件
982
+        $(".exportFile").click(function() {
983
+            exportParams.isdc = 1;
984
+            exportFileFun("WorkOrder/GetDWDealList", exportParams)
1020 985
         })
1021 986
     </script>
1022 987
 </body>

+ 16 - 49
WebUI/CallCenterWeb.UI/Business/UnsuccessfulLevel3.html

@@ -111,6 +111,12 @@
111 111
                                     <botton class="btns exportFile">导出</botton>
112 112
                                 </td>
113 113
                             </tr>
114
+                            <tr>
115
+                            	<th>省平台编号:</th>
116
+                                <td>
117
+                                    <input type="text" placeholder="输入工单号" id="strworkorderid" class="form-control" />
118
+                                </td>
119
+                            </tr>
114 120
                         </table>
115 121
                     </div>
116 122
                 </div>
@@ -188,6 +194,7 @@
188 194
     <script>
189 195
         $(document).ready(function () {
190 196
             var wid = helper.request.queryString("wid");
197
+            var exportParams; // 导出参数
191 198
             if (wid) {
192 199
                 $("#tel").val(wid);
193 200
                 load();
@@ -214,6 +221,12 @@
214 221
             $(".lyxz").removeClass("cx");
215 222
             $("audio")[0].pause();
216 223
         });
224
+        // 导出文件
225
+        $(".exportFile").click(function() {
226
+            exportParams.isdc = 1;
227
+            console.log(exportParams)
228
+            exportFileFun("WorkOrder/GetEJDWDealList", exportParams)
229
+        })
217 230
         $("#orderlist").on("click-row.bs.table", function (e, row, ele) {
218 231
             $(".success").removeClass("success"); //去除之前选中的行的,选中样式
219 232
             $(ele).addClass("success"); //添加当前选中的 success样式用于区别
@@ -290,8 +303,11 @@
290 303
                         tab: 3,
291 304
                         dealtype: $("#dealtype").val(),
292 305
                         sourcearea: $("#sourceAreas").val(), //区域
306
+                        strworkorderid:$("#strworkorderid").val().replace(/\s+/g, ""),
293 307
                         token: $.cookie("token"),
294 308
                     };
309
+                     // 导出参数
310
+                    exportParams = param;
295 311
                     return param;
296 312
                 },
297 313
                 onLoadSuccess: function (data) {
@@ -968,56 +984,7 @@
968 984
                 $("audio")[0].pause();
969 985
             }
970 986
         }
971
-        $(".exportFile").click(function () {
972
-            var usercode_ = $("#ZX").val(); //坐席
973
-            if (usercode_ != null) {
974
-                $(usercode_).each(function (i, n) {
975
-                    var obj1 = "";
976
-                    obj1 = n + ",";
977
-                    usercodeID += obj1;
978
-                });
979
-            } else {
980
-                usercodeID = "";
981
-            }
982 987
 
983
-            //      	调度员
984
-            var ddusercodeID = "";
985
-            var ddusercode_ = $("#yardman").val(); //坐席
986
-            if (ddusercode_ != null) {
987
-                $(ddusercode_).each(function (i, n) {
988
-                    var obj2 = "";
989
-                    obj2 = n + ",";
990
-                    ddusercodeID += obj2;
991
-                });
992
-            } else {
993
-                ddusercodeID = "";
994
-            }
995
-
996
-            // var isproresult = 2 // 已办未果
997
-            var key = $("#key").val() //=关键字
998
-            var tel = $("#tel").val() //=客户电话
999
-            var name = $("#name").val() //=客户名称
1000
-            var usercode = usercodeID //=坐席工号
1001
-            var ddusercode = ddusercodeID
1002
-            var source = $("#source").val() //=来源&
1003
-            var starttime = $("#starttime").val() //=开始时间
1004
-            var endtime = $("#endtime").val() //=结束时间
1005
-            var deptid = $("#PID").val()
1006
-            var type = $("#type").val() //=工单类型
1007
-            var dealtype = $("#dealtype").val()
1008
-            var sourcearea = $("#sourceAreas").val() //区域
1009
-            var workid = $("#wids").val()
1010
-            var state = "" //=工单状态
1011
-            var tab = 3
1012
-            var keyid = $("#keyid").val() //=关键词id
1013
-
1014
-            var url = huayi.config.callcenter_url + "WorkOrder/GetEJDWDealList?token=" + $.cookie("token");
1015
-            url += "&workid=" + workid + "&state=" + state + "&tab=" + tab + "&type=" + type + "&key=" + key +
1016
-                "&tel=" + tel + "&name=" + name + "&usercode=" + usercode + "&ddusercode=" + ddusercode +
1017
-                "&keyid=" + keyid + "&source=" + source + "&starttime=" + starttime + "&endtime=" + endtime +
1018
-                "&deptid=" + deptid + "&sourcearea=" + sourcearea + "&dealtype=" + dealtype + "&isdc=1";
1019
-            window.location.href = url;
1020
-        })
1021 988
     </script>
1022 989
 </body>
1023 990
 

+ 8 - 0
WebUI/CallCenterWeb.UI/Business/WorkDC.html

@@ -111,6 +111,12 @@
111 111
                                     <botton class="btns exportFile">导出</botton>
112 112
                                 </td>
113 113
                             </tr>
114
+                            <tr>
115
+                            	<th>省平台编号:</th>
116
+                                <td>
117
+                                    <input type="text" placeholder="输入工单号" id="strworkorderid" class="form-control" />
118
+                                </td>
119
+                            </tr>
114 120
                         </table>
115 121
                     </div>
116 122
                 </div>
@@ -285,6 +291,7 @@
285 291
                         tab: 0, //待处理
286 292
                         distribute: 0,
287 293
                         sourcearea: $("#sourceAreas").val(), //区域
294
+                        strworkorderid:$("#strworkorderid").val().replace(/\s+/g, ""),
288 295
                         // isys: 0, // 未延时待办理
289 296
                         token: $.cookie("token"),
290 297
                     };
@@ -933,6 +940,7 @@
933 940
         // 导出文件
934 941
         $(".exportFile").click(function() {
935 942
             exportParams.isdc = 1;
943
+            console.log(exportParams)
936 944
             exportFileFun("WorkOrder/GetDWDealList", exportParams)
937 945
         })
938 946
 

+ 17 - 1
WebUI/CallCenterWeb.UI/Business/WorkDC_EJ.html

@@ -110,6 +110,12 @@
110 110
                                     <botton class="btns exportFile">导出</botton>
111 111
                                 </td>
112 112
                             </tr>
113
+                            <tr>
114
+                            	<th>省平台编号:</th>
115
+                                <td>
116
+                                    <input type="text" placeholder="输入工单号" id="strworkorderid" class="form-control" />
117
+                                </td>
118
+                            </tr>
113 119
                         </table>
114 120
                     </div>
115 121
                 </div>
@@ -175,6 +181,7 @@
175 181
 
176 182
     <script>
177 183
         var wid = helper.request.queryString("states");
184
+        var exportParams; // 导出参数
178 185
         if (wid) {
179 186
             $("#state").val(wid);
180 187
         }
@@ -205,7 +212,12 @@
205 212
             $('.success').removeClass('success'); //去除之前选中的行的,选中样式
206 213
             $(ele).addClass('success'); //添加当前选中的 success样式用于区别
207 214
         });
208
-
215
+		 // 导出文件
216
+        $(".exportFile").click(function() {
217
+            exportParams.isdc = 1;
218
+            console.log(exportParams)
219
+            exportFileFun("WorkOrder/GetEJDWDealList", exportParams)
220
+        })
209 221
         //获取查询信息
210 222
         function load() {
211 223
             //坐席
@@ -270,11 +282,15 @@
270 282
                         starttime: $("#starttime").val(), //=开始时间
271 283
                         endtime: $("#endtime").val(), //=结束时间
272 284
                         deptid: $("#PID").val(),
285
+                        sourcearea: $("#sourceAreas").val(), //区域
286
+                        strworkorderid:$("#strworkorderid").val().replace(/\s+/g, ""),
273 287
                         type: $("#type").val(),
274 288
                         tab: 0, //待处理
275 289
                         isys: 0,
276 290
                         token: $.cookie("token")
277 291
                     };
292
+                     // 导出参数
293
+                    exportParams = param;
278 294
                     return param;
279 295
                 },
280 296
                 onLoadSuccess: function (data) { //加载成功时执行

+ 17 - 1
WebUI/CallCenterWeb.UI/Business/WorkDC_EJDelayed.html

@@ -111,6 +111,12 @@
111 111
                                     <botton class="btns exportFile">导出</botton>
112 112
                                 </td>
113 113
                             </tr>
114
+                            <tr>
115
+                            	<th>省平台编号:</th>
116
+                                <td>
117
+                                    <input type="text" placeholder="输入工单号" id="strworkorderid" class="form-control" />
118
+                                </td>
119
+                            </tr>
114 120
                         </table>
115 121
                     </div>
116 122
                 </div>
@@ -176,6 +182,7 @@
176 182
 
177 183
     <script>
178 184
         var wid = helper.request.queryString("states");
185
+        var exportParams; // 导出参数
179 186
         if (wid) {
180 187
             $("#state").val(wid);
181 188
         }
@@ -206,7 +213,12 @@
206 213
             $('.success').removeClass('success'); //去除之前选中的行的,选中样式
207 214
             $(ele).addClass('success'); //添加当前选中的 success样式用于区别
208 215
         });
209
-
216
+		// 导出文件
217
+        $(".exportFile").click(function() {
218
+            exportParams.isdc = 1;
219
+            console.log(exportParams)
220
+            exportFileFun("WorkOrder/GetEJDWDealList", exportParams)
221
+        })
210 222
         //获取查询信息
211 223
         function load() {
212 224
             //坐席
@@ -272,10 +284,14 @@
272 284
                         endtime: $("#endtime").val(), //=结束时间
273 285
                         deptid: $("#PID").val(),
274 286
                         type: $("#type").val(),
287
+                        sourcearea: $("#sourceAreas").val(), //区域
288
+                        strworkorderid:$("#strworkorderid").val().replace(/\s+/g, ""),
275 289
                         tab: 0, //待处理
276 290
                         isys: 1,
277 291
                         token: $.cookie("token")
278 292
                     };
293
+                     // 导出参数
294
+                    exportParams = param;
279 295
                     return param;
280 296
                 },
281 297
                 onLoadSuccess: function (data) { //加载成功时执行

+ 14 - 49
WebUI/CallCenterWeb.UI/Business/WorkTHBJJ.html

@@ -111,6 +111,12 @@
111 111
                                     <botton class="btns exportFile">导出</botton>
112 112
                                 </td>
113 113
                             </tr>
114
+                            <tr>
115
+                            	<th>省平台编号:</th>
116
+                                <td>
117
+                                    <input type="text" placeholder="输入工单号" id="strworkorderid" class="form-control" />
118
+                                </td>
119
+                            </tr>
114 120
                         </table>
115 121
                     </div>
116 122
                 </div>
@@ -185,6 +191,7 @@
185 191
 
186 192
     <script>
187 193
         var wid = helper.request.queryString("states");
194
+        var exportParams; // 导出参数
188 195
         if (wid) {
189 196
             $("#state").val(wid);
190 197
         }
@@ -284,8 +291,11 @@
284 291
                         tab: 16, //待处理
285 292
                         distribute: 0,
286 293
                         sourcearea: $("#sourceAreas").val(), //区域
294
+                        strworkorderid:$("#strworkorderid").val().replace(/\s+/g, ""),
287 295
                         token: $.cookie("token"),
288 296
                     };
297
+                    // 导出参数
298
+                    exportParams = param;
289 299
                     return param;
290 300
                 },
291 301
                 onLoadSuccess: function (data) {
@@ -933,55 +943,10 @@
933 943
             $("#Dpment").val(treeNode.F_DeptName);
934 944
             $(".Cleans").show();
935 945
         }
936
-        $(".exportFile").click(function () {
937
-            var usercode_ = $("#ZX").val(); //坐席
938
-            if (usercode_ != null) {
939
-                $(usercode_).each(function (i, n) {
940
-                    var obj1 = "";
941
-                    obj1 = n + ",";
942
-                    usercodeID += obj1;
943
-                });
944
-            } else {
945
-                usercodeID = "";
946
-            }
947
-
948
-            //      	调度员
949
-            var ddusercodeID = "";
950
-            var ddusercode_ = $("#yardman").val(); //坐席
951
-            if (ddusercode_ != null) {
952
-                $(ddusercode_).each(function (i, n) {
953
-                    var obj2 = "";
954
-                    obj2 = n + ",";
955
-                    ddusercodeID += obj2;
956
-                });
957
-            } else {
958
-                ddusercodeID = "";
959
-            }
960
-
961
-            // var isproresult = 2 // 已办未果
962
-            var key = $("#key").val() //=关键字
963
-            var tel = $("#tel").val() //=客户电话
964
-            var name = $("#name").val() //=客户名称
965
-            var usercode = usercodeID //=坐席工号
966
-            var ddusercode = ddusercodeID
967
-            var source = $("#source").val() //=来源&
968
-            var starttime = $("#starttime").val() //=开始时间
969
-            var endtime = $("#endtime").val() //=结束时间
970
-            var deptid = $("#PID").val()
971
-            var type = $("#type").val() //=工单类型
972
-            var dealtype = $("#dealtype").val()
973
-            var sourcearea = $("#sourceAreas").val() //区域
974
-            var workid = $("#wids").val()
975
-            var state = "" //=工单状态
976
-            var tab = 16
977
-            var keyid = $("#keyid").val() //=关键词id
978
-
979
-            var url = huayi.config.callcenter_url + "WorkOrder/GetDWDealList?token=" + $.cookie("token");
980
-            url += "&workid=" + workid + "&state=" + state + "&tab=" + tab + "&type=" + type + "&key=" + key +
981
-                "&tel=" + tel + "&name=" + name + "&usercode=" + usercode + "&ddusercode=" + ddusercode +
982
-                "&keyid=" + keyid + "&source=" + source + "&starttime=" + starttime + "&endtime=" + endtime +
983
-                "&deptid=" + deptid + "&sourcearea=" + sourcearea + "&dealtype=" + dealtype + "&isdc=1";
984
-            window.location.href = url;
946
+        // 导出文件
947
+        $(".exportFile").click(function() {
948
+            exportParams.isdc = 1;
949
+            exportFileFun("WorkOrder/GetDWDealList", exportParams)
985 950
         })
986 951
     </script>
987 952
 </body>

+ 14 - 49
WebUI/CallCenterWeb.UI/Business/WorkTHCB.html

@@ -111,6 +111,12 @@
111 111
                                     <botton class="btns exportFile">导出</botton>
112 112
                                 </td>
113 113
                             </tr>
114
+                            <tr>
115
+                            	<th>省平台编号:</th>
116
+                                <td>
117
+                                    <input type="text" placeholder="输入工单号" id="strworkorderid" class="form-control" />
118
+                                </td>
119
+                            </tr>
114 120
                         </table>
115 121
                     </div>
116 122
 
@@ -186,6 +192,7 @@
186 192
 
187 193
     <script>
188 194
         var wid = helper.request.queryString("states");
195
+        var exportParams; // 导出参数
189 196
         var roleCode = $.cookie("code")
190 197
         if (wid) {
191 198
             $("#state").val(wid);
@@ -292,8 +299,11 @@
292 299
                         tab: 12, //待处理
293 300
                         distribute: 0,
294 301
                         sourcearea: $("#sourceAreas").val(), //区域
302
+                        strworkorderid:$("#strworkorderid").val().replace(/\s+/g, ""),
295 303
                         token: $.cookie("token"),
296 304
                     };
305
+                     // 导出参数
306
+                    exportParams = param;
297 307
                     return param;
298 308
                 },
299 309
                 onLoadSuccess: function (data) {
@@ -931,55 +941,10 @@
931 941
             $(".Cleans").show();
932 942
         }
933 943
 
934
-        $(".exportFile").click(function () {
935
-            var usercode_ = $("#ZX").val(); //坐席
936
-            if (usercode_ != null) {
937
-                $(usercode_).each(function (i, n) {
938
-                    var obj1 = "";
939
-                    obj1 = n + ",";
940
-                    usercodeID += obj1;
941
-                });
942
-            } else {
943
-                usercodeID = "";
944
-            }
945
-
946
-            //      	调度员
947
-            var ddusercodeID = "";
948
-            var ddusercode_ = $("#yardman").val(); //坐席
949
-            if (ddusercode_ != null) {
950
-                $(ddusercode_).each(function (i, n) {
951
-                    var obj2 = "";
952
-                    obj2 = n + ",";
953
-                    ddusercodeID += obj2;
954
-                });
955
-            } else {
956
-                ddusercodeID = "";
957
-            }
958
-
959
-            // var isproresult = 2 // 已办未果
960
-            var key = $("#key").val() //=关键字
961
-            var tel = $("#tel").val() //=客户电话
962
-            var name = $("#name").val() //=客户名称
963
-            var usercode = usercodeID //=坐席工号
964
-            var ddusercode = ddusercodeID
965
-            var source = $("#source").val() //=来源&
966
-            var starttime = $("#starttime").val() //=开始时间
967
-            var endtime = $("#endtime").val() //=结束时间
968
-            var deptid = $("#PID").val()
969
-            var type = $("#type").val() //=工单类型
970
-            var dealtype = $("#dealtype").val()
971
-            var sourcearea = $("#sourceAreas").val() //区域
972
-            var workid = $("#wids").val()
973
-            var state = "" //=工单状态
974
-            var tab = 12
975
-            var keyid = $("#keyid").val() //=关键词id
976
-
977
-            var url = huayi.config.callcenter_url + "WorkOrder/GetDWDealList?token=" + $.cookie("token");
978
-            url += "&workid=" + workid + "&state=" + state + "&tab=" + tab + "&type=" + type + "&key=" + key +
979
-                "&tel=" + tel + "&name=" + name + "&usercode=" + usercode + "&ddusercode=" + ddusercode +
980
-                "&keyid=" + keyid + "&source=" + source + "&starttime=" + starttime + "&endtime=" + endtime +
981
-                "&deptid=" + deptid + "&sourcearea=" + sourcearea + "&dealtype=" + dealtype + "&isdc=1";
982
-            window.location.href = url;
944
+        // 导出文件
945
+        $(".exportFile").click(function() {
946
+            exportParams.isdc = 1;
947
+            exportFileFun("WorkOrder/GetDWDealList", exportParams)
983 948
         })
984 949
     </script>
985 950
 </body>

+ 14 - 49
WebUI/CallCenterWeb.UI/Business/WorkXJDWTH.html

@@ -111,6 +111,12 @@
111 111
                                     <botton class="btns exportFile">导出</botton>
112 112
                                 </td>
113 113
                             </tr>
114
+                            <tr>
115
+                            	<th>省平台编号:</th>
116
+                                <td>
117
+                                    <input type="text" placeholder="输入工单号" id="strworkorderid" class="form-control" />
118
+                                </td>
119
+                            </tr>
114 120
                         </table>
115 121
                     </div>
116 122
                 </div>
@@ -185,6 +191,7 @@
185 191
 
186 192
     <script>
187 193
         var wid = helper.request.queryString("states");
194
+        var exportParams; // 导出参数
188 195
         if (wid) {
189 196
             $("#state").val(wid);
190 197
         }
@@ -284,8 +291,11 @@
284 291
                         tab: 13, //待处理
285 292
                         distribute: 0,
286 293
                         sourcearea: $("#sourceAreas").val(), //区域
294
+                        strworkorderid:$("#strworkorderid").val().replace(/\s+/g, ""),
287 295
                         token: $.cookie("token"),
288 296
                     };
297
+                    // 导出参数
298
+                    exportParams = param;
289 299
                     return param;
290 300
                 },
291 301
                 onLoadSuccess: function (data) {
@@ -926,55 +936,10 @@
926 936
             $("#Dpment").val(treeNode.F_DeptName);
927 937
             $(".Cleans").show();
928 938
         }
929
-        $(".exportFile").click(function () {
930
-            var usercode_ = $("#ZX").val(); //坐席
931
-            if (usercode_ != null) {
932
-                $(usercode_).each(function (i, n) {
933
-                    var obj1 = "";
934
-                    obj1 = n + ",";
935
-                    usercodeID += obj1;
936
-                });
937
-            } else {
938
-                usercodeID = "";
939
-            }
940
-
941
-            //      	调度员
942
-            var ddusercodeID = "";
943
-            var ddusercode_ = $("#yardman").val(); //坐席
944
-            if (ddusercode_ != null) {
945
-                $(ddusercode_).each(function (i, n) {
946
-                    var obj2 = "";
947
-                    obj2 = n + ",";
948
-                    ddusercodeID += obj2;
949
-                });
950
-            } else {
951
-                ddusercodeID = "";
952
-            }
953
-
954
-            // var isproresult = 2 // 已办未果
955
-            var key = $("#key").val() //=关键字
956
-            var tel = $("#tel").val() //=客户电话
957
-            var name = $("#name").val() //=客户名称
958
-            var usercode = usercodeID //=坐席工号
959
-            var ddusercode = ddusercodeID
960
-            var source = $("#source").val() //=来源&
961
-            var starttime = $("#starttime").val() //=开始时间
962
-            var endtime = $("#endtime").val() //=结束时间
963
-            var deptid = $("#PID").val()
964
-            var type = $("#type").val() //=工单类型
965
-            var dealtype = $("#dealtype").val()
966
-            var sourcearea = $("#sourceAreas").val() //区域
967
-            var workid = $("#wids").val()
968
-            var state = "" //=工单状态
969
-            var tab = 13
970
-            var keyid = $("#keyid").val() //=关键词id
971
-
972
-            var url = huayi.config.callcenter_url + "WorkOrder/GetDWDealList?token=" + $.cookie("token");
973
-            url += "&workid=" + workid + "&state=" + state + "&tab=" + tab + "&type=" + type + "&key=" + key +
974
-                "&tel=" + tel + "&name=" + name + "&usercode=" + usercode + "&ddusercode=" + ddusercode +
975
-                "&keyid=" + keyid + "&source=" + source + "&starttime=" + starttime + "&endtime=" + endtime +
976
-                "&deptid=" + deptid + "&sourcearea=" + sourcearea + "&dealtype=" + dealtype + "&isdc=1";
977
-            window.location.href = url;
939
+        // 导出文件
940
+        $(".exportFile").click(function() {
941
+            exportParams.isdc = 1;
942
+            exportFileFun("WorkOrder/GetDWDealList", exportParams)
978 943
         })
979 944
     </script>
980 945
 </body>

+ 14 - 49
WebUI/CallCenterWeb.UI/Business/WorkYBL.html

@@ -111,6 +111,12 @@
111 111
                                     <botton class="btns exportFile">导出</botton>
112 112
                                 </td>
113 113
                             </tr>
114
+                            <tr>
115
+                            	<th>省平台编号:</th>
116
+                                <td>
117
+                                    <input type="text" placeholder="输入工单号" id="strworkorderid" class="form-control" />
118
+                                </td>
119
+                            </tr>
114 120
                         </table>
115 121
                     </div>
116 122
 
@@ -186,6 +192,7 @@
186 192
     <script src="../js/WorkOrder/WorkOrderList.js"></script>
187 193
 
188 194
     <script>
195
+    	var exportParams; // 导出参数
189 196
         $(document).ready(function () {
190 197
             load();
191 198
             laydate.skin("blue");
@@ -281,8 +288,11 @@
281 288
                         type: $("#type").val(),
282 289
                         tab: 4, //待处理
283 290
                         sourcearea: $("#sourceAreas").val(), //区域
291
+                        strworkorderid:$("#strworkorderid").val().replace(/\s+/g, ""),
284 292
                         token: $.cookie("token"),
285 293
                     };
294
+                    // 导出参数
295
+                    exportParams = param;
286 296
                     return param;
287 297
                 },
288 298
                 onLoadSuccess: function (data) {
@@ -840,55 +850,10 @@
840 850
             $("#Dpment").val(treeNode.F_DeptName);
841 851
             $(".Cleans").show();
842 852
         }
843
-        $(".exportFile").click(function () {
844
-            var usercode_ = $("#ZX").val(); //坐席
845
-            if (usercode_ != null) {
846
-                $(usercode_).each(function (i, n) {
847
-                    var obj1 = "";
848
-                    obj1 = n + ",";
849
-                    usercodeID += obj1;
850
-                });
851
-            } else {
852
-                usercodeID = "";
853
-            }
854
-
855
-            //      	调度员
856
-            var ddusercodeID = "";
857
-            var ddusercode_ = $("#yardman").val(); //坐席
858
-            if (ddusercode_ != null) {
859
-                $(ddusercode_).each(function (i, n) {
860
-                    var obj2 = "";
861
-                    obj2 = n + ",";
862
-                    ddusercodeID += obj2;
863
-                });
864
-            } else {
865
-                ddusercodeID = "";
866
-            }
867
-
868
-            // var isproresult = 2 // 已办未果
869
-            var key = $("#key").val() //=关键字
870
-            var tel = $("#tel").val() //=客户电话
871
-            var name = $("#name").val() //=客户名称
872
-            var usercode = usercodeID //=坐席工号
873
-            var ddusercode = ddusercodeID
874
-            var source = $("#source").val() //=来源&
875
-            var starttime = $("#starttime").val() //=开始时间
876
-            var endtime = $("#endtime").val() //=结束时间
877
-            var deptid = $("#PID").val()
878
-            var type = $("#type").val() //=工单类型
879
-            var dealtype = $("#dealtype").val()
880
-            var sourcearea = $("#sourceAreas").val() //区域
881
-            var workid = $("#wids").val()
882
-            var state = "" //=工单状态
883
-            var tab = 4
884
-            var keyid = $("#keyid").val() //=关键词id
885
-
886
-            var url = huayi.config.callcenter_url + "WorkOrder/GetDWDealList?token=" + $.cookie("token");
887
-            url += "&workid=" + workid + "&state=" + state + "&tab=" + tab + "&type=" + type + "&key=" + key +
888
-                "&tel=" + tel + "&name=" + name + "&usercode=" + usercode + "&ddusercode=" + ddusercode +
889
-                "&keyid=" + keyid + "&source=" + source + "&starttime=" + starttime + "&endtime=" + endtime +
890
-                "&deptid=" + deptid + "&sourcearea=" + sourcearea + "&dealtype=" + dealtype + "&isdc=1";
891
-            window.location.href = url;
853
+        // 导出文件
854
+        $(".exportFile").click(function() {
855
+            exportParams.isdc = 1;
856
+            exportFileFun("WorkOrder/GetDWDealList", exportParams)
892 857
         })
893 858
     </script>
894 859
 </body>

+ 14 - 49
WebUI/CallCenterWeb.UI/Business/WorkYBLTJ.html

@@ -111,6 +111,12 @@
111 111
                                     <botton class="btns exportFile">导出</botton>
112 112
                                 </td>
113 113
                             </tr>
114
+                            <tr>
115
+                            	<th>省平台编号:</th>
116
+                                <td>
117
+                                    <input type="text" placeholder="输入工单号" id="strworkorderid" class="form-control" />
118
+                                </td>
119
+                            </tr>
114 120
                         </table>
115 121
                     </div>
116 122
                 </div>
@@ -185,6 +191,7 @@
185 191
 
186 192
     <script>
187 193
         var wid = helper.request.queryString("states");
194
+        var exportParams; // 导出参数
188 195
         if (wid) {
189 196
             $("#state").val(wid);
190 197
         }
@@ -284,8 +291,11 @@
284 291
                         tab: 15, //待处理
285 292
                         distribute: 0,
286 293
                         sourcearea: $("#sourceAreas").val(), //区域
294
+                        strworkorderid:$("#strworkorderid").val().replace(/\s+/g, ""),
287 295
                         token: $.cookie("token"),
288 296
                     };
297
+                    // 导出参数
298
+                    exportParams = param;
289 299
                     return param;
290 300
                 },
291 301
                 onLoadSuccess: function (data) {
@@ -935,55 +945,10 @@
935 945
             $(".Cleans").show();
936 946
         }
937 947
 
938
-        $(".exportFile").click(function () {
939
-            var usercode_ = $("#ZX").val(); //坐席
940
-            if (usercode_ != null) {
941
-                $(usercode_).each(function (i, n) {
942
-                    var obj1 = "";
943
-                    obj1 = n + ",";
944
-                    usercodeID += obj1;
945
-                });
946
-            } else {
947
-                usercodeID = "";
948
-            }
949
-
950
-            //      	调度员
951
-            var ddusercodeID = "";
952
-            var ddusercode_ = $("#yardman").val(); //坐席
953
-            if (ddusercode_ != null) {
954
-                $(ddusercode_).each(function (i, n) {
955
-                    var obj2 = "";
956
-                    obj2 = n + ",";
957
-                    ddusercodeID += obj2;
958
-                });
959
-            } else {
960
-                ddusercodeID = "";
961
-            }
962
-
963
-            // var isproresult = 2 // 已办未果
964
-            var key = $("#key").val() //=关键字
965
-            var tel = $("#tel").val() //=客户电话
966
-            var name = $("#name").val() //=客户名称
967
-            var usercode = usercodeID //=坐席工号
968
-            var ddusercode = ddusercodeID
969
-            var source = $("#source").val() //=来源&
970
-            var starttime = $("#starttime").val() //=开始时间
971
-            var endtime = $("#endtime").val() //=结束时间
972
-            var deptid = $("#PID").val()
973
-            var type = $("#type").val() //=工单类型
974
-            var dealtype = $("#dealtype").val()
975
-            var sourcearea = $("#sourceAreas").val() //区域
976
-            var workid = $("#wids").val()
977
-            var state = "" //=工单状态
978
-            var tab = 15
979
-            var keyid = $("#keyid").val() //=关键词id
980
-
981
-            var url = huayi.config.callcenter_url + "WorkOrder/GetDWDealList?token=" + $.cookie("token");
982
-            url += "&workid=" + workid + "&state=" + state + "&tab=" + tab + "&type=" + type + "&key=" + key +
983
-                "&tel=" + tel + "&name=" + name + "&usercode=" + usercode + "&ddusercode=" + ddusercode +
984
-                "&keyid=" + keyid + "&source=" + source + "&starttime=" + starttime + "&endtime=" + endtime +
985
-                "&deptid=" + deptid + "&sourcearea=" + sourcearea + "&dealtype=" + dealtype + "&isdc=1";
986
-            window.location.href = url;
948
+        // 导出文件
949
+        $(".exportFile").click(function() {
950
+            exportParams.isdc = 1;
951
+            exportFileFun("WorkOrder/GetDWDealList", exportParams)
987 952
         })
988 953
     </script>
989 954
 </body>

+ 17 - 51
WebUI/CallCenterWeb.UI/Business/WorkYBL_zlei.html

@@ -111,6 +111,12 @@
111 111
                                     <botton class="btns exportFile">导出</botton>
112 112
                                 </td>
113 113
                             </tr>
114
+                            <tr>
115
+                            	<th>省平台编号:</th>
116
+                                <td>
117
+                                    <input type="text" placeholder="输入工单号" id="strworkorderid" class="form-control" />
118
+                                </td>
119
+                            </tr>
114 120
                         </table>
115 121
                     </div>
116 122
                 </div>
@@ -168,6 +174,7 @@
168 174
 
169 175
     <script>
170 176
         var wid = helper.request.queryString("states");
177
+        var exportParams; // 导出参数
171 178
         if (wid) {
172 179
             $("#state").val(wid);
173 180
         }
@@ -198,7 +205,12 @@
198 205
             $('.success').removeClass('success'); //去除之前选中的行的,选中样式
199 206
             $(ele).addClass('success'); //添加当前选中的 success样式用于区别
200 207
         });
201
-
208
+		// 导出文件
209
+        $(".exportFile").click(function() {
210
+            exportParams.isdc = 1;
211
+            console.log(exportParams)
212
+            exportFileFun("WorkOrder/GetEJDWDealList", exportParams)
213
+        })
202 214
         //获取查询信息
203 215
         function load() {
204 216
             //坐席
@@ -264,9 +276,13 @@
264 276
                         endtime: $("#endtime").val(), //=结束时间
265 277
                         deptid: $("#PID").val(),
266 278
                         type: $("#type").val(),
279
+                        sourcearea: $("#sourceAreas").val(), //区域
280
+                        strworkorderid:$("#strworkorderid").val().replace(/\s+/g, ""),
267 281
                         tab: 1, //待处理
268 282
                         token: $.cookie("token")
269 283
                     };
284
+                     // 导出参数
285
+                    exportParams = param;
270 286
                     return param;
271 287
                 },
272 288
                 onLoadSuccess: function (data) { //加载成功时执行
@@ -747,56 +763,6 @@
747 763
             }
748 764
 
749 765
         };
750
-        $(".exportFile").click(function () {
751
-            var usercode_ = $("#ZX").val(); //坐席
752
-            if (usercode_ != null) {
753
-                $(usercode_).each(function (i, n) {
754
-                    var obj1 = "";
755
-                    obj1 = n + ",";
756
-                    usercodeID += obj1;
757
-                });
758
-            } else {
759
-                usercodeID = "";
760
-            }
761
-
762
-            //      	调度员
763
-            var ddusercodeID = "";
764
-            var ddusercode_ = $("#yardman").val(); //坐席
765
-            if (ddusercode_ != null) {
766
-                $(ddusercode_).each(function (i, n) {
767
-                    var obj2 = "";
768
-                    obj2 = n + ",";
769
-                    ddusercodeID += obj2;
770
-                });
771
-            } else {
772
-                ddusercodeID = "";
773
-            }
774
-
775
-            // var isproresult = 2 // 已办未果
776
-            var key = $("#key").val() //=关键字
777
-            var tel = $("#tel").val() //=客户电话
778
-            var name = $("#name").val() //=客户名称
779
-            var usercode = usercodeID //=坐席工号
780
-            var ddusercode = ddusercodeID
781
-            var source = $("#source").val() //=来源&
782
-            var starttime = $("#starttime").val() //=开始时间
783
-            var endtime = $("#endtime").val() //=结束时间
784
-            var deptid = $("#PID").val()
785
-            var type = $("#type").val() //=工单类型
786
-            var dealtype = $("#dealtype").val()
787
-            var sourcearea = $("#sourceAreas").val() //区域
788
-            var workid = $("#wids").val()
789
-            var state = "" //=工单状态
790
-            var tab = 1
791
-            var keyid = $("#keyid").val() //=关键词id
792
-
793
-            var url = huayi.config.callcenter_url + "WorkOrder/GetEJDWDealList?token=" + $.cookie("token");
794
-            url += "&workid=" + workid + "&state=" + state + "&tab=" + tab + "&type=" + type + "&key=" + key +
795
-                "&tel=" + tel + "&name=" + name + "&usercode=" + usercode + "&ddusercode=" + ddusercode +
796
-                "&keyid=" + keyid + "&source=" + source + "&starttime=" + starttime + "&endtime=" + endtime +
797
-                "&deptid=" + deptid + "&sourcearea=" + sourcearea + "&dealtype=" + dealtype + "&isdc=1";
798
-            window.location.href = url;
799
-        })
800 766
     </script>
801 767
 </body>
802 768
 

+ 14 - 49
WebUI/CallCenterWeb.UI/Business/WorkYSQTH.html

@@ -111,6 +111,12 @@
111 111
                                     <botton class="btns exportFile">导出</botton>
112 112
                                 </td>
113 113
                             </tr>
114
+                            <tr>
115
+                            	<th>省平台编号:</th>
116
+                                <td>
117
+                                    <input type="text" placeholder="输入工单号" id="strworkorderid" class="form-control" />
118
+                                </td>
119
+                            </tr>
114 120
                         </table>
115 121
                     </div>
116 122
                 </div>
@@ -185,6 +191,7 @@
185 191
     <script src="../js/WorkOrder/WorkOrderList.js"></script>
186 192
 
187 193
     <script>
194
+    	var exportParams; // 导出参数
188 195
         $(document).ready(function () {
189 196
             load();
190 197
             laydate.skin("blue");
@@ -280,8 +287,11 @@
280 287
                         type: $("#type").val(),
281 288
                         tab: 2, //待处理
282 289
                         sourcearea: $("#sourceAreas").val(), //区域
290
+                        strworkorderid:$("#strworkorderid").val().replace(/\s+/g, ""),
283 291
                         token: $.cookie("token"),
284 292
                     };
293
+                    // 导出参数
294
+                    exportParams = param;
285 295
                     return param;
286 296
                 },
287 297
                 onLoadSuccess: function (data) {
@@ -840,55 +850,10 @@
840 850
             $(".Cleans").show();
841 851
         }
842 852
 
843
-        $(".exportFile").click(function () {
844
-            var usercode_ = $("#ZX").val(); //坐席
845
-            if (usercode_ != null) {
846
-                $(usercode_).each(function (i, n) {
847
-                    var obj1 = "";
848
-                    obj1 = n + ",";
849
-                    usercodeID += obj1;
850
-                });
851
-            } else {
852
-                usercodeID = "";
853
-            }
854
-
855
-            //      	调度员
856
-            var ddusercodeID = "";
857
-            var ddusercode_ = $("#yardman").val(); //坐席
858
-            if (ddusercode_ != null) {
859
-                $(ddusercode_).each(function (i, n) {
860
-                    var obj2 = "";
861
-                    obj2 = n + ",";
862
-                    ddusercodeID += obj2;
863
-                });
864
-            } else {
865
-                ddusercodeID = "";
866
-            }
867
-
868
-            // var isproresult = 2 // 已办未果
869
-            var key = $("#key").val() //=关键字
870
-            var tel = $("#tel").val() //=客户电话
871
-            var name = $("#name").val() //=客户名称
872
-            var usercode = usercodeID //=坐席工号
873
-            var ddusercode = ddusercodeID
874
-            var source = $("#source").val() //=来源&
875
-            var starttime = $("#starttime").val() //=开始时间
876
-            var endtime = $("#endtime").val() //=结束时间
877
-            var deptid = $("#PID").val()
878
-            var type = $("#type").val() //=工单类型
879
-            var dealtype = $("#dealtype").val()
880
-            var sourcearea = $("#sourceAreas").val() //区域
881
-            var workid = $("#wids").val()
882
-            var state = "" //=工单状态
883
-            var tab = 2
884
-            var keyid = $("#keyid").val() //=关键词id
885
-
886
-            var url = huayi.config.callcenter_url + "WorkOrder/GetDWDealList?token=" + $.cookie("token");
887
-            url += "&workid=" + workid + "&state=" + state + "&tab=" + tab + "&type=" + type + "&key=" + key +
888
-                "&tel=" + tel + "&name=" + name + "&usercode=" + usercode + "&ddusercode=" + ddusercode +
889
-                "&keyid=" + keyid + "&source=" + source + "&starttime=" + starttime + "&endtime=" + endtime +
890
-                "&deptid=" + deptid + "&sourcearea=" + sourcearea + "&dealtype=" + dealtype + "&isdc=1";
891
-            window.location.href = url;
853
+        // 导出文件
854
+        $(".exportFile").click(function() {
855
+            exportParams.isdc = 1;
856
+            exportFileFun("WorkOrder/GetDWDealList", exportParams)
892 857
         })
893 858
     </script>
894 859
 </body>

+ 14 - 49
WebUI/CallCenterWeb.UI/Business/WorkYSQYS.html

@@ -111,6 +111,12 @@
111 111
                                     <botton class="btns exportFile">导出</botton>
112 112
                                 </td>
113 113
                             </tr>
114
+                            <tr>
115
+                            	<th>省平台编号:</th>
116
+                                <td>
117
+                                    <input type="text" placeholder="输入工单号" id="strworkorderid" class="form-control" />
118
+                                </td>
119
+                            </tr>
114 120
                         </table>
115 121
                     </div>
116 122
                 </div>
@@ -194,6 +200,7 @@
194 200
 
195 201
     <script>
196 202
         var tabindex = 0;
203
+        var exportParams; // 导出参数
197 204
         $(document).ready(function () {
198 205
             load();
199 206
             laydate.skin("blue");
@@ -293,9 +300,12 @@
293 300
                         type: $("#type").val(),
294 301
                         tab: 3, //待处理
295 302
                         sourcearea: $("#sourceAreas").val(), //区域
303
+                        strworkorderid:$("#strworkorderid").val().replace(/\s+/g, ""),
296 304
                         blstate: tabindex,
297 305
                         token: $.cookie("token"),
298 306
                     };
307
+                    // 导出参数
308
+                    exportParams = param;
299 309
                     return param;
300 310
                 },
301 311
                 onLoadSuccess: function (data) {
@@ -854,55 +864,10 @@
854 864
             $(".Cleans").show();
855 865
         }
856 866
 
857
-        $(".exportFile").click(function () {
858
-            var usercode_ = $("#ZX").val(); //坐席
859
-            if (usercode_ != null) {
860
-                $(usercode_).each(function (i, n) {
861
-                    var obj1 = "";
862
-                    obj1 = n + ",";
863
-                    usercodeID += obj1;
864
-                });
865
-            } else {
866
-                usercodeID = "";
867
-            }
868
-
869
-            //      	调度员
870
-            var ddusercodeID = "";
871
-            var ddusercode_ = $("#yardman").val(); //坐席
872
-            if (ddusercode_ != null) {
873
-                $(ddusercode_).each(function (i, n) {
874
-                    var obj2 = "";
875
-                    obj2 = n + ",";
876
-                    ddusercodeID += obj2;
877
-                });
878
-            } else {
879
-                ddusercodeID = "";
880
-            }
881
-
882
-            // var isproresult = 2 // 已办未果
883
-            var key = $("#key").val() //=关键字
884
-            var tel = $("#tel").val() //=客户电话
885
-            var name = $("#name").val() //=客户名称
886
-            var usercode = usercodeID //=坐席工号
887
-            var ddusercode = ddusercodeID
888
-            var source = $("#source").val() //=来源&
889
-            var starttime = $("#starttime").val() //=开始时间
890
-            var endtime = $("#endtime").val() //=结束时间
891
-            var deptid = $("#PID").val()
892
-            var type = $("#type").val() //=工单类型
893
-            var dealtype = $("#dealtype").val()
894
-            var sourcearea = $("#sourceAreas").val() //区域
895
-            var workid = $("#wids").val()
896
-            var state = "" //=工单状态
897
-            var tab = 3
898
-            var keyid = $("#keyid").val() //=关键词id
899
-
900
-            var url = huayi.config.callcenter_url + "WorkOrder/GetDWDealList?token=" + $.cookie("token");
901
-            url += "&workid=" + workid + "&state=" + state + "&tab=" + tab + "&type=" + type + "&key=" + key +
902
-                "&tel=" + tel + "&name=" + name + "&usercode=" + usercode + "&ddusercode=" + ddusercode +
903
-                "&keyid=" + keyid + "&source=" + source + "&starttime=" + starttime + "&endtime=" + endtime +
904
-                "&deptid=" + deptid + "&sourcearea=" + sourcearea + "&dealtype=" + dealtype + "&isdc=1";
905
-            window.location.href = url;
867
+        // 导出文件
868
+        $(".exportFile").click(function() {
869
+            exportParams.isdc = 1;
870
+            exportFileFun("WorkOrder/GetDWDealList", exportParams)
906 871
         })
907 872
     </script>
908 873
 </body>

+ 15 - 50
WebUI/CallCenterWeb.UI/Business/WorkZZBL.html

@@ -21,7 +21,7 @@
21 21
                     <i class="syIcon"></i>位置:
22 22
                     <a href="javaScript:;" id="ReIndex">首页</a>&gt;
23 23
                     <a href="javaScript:;">办理单位</a>&gt;
24
-                    <a href="" class="nowPosition">正在办理</a>
24
+                    <a href="" class="nowPosition">已派单</a>
25 25
                 </sapn>
26 26
             </div>
27 27
             <div class="dhRight">
@@ -111,6 +111,12 @@
111 111
                                     <botton class="btns exportFile">导出</botton>
112 112
                                 </td>
113 113
                             </tr>
114
+                            <tr>
115
+                            	<th>省平台编号:</th>
116
+                                <td>
117
+                                    <input type="text" placeholder="输入工单号" id="strworkorderid" class="form-control Min-width" />
118
+                                </td>
119
+                            </tr>
114 120
                         </table>
115 121
                     </div>
116 122
                 </div>
@@ -185,6 +191,7 @@
185 191
 
186 192
     <script>
187 193
         var wid = helper.request.queryString("states");
194
+        var exportParams; // 导出参数
188 195
         if (wid) {
189 196
             $("#state").val(wid);
190 197
         }
@@ -284,8 +291,11 @@
284 291
                         tab: 14, //待处理
285 292
                         distribute: 0,
286 293
                         sourcearea: $("#sourceAreas").val(), //区域
294
+                        strworkorderid:$("#strworkorderid").val().replace(/\s+/g, ""),
287 295
                         token: $.cookie("token"),
288 296
                     };
297
+                    // 导出参数
298
+                    exportParams = param;
289 299
                     return param;
290 300
                 },
291 301
                 onLoadSuccess: function (data) {
@@ -939,55 +949,10 @@
939 949
             $("#Dpment").val(treeNode.F_DeptName);
940 950
             $(".Cleans").show();
941 951
         }
942
-        $(".exportFile").click(function () {
943
-            var usercode_ = $("#ZX").val(); //坐席
944
-            if (usercode_ != null) {
945
-                $(usercode_).each(function (i, n) {
946
-                    var obj1 = "";
947
-                    obj1 = n + ",";
948
-                    usercodeID += obj1;
949
-                });
950
-            } else {
951
-                usercodeID = "";
952
-            }
953
-
954
-            //      	调度员
955
-            var ddusercodeID = "";
956
-            var ddusercode_ = $("#yardman").val(); //坐席
957
-            if (ddusercode_ != null) {
958
-                $(ddusercode_).each(function (i, n) {
959
-                    var obj2 = "";
960
-                    obj2 = n + ",";
961
-                    ddusercodeID += obj2;
962
-                });
963
-            } else {
964
-                ddusercodeID = "";
965
-            }
966
-
967
-            // var isproresult = 2 // 已办未果
968
-            var key = $("#key").val() //=关键字
969
-            var tel = $("#tel").val() //=客户电话
970
-            var name = $("#name").val() //=客户名称
971
-            var usercode = usercodeID //=坐席工号
972
-            var ddusercode = ddusercodeID
973
-            var source = $("#source").val() //=来源&
974
-            var starttime = $("#starttime").val() //=开始时间
975
-            var endtime = $("#endtime").val() //=结束时间
976
-            var deptid = $("#PID").val()
977
-            var type = $("#type").val() //=工单类型
978
-            var dealtype = $("#dealtype").val()
979
-            var sourcearea = $("#sourceAreas").val() //区域
980
-            var workid = $("#wids").val()
981
-            var state = "" //=工单状态
982
-            var tab = 14
983
-            var keyid = $("#keyid").val() //=关键词id
984
-
985
-            var url = huayi.config.callcenter_url + "WorkOrder/GetDWDealList?token=" + $.cookie("token");
986
-            url += "&workid=" + workid + "&state=" + state + "&tab=" + tab + "&type=" + type + "&key=" + key +
987
-                "&tel=" + tel + "&name=" + name + "&usercode=" + usercode + "&ddusercode=" + ddusercode +
988
-                "&keyid=" + keyid + "&source=" + source + "&starttime=" + starttime + "&endtime=" + endtime +
989
-                "&deptid=" + deptid + "&sourcearea=" + sourcearea + "&dealtype=" + dealtype + "&isdc=1";
990
-            window.location.href = url;
952
+        // 导出文件
953
+        $(".exportFile").click(function() {
954
+            exportParams.isdc = 1;
955
+            exportFileFun("WorkOrder/GetDWDealList", exportParams)
991 956
         })
992 957
     </script>
993 958
 </body>

+ 17 - 51
WebUI/CallCenterWeb.UI/Business/applicationDelayed.html

@@ -111,6 +111,12 @@
111 111
                                     <botton class="btns exportFile">导出</botton>
112 112
                                 </td>
113 113
                             </tr>
114
+                            <tr>
115
+                            	<th>省平台编号:</th>
116
+                                <td>
117
+                                    <input type="text" placeholder="输入工单号" id="strworkorderid" class="form-control" />
118
+                                </td>
119
+                            </tr>
114 120
                         </table>
115 121
                     </div>
116 122
                 </div>
@@ -185,8 +191,9 @@
185 191
     <script src="../js/search/screen.js"></script>
186 192
     <script src="../js/WorkOrder/WorkOrderList.js"></script>
187 193
     <script>
194
+    	var wid = helper.request.queryString("wid");
195
+        var exportParams; // 导出参数
188 196
         $(document).ready(function () {
189
-            var wid = helper.request.queryString("wid");
190 197
             if (wid) {
191 198
                 $("#tel").val(wid);
192 199
                 load();
@@ -217,6 +224,12 @@
217 224
             $(".success").removeClass("success"); //去除之前选中的行的,选中样式
218 225
             $(ele).addClass("success"); //添加当前选中的 success样式用于区别
219 226
         });
227
+        // 导出文件
228
+        $(".exportFile").click(function() {
229
+            exportParams.isdc = 1;
230
+            console.log(exportParams)
231
+            exportFileFun("WorkOrder/GetEJDWDealList", exportParams)
232
+        })
220 233
         //获取查询信息
221 234
         function load() {
222 235
             //坐席
@@ -289,8 +302,11 @@
289 302
                         tab: 5,
290 303
                         dealtype: $("#dealtype").val(),
291 304
                         sourcearea: $("#sourceAreas").val(), //区域
305
+                        strworkorderid:$("#strworkorderid").val().replace(/\s+/g, ""),
292 306
                         token: $.cookie("token"),
293 307
                     };
308
+                     // 导出参数
309
+                    exportParams = param;
294 310
                     return param;
295 311
                 },
296 312
                 onLoadSuccess: function (data) {
@@ -968,56 +984,6 @@
968 984
                 $("audio")[0].pause();
969 985
             }
970 986
         }
971
-        $(".exportFile").click(function () {
972
-            var usercode_ = $("#ZX").val(); //坐席
973
-            if (usercode_ != null) {
974
-                $(usercode_).each(function (i, n) {
975
-                    var obj1 = "";
976
-                    obj1 = n + ",";
977
-                    usercodeID += obj1;
978
-                });
979
-            } else {
980
-                usercodeID = "";
981
-            }
982
-
983
-            //      	调度员
984
-            var ddusercodeID = "";
985
-            var ddusercode_ = $("#yardman").val(); //坐席
986
-            if (ddusercode_ != null) {
987
-                $(ddusercode_).each(function (i, n) {
988
-                    var obj2 = "";
989
-                    obj2 = n + ",";
990
-                    ddusercodeID += obj2;
991
-                });
992
-            } else {
993
-                ddusercodeID = "";
994
-            }
995
-
996
-            // var isproresult = 2 // 已办未果
997
-            var key = $("#key").val() //=关键字
998
-            var tel = $("#tel").val() //=客户电话
999
-            var name = $("#name").val() //=客户名称
1000
-            var usercode = usercodeID //=坐席工号
1001
-            var ddusercode = ddusercodeID
1002
-            var source = $("#source").val() //=来源&
1003
-            var starttime = $("#starttime").val() //=开始时间
1004
-            var endtime = $("#endtime").val() //=结束时间
1005
-            var deptid = $("#PID").val()
1006
-            var type = $("#type").val() //=工单类型
1007
-            var dealtype = $("#dealtype").val()
1008
-            var sourcearea = $("#sourceAreas").val() //区域
1009
-            var workid = $("#wids").val()
1010
-            var state = "" //=工单状态
1011
-            var tab = 5
1012
-            var keyid = $("#keyid").val() //=关键词id
1013
-
1014
-            var url = huayi.config.callcenter_url + "WorkOrder/GetEJDWDealList?token=" + $.cookie("token");
1015
-            url += "&workid=" + workid + "&state=" + state + "&tab=" + tab + "&type=" + type + "&key=" + key +
1016
-                "&tel=" + tel + "&name=" + name + "&usercode=" + usercode + "&ddusercode=" + ddusercode +
1017
-                "&keyid=" + keyid + "&source=" + source + "&starttime=" + starttime + "&endtime=" + endtime +
1018
-                "&deptid=" + deptid + "&sourcearea=" + sourcearea + "&dealtype=" + dealtype + "&isdc=1";
1019
-            window.location.href = url;
1020
-        })
1021 987
     </script>
1022 988
 </body>
1023 989
 

+ 17 - 51
WebUI/CallCenterWeb.UI/Business/haveBeenReceived.html

@@ -111,6 +111,12 @@
111 111
                                     <botton class="btns exportFile">导出</botton>
112 112
                                 </td>
113 113
                             </tr>
114
+                            <tr>
115
+                            	<th>省平台编号:</th>
116
+                                <td>
117
+                                    <input type="text" placeholder="输入工单号" id="strworkorderid" class="form-control" />
118
+                                </td>
119
+                            </tr>
114 120
                         </table>
115 121
                     </div>
116 122
                 </div>
@@ -186,8 +192,9 @@
186 192
     <script src="../js/WorkOrder/WorkOrderList.js"></script>
187 193
 
188 194
     <script>
195
+    	var wid = helper.request.queryString("wid");
196
+    	var exportParams; // 导出参数
189 197
         $(document).ready(function () {
190
-            var wid = helper.request.queryString("wid");
191 198
             if (wid) {
192 199
                 $("#tel").val(wid);
193 200
                 load();
@@ -218,6 +225,12 @@
218 225
             $(".success").removeClass("success"); //去除之前选中的行的,选中样式
219 226
             $(ele).addClass("success"); //添加当前选中的 success样式用于区别
220 227
         });
228
+        // 导出文件
229
+        $(".exportFile").click(function() {
230
+            exportParams.isdc = 1;
231
+            console.log(exportParams)
232
+            exportFileFun("WorkOrder/GetEJDWDealList", exportParams)
233
+        })
221 234
         //获取查询信息
222 235
         function load() {
223 236
             //坐席
@@ -290,8 +303,11 @@
290 303
                         tab: 4,
291 304
                         dealtype: $("#dealtype").val(),
292 305
                         sourcearea: $("#sourceAreas").val(), //区域
306
+                        strworkorderid:$("#strworkorderid").val().replace(/\s+/g, ""),
293 307
                         token: $.cookie("token"),
294 308
                     };
309
+                     // 导出参数
310
+                    exportParams = param;
295 311
                     return param;
296 312
                 },
297 313
                 onLoadSuccess: function (data) {
@@ -969,56 +985,6 @@
969 985
                 $("audio")[0].pause();
970 986
             }
971 987
         }
972
-        $(".exportFile").click(function () {
973
-            var usercode_ = $("#ZX").val(); //坐席
974
-            if (usercode_ != null) {
975
-                $(usercode_).each(function (i, n) {
976
-                    var obj1 = "";
977
-                    obj1 = n + ",";
978
-                    usercodeID += obj1;
979
-                });
980
-            } else {
981
-                usercodeID = "";
982
-            }
983
-
984
-            //      	调度员
985
-            var ddusercodeID = "";
986
-            var ddusercode_ = $("#yardman").val(); //坐席
987
-            if (ddusercode_ != null) {
988
-                $(ddusercode_).each(function (i, n) {
989
-                    var obj2 = "";
990
-                    obj2 = n + ",";
991
-                    ddusercodeID += obj2;
992
-                });
993
-            } else {
994
-                ddusercodeID = "";
995
-            }
996
-
997
-            // var isproresult = 2 // 已办未果
998
-            var key = $("#key").val() //=关键字
999
-            var tel = $("#tel").val() //=客户电话
1000
-            var name = $("#name").val() //=客户名称
1001
-            var usercode = usercodeID //=坐席工号
1002
-            var ddusercode = ddusercodeID
1003
-            var source = $("#source").val() //=来源&
1004
-            var starttime = $("#starttime").val() //=开始时间
1005
-            var endtime = $("#endtime").val() //=结束时间
1006
-            var deptid = $("#PID").val()
1007
-            var type = $("#type").val() //=工单类型
1008
-            var dealtype = $("#dealtype").val()
1009
-            var sourcearea = $("#sourceAreas").val() //区域
1010
-            var workid = $("#wids").val()
1011
-            var state = "" //=工单状态
1012
-            var tab = 4
1013
-            var keyid = $("#keyid").val() //=关键词id
1014
-
1015
-            var url = huayi.config.callcenter_url + "WorkOrder/GetEJDWDealList?token=" + $.cookie("token");
1016
-            url += "&workid=" + workid + "&state=" + state + "&tab=" + tab + "&type=" + type + "&key=" + key +
1017
-                "&tel=" + tel + "&name=" + name + "&usercode=" + usercode + "&ddusercode=" + ddusercode +
1018
-                "&keyid=" + keyid + "&source=" + source + "&starttime=" + starttime + "&endtime=" + endtime +
1019
-                "&deptid=" + deptid + "&sourcearea=" + sourcearea + "&dealtype=" + dealtype + "&isdc=1";
1020
-            window.location.href = url;
1021
-        })
1022 988
     </script>
1023 989
 </body>
1024 990
 

+ 14 - 50
WebUI/CallCenterWeb.UI/Business/workOverdue.html

@@ -111,6 +111,12 @@
111 111
                                     <botton class="btns exportFile">导出</botton>
112 112
                                 </td>
113 113
                             </tr>
114
+                            <tr>
115
+                            	<th>省平台编号:</th>
116
+                                <td>
117
+                                    <input type="text" placeholder="输入工单号" id="strworkorderid" class="form-control" />
118
+                                </td>
119
+                            </tr>
114 120
                         </table>
115 121
                     </div>
116 122
                 </div>
@@ -168,6 +174,7 @@
168 174
     <script src="../js/WorkOrder/WorkOrderList.js"></script>
169 175
 
170 176
     <script>
177
+    	var exportParams; // 导出参数
171 178
         $(document).ready(function () {
172 179
             load();
173 180
             //				helper.getDropList.getOrderAreas($('#sourceAreas'));
@@ -267,10 +274,13 @@
267 274
                         type: $("#type").val(),
268 275
                         tab: 1, //待处理
269 276
                         sourcearea: $('#sourceAreas').val(), //区域
277
+                        strworkorderid:$("#strworkorderid").val().replace(/\s+/g, ""),
270 278
                         soon: 1,
271 279
                         // jianhang: 2,
272 280
                         token: $.cookie("token")
273 281
                     };
282
+                    // 导出参数
283
+                    exportParams = param;
274 284
                     return param;
275 285
                 },
276 286
                 onLoadSuccess: function (data) { //加载成功时执行
@@ -761,56 +771,10 @@
761 771
             $(".Cleans").show();
762 772
         };
763 773
 
764
-        $(".exportFile").click(function () {
765
-            // 坐席
766
-            var usercodeID = "";
767
-            var usercode_ = $("#ZX").val(); //坐席
768
-            if (usercode_ != null) {
769
-                $(usercode_).each(function (i, n) {
770
-                    var obj1 = "";
771
-                    obj1 = n + ",";
772
-                    usercodeID += obj1;
773
-                });
774
-            } else {
775
-                usercodeID = "";
776
-            }
777
-
778
-            // 调度员
779
-            var ddusercodeID = "";
780
-            var ddusercode_ = $("#yardman").val(); //坐席
781
-            if (ddusercode_ != null) {
782
-                $(ddusercode_).each(function (i, n) {
783
-                    var obj2 = "";
784
-                    obj2 = n + ",";
785
-                    ddusercodeID += obj2;
786
-                });
787
-            } else {
788
-                ddusercodeID = "";
789
-            }
790
-
791
-            var workid = $("#wids").val()
792
-            var state = $("#state").val() == undefined ? "" : $("#state").val() //=工单状态
793
-            var type = $("#type").val() //=工单类型
794
-            var bigtype = $("#bigtype").val() == undefined ? "" : $("#bigtype").val() //=大类别
795
-            var smalltype = $("#smalltype").val() == undefined ? "" : $("#smalltype").val() //=小类别
796
-            var usercode = usercodeID //=坐席工号
797
-            var ddusercode = ddusercodeID //审核员
798
-            var keyid = $("#keyid").val() //=关键词id
799
-            var source = $("#source").val() //=来源&
800
-            var starttime = $("#starttime").val() //=开始时间
801
-            var endtime = $("#endtime").val() //=结束时间
802
-            var deptid = $("#PID").val()
803
-            var tab = 1 //待处理
804
-            var sourcearea = $('#sourceAreas').val() //区域
805
-            var soon = 1;
806
-            var jianhang = "";
807
-
808
-            var url = huayi.config.callcenter_url + "WorkOrder/GetTimeOutList?token=" + $.cookie("token");
809
-            url += "&workid=" + workid + "&state=" + state + "&type=" + type + "&bigtype=" + bigtype +
810
-                "&smalltype=" + smalltype + "&usercode=" + usercode + "&ddusercode=" + ddusercode + "&keyid=" + keyid + "&source=" + source +
811
-                "&starttime=" + starttime + "&endtime=" + endtime + "&deptid=" + deptid + "&tab=" + tab +
812
-                "&sourcearea=" + sourcearea + "&soon=" + soon + "&jianhang=" + jianhang + "&isdc=1";
813
-            window.location.href = url;
774
+        // 导出文件
775
+        $(".exportFile").click(function() {
776
+            exportParams.isdc = 1;
777
+            exportFileFun("WorkOrder/GetTimeOutList", exportParams)
814 778
         })
815 779
     </script>
816 780
 </body>

+ 1 - 1
WebUI/CallCenterWeb.UI/CommonHtml/AddAppeal.html

@@ -77,7 +77,7 @@
77 77
 						<tr class="workcontent-wrapper">
78 78
 							<th class="Importent">工单内容:</th>
79 79
 							<td colspan="7">
80
-								<textarea data-adaptheight id="workcontent" class="form-control" name="" rows="" cols="" style="width: 100%;"></textarea>
80
+								<textarea data-adaptheight id="workcontent" class="form-control" name="" rows="10" cols="" style="width: 100%;"></textarea>
81 81
 							</td>
82 82
 						</tr>
83 83
 						<tr>

+ 12 - 9
WebUI/CallCenterWeb.UI/CommonHtml/WorkDatil.html

@@ -251,6 +251,11 @@
251 251
 								备注:
252 252
 								<span class="remarkRM"></span>
253 253
 							</li>
254
+							<li class="addnewTimebox">
255
+								省平台工单编号:
256
+								<span class="strworkorderid"></span>
257
+							</li>
258
+							
254 259
 						</ul>
255 260
 
256 261
 					</div>
@@ -1003,10 +1008,12 @@
1003 1008
 											btnhtml += html1;
1004 1009
 
1005 1010
 										}
1006
-										$('.btnshows').html(btnhtml)
1007
-										
1008 1011
 										if(Data[0].F_InfoSource==2580){
1009 1012
 											$(".addnewTimebox").show()
1013
+											$(".strworkorderid").text(Data[0].strworkorderid)
1014
+											$(".applicationDelay").hide()
1015
+											$(".provinceAssign").show()
1016
+											$(".provinceAssignResult").text(Data[0].SEND_CONTENT)
1010 1017
 										}else{
1011 1018
 											$(".addnewTimebox").hide()
1012 1019
 										}										
@@ -1052,11 +1059,7 @@
1052 1059
 											$('.SL').text(Data[0].SourceName);
1053 1060
 										}
1054 1061
 
1055
-										if(SLtext === "2580") {
1056
-											$(".applicationDelay").hide()
1057
-											$(".provinceAssign").show()
1058
-											$(".provinceAssignResult").text(Data[0].SEND_CONTENT)
1059
-										}
1062
+										
1060 1063
 										$(".DH").text(Data[0].F_WorkOrderId);
1061 1064
 										$(".LY").text(Data[0].SourceName); //工单来源
1062 1065
 										if(Data[0].SourceName === "人民网") {
@@ -2369,9 +2372,9 @@
2369 2372
 			$(".callerTitle").click(function() {
2370 2373
 				layer.open({
2371 2374
 					type: 2,
2372
-					content: "./callerName.html?callerName=" + callerName, //iframe的url,no代表不显示滚动条
2375
+					content: "./callerName.html?callerName=" + callerName+"&wid="+wid, //iframe的url,no代表不显示滚动条
2373 2376
 					title: "来电人",
2374
-					area: ["40%", "25%"], //宽高
2377
+					area: ["50%", "25%"], //宽高
2375 2378
 				});
2376 2379
 			})
2377 2380
 

+ 33 - 3
WebUI/CallCenterWeb.UI/CommonHtml/callerName.html

@@ -14,8 +14,15 @@
14 14
     <div class="Common">
15 15
         <table>
16 16
             <tr>
17
-                <th>来电人:</th>
18
-                <td><span class="callerName"></span></td>
17
+                <th style="width: 120px;">来电人:</th>
18
+                <td>
19
+                	<span class="callerName" style="display: none;"></span>
20
+                	<div style="display: inline-block;" class="passwordSearch">
21
+                		<input type="number" id="password" value=""autocomplete="off"/>
22
+                		<button onclick="getPhone()">查询</button>
23
+                	</div>
24
+                </td>
25
+                
19 26
             </tr>
20 27
         </table>
21 28
     </div>
@@ -23,10 +30,33 @@
23 30
     <script src="../js/adjustHeight.js"></script>
24 31
     <script>
25 32
         var callerName = decodeURI(helper.request.queryString("callerName"));
26
-        console.log(callerName)
33
+        var wid=helper.request.queryString("wid")
27 34
         if (callerName) {
28 35
             $(".callerName").text(callerName)
29 36
         }
37
+        function getPhone(){
38
+        	if (!$("#password").val()) {
39
+        		layer.msg('请输入密码')
40
+        		return
41
+        	}
42
+        	$.ajax({
43
+					type:"get",
44
+					url:huayi.config.callcenter_url + "WorkOrder/GetPhone", //获取数据的Servlet地址,
45
+					async:true,
46
+					dataType:"json",
47
+					data:{
48
+						workorderid:wid,
49
+						password:$("#password").val(),
50
+						token: $.cookie("token")
51
+					},
52
+					success:function(res){
53
+						if (res.state.toLowerCase() ==="success") { 
54
+							$(".passwordSearch").hide()
55
+							$(".callerName").show()
56
+						}
57
+					}
58
+				});
59
+        }
30 60
     </script>
31 61
 </body>
32 62
 

+ 6 - 1
WebUI/CallCenterWeb.UI/CommonHtml/callerNumber.html

@@ -15,7 +15,10 @@
15 15
         <table>
16 16
             <tr>
17 17
                 <th style="width: 85px;text-align: left;">来电号码:</th>
18
-                <td><span class="phoneNumber"></span></td>
18
+                <td>
19
+                	<span class="phoneNumber" style="display: none;"></span>
20
+                	
21
+                </td>
19 22
             </tr>
20 23
         </table>
21 24
     </div>
@@ -23,9 +26,11 @@
23 26
     <script src="../js/adjustHeight.js"></script>
24 27
     <script>
25 28
         var phoneNumber = decodeURIComponent(helper.request.queryString("phoneNumber"));
29
+        
26 30
         if (phoneNumber) {
27 31
             $(".phoneNumber").text(phoneNumber)
28 32
         }
33
+        
29 34
     </script>
30 35
 </body>
31 36
 

+ 12 - 1
WebUI/CallCenterWeb.UI/ProvincialPlatformManagement/LawsuitProvincialPlatform.html

@@ -237,7 +237,14 @@
237 237
                                 <td>
238 238
                                     <input type="text" placeholder="输入工单号" id="strworkorderid" class="form-control" />
239 239
                                 </td>
240
-                                
240
+                                <th>是否省平台退回:</th>
241
+                                <td>
242
+                                    <select id="isProBack" class="form-control" name="select">
243
+                                        <option value="">请选择是否省平台退回</option>
244
+                                        <option value="1">是</option>
245
+                                        <option value="0">否</option>
246
+                                    </select>
247
+                                </td>
241 248
                             </tr>
242 249
                         </table>
243 250
                     </div>
@@ -273,6 +280,9 @@
273 280
                                     <th data-field="F_WorkState" data-align="center" data-formatter="States">
274 281
                                         办理状态
275 282
                                     </th>
283
+                                    <th data-field="isback" data-align="center">
284
+                                        是够省平台退回
285
+                                    </th>
276 286
                                     <th data-field="OverState" data-formatter="OverTime" data-align="center">
277 287
                                         时限
278 288
                                     </th>
@@ -433,6 +443,7 @@
433 443
                         pagesize: params.pageSize,
434 444
                         workid: $("#wids").val().replace(/\s+/g, ""),
435 445
                         strworkorderid:$("#strworkorderid").val().replace(/\s+/g, ""),
446
+                        isback:$("#isProBack").val(),
436 447
                         state: $("#state").val(), //=工单状态
437 448
                         type: $("#type").val(), //=工单类型
438 449
                         //bigtype: $("#bigtype").val(), //=大类别

+ 2 - 2
WebUI/CallCenterWeb.UI/ReportForm/seatefficiencyStatistics.html

@@ -51,9 +51,9 @@
51 51
 										选择时间:
52 52
 										<input class="photo x-color inputs laydate-icon" style="width: 400px;" autocomplete="off" type="text" id="startTimes" />
53 53
 									</li>
54
-									<li style="width: 360px;">
54
+									<li style="width: 300px;">
55 55
 										<div style="width: 100px">选择坐席:</div>
56
-										<select  id="ZX" name="select" class="selectpicker show-tick form-control" com style="width: 220px;" data-live-search="true">
56
+										<select  id="ZX" name="select" class="selectpicker show-tick form-control" com style="width: 150px;" data-live-search="true">
57 57
 											<option value="">请选择坐席</option>
58 58
 										</select>
59 59
 									</li>

+ 28 - 54
WebUI/CallCenterWeb.UI/ReportForm/seaterMY.html

@@ -8,63 +8,19 @@
8 8
     <script src="../Script/Common/huayi.load.js"></script>
9 9
     <script src="../Script/Common/huayi.config.js"></script>
10 10
     <link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
11
+    <link href="../css/reportCommon/Search.css" rel="stylesheet">
12
+	<link href="../css/reportCommon/common.css" rel="stylesheet">
11 13
     <link href="../css/WorkOrder/Search.css" rel="stylesheet">
14
+    <link rel="stylesheet" href="../css/bootstrap-select.css" />
12 15
     <link href="../css/init.css" rel="stylesheet" />
13 16
     <script src="../css/laydate/laydate.js"></script>
17
+    <script src="../js/bootstrap-select.js"></script>
14 18
     <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
-        .seach-box input {
64
-            width: 200px;
65
-            height: 34px;
66
-        }
67
-    </style>
19
+	<style>
20
+		.seach-box ul {
21
+		    overflow: inherit;
22
+		}
23
+	</style>
68 24
 </head>
69 25
 
70 26
 <body class="gray-bg">
@@ -95,6 +51,19 @@
95 51
                                     <input class="photo x-color inputs laydate-icon" type="text" id="startTimes" autocomplete="off" />-
96 52
                                     <input class="photo x-color inputs laydate-icon" type="text" id="endTimes" autocomplete="off" />
97 53
                                 </li>
54
+                                
55
+                                <li style="width: 300px;">
56
+									<div style="width: 100px">选择坐席:</div>
57
+									<select  id="userGroup" name="select" class="selectpicker show-tick form-control" com style="width: 150px;" data-live-search="true">
58
+										<option value="">请选择坐席</option>
59
+									</select>
60
+								</li>
61
+                                <li style="width: 300px;">
62
+									<div style="width: 100px">选择坐席:</div>
63
+									<select  id="ZX" name="select" class="selectpicker show-tick form-control" com style="width: 150px;" data-live-search="true">
64
+										<option value="">请选择坐席</option>
65
+									</select>
66
+								</li>
98 67
                                 <li>
99 68
                                     <a class="sc_btn btns db" style="padding: 7px 10px;">搜索</a>
100 69
                                     <a class="sc_btn btns export">导出</a>
@@ -125,8 +94,9 @@
125 94
 
126 95
         </div>
127 96
     </div>
128
-
97
+	<script src="../js/reportCommon/common.js"></script>
129 98
     <script>
99
+			
130 100
         $(document).ready(function () {
131 101
             laydate.skin('blue');
132 102
             laydate({
@@ -142,6 +112,9 @@
142 112
                 istime: true,
143 113
                 format: 'YYYY-MM-DD hh:mm:ss'
144 114
             });
115
+            ZX($("#ZX"));
116
+//          userGroup($("#userGroup"));
117
+            
145 118
             initTable();
146 119
         })
147 120
 
@@ -152,6 +125,7 @@
152 125
                 data: {
153 126
                     start: $("#startTimes").val(),
154 127
                     end: $("#endTimes").val(),
128
+                    usercode: $("#ZX").val(),
155 129
                     token: $.cookie("token")
156 130
                 },
157 131
                 dataType: "json",

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

@@ -5,7 +5,7 @@ huayi.config = {
5 5
 	callcenter_url: "http://192.168.8.9:1042/",//生产环境
6 6
 //  socket_ip: "192.168.8.7", //ip
7 7
 //  callcenter_url: "https://docking.zwfw.anyang.gov.cn:8999/", //生产环境
8
-	translation_socket:"ws://222.143.106.46:12233",
8
+	translation_socket:"ws://125.45.12.102:12233",
9 9
 	videoSocket_url: "wss://12345sp2.zwfw.anyang.gov.cn:8082", //docking.zwfw.anyang.gov.cn
10 10
     socket_ip: "125.45.12.123", //ip
11 11
     socket_port: "8081", //端口

+ 1 - 1
WebUI/CallCenterWeb.UI/TelCall/CallRecord.html

@@ -857,7 +857,7 @@
857 857
                 dataType: "json",
858 858
                 data: {
859 859
                     token: $.cookie("token"),
860
-                    phone: "15838094023",
860
+                    phone: phoneNumber,
861 861
                 },
862 862
                 success: function (result) {
863 863
                     if (result.state.toLowerCase() == "success") {

+ 1 - 0
WebUI/CallCenterWeb.UI/js/WorkOrder/WorkOrderList.js

@@ -343,5 +343,6 @@ function exportFileFun(api, params) {
343 343
             url += `&${key}=${params[key]}`
344 344
         }
345 345
     })
346
+    console.log((url))
346 347
     window.location.href = url;
347 348
 }

+ 30 - 0
WebUI/CallCenterWeb.UI/js/commonReport/common.js

@@ -113,4 +113,34 @@ function ZX(obj) {
113 113
 			}
114 114
 		}
115 115
 	);
116
+}
117
+///坐席组
118
+function userGroup(obj) {
119
+	obj.empty();
120
+	$.getJSON(
121
+		huayi.config.callcenter_url + "InfoNew/GetDicValueListById", {
122
+			token: $.cookie("token"),
123
+		},
124
+		function(data) {
125
+			if(data.state.toLowerCase() == "success") {
126
+				var content = data.data;
127
+				$(
128
+					"<option value=''>请选择</option>"
129
+				).appendTo(obj);
130
+				$(content).each(function(i, n) {
131
+					$(
132
+						"<option value='" +
133
+						n.F_UserCode +
134
+						"'>" +
135
+						n.F_UserName +
136
+						"</option>"
137
+					).appendTo(obj);
138
+				});
139
+				obj.selectpicker({
140
+					noneSelectedText: "请选择", //默认显示内容
141
+				});
142
+				obj.selectpicker("refresh");
143
+			}
144
+		}
145
+	);
116 146
 }

+ 29 - 43
WebUI/CallCenterWeb.UI/js/main.js

@@ -150,6 +150,8 @@ function Connect() {
150 150
                     //});
151 151
                     switch (data.Type.toLowerCase()) {
152 152
                         case "waitcount":
153
+                        	console.log("等待++++++++++++++")
154
+                        	console.log(data)
153 155
                             backstageQueue(data);
154 156
                             break;//后台排队 
155 157
                     }
@@ -398,49 +400,7 @@ function DropCallBack() {
398 400
 //	$("#isml").val(1);
399 401
 //  obj.Type = "SayBusy";
400 402
 //  Send();
401
-    if (callbackState) {
402
-//  	console.log("当前呼出通话的id=="+$.cookie("makeCallId"))
403
-//  	console.log("当前呼入的电话id=="+obj.TaskPhoneID)
404
-    	if (String(obj.TaskType) === "2") {
405
-	        $.ajax({
406
-	            type: "get",
407
-	            url: huayi.config.callcenter_url + "Callrecords/UpdateCallbackid",
408
-	            async: true,
409
-	            dataType: "json",
410
-	            data: {
411
-	                token: $.cookie("token"),
412
-	                callid: $.cookie("makeCallId"),  //当前呼出通话的id
413
-	                p_callid: obj.TaskPhoneID,  //当前呼入的电话id
414
-	            },
415
-	            success: function (result) {
416
-	                if (result.state.toLowerCase() == "success") {
417
-	                	obj.TaskType=""
418
-	                	if ($("iframe:visible").attr("data-id") == "./TelCall/CallRecord.html") {
419
-					        window.frames[$("iframe:visible").attr("name")].initTable();
420
-					    }
421
-	                }
422
-	            },
423
-	        });
424
-	        $.ajax({
425
-                type: "get",
426
-                url: huayi.config.callcenter_url + "Callrecords/UpdateCallback",
427
-                async: true,
428
-                dataType: "json",
429
-                data: {
430
-                    token: $.cookie("token"),
431
-                    callid: obj.TaskPhoneID,  //当前呼入的电话id
432
-                },
433
-                success: function (result) {
434
-                    if (result.state.toLowerCase() == "success") {
435
-                    	
436
-//                  	if ($("iframe:visible").attr("data-id") == "./TelCall/CallRecord.html") {
437
-//					        window.frames[$("iframe:visible").attr("name")].initTable();
438
-//					    }
439
-                    }
440
-                },
441
-            });
442
-	    }
443
-    }
403
+    
444 404
     //$('.ldtp-con').css("display", 'none');
445 405
     
446 406
 }
@@ -614,6 +574,31 @@ function MakeCallBack() {
614 574
     $(".DropCall").addClass("active");
615 575
     $(".Meeting").addClass("active");
616 576
     $('.satisfactionEvaluation').addClass("active");
577
+    if (callbackState) {
578
+    	if (String(obj.TaskType) === "2") {
579
+	        $.ajax({
580
+	            type: "get",
581
+	            url: huayi.config.callcenter_url + "Callrecords/UpdateCallbackid",
582
+	            async: true,
583
+	            dataType: "json",
584
+	            data: {
585
+	                token: $.cookie("token"),
586
+	                callid: $.cookie("makeCallId"),  //当前呼出通话的id
587
+	                phone:obj.Callee,
588
+	                p_callid: obj.TaskPhoneID,  //当前呼入的电话id
589
+	            },
590
+	            success: function (result) {
591
+	                if (result.state.toLowerCase() == "success") {
592
+	                	obj.TaskType=""
593
+	                	callbackState =false
594
+	                	if ($("iframe:visible").attr("data-id") == "./TelCall/CallRecord.html") {
595
+					        window.frames[$("iframe:visible").attr("name")].initTable();
596
+					    }
597
+	                }
598
+	            },
599
+	        });
600
+	    }
601
+    }
617 602
 }
618 603
 
619 604
 //默认记忆上次是否签入,是否置忙置闲 0表示已签入 空闲,1表示签入置忙,2表示签出 
@@ -760,6 +745,7 @@ function LineStateBack(data) {
760 745
 function backstageQueue(data) {
761 746
     var obj = $("iframe:visible")
762 747
     // if (obj.attr("data-id") == "index_v1.html") {
748
+    	debugger
763 749
         window.frames[obj.attr("name")].realTimeMonitorQueue(data.WaitCount);
764 750
     // }
765 751
 }