Subversion Repositories SmartDukaan

Rev

Rev 30253 | Rev 30501 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
30122 amit.gupta 1
$(function () {
2
	$(document).on('click', ".create-scheme", function () {
23343 ashik.ali 3
		loadScheme("main-content");
4
	});
30122 amit.gupta 5
	$(document).on('click', ".scheme-details", function () {
23343 ashik.ali 6
		var schemeId = $(this).attr('data');
23752 govind 7
		console.log("schemeId = " + schemeId);
23343 ashik.ali 8
		loadSchemeDetails(schemeId, "scheme-details-container");
9
	});
30122 amit.gupta 10
	$(document).on('click', ".active-scheme", function () {
23343 ashik.ali 11
		var schemeId = $(this).attr('data');
23752 govind 12
		console.log("active-scheme id : " + schemeId);
13
		var start = $("#schemes-paginated .start").text();
14
		// var end = $( "#schemes-paginated .end" ).text();
23343 ashik.ali 15
		var offset = start - 1;
30122 amit.gupta 16
		if (confirm("Are you sure you want to Active Scheme!")) {
23343 ashik.ali 17
			activeScheme(schemeId, offset, "schemes-table");
18
		}
19
	});
23752 govind 20
 
30122 amit.gupta 21
	$(document).on('click', ".expire-scheme", function () {
23343 ashik.ali 22
		var schemeId = $(this).attr('data');
25069 amit.gupta 23
		var expireDate = startDate;
23752 govind 24
		var start = $("#schemes-paginated .start").text();
25
		// var end = $( "#schemes-paginated .end" ).text();
23343 ashik.ali 26
		var offset = start - 1;
30122 amit.gupta 27
		if (confirm("Are you sure you want to Expire Scheme!")) {
25069 amit.gupta 28
			expireScheme(schemeId, expireDate, offset, "schemes-table");
23343 ashik.ali 29
		}
30
	});
27755 amit.gupta 31
	$(document).on('click', "#extendDatetime-button",
30122 amit.gupta 32
		function () {
28134 tejbeer 33
			console.log("extendAll button click");
34
			var extendDatetime = $('input[name="extendDatetime"]')
35
				.val();
36
			console.log("extendDatetime : " + extendDatetime);
37
			if (extendDatetime) {
30122 amit.gupta 38
				if (confirm("Are you sure you want to Extend expireDateTime for All Scheme!")) {
28134 tejbeer 39
					extendAllScheme(extendDatetime, "schemes-table")
40
				}
41
			} else {
42
				alert("feild can't be blank");
43
			}
44
		});
27755 amit.gupta 45
	$(document).on('click', "#extendScheme-button",
30122 amit.gupta 46
		function () {
28134 tejbeer 47
			console.log("extend button click");
48
			var extendDatetime = $('input[name="extendScheme"]')
49
				.val();
50
			var schemeId = $('#schemeId').val()
51
			console.log("extendDatetime : " + extendDatetime);
52
			console.log(schemeId);
53
			if (extendDatetime) {
54
				if (confirm("Are you sure you want to Extend expireDateTime for Scheme!") == true) {
55
					extendSchemeById(schemeId)
56
				}
57
			} else {
30054 manish 58
				alert("field can't be blank");
30122 amit.gupta 59
			}
28134 tejbeer 60
		});
30122 amit.gupta 61
 
62
 
29586 manish 63
	$(document).on('click', ".monthy-investment",
30122 amit.gupta 64
		function () {
65
			console.log("hello evaluateActualInvestmentPayout");
66
			window.location.href = context + "/evaluateActualInvestmentPayout";
67
 
68
		});
69
 
70
	$(document).on('click', ".process-investment", function () {
29759 amit.gupta 71
		if (confirm("Are you sure you want to Process Investment")) {
29761 amit.gupta 72
			processInvestment();
29759 amit.gupta 73
		}
74
	});
75
 
30122 amit.gupta 76
 
29586 manish 77
	$(document).on('click', ".processInvestmentDryRun",
30122 amit.gupta 78
		function () {
79
			console.log("processInvestmentDryRun");
80
			window.location.href = context + "/processInvestmentDryRun";
81
 
82
		});
83
 
30054 manish 84
	$(document).on('click', ".brand-wise-income",
30122 amit.gupta 85
		function () {
86
			var brand = $(this).data('brand');
87
 
88
			var status = $(this).data('status');
89
			var month = $(this).data('month');
90
 
91
			brandWiseIncome(brand, month, status);
92
 
93
		});
94
 
30054 manish 95
	$(document).on('click', ".imei_wise_income",
30122 amit.gupta 96
		function () {
23752 govind 97
 
30122 amit.gupta 98
 
99
			var catalogItemId = $(this).data('catalogitemid');
100
			var month = $(this).data('month');
101
 
102
			console.log(catalogItemId);
103
			imeiWiseIncome(catalogItemId, month);
104
 
105
		});
106
 
107
	$(document).on('change', "#month-wise-income", function () {
108
		var month = $(this).val();
109
 
110
		monthWiseIncome(month, "main-content");
111
	});
112
 
113
 
114
	$(document).on('click', ".schemes", function () {
115
		schemes("main-content");
23347 ashik.ali 116
		console.log("Active Schemes Button Clicked...")
28134 tejbeer 117
 
30122 amit.gupta 118
		/*bootbox.confirm({
28134 tejbeer 119
			message: "<div class = 'disclosurehindata'> <img src='resources/images/disclosure.png' style='width:100%'> </div>"
120
			,
121
			buttons: {
122
				confirm: {
123
					label: 'I agree',
124
					className: 'btn-success'
125
				},
126
				cancel: {
127
					label: 'I disagree',
128
					className: 'btn-danger'
129
				}
130
			},
30122 amit.gupta 131
			callback: function (result) {
28134 tejbeer 132
				if (result == true) {
133
				}
134
			}
30122 amit.gupta 135
		});*/
28134 tejbeer 136
 
23347 ashik.ali 137
	});
23752 govind 138
 
30122 amit.gupta 139
	$(document).on('click', ".margin-calculator", function () {
27648 tejbeer 140
		console.log("Active Schemes Button Clicked...")
28134 tejbeer 141
		marginCalculator("main-content");
27648 tejbeer 142
	});
143
 
30122 amit.gupta 144
	$(document).on('click', ".schemes-download-page", function () {
23347 ashik.ali 145
		console.log("Schemes Download Clicked...")
146
		loadSchemesDownloadPage("main-content");
22860 ashik.ali 147
	});
23752 govind 148
 
30122 amit.gupta 149
	$(document).on('click', ".schemes-update", function () {
23556 amit.gupta 150
		loadSchemeUpdatePage("main-content");
151
	});
23557 amit.gupta 152
 
30122 amit.gupta 153
	$(document).on('click', ".add-item", function () {
23928 govind 154
 
155
		schemeIds = $("#schemeids").val();
30122 amit.gupta 156
		itemIds = $("#catalogids").val();
157
		if (confirm("Are you sure you want to Add Model to Scheme!") == true) {
158
			if (catalogIds.trim().length === 0 || schemeIds.trim().length === 0) {
26763 tejbeer 159
				alert("fields shouldn't be blank");
160
				return;
161
			}
30122 amit.gupta 162
			updateSingleScheme(schemeIds, catalogIds);
23928 govind 163
		}
164
	});
30122 amit.gupta 165
	$(document).on('click', ".add-schemes", function () {
23752 govind 166
 
30122 amit.gupta 167
		let schemeIds = $("#schemeids").val();
168
		let catalogIds = $("#catalogids").val();
169
 
23914 govind 170
		if (confirm("Are you sure you want to Add Item to Scheme!") == true) {
30122 amit.gupta 171
			if (catalogIds.trim().length === 0 || schemeIds.trim().length === 0) {
26763 tejbeer 172
				alert("fields shouldn't be blank");
173
				return;
174
			}
30122 amit.gupta 175
			updateSchemes(schemeIds, catalogIds);
23557 amit.gupta 176
		}
177
	});
30122 amit.gupta 178
	$(document).on('click', ".delete-schemes", function () {
179
		if (confirm("Delete model from Scheme?") == true) {
23914 govind 180
			schemeId = $(this).data('schemeid');
30122 amit.gupta 181
			catalogId = $(this).data('catalogid');
182
			deleteScheme(schemeId, catalogId);
23715 govind 183
		}
23752 govind 184
	});
185
 
27755 amit.gupta 186
	$(document).on('click', "#scheme-search-button",
30122 amit.gupta 187
		function () {
28134 tejbeer 188
			var searchText = $("#scheme-search-text").val();
189
			if (typeof (searchText) == "undefined" || !searchText) {
190
				searchText = "";
191
			}
30122 amit.gupta 192
			doGetAjaxRequestHandler(context + "/getSchemes?searchScheme="
193
				+ searchText, function (response) {
194
				$('#' + "main-content").html(response);
195
			});
28134 tejbeer 196
		});
26802 tejbeer 197
 
30122 amit.gupta 198
	$(document).on("keyup", "#scheme-search-text", function (e) {
23752 govind 199
		var keyCode = e.keyCode || e.which;
200
		if (keyCode == 13) {
201
			$("#scheme-search-button").click();
202
		}
203
	});
30122 amit.gupta 204
	$(document).on('click', "#scheme-item-search-button", function () {
23752 govind 205
		var searchText = $("#scheme-item-search-text").val();
27875 amit.gupta 206
		var date = $(".schemes-date").val();
23752 govind 207
		if (typeof (searchText) == "undefined" || !searchText) {
208
			searchText = "";
26497 amit.gupta 209
			alert("please select item");
210
			return;
23752 govind 211
		}
27094 tejbeer 212
		if (typeof currentItem != "undefined") {
213
			console.log(currentItem);
27875 amit.gupta 214
			loadSchemeItemSearchInfo(currentItem, date);
27094 tejbeer 215
		} else {
216
			console.log("reeffff")
217
			alert("Data No Found")
218
		}
23752 govind 219
	});
220
 
28795 tejbeer 221
 
30122 amit.gupta 222
	$(document).on('click', "#scheme-imei-search-button", function () {
28795 tejbeer 223
		var searchText = $("#scheme-imei-search-text").val();
224
		var date = $(".schemes-date").val();
225
		if (typeof (searchText) == "undefined" || !searchText) {
226
			searchText = "";
227
			alert("please select imei");
228
			return;
229
		}
230
		if (typeof imei != "undefined") {
231
			console.log(imei);
232
			loadSchemeImeiSearchInfo(imei, date);
233
		} else {
234
			console.log("reeffff")
235
			alert("Data No Found")
236
		}
237
	});
27755 amit.gupta 238
	$(document).on('click', ".categoryWiseSchemeHistory",
30122 amit.gupta 239
		function () {
28134 tejbeer 240
			var category = $('#partner-category').val();
241
			console.log(category);
26763 tejbeer 242
 
28134 tejbeer 243
			doGetAjaxRequestHandler(context + "/getSchemes?partnerType="
30122 amit.gupta 244
				+ category, function (response) {
245
				$('#' + "main-content").html(response);
246
				$('#partner-category').val(category);
247
				window.dispatchEvent(new Event('resize'));
248
			});
26763 tejbeer 249
 
28134 tejbeer 250
		});
26763 tejbeer 251
 
30122 amit.gupta 252
	$(document).on("keyup", "#scheme-item-search-text", function (e) {
23752 govind 253
		var keyCode = e.keyCode || e.which;
254
		if (keyCode == 13) {
255
			$("#scheme-item-search-button").click();
256
		}
257
	});
22860 ashik.ali 258
});
259
 
