Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
BookingMyHrManagement
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chanachai
BookingMyHrManagement
Commits
ced0a0eb
Commit
ced0a0eb
authored
Feb 15, 2022
by
Your Name
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update search type status
parent
3d6c8fdd
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
101 additions
and
49 deletions
+101
-49
admin-pending.component.html
src/app/pages/admin-pending/admin-pending.component.html
+29
-15
admin-pending.component.scss
src/app/pages/admin-pending/admin-pending.component.scss
+4
-0
home-page.component.html
src/app/pages/home-page/home-page.component.html
+26
-15
home-page.component.scss
src/app/pages/home-page/home-page.component.scss
+5
-0
pending.component.html
src/app/pages/pending/pending.component.html
+27
-13
pending.component.scss
src/app/pages/pending/pending.component.scss
+4
-0
equirment.service.ts
src/app/service/equirment.service.ts
+1
-1
item-detail.service.ts
src/app/service/item-detail.service.ts
+1
-1
room-detail.service.ts
src/app/service/room-detail.service.ts
+1
-1
room.service.ts
src/app/service/room.service.ts
+1
-1
search.service.ts
src/app/service/search.service.ts
+1
-1
type.service.ts
src/app/service/type.service.ts
+1
-1
No files found.
src/app/pages/admin-pending/admin-pending.component.html
View file @
ced0a0eb
...
@@ -35,13 +35,20 @@
...
@@ -35,13 +35,20 @@
<div
class=
"form-group ml-3"
>
<div
class=
"form-group ml-3"
>
<div
class=
"input-group"
>
<div
class=
"input-group"
>
<div
ngbDropdown
class=
"d-inline-block"
>
<div
ngbDropdown
class=
"d-inline-block"
>
<button
class=
"btn btn-sm btn-outline-primary"
id=
"dropdownBasic1"
<select
class=
"custom-select form-control"
ngbDropdownToggle
>
ประเภทการค้นหา
</button>
[(
ngModel
)]="
searchroomModel
.
sroomStatus
"
<div
ngbDropdownMenu
aria-labelledby=
"dropdownBasic1"
>
aria-label=
"Default select example"
>
<button
ngbDropdownItem
>
จอง
</button>
<option
selected
style=
"color: black;"
>
----สถานะ----
</option>
<button
ngbDropdownItem
>
ไม่อนุมัติ
</button>
<option
value=
0
style=
"color: black;"
>
จอง
</option>
<button
ngbDropdownItem
>
ยกเลิก
</button>
<option
value=
1
style=
"color: black;"
>
ไม่อนุมัติ
</option>
</div>
<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"
<button
class=
"btn btn-sm btn-outline-success"
type=
"submit"
(
click
)="
openSearchRoom
()"
>
Search
</button>
(
click
)="
openSearchRoom
()"
>
Search
</button>
</div>
</div>
...
@@ -141,14 +148,21 @@
...
@@ -141,14 +148,21 @@
<div
class=
"form-group ml-3"
>
<div
class=
"form-group ml-3"
>
<div
class=
"input-group"
>
<div
class=
"input-group"
>
<div
ngbDropdown
class=
"d-inline-block"
>
<div
ngbDropdown
class=
"d-inline-block"
>
<button
class=
"btn btn-sm btn-outline-primary"
id=
"dropdownBasic1"
<select
class=
"form-select form-control"
ngbDropdownToggle
>
ประเภทการค้นหา
</button>
aria-label=
"Default select example"
<div
ngbDropdownMenu
aria-labelledby=
"dropdownBasic1"
>
[(
ngModel
)]="
searcheqModel
.
seqStatus
"
>
<button
ngbDropdownItem
>
รอดำเนินการ
</button>
<option
selected
style=
"color: black;"
>
----สถานะ----
</option>
<button
ngbDropdownItem
>
อนุมัติ
</button>
<option
value=
0
style=
"color: black;"
>
รอดำเนินการ
</option>
<button
ngbDropdownItem
>
ยกเลิก
</button>
<option
value=
1
style=
"color: black;"
>
อนุมัติ
</option>
<button
ngbDropdownItem
>
สำเร็จแล้ว
</button>
<option
value=
2
style=
"color: black;"
>
ยกเลิก
</option>
</div>
<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"
<button
class=
"btn btn-sm btn-outline-success"
type=
"submit"
(
click
)="
openSearchEq
()"
>
Search
</button>
(
click
)="
openSearchEq
()"
>
Search
</button>
</div>
</div>
...
...
src/app/pages/admin-pending/admin-pending.component.scss
View file @
ced0a0eb
::ng-deep
.btn-light
{
color
:
#212529
;
}
\ No newline at end of file
src/app/pages/home-page/home-page.component.html
View file @
ced0a0eb
...
@@ -35,13 +35,18 @@
...
@@ -35,13 +35,18 @@
<div
class=
"form-group ml-3"
>
<div
class=
"form-group ml-3"
>
<div
class=
"input-group"
>
<div
class=
"input-group"
>
<div
ngbDropdown
class=
"d-inline-block"
>
<div
ngbDropdown
class=
"d-inline-block"
>
<button
class=
"btn btn-sm btn-outline-primary"
id=
"dropdownBasic1"
<select
class=
"custom-select form-control"
[(
ngModel
)]="
searchroomModel
.
sroomStatus
"
ngbDropdownToggle
>
ประเภทการค้นหา
</button>
aria-label=
"Default select example"
>
<div
ngbDropdownMenu
aria-labelledby=
"dropdownBasic1"
>
<option
value=
0
style=
"color: black;"
>
จอง
</option>
<button
ngbDropdownItem
>
จอง
</button>
<option
value=
1
style=
"color: black;"
>
ไม่อนุมัติ
</option>
<button
ngbDropdownItem
>
ไม่อนุมัติ
</button>
<option
value=
2
style=
"color: black;"
>
ยกเลิก
</option>
<button
ngbDropdownItem
>
ยกเลิก
</button>
</select>
</div>
<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"
<button
class=
"btn btn-sm btn-outline-success"
type=
"submit"
(
click
)="
openSearchRoom
()"
>
Search
</button>
(
click
)="
openSearchRoom
()"
>
Search
</button>
</div>
</div>
...
@@ -93,14 +98,20 @@
...
@@ -93,14 +98,20 @@
<div
class=
"form-group ml-3"
>
<div
class=
"form-group ml-3"
>
<div
class=
"input-group"
>
<div
class=
"input-group"
>
<div
ngbDropdown
class=
"d-inline-block"
>
<div
ngbDropdown
class=
"d-inline-block"
>
<button
class=
"btn btn-sm btn-outline-primary"
id=
"dropdownBasic1"
<select
class=
"form-select form-control"
ngbDropdownToggle
>
ประเภทการค้นหา
</button>
aria-label=
"Default select example"
<div
ngbDropdownMenu
aria-labelledby=
"dropdownBasic1"
>
[(
ngModel
)]="
searcheqModel
.
seqStatus
"
>
<button
ngbDropdownItem
>
รอดำเนินการ
</button>
<option
value=
0
style=
"color: black;"
>
รอดำเนินการ
</option>
<button
ngbDropdownItem
>
อนุมัติ
</button>
<option
value=
1
style=
"color: black;"
>
อนุมัติ
</option>
<button
ngbDropdownItem
>
ยกเลิก
</button>
<option
value=
2
style=
"color: black;"
>
ยกเลิก
</option>
<button
ngbDropdownItem
>
สำเร็จแล้ว
</button>
<option
value=
3
style=
"color: black;"
>
คืนแล้ว
</option>
</div>
</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"
<button
class=
"btn btn-sm btn-outline-success"
type=
"submit"
(
click
)="
openSearchEq
()"
>
Search
</button>
(
click
)="
openSearchEq
()"
>
Search
</button>
</div>
</div>
...
...
src/app/pages/home-page/home-page.component.scss
View file @
ced0a0eb
...
@@ -10,4 +10,8 @@
...
@@ -10,4 +10,8 @@
::ng-deep
.fc-direction-ltr
.fc-daygrid-event.fc-event-end
,
.fc-direction-rtl
.fc-daygrid-event.fc-event-start
{
::ng-deep
.fc-direction-ltr
.fc-daygrid-event.fc-event-end
,
.fc-direction-rtl
.fc-daygrid-event.fc-event-start
{
margin-right
:
2px
;
margin-right
:
2px
;
background-color
:
blueviolet
;
background-color
:
blueviolet
;
}
::ng-deep
.btn-light
{
color
:
#212529
;
}
}
\ No newline at end of file
src/app/pages/pending/pending.component.html
View file @
ced0a0eb
...
@@ -35,11 +35,18 @@
...
@@ -35,11 +35,18 @@
<div
class=
"form-group ml-3"
>
<div
class=
"form-group ml-3"
>
<div
class=
"input-group"
>
<div
class=
"input-group"
>
<div
ngbDropdown
class=
"d-inline-block"
>
<div
ngbDropdown
class=
"d-inline-block"
>
<select
class=
"custom-select form-control"
<select
class=
"custom-select form-control"
[(
ngModel
)]="
searchroomModel
.
sroomStatus
"
aria-label=
"Default select example"
formControlName=
"rStatus"
>
aria-label=
"Default select example"
>
<option
value=
"0"
selected
style=
"color: black;"
>
จอง
</option>
<option
selected
style=
"color: black;"
>
----สถานะ----
</option>
<option
value=
"1"
style=
"color: black;"
>
ไม่อนุมัติ
</option>
<option
value=
0
style=
"color: black;"
>
จอง
</option>
<option
value=
"2"
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>
</select>
<button
class=
"btn btn-sm btn-outline-success"
type=
"submit"
<button
class=
"btn btn-sm btn-outline-success"
type=
"submit"
(
click
)="
openSearchRoom
()"
>
Search
</button>
(
click
)="
openSearchRoom
()"
>
Search
</button>
...
@@ -140,14 +147,21 @@
...
@@ -140,14 +147,21 @@
<div
class=
"form-group ml-3"
>
<div
class=
"form-group ml-3"
>
<div
class=
"input-group"
>
<div
class=
"input-group"
>
<div
ngbDropdown
class=
"d-inline-block"
>
<div
ngbDropdown
class=
"d-inline-block"
>
<button
class=
"btn btn-sm btn-outline-primary"
id=
"dropdownBasic1"
<select
class=
"form-select form-control"
ngbDropdownToggle
>
ประเภทการค้นหา
</button>
aria-label=
"Default select example"
<div
ngbDropdownMenu
aria-labelledby=
"dropdownBasic1"
>
[(
ngModel
)]="
searcheqModel
.
seqStatus
"
>
<button
ngbDropdownItem
>
รอดำเนินการ
</button>
<option
selected
style=
"color: black;"
>
----สถานะ----
</option>
<button
ngbDropdownItem
>
อนุมัติ
</button>
<option
value=
0
style=
"color: black;"
>
รอดำเนินการ
</option>
<button
ngbDropdownItem
>
ยกเลิก
</button>
<option
value=
1
style=
"color: black;"
>
อนุมัติ
</option>
<button
ngbDropdownItem
>
สำเร็จแล้ว
</button>
<option
value=
2
style=
"color: black;"
>
ยกเลิก
</option>
</div>
<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"
<button
class=
"btn btn-sm btn-outline-success"
type=
"submit"
(
click
)="
openSearchEq
()"
>
Search
</button>
(
click
)="
openSearchEq
()"
>
Search
</button>
</div>
</div>
...
...
src/app/pages/pending/pending.component.scss
View file @
ced0a0eb
::ng-deep
.btn-light
{
color
:
#212529
;
}
\ No newline at end of file
src/app/service/equirment.service.ts
View file @
ced0a0eb
...
@@ -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://
283
9-110-169-220-190.ngrok.io"
;
url
:
string
=
"http://
0eb
9-110-169-220-190.ngrok.io"
;
listEquirment
:
Equirment
[]
=
[]
listEquirment
:
Equirment
[]
=
[]
addEquirment
(
model
:
Equirment
)
{
addEquirment
(
model
:
Equirment
)
{
...
...
src/app/service/item-detail.service.ts
View file @
ced0a0eb
...
@@ -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://
283
9-110-169-220-190.ngrok.io"
;
url
:
string
=
"http://
0eb
9-110-169-220-190.ngrok.io"
;
listItemDetail
:
ItemDetail
[]
=
[]
listItemDetail
:
ItemDetail
[]
=
[]
addItemDetail
(
model
:
ItemDetail
)
{
addItemDetail
(
model
:
ItemDetail
)
{
...
...
src/app/service/room-detail.service.ts
View file @
ced0a0eb
...
@@ -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://
283
9-110-169-220-190.ngrok.io"
;
url
:
string
=
"http://
0eb
9-110-169-220-190.ngrok.io"
;
listRoomDetail
:
RoomDetail
[]
=
[]
listRoomDetail
:
RoomDetail
[]
=
[]
editRoomDetail
(
model
:
RoomDetail
)
{
editRoomDetail
(
model
:
RoomDetail
)
{
...
...
src/app/service/room.service.ts
View file @
ced0a0eb
...
@@ -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://
283
9-110-169-220-190.ngrok.io"
;
url
:
string
=
"http://
0eb
9-110-169-220-190.ngrok.io"
;
listRoomModel
:
Room
[]
=
[]
listRoomModel
:
Room
[]
=
[]
listRoomSearch
:
Room
[]
=
[];
listRoomSearch
:
Room
[]
=
[];
...
...
src/app/service/search.service.ts
View file @
ced0a0eb
...
@@ -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://
283
9-110-169-220-190.ngrok.io"
;
url
:
string
=
"http://
0eb
9-110-169-220-190.ngrok.io"
;
listSearchEq
:
SearchEqModel
[]
=
[]
listSearchEq
:
SearchEqModel
[]
=
[]
getSearchEq
(
model
:
SearchEqModel
){
getSearchEq
(
model
:
SearchEqModel
){
...
...
src/app/service/type.service.ts
View file @
ced0a0eb
...
@@ -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://
283
9-110-169-220-190.ngrok.io"
;
url
:
string
=
"http://
0eb
9-110-169-220-190.ngrok.io"
;
listType
:
Type
[]
=
[]
listType
:
Type
[]
=
[]
addType
(
model
:
Type
)
{
addType
(
model
:
Type
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment