Commit ced0a0eb by Your Name

update search type status

parent 3d6c8fdd
......@@ -35,13 +35,20 @@
<div class="form-group ml-3">
<div class="input-group">
<div ngbDropdown class="d-inline-block">
<button class="btn btn-sm btn-outline-primary" id="dropdownBasic1"
ngbDropdownToggle>ประเภทการค้นหา</button>
<div ngbDropdownMenu aria-labelledby="dropdownBasic1">
<button ngbDropdownItem>จอง</button>
<button ngbDropdownItem>ไม่อนุมัติ</button>
<button ngbDropdownItem>ยกเลิก</button>
</div>
<select class="custom-select form-control"
[(ngModel)]="searchroomModel.sroomStatus"
aria-label="Default select example">
<option selected style="color: black;">----สถานะ----</option>
<option value=0 style="color: black;">จอง</option>
<option value=1 style="color: black;">ไม่อนุมัติ</option>
<option value=2 style="color: black;">ยกเลิก</option>
</select>
<select class="custom-select form-control" [(ngModel)]="searchroomModel.sroomType"
aria-label="Default select example">
<option selected style="color: black;">----ประเภท----</option>
<option value=1 style="color: black;">ห้อง</option>
<option value=2 style="color: black;">รถ</option>
</select>
<button class="btn btn-sm btn-outline-success" type="submit"
(click)="openSearchRoom()">Search</button>
</div>
......@@ -141,14 +148,21 @@
<div class="form-group ml-3">
<div class="input-group">
<div ngbDropdown class="d-inline-block">
<button class="btn btn-sm btn-outline-primary" id="dropdownBasic1"
ngbDropdownToggle>ประเภทการค้นหา</button>
<div ngbDropdownMenu aria-labelledby="dropdownBasic1">
<button ngbDropdownItem>รอดำเนินการ</button>
<button ngbDropdownItem>อนุมัติ</button>
<button ngbDropdownItem>ยกเลิก</button>
<button ngbDropdownItem>สำเร็จแล้ว</button>
</div>
<select class="form-select form-control"
aria-label="Default select example"
[(ngModel)]="searcheqModel.seqStatus">
<option selected style="color: black;">----สถานะ----</option>
<option value=0 style="color: black;">รอดำเนินการ</option>
<option value=1 style="color: black;">อนุมัติ</option>
<option value=2 style="color: black;">ยกเลิก</option>
<option value=3 style="color: black;">คืนแล้ว</option>
</select>
<select class="custom-select form-control" [(ngModel)]="searcheqModel.seqType"
aria-label="Default select example">
<option selected style="color: black;">----ประเภท----</option>
<option value=4 style="color: black;">IT</option>
<option value=5 style="color: black;">Company</option>
</select>
<button class="btn btn-sm btn-outline-success" type="submit"
(click)="openSearchEq()">Search</button>
</div>
......
::ng-deep .btn-light {
color: #212529;
}
\ No newline at end of file
......@@ -35,13 +35,18 @@
<div class="form-group ml-3">
<div class="input-group">
<div ngbDropdown class="d-inline-block">
<button class="btn btn-sm btn-outline-primary" id="dropdownBasic1"
ngbDropdownToggle >ประเภทการค้นหา</button>
<div ngbDropdownMenu aria-labelledby="dropdownBasic1">
<button ngbDropdownItem>จอง</button>
<button ngbDropdownItem>ไม่อนุมัติ</button>
<button ngbDropdownItem>ยกเลิก</button>
</div>
<select class="custom-select form-control" [(ngModel)]="searchroomModel.sroomStatus"
aria-label="Default select example">
<option value=0 style="color: black;">จอง</option>
<option value=1 style="color: black;">ไม่อนุมัติ</option>
<option value=2 style="color: black;">ยกเลิก</option>
</select>
<select class="custom-select form-control" [(ngModel)]="searchroomModel.sroomType"
aria-label="Default select example">
<option selected style="color: black;">----ประเภท----</option>
<option value=1 style="color: black;">ห้อง</option>
<option value=2 style="color: black;">รถ</option>
</select>
<button class="btn btn-sm btn-outline-success" type="submit"
(click)="openSearchRoom()">Search</button>
</div>
......@@ -93,14 +98,20 @@
<div class="form-group ml-3">
<div class="input-group">
<div ngbDropdown class="d-inline-block">
<button class="btn btn-sm btn-outline-primary" id="dropdownBasic1"
ngbDropdownToggle>ประเภทการค้นหา</button>
<div ngbDropdownMenu aria-labelledby="dropdownBasic1">
<button ngbDropdownItem>รอดำเนินการ</button>
<button ngbDropdownItem>อนุมัติ</button>
<button ngbDropdownItem>ยกเลิก</button>
<button ngbDropdownItem>สำเร็จแล้ว</button>
</div>
<select class="form-select form-control"
aria-label="Default select example"
[(ngModel)]="searcheqModel.seqStatus">
<option value=0 style="color: black;">รอดำเนินการ</option>
<option value=1 style="color: black;">อนุมัติ</option>
<option value=2 style="color: black;">ยกเลิก</option>
<option value=3 style="color: black;">คืนแล้ว</option>
</select>
<select class="custom-select form-control" [(ngModel)]="searcheqModel.seqType"
aria-label="Default select example">
<option selected style="color: black;">----ประเภท----</option>
<option value=4 style="color: black;">IT</option>
<option value=5 style="color: black;">Company</option>
</select>
<button class="btn btn-sm btn-outline-success" type="submit"
(click)="openSearchEq()">Search</button>
</div>
......
......@@ -10,4 +10,8 @@
::ng-deep .fc-direction-ltr .fc-daygrid-event.fc-event-end, .fc-direction-rtl .fc-daygrid-event.fc-event-start {
margin-right: 2px;
background-color: blueviolet;
}
::ng-deep .btn-light {
color: #212529;
}
\ No newline at end of file
......@@ -35,11 +35,18 @@
<div class="form-group ml-3">
<div class="input-group">
<div ngbDropdown class="d-inline-block">
<select class="custom-select form-control"
aria-label="Default select example" formControlName="rStatus">
<option value="0" selected style="color: black;">จอง</option>
<option value="1" style="color: black;">ไม่อนุมัติ</option>
<option value="2" style="color: black;">ยกเลิก</option>
<select class="custom-select form-control" [(ngModel)]="searchroomModel.sroomStatus"
aria-label="Default select example">
<option selected style="color: black;">----สถานะ----</option>
<option value=0 style="color: black;">จอง</option>
<option value=1 style="color: black;">ไม่อนุมัติ</option>
<option value=2 style="color: black;">ยกเลิก</option>
</select>
<select class="custom-select form-control" [(ngModel)]="searchroomModel.sroomType"
aria-label="Default select example">
<option selected style="color: black;">----ประเภท----</option>
<option value=1 style="color: black;">ห้อง</option>
<option value=2 style="color: black;">รถ</option>
</select>
<button class="btn btn-sm btn-outline-success" type="submit"
(click)="openSearchRoom()">Search</button>
......@@ -140,14 +147,21 @@
<div class="form-group ml-3">
<div class="input-group">
<div ngbDropdown class="d-inline-block">
<button class="btn btn-sm btn-outline-primary" id="dropdownBasic1"
ngbDropdownToggle>ประเภทการค้นหา</button>
<div ngbDropdownMenu aria-labelledby="dropdownBasic1">
<button ngbDropdownItem>รอดำเนินการ</button>
<button ngbDropdownItem>อนุมัติ</button>
<button ngbDropdownItem>ยกเลิก</button>
<button ngbDropdownItem>สำเร็จแล้ว</button>
</div>
<select class="form-select form-control"
aria-label="Default select example"
[(ngModel)]="searcheqModel.seqStatus">
<option selected style="color: black;">----สถานะ----</option>
<option value=0 style="color: black;">รอดำเนินการ</option>
<option value=1 style="color: black;">อนุมัติ</option>
<option value=2 style="color: black;">ยกเลิก</option>
<option value=3 style="color: black;">คืนแล้ว</option>
</select>
<select class="custom-select form-control" [(ngModel)]="searcheqModel.seqType"
aria-label="Default select example">
<option selected style="color: black;">----ประเภท----</option>
<option value=4 style="color: black;">IT</option>
<option value=5 style="color: black;">Company</option>
</select>
<button class="btn btn-sm btn-outline-success" type="submit"
(click)="openSearchEq()">Search</button>
</div>
......
::ng-deep .btn-light {
color: #212529;
}
\ No newline at end of file
......@@ -9,7 +9,7 @@ import { Type } from '../models/type.model';
export class EquirmentService {
constructor(private http: HttpClient) { }
url: string = "http://2839-110-169-220-190.ngrok.io";
url: string = "http://0eb9-110-169-220-190.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://2839-110-169-220-190.ngrok.io";
url: string = "http://0eb9-110-169-220-190.ngrok.io";
listItemDetail: ItemDetail[] = []
addItemDetail(model: ItemDetail) {
......
......@@ -11,7 +11,7 @@ export class RoomDetailService {
}
constructor(private http: HttpClient) { }
url: string = "http://2839-110-169-220-190.ngrok.io";
url: string = "http://0eb9-110-169-220-190.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://2839-110-169-220-190.ngrok.io";
url: string = "http://0eb9-110-169-220-190.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://2839-110-169-220-190.ngrok.io";
url: string = "http://0eb9-110-169-220-190.ngrok.io";
listSearchEq: SearchEqModel[] = []
getSearchEq(model: SearchEqModel){
......
......@@ -10,7 +10,7 @@ export class TypeService {
// }
constructor(private http: HttpClient) { }
url: string = "http://2839-110-169-220-190.ngrok.io";
url: string = "http://0eb9-110-169-220-190.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