23752 govind 260
function configureTagListingItemsDescriptionDropDown() {
30148 amit.gupta 261
	$('.catalogItemsDescription').multiselect({
28134 tejbeer 262
		includeSelectAllOption: true,
263
		maxHeight: 200,
264
		buttonWidth: '180px',
265
		numberDisplayed: 1,
30148 amit.gupta 266
		nonSelectedText: 'Models',
267
		nSelectedText: ' - Models Selected',
268
		allSelectedText: 'All Models Selected',
28134 tejbeer 269
		enableFiltering: true,
270
		enableCaseInsensitiveFiltering: true
23752 govind 271
	});
23343 ashik.ali 272
}
273
 
23752 govind 274
function schemesDownload() {
23343 ashik.ali 275
	console.log("downloadItemLedgerReport Button clicked")
23914 govind 276
	var startDateTime = $('input[name="startDateTime"]').val();
277
	console.log("startDateTime : " + startDateTime);
278
	var endDateTime = $('input[name="endDateTime"]').val();
279
	console.log("endDateTime : " + endDateTime);
23752 govind 280
	doAjaxGetDownload(context + "/schemes/download?startDateTime="
28134 tejbeer 281
		+ startDateTime + "&endDateTime=" + endDateTime,
282
		"SchemesReport.xlsx");
23343 ashik.ali 283
}
30122 amit.gupta 284
 
