Commit 1d823de8 by Your Name

update sdate edate search

parent faad4a2e
......@@ -78,7 +78,7 @@ export class PendingComponent implements OnInit {
constructor(private calendar: NgbCalendar, public formatter: NgbDateParserFormatter, private modalService: NgbModal, private ItemDetailService: ItemDetailService, private RoomDetailService: RoomDetailService, private searchService: SearchService) {
this.fromDate = calendar.getToday();
this.toDate = calendar.getNext(calendar.getToday(), 'd', 10);
this.toDate = calendar.getNext(calendar.getToday(), 'd', 5);
this.refreshItemDetail();
}
......@@ -236,7 +236,7 @@ export class PendingComponent implements OnInit {
openSearchRoom() {
console.log(this.searchroomModel)
// this.searchService.getSearchRoom();
// this.modalService.dismissAll();
// this.ngOnInit();
......
......@@ -9,7 +9,7 @@ import { Type } from '../models/type.model';
export class EquirmentService {
constructor(private http: HttpClient) { }
url: string = "http://5d75-2405-9800-bc03-3665-394e-33ce-7fe3-2ed5.ngrok.io";
url: string = "http://0af1-49-0-64-28.ngrok.io";
listEquirment: Equirment[] = []
addEquirment(model: Equirment) {
......
......@@ -7,7 +7,7 @@ import { Observable } from 'rxjs';
export class ItemDetailService {
constructor(private http: HttpClient) { }
url: string = "http://5d75-2405-9800-bc03-3665-394e-33ce-7fe3-2ed5.ngrok.io";
url: string = "http://0af1-49-0-64-28.ngrok.io";
listItemDetail: ItemDetail[] = []
addItemDetail(model: ItemDetail) {
......
......@@ -11,7 +11,7 @@ export class RoomDetailService {
}
constructor(private http: HttpClient) { }
url: string = "http://5d75-2405-9800-bc03-3665-394e-33ce-7fe3-2ed5.ngrok.io";
url: string = "http://0af1-49-0-64-28.ngrok.io";
listRoomDetail: RoomDetail[] = []
editRoomDetail(model: RoomDetail) {
......
......@@ -8,7 +8,7 @@ import { SearchRoomModel } from '../models/searchroom.model';
export class RoomService {
constructor(private http: HttpClient) { }
url: string = "http://5d75-2405-9800-bc03-3665-394e-33ce-7fe3-2ed5.ngrok.io";
url: string = "http://0af1-49-0-64-28.ngrok.io";
listRoomModel: Room[] = []
listRoomSearch: Room[] = [];
......
......@@ -7,7 +7,7 @@ import { SearchEqModel } from '../models/searcheq.model';
export class SearchService {
constructor(private http: HttpClient) {}
url: string = "http://5d75-2405-9800-bc03-3665-394e-33ce-7fe3-2ed5.ngrok.io";
url: string = "http://0af1-49-0-64-28.ngrok.io";
listSearchEq: SearchEqModel[] = []
getSearchEq(model: SearchEqModel){
......
......@@ -10,7 +10,7 @@ export class TypeService {
// }
constructor(private http: HttpClient) { }
url: string = "http://5d75-2405-9800-bc03-3665-394e-33ce-7fe3-2ed5.ngrok.io";
url: string = "http://0af1-49-0-64-28.ngrok.io";
listType: Type[] = []
addType(model: Type) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment