Browse Source

大屏日期修改

liuzhen 6 years ago
parent
commit
1004be67cd

+ 0 - 13
WebChart/js/TelephoneDetails.js

@@ -155,12 +155,6 @@
155 155
 	});
156 156
 
157 157
 	function partOne(starts, ends,areaOneVal) {
158
-		if(!starts){
159
-			starts="2019-11-01"
160
-		} 
161
-		if(!ends){
162
-			ends="2019-11-30"
163
-		}
164 158
 		$.ajax({
165 159
 			type: "get",
166 160
 			url: huayi.config.callcenter_url + "info/GetUserStateCount24ByDate",
@@ -266,9 +260,6 @@
266 260
 		//		var index = layer.load(1, {
267 261
 		//			shade: [0.5, '#030303'] //0.1透明度的白色背景
268 262
 		//		});
269
-		if(!dates){
270
-			dates="2019-11-01"
271
-		} 
272 263
 		$.ajax({
273 264
 			type: "get",
274 265
 			url: huayi.config.callcenter_url + "info/GetTelCount24ByDate",
@@ -413,10 +404,6 @@
413 404
 	});
414 405
 
415 406
 	function partThree(dates,areaOneVal) {
416
-		if(!dates){
417
-			dates="2019-11-01"
418
-		} 
419
-		
420 407
 		$.ajax({
421 408
 			type: "get",
422 409
 			url: huayi.config.callcenter_url + "info/GetTelCountByDate",

+ 0 - 12
WebChart/js/complaintsReport.js

@@ -210,12 +210,6 @@ function partOne(start, end,areaOneVal) {
210 210
 
211 211
 function partTwo(starts, ends, areaOneVal) {
212 212
 	var keyid=$('.keys').val()
213
-	if(!starts){
214
-		starts="2019-11-01"
215
-	} 
216
-	if(!ends){
217
-		ends="2019-11-30"
218
-	}
219 213
 	$.ajax({
220 214
 		type: "get",
221 215
 		url: huayi.config.callcenter_url + "Info/GetKeyCountByDateNew",
@@ -316,12 +310,6 @@ function partThree(start, end,areaOneVal) {
316 310
 	//		var index = layer.load(1, {
317 311
 	//			shade: [0.5, '#030303'] //0.1透明度的白色背景
318 312
 	//		});
319
-	if(!start){
320
-		start="2019-11-01"
321
-	} 
322
-	if(!end){
323
-		end="2019-11-30"
324
-	}
325 313
 	$.ajax({
326 314
 		type: "get",
327 315
 		url: huayi.config.callcenter_url + "info/GetTypeCountByDate",

+ 8 - 23
WebChart/js/index.js

@@ -134,12 +134,6 @@ function turn(aa) {
134 134
 	})();
135 135
 	//第一屏幕 开始
136 136
 	function oneScreen(sd,ed) {
137
-		if(!sd){
138
-			sd="2019-11-01"
139
-		}
140
-		if(!ed){
141
-			ed="2019-11-30"
142
-		}
143 137
 		$.ajax({
144 138
 			type: "get",
145 139
 			url: huayi.config.callcenter_url + "/info/GetAreaCountByDateNew",
@@ -195,15 +189,9 @@ function turn(aa) {
195 189
 
196 190
 	//第二屏
197 191
 	function twoScreen(start, end, areaTwoVal) {
198
-	if(!areaTwoVal) {
199
-		areaTwoVal = "sqs12345"
200
-	}
201
-	if(!start){
202
-		start="2019-11-01"
203
-	}
204
-	if(!end){
205
-		end="2019-11-30"
206
-	}
192
+//	if(!areaTwoVal) {
193
+//		areaTwoVal = "sqs12345"
194
+//	}
207 195
 	$.ajax({
208 196
 		type: "get",
209 197
 		url: huayi.config.callcenter_url + "info/GetSourceByDateNew",
@@ -256,9 +244,6 @@ function turn(aa) {
256 244
 
257 245
 	//第三屏
258 246
 	function threeScreen(sd,areaTwoVal) {
259
-		if(!sd){
260
-			sd="2019-11-01"
261
-		}
262 247
 		$.ajax({
263 248
 			type: "get",
264 249
 			url: huayi.config.callcenter_url + "Info/GetTypeCountNew",
@@ -316,11 +301,11 @@ function turn(aa) {
316 301
 	}
317 302
 	//第五屏js
318 303
 	function fiveScreen(sd,ed,areaTwoVal) {
319
-		if(!sd){
320
-			sd="2019-11-01"
321
-		}if(!ed){
322
-			ed="2019-11-30"
323
-		}
304
+//		if(!sd){
305
+//			sd="2019-11-01"
306
+//		}if(!ed){
307
+//			ed="2019-11-30"
308
+//		}
324 309
         keyWord(sd, ed,areaTwoVal);
325 310
 	} 
326 311
 	$(".depart").change(function() {

+ 9 - 9
WebChart/js/pieChat.js

@@ -1,14 +1,14 @@
1 1
 
2 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
-	}
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 12
 	$.ajax({
13 13
 		type: "get",
14 14
 		url: huayi.config.callcenter_url + '/info/GetSourceByDateNew',

+ 0 - 10
WebChart/js/receiptDepartment.js

@@ -189,12 +189,6 @@ function partOne(areaOneVal) {
189 189
 
190 190
 //part 2 //各部门工单情况
191 191
 function partTwo(starts, ends, areaOneVal) {
192
-	if(!starts){
193
-		starts="2019-11-01"
194
-	} 
195
-	if(!ends){
196
-		ends="2019-11-30"
197
-	}
198 192
 	$.ajax({
199 193
 		type: "get",
200 194
 		url: huayi.config.callcenter_url + "Info/GetDeptCountByDateNew",
@@ -326,10 +320,6 @@ sitProportion.setOption({
326 320
 });
327 321
 
328 322
 function partThree(dates,areaOneVal) {
329
-	if(!dates){
330
-		dates="2019-11-01"
331
-	} 
332
-	
333 323
 	$.ajax({
334 324
 		type: "get",
335 325
 		url: huayi.config.callcenter_url + "info/GetDealCount24ByDate",

+ 0 - 15
WebChart/js/sourceChannel.js

@@ -136,9 +136,6 @@ part_1.setOption({
136 136
 });
137 137
 
138 138
 function partOne(dates,areaOneVal) {
139
-	if(!dates){
140
-		dates="2019-11-01"
141
-	} 
142 139
 	$.ajax({
143 140
 		type: "get",
144 141
 		url: huayi.config.callcenter_url + "info/GetAreaCount24ByDate",
@@ -268,12 +265,6 @@ source.setOption({
268 265
 });
269 266
 
270 267
 function partTwo(start, end,areaOneVal) {
271
-	if(!start){
272
-		start="2019-11-01"
273
-	} 
274
-	if(!end){
275
-		end="2019-11-30"
276
-	}
277 268
 	$.ajax({
278 269
 		type: "get",
279 270
 		url: huayi.config.callcenter_url + "info/GetSourcePercentByDate",
@@ -382,12 +373,6 @@ function partThree(start, end,areaOneVal) {
382 373
 	//		var index = layer.load(1, {
383 374
 	//			shade: [0.5, '#030303'] //0.1透明度的白色背景
384 375
 	//		});
385
-	if(!start){
386
-		start="2019-11-01"
387
-	} 
388
-	if(!end){
389
-		end="2019-11-30"
390
-	}
391 376
 	$.ajax({
392 377
 		type: "get",
393 378
 		url: huayi.config.callcenter_url + "info/GetAreaCountByDate",