23914 govind 285
function selectedbrand() {
286
	var brands = $('#tag-listing-brands').val();
287
	console.log(brands);
288
	if (brands) {
30148 amit.gupta 289
		loadCatalogDescriptionByBrands(
28134 tejbeer 290
			"tag-listing-items-description-container", brands);
23914 govind 291
	}
292
}
30122 amit.gupta 293
 
30492 amit.gupta 294
function categoryChanged() {
295
	let categoryId = $('#category-list').val();
296
	if (categoryId) {
297
		loadBrandsByCategory(
298
			"brand-list", categoryId);
299
	}
300
}
301
 
23752 govind 302
function loadSchemeDetails(schemeId, domId) {
303
	doGetAjaxRequestHandler(context + "/getSchemeById?schemeId=" + schemeId,
30122 amit.gupta 304
		function (response) {
28134 tejbeer 305
			$('#' + domId).html(response);
306
			window.dispatchEvent(new Event('resize'));
307
		});
23343 ashik.ali 308
}
309
 
23752 govind 310
function activeScheme(schemeId, offset, domId) {
311
	doPutAjaxRequestHandler(context + "/activeSchemeById?schemeId=" + schemeId
30122 amit.gupta 312
		+ "&offset=" + offset, function (response) {
313
		$('#' + domId).html(response);
314
		$('#scheme-details-container').html('');
315
	});
23752 govind 316
 
23343 ashik.ali 317
}
318
 
