Commit 1d823de8 by Your Name

update sdate edate search

parent faad4a2e
...@@ -78,7 +78,7 @@ export class PendingComponent implements OnInit { ...@@ -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) { constructor(private calendar: NgbCalendar, public formatter: NgbDateParserFormatter, private modalService: NgbModal, private ItemDetailService: ItemDetailService, private RoomDetailService: RoomDetailService, private searchService: SearchService) {
this.fromDate = calendar.getToday(); this.fromDate = calendar.getToday();
this.toDate = calendar.getNext(calendar.getToday(), 'd', 10); this.toDate = calendar.getNext(calendar.getToday(), 'd', 5);
this.refreshItemDetail(); this.refreshItemDetail();
} }
...@@ -236,7 +236,7 @@ export class PendingComponent implements OnInit { ...@@ -236,7 +236,7 @@ export class PendingComponent implements OnInit {
openSearchRoom() { openSearchRoom() {
console.log(this.searchroomModel) console.log(this.searchroomModel)
// this.searchService.getSearchRoom(); // this.searchService.getSearchRoom();
// this.modalService.dismissAll(); // this.modalService.dismissAll();
// this.ngOnInit(); // this.ngOnInit();
......
...@@ -9,7 +9,7 @@ import { Type } from '../models/type.model'; ...@@ -9,7 +9,7 @@ import { Type } from '../models/type.model';
export class EquirmentService { export class EquirmentService {
constructor(private http: HttpClient) { } 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[] = [] listEquirment: Equirment[] = []
addEquirment(model: Equirment) { addEquirment(model: Equirment) {
......
...@@ -7,7 +7,7 @@ import { Observable } from 'rxjs'; ...@@ -7,7 +7,7 @@ import { Observable } from 'rxjs';
export class ItemDetailService { export class ItemDetailService {
constructor(private http: HttpClient) { } 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[] = [] listItemDetail: ItemDetail[] = []
addItemDetail(model: ItemDetail) { addItemDetail(model: ItemDetail) {
......
...@@ -11,7 +11,7 @@ export class RoomDetailService { ...@@ -11,7 +11,7 @@ export class RoomDetailService {
} }
constructor(private http: HttpClient) { } 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[] = [] listRoomDetail: RoomDetail[] = []
editRoomDetail(model: RoomDetail) { editRoomDetail(model: RoomDetail) {
......
...@@ -8,7 +8,7 @@ import { SearchRoomModel } from '../models/searchroom.model'; ...@@ -8,7 +8,7 @@ import { SearchRoomModel } from '../models/searchroom.model';
export class RoomService { export class RoomService {
constructor(private http: HttpClient) { } 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[] = [] listRoomModel: Room[] = []
listRoomSearch: Room[] = []; listRoomSearch: Room[] = [];
......
...@@ -7,7 +7,7 @@ import { SearchEqModel } from '../models/searcheq.model'; ...@@ -7,7 +7,7 @@ import { SearchEqModel } from '../models/searcheq.model';
export class SearchService { export class SearchService {
constructor(private http: HttpClient) {} 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[] = [] listSearchEq: SearchEqModel[] = []
getSearchEq(model: SearchEqModel){ getSearchEq(model: SearchEqModel){
......
...@@ -10,7 +10,7 @@ export class TypeService { ...@@ -10,7 +10,7 @@ export class TypeService {
// } // }
constructor(private http: HttpClient) { } 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[] = [] listType: Type[] = []
addType(model: 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