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
faad4a2e
Commit
faad4a2e
authored
Feb 09, 2022
by
GAME\parin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update typesearch
parent
7fe5b3b3
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
22 additions
and
24 deletions
+22
-24
admin-pending.component.html
src/app/pages/admin-pending/admin-pending.component.html
+2
-3
home-page.component.html
src/app/pages/home-page/home-page.component.html
+2
-3
pending.component.html
src/app/pages/pending/pending.component.html
+9
-9
contact.service.ts
src/app/service/contact.service.ts
+3
-3
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 @
faad4a2e
...
...
@@ -55,10 +55,9 @@
<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>
<button
ngbDropdownItem
>
ยกเลิก
</button>
<button
ngbDropdownItem
>
สำเร็จแล้ว
</button>
</div>
<button
class=
"btn btn-sm btn-outline-success"
type=
"submit"
(
click
)="
openSearchRoom
()"
>
Search
</button>
...
...
src/app/pages/home-page/home-page.component.html
View file @
faad4a2e
...
...
@@ -55,10 +55,9 @@
<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>
<button
ngbDropdownItem
>
ยกเลิก
</button>
<button
ngbDropdownItem
>
สำเร็จแล้ว
</button>
</div>
<button
class=
"btn btn-sm btn-outline-success"
type=
"submit"
>
Search
</button>
...
...
src/app/pages/pending/pending.component.html
View file @
faad4a2e
...
...
@@ -12,8 +12,8 @@
<div
class=
"form-group hidden"
>
<div
class=
"input-group"
>
<input
name=
"datepicker"
class=
"form-control"
ngbDatepicker
[(
ngModel
)]="
searchroomModel
.
sDate
"
[(
ngModel
)]="
searchroomModel
.
eDate
"
#
datepicker=
"ngbDatepicker"
[(
ngModel
)]="
searchroomModel
.
sDate
"
[(
ngModel
)]="
searchroomModel
.
eDate
"
#
datepicker=
"ngbDatepicker"
[
autoClose
]="'
outside
'"
(
dateSelect
)="
onDateSelection
($
event
)"
[
displayMonths
]="
2
"
[
dayTemplate
]="
t
"
outsideDays=
"hidden"
[
startDate
]="
fromDate
!"
tabindex=
"-1"
>
...
...
@@ -56,10 +56,9 @@
<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>
<button
ngbDropdownItem
>
ยกเลิก
</button>
<button
ngbDropdownItem
>
สำเร็จแล้ว
</button>
</div>
<button
class=
"btn btn-sm btn-outline-success"
type=
"submit"
(
click
)="
openSearchRoom
()"
>
Search
</button>
...
...
@@ -138,10 +137,11 @@
<div
class=
"form-group hidden"
>
<div
class=
"input-group"
>
<input
name=
"datepicker"
class=
"form-control"
ngbDatepicker
[(
ngModel
)]="
searcheqModel
.
sDate
"
#
datepicker=
"ngbDatepicker"
[
autoClose
]="'
outside
'"
(
dateSelect
)="
onDateSelection
($
event
)"
[
displayMonths
]="
2
"
[
dayTemplate
]="
t
"
outsideDays=
"hidden"
[
startDate
]="
fromDate
!"
tabindex=
"-1"
>
[(
ngModel
)]="
searcheqModel
.
sDate
"
[(
ngModel
)]="
searcheqModel
.
eDate
"
#
datepicker=
"ngbDatepicker"
[
autoClose
]="'
outside
'"
(
dateSelect
)="
onDateSelection
($
event
)"
[
displayMonths
]="
2
"
[
dayTemplate
]="
t
"
outsideDays=
"hidden"
[
startDate
]="
fromDate
!"
tabindex=
"-1"
>
<ng-template
#
t
let-date
let-focused=
"focused"
>
<span
class=
"custom-day"
[
class
.
focused
]="
focused
"
[
class
.
range
]="
isRange
(
date
)"
...
...
src/app/service/contact.service.ts
View file @
faad4a2e
...
...
@@ -7,7 +7,7 @@ import { Contact } from "../models/contact.model";
export
class
ContactService
{
constructor
(
private
http
:
HttpClient
)
{
}
url
:
string
=
"http://5
fa9-110-169-221-194
.ngrok.io"
;
url
:
string
=
"http://5
d75-2405-9800-bc03-3665-394e-33ce-7fe3-2ed5
.ngrok.io"
;
listContact
:
Contact
[]
=
[]
addContact
(
model
:
Contact
)
{
...
...
@@ -25,5 +25,4 @@ export class ContactService {
getListContact
():
Observable
<
Contact
[]
>
{
return
this
.
http
.
get
<
Contact
[]
>
(
this
.
url
+
"/contact/lists"
);
}
}
}
\ No newline at end of file
src/app/service/equirment.service.ts
View file @
faad4a2e
...
...
@@ -9,7 +9,7 @@ import { Type } from '../models/type.model';
export
class
EquirmentService
{
constructor
(
private
http
:
HttpClient
)
{
}
url
:
string
=
"http://5
fa9-110-169-221-194
.ngrok.io"
;
url
:
string
=
"http://5
d75-2405-9800-bc03-3665-394e-33ce-7fe3-2ed5
.ngrok.io"
;
listEquirment
:
Equirment
[]
=
[]
addEquirment
(
model
:
Equirment
)
{
...
...
src/app/service/item-detail.service.ts
View file @
faad4a2e
...
...
@@ -7,7 +7,7 @@ import { Observable } from 'rxjs';
export
class
ItemDetailService
{
constructor
(
private
http
:
HttpClient
)
{
}
url
:
string
=
"http://5
fa9-110-169-221-194
.ngrok.io"
;
url
:
string
=
"http://5
d75-2405-9800-bc03-3665-394e-33ce-7fe3-2ed5
.ngrok.io"
;
listItemDetail
:
ItemDetail
[]
=
[]
addItemDetail
(
model
:
ItemDetail
)
{
...
...
src/app/service/room-detail.service.ts
View file @
faad4a2e
...
...
@@ -11,7 +11,7 @@ export class RoomDetailService {
}
constructor
(
private
http
:
HttpClient
)
{
}
url
:
string
=
"http://5
fa9-110-169-221-194
.ngrok.io"
;
url
:
string
=
"http://5
d75-2405-9800-bc03-3665-394e-33ce-7fe3-2ed5
.ngrok.io"
;
listRoomDetail
:
RoomDetail
[]
=
[]
editRoomDetail
(
model
:
RoomDetail
)
{
...
...
src/app/service/room.service.ts
View file @
faad4a2e
...
...
@@ -8,7 +8,7 @@ import { SearchRoomModel } from '../models/searchroom.model';
export
class
RoomService
{
constructor
(
private
http
:
HttpClient
)
{
}
url
:
string
=
"http://5
fa9-110-169-221-194
.ngrok.io"
;
url
:
string
=
"http://5
d75-2405-9800-bc03-3665-394e-33ce-7fe3-2ed5
.ngrok.io"
;
listRoomModel
:
Room
[]
=
[]
listRoomSearch
:
Room
[]
=
[];
...
...
src/app/service/search.service.ts
View file @
faad4a2e
...
...
@@ -7,7 +7,7 @@ import { SearchEqModel } from '../models/searcheq.model';
export
class
SearchService
{
constructor
(
private
http
:
HttpClient
)
{}
url
:
string
=
"http://5
fa9-110-169-221-194
.ngrok.io"
;
url
:
string
=
"http://5
d75-2405-9800-bc03-3665-394e-33ce-7fe3-2ed5
.ngrok.io"
;
listSearchEq
:
SearchEqModel
[]
=
[]
getSearchEq
(
model
:
SearchEqModel
){
...
...
src/app/service/type.service.ts
View file @
faad4a2e
...
...
@@ -10,7 +10,7 @@ export class TypeService {
// }
constructor
(
private
http
:
HttpClient
)
{
}
url
:
string
=
"http://5
fa9-110-169-221-194
.ngrok.io"
;
url
:
string
=
"http://5
d75-2405-9800-bc03-3665-394e-33ce-7fe3-2ed5
.ngrok.io"
;
listType
:
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