25069 amit.gupta 319
function expireScheme(schemeId, expireDate, offset, domId) {
23752 govind 320
	doPutAjaxRequestHandler(context + "/expireSchemeById?schemeId=" + schemeId
30122 amit.gupta 321
		+ "&offset=" + offset + "&expireTimestamp=" + expireDate, function (
322
		response) {
26763 tejbeer 323
		alert("Scheme - " + schemeId + " marked for expiry successfully!");
23343 ashik.ali 324
		$('#' + domId).html(response);
325
		$('#scheme-details-container').html('');
326
	});
327
}
30122 amit.gupta 328
 
23914 govind 329
function extendAllScheme(domId) {
26763 tejbeer 330
	doPostAjaxRequestWithJsonHandler(context + "/extendAllSchemes", JSON
30122 amit.gupta 331
		.stringify(startDate), function (response) {
332
		if (response == 'true') {
333
			alert("Scheme All Extended successfully");
334
			schemes("main-content");
335
		} else {
336
			alert("No scheme Activated Currently");
337
			schemes("main-content");
338
		}
339
	});
23343 ashik.ali 340
 
23914 govind 341
}
30122 amit.gupta 342
 
23914 govind 343
function extendSchemeById(schemeId) {
26763 tejbeer 344
	doPostAjaxRequestWithJsonHandler(context + "/extendSchemeById?schemeId="
30122 amit.gupta 345
		+ schemeId, JSON.stringify(startDate), function (response) {
346
		if (response == 'true') {
347
			alert("Scheme extended successfully");
348
			schemes("main-content");
349
		} else {
350
			alert("Scheme already Expired");
351
			schemes("main-content");
352
		}
353
	});
23914 govind 354
 
355
}
30122 amit.gupta 356
 
29761 amit.gupta 357
function processInvestment() {
30122 amit.gupta 358
	doPostAjaxRequestWithJsonHandler(context + "/payMonthlyInvestment", function (response) {
29759 amit.gupta 359
		alert("InvestmentPayout processed successfully");
360
	});
361
}
23914 govind 362
 
23752 govind 363
function loadScheme(domId) {
30122 amit.gupta 364
	doGetAjaxRequestHandler(context + "/createScheme", function (response) {
23343 ashik.ali 365
		$('#' + domId).html(response);
30492 amit.gupta 366
		createSchemeOnReady();
367
		categoryChanged();
368
		$('input[name="dateRange"]').daterangepicker(getRangedDatePicker(), dateRangeCallback);
23343 ashik.ali 369
	});
23752 govind 370
 
23343 ashik.ali 371
}
372
 
