|
@@ -26,8 +26,8 @@ export class DashboardService {
|
|
|
|
|
|
//get data user from searchBar
|
|
|
getDataUSerSearchBar(data, pageId, pagenationNumber, dataTableNumber) {
|
|
|
- console.log('url', this.authService.pathApi + '/page_list' + '/' + pageId + '/' + pagenationNumber + '/' + dataTableNumber + '/1/' + data);
|
|
|
if(pageId == 40) {
|
|
|
+ console.log('url', this.authService.pathApi + '/page_list' + '/' + pageId + '/' + pagenationNumber + '/' + dataTableNumber + '/1/' + data);
|
|
|
return this.http.get(this.authService.pathApi + '/page_list' + '/' + pageId + '/' + pagenationNumber + '/' + dataTableNumber + '/1/' + data);
|
|
|
} else {
|
|
|
console.log('urrrrrl',this.authService.pathApi + '/page_list' + '/' + pageId + '/' + pagenationNumber + '/' + dataTableNumber + '/all/' );
|
|
@@ -314,7 +314,7 @@ export class DashboardService {
|
|
|
}else if(pageId == 52) {
|
|
|
return this.http.post(this.authService.pathApi + '/delete_location', {'locations_id' : dataIds});
|
|
|
}else if(pageId == 53) {
|
|
|
- return this.http.post(this.authService.pathApi + '/delete_time_period', {'time_periods' : dataIds});
|
|
|
+ return this.http.post(this.authService.pathApi + '/delete_time_period', {'time_periods_id' : dataIds});
|
|
|
}
|
|
|
|
|
|
|