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
3ce32b60
Commit
3ce32b60
authored
Dec 03, 2021
by
Chanachai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update เพิ่มข้อความในที่ตรงกดแว่นขยาย
parent
719716f3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
8 deletions
+19
-8
pending.component.html
src/app/pages/pending/pending.component.html
+8
-8
pending.component.ts
src/app/pages/pending/pending.component.ts
+11
-0
No files found.
src/app/pages/pending/pending.component.html
View file @
3ce32b60
...
...
@@ -95,7 +95,7 @@
<td>
{{ item.eStatus }}
</td>
<div
class=
"col-auto align-self-sm-center"
>
<button
type=
"button"
class=
"btn btn-info btn-sm btn-circle "
style=
"line-height: 0px"
(
click
)="
open
(
Roo
m
)"
><i
class=
"fa fa-search"
></i>
</button>
style=
"line-height: 0px"
(
click
)="
open
RoomDetail
(
Room
,
ite
m
)"
><i
class=
"fa fa-search"
></i>
</button>
</div>
</tr>
</tbody>
...
...
@@ -194,7 +194,7 @@
<div
class=
" col-md-12"
>
<div
class=
" form-group"
>
<label>
ชื่อผู้จอง
</label>
<input
readonly
class=
" form-control"
placeholder=
""
type=
"text"
[
value
]="
listroomDetail
.
userName
"
/>
<input
readonly
class=
" form-control"
placeholder=
""
type=
"text"
value=
"{{modelroomDetail.userName}}
"
/>
</div>
</div>
</div>
...
...
@@ -209,33 +209,33 @@
<div
class=
"row"
>
<div
class=
"col-sm-12 mb-1"
>
<label
for=
"exampleFormControlSelect1"
>
ชื่อห้อง
</label>
<input
readonly
class=
"form-control"
type=
"text"
[
value
]="
listroomDetail
.
room
.
rName
"
>
<input
readonly
class=
"form-control"
type=
"text"
value=
"{{modelroomDetail.room.rName}}
"
>
</div>
</div>
<div
class=
"row"
>
<div
class=
"col-sm-12 mb-1"
>
<label
for=
"exampleFormControlSelect1"
>
รายละเอียด
</label>
<input
readonly
class=
"form-control"
type=
"text"
[
value
]="
listroomDetail
.
room
.
rDesc
"
>
<input
readonly
class=
"form-control"
type=
"text"
value=
"{{modelroomDetail.room.rDesc}}
"
>
</div>
</div>
<div
class=
"row"
>
<div
class=
"col-6 mb-1"
>
<label
for=
"exampleFormControlSelect1"
>
วันที่เริ่มต้น
</label>
<input
readonly
type=
"date"
class=
"form-control"
value=
""
>
<input
readonly
type=
"date"
class=
"form-control"
value=
"
{{modelroomDetail.sDate | date:'dd-MM-yyyy'}}
"
>
</div>
<div
class=
"col-6 mb-1"
>
<label
for=
"exampleFormControlSelect1"
>
วันที่สิ้นสุด
</label>
<input
readonly
type=
"date"
class=
"form-control"
value=
""
>
<input
readonly
type=
"date"
class=
"form-control"
value=
"
{{modelroomDetail.eDate | date:'dd-MM-yyyy'}}
"
>
</div>
</div>
<div
class=
"row"
>
<div
class=
"col-6 mb-1"
>
<label
for=
"exampleFormControlSelect1"
>
เวลาที่เริ่มต้น
</label>
<input
readonly
class=
"form-control"
type=
"text"
value=
""
>
<input
readonly
class=
"form-control"
type=
"text"
value=
"
{{modelroomDetail.sTime.hour}} {{modelroomDetail.sTime.minute}}
"
>
</div>
<div
class=
"col-6 mb-1"
>
<label
[
readonly
]
for=
"exampleFormControlSelect1"
>
เวลาที่สิ้นสุด
</label>
<input
readonly
class=
"form-control"
type=
"text"
value=
""
>
<input
readonly
class=
"form-control"
type=
"text"
value=
"
{{modelroomDetail.eTime.hour}} {{modelroomDetail.eTime.minute}}
"
>
</div>
</div>
<div
class=
" row"
>
...
...
src/app/pages/pending/pending.component.ts
View file @
3ce32b60
...
...
@@ -100,6 +100,17 @@ export class PendingComponent implements OnInit {
});
}
openRoomDetail
(
content
:
string
,
item
:
roomDetail
)
{
this
.
modelroomDetail
=
item
;
console
.
log
(
item
);
this
.
modalService
.
open
(
content
,
{
ariaLabelledBy
:
'modal-basic-title'
}).
result
.
then
((
result
)
=>
{
this
.
closeResult
=
`Closed with:
${
result
}
`
;
},
(
reason
)
=>
{
this
.
closeResult
=
`Dismissed
${
this
.
getDismissReason
(
reason
)}
`
;
});
}
private
getDismissReason
(
reason
:
any
):
string
{
if
(
reason
===
ModalDismissReasons
.
ESC
)
{
return
'by pressing ESC'
;
...
...
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