30148 amit.gupta 373
function loadCatalogDescriptionByBrands(domId, brands) {
374
	doPostAjaxRequestWithJsonHandler(context + '/getCatalogDescriptionByBrands',
30122 amit.gupta 375
		JSON.stringify(brands), function (response) {
28134 tejbeer 376
			$('#' + domId).html(response);
377
			debugger;
378
			configureTagListingItemsDescriptionDropDown();
379
		});
23752 govind 380
 
23343 ashik.ali 381
}
382
 
30492 amit.gupta 383
function loadBrandsByCategory(domId, categoryId) {
384
	doGetAjaxRequestHandler(`${context}/getBrandsByCategory?categoryId=${categoryId}`,
385
		function (response) {
386
			$('#' + domId).html(response);
387
			configureBrandsDropDown();
388
		});
389
}
390
 
23752 govind 391
function schemes(domId) {
30122 amit.gupta 392
	doGetAjaxRequestHandler(context + "/getSchemes", function (response) {
23343 ashik.ali 393
		$('#' + domId).html(response);
394
	});
395
}
30122 amit.gupta 396
 
27648 tejbeer 397
function marginCalculator(domId) {
30122 amit.gupta 398
	doGetAjaxRequestHandler(context + "/getMarginCalculator", function (response) {
27648 tejbeer 399
		$('#' + domId).html(response);
400
	});
401
}
23343 ashik.ali 402
 
23752 govind 403
function loadSchemesDownloadPage(domId) {
30122 amit.gupta 404
	doGetAjaxRequestHandler(context + "/schemes/downloadPage", function (
28134 tejbeer 405
		response) {
23343 ashik.ali 406
		$('#' + domId).html(response);
407
	});
23556 amit.gupta 408
}
409
 
23752 govind 410
function loadSchemeUpdatePage(domId) {
30122 amit.gupta 411
	doGetAjaxRequestHandler(context + "/schemes/update-schemes-page", function (
28134 tejbeer 412
		response) {
23556 amit.gupta 413
		$('#' + domId).html(response);
414
	});
23557 amit.gupta 415
}
416
 
30122 amit.gupta 417
function brandWiseIncome(brand, month, status) {
30054 manish 418
	console.log(brand);
419
	console.log(month);
30122 amit.gupta 420
 
421
	doGetAjaxRequestHandler(context + "/brandWiseIncome?brand=" + brand + "&month=" + month + "&status=" + status, function (
30054 manish 422
		response) {
423
		$('.imei-wise-income-container').html('');
30122 amit.gupta 424
		$('.brand-wise-income-container').html(response);
30054 manish 425
	});
426
}
427
 
30122 amit.gupta 428
function monthWiseIncome(month, domId) {
30054 manish 429
	console.log(month);
30122 amit.gupta 430
	doGetAjaxRequestHandler(context + "/monthWisePartnerIncome/" + month, function (response) {
431
		console.log(response);
432
		$('#' + domId).html(response);
433
	})
30054 manish 434
}
30122 amit.gupta 435
 
436
function imeiWiseIncome(catalogItemId, month) {
30054 manish 437
	console.log(catalogItemId);
438
	console.log(month);
30122 amit.gupta 439
 
440
	doGetAjaxRequestHandler(context + "/getLastMonthImeiWiseIncome?catalogItemId=" + catalogItemId + "&month=" + month, function (
30054 manish 441
		response) {
30122 amit.gupta 442
		$('.imei-wise-income-container').html(response);
30054 manish 443
	});
444
}
445
 
30122 amit.gupta 446
function updateSingleScheme(shcemeIds, catalogIds) {
23928 govind 447
	doPostAjaxRequestWithJsonHandler(context + '/addItemToScheme', JSON
28134 tejbeer 448
		.stringify({
30122 amit.gupta 449
			"catalogIds": catalogIds.split(",").map(Number),
28134 tejbeer 450
			"schemeIds": schemeIds.split(",").map(Number)
30122 amit.gupta 451
		}), function (response) {
452
		if (response == 'true') {
453
			alert("Item Added to scheme successfully");
454
			// $('#newItemToSchemeModal').modal('hide');
455
			loadSchemeDetails(shcemeIds, "scheme-details-container");
456
		} else {
457
			alert("Item already present");
458
			loadSchemeDetails(shcemeIds, "scheme-details-container");
459
		}
460
	});
23715 govind 461
}
30122 amit.gupta 462
 
463
function updateSchemes(schemeIds, catalogIds) {
23928 govind 464
	doPostAjaxRequestWithJsonHandler(context + '/schemes/update', JSON
28134 tejbeer 465
		.stringify({
30122 amit.gupta 466
			"catalogIds": catalogIds.split(",").map(Number),
28134 tejbeer 467
			"schemeIds": schemeIds.split(",").map(Number)
30122 amit.gupta 468
		}), function (response) {
469
		if (response == 'true') {
470
			alert("Item Added to scheme successfully");
471
			// $('#newItemToSchemeModal').modal('hide');
472
			loadSchemeUpdatePage("main-content");
473
		}
474
	});
23928 govind 475
}
30122 amit.gupta 476
 
477
function deleteScheme(schemeId, catalogId) {
478
	doDeleteAjaxRequestHandler(context + "/schemes/delete?schemeId=" + schemeId
479
		+ "&catalogId=" + catalogId, function (response) {
480
		if (response == 'true') {
481
			alert("Model Deleted successfully from Scheme");
482
			loadSchemeDetails(schemeId, "scheme-details-container");
483
		}
484
	});
23752 govind 485
}
30122 amit.gupta 486
 
487
 
488
function loadSearchItemScheme(domId, selectedModel, date) {
26802 tejbeer 489
	var searchText = $("#scheme-item-search-text").val();
490
	var category = $('#partner-category').val();
26912 tejbeer 491
 
26802 tejbeer 492
	if (typeof (searchText) == "undefined" || !searchText) {
493
		searchText = "";
494
	}
495
	if (typeof (category) == "undefined" || !category) {
496
		category = "";
497
	}
30122 amit.gupta 498
	if (searchText && category) {
499
		doGetAjaxRequestHandler(`${context}/getSchemes?searchModel=${selectedModel}&partnerType=${category}&date=${date}`, function (response) {
26802 tejbeer 500
			$('#' + domId).html(response);
501
			$('#partner-category').val(category);
502
		});
30122 amit.gupta 503
	} else if (searchText) {
30253 amit.gupta 504
		doGetAjaxRequestHandler(`${context}/getSchemes?searchModel=${selectedModel}&date=${date}`, function (response) {
26802 tejbeer 505
			$('#' + domId).html(response);
30253 amit.gupta 506
			$('#partner-category').val(category);
26802 tejbeer 507
		});
26912 tejbeer 508
 
509
	}
510
 
23752 govind 511
}
28795 tejbeer 512
 
513
function loadSearchImeiScheme(domId, selected_imei, date) {
514
	var category = $('#partner-category').val();
515
	var searchText = $("#scheme-imei-search-text").val();
516
 
517
	var category = $('#partner-category').val();
518
 
519
	console.log(category)
520
 
521
	if (typeof (searchText) == "undefined" || !searchText) {
522
		searchText = "";
523
	}
524
	if (typeof (category) == "undefined" || !category) {
525
		category = "";
526
	}
527
	if ((searchText) && (category)) {
528
		doGetAjaxRequestHandler(context + "/getSchemes?searchImei="
30122 amit.gupta 529
			+ selected_imei + "&partnerType=" + category, function (
530
			response) {
28795 tejbeer 531
			$('#' + domId).html(response);
532
 
533
			$('#partner-category').val(category);
534
			$('#scheme-imei-search-text').val(selected_imei);
535
		});
536
	} else if ((searchText)) {
30122 amit.gupta 537
		doGetAjaxRequestHandler(`${context}/getSchemes?searchImei=${selected_imei}&date=${date}`, function (response) {
28795 tejbeer 538
			$('#' + domId).html(response);
539
			$('#scheme-imei-search-text').val(selected_imei);
540
 
541
		});
542
 
543
	}
544
 
545
}
30122 amit.gupta 546
 
547
function loadSchemeItemSearchInfo(selectedModel, date) {
548
	loadSearchItemScheme("main-content", selectedModel, date);
23752 govind 549
}
28795 tejbeer 550
 
551
function loadSchemeImeiSearchInfo(selectedImei, date) {
552
 
553
	loadSearchImeiScheme("main-content", selectedImei, date);
554
}
555