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
af1edcf9
Commit
af1edcf9
authored
Nov 25, 2021
by
DESKTOP-HF0LVOG\myhr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add ประเภทกับหน้าต่างแต่ละประเภท
parent
3c88e1dc
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
42 additions
and
0 deletions
+42
-0
admin-pending.component.html
src/app/pages/admin-pending/admin-pending.component.html
+18
-0
admin-pending.component.ts
src/app/pages/admin-pending/admin-pending.component.ts
+3
-0
pending.component.html
src/app/pages/pending/pending.component.html
+18
-0
pending.component.ts
src/app/pages/pending/pending.component.ts
+3
-0
No files found.
src/app/pages/admin-pending/admin-pending.component.html
View file @
af1edcf9
...
...
@@ -47,6 +47,22 @@
</div>
</div>
</div>
<ul
class=
"nav nav-tabs"
id=
"myTab"
role=
"tablist"
>
<li
class=
"nav-item"
>
<a
class=
"nav-link active"
id=
"ยืมอุปกรณ์IT-tab"
data-toggle=
"tab"
href=
"#ยืมอุปกรณ์IT"
role=
"tab"
aria-controls=
"ยืมอุปกรณ์IT"
aria-selected=
"true"
>
ยืมอุปกรณ์IT
</a>
</li>
<li
class=
"nav-item"
>
<a
class=
"nav-link"
id=
"จองห้อง-รถ-tab"
data-toggle=
"tab"
href=
"#จองห้อง-รถ"
role=
"tab"
aria-controls=
"จองห้อง-รถ"
aria-selected=
"false"
>
จองห้อง-รถ
</a>
</li>
<div
class=
"col-sm-4"
>
<form
class=
"form-inline my-2 my-lg-0"
>
<input
class=
"form-control mr-sm-2"
type=
"search"
placeholder=
"Search"
aria-label=
"Search"
>
<button
class=
"btn btn-outline-success my-2 my-sm-0"
type=
"submit"
>
Search
</button>
</form>
</div>
</ul>
<div
class=
"row"
>
<div
class=
"col-sm-12"
>
<div
class=
"card"
>
...
...
@@ -56,6 +72,7 @@
<tr>
<th
scope=
"col"
>
#
</th>
<th
scope=
"col"
>
Catagory
</th>
<th
scope=
"col"
>
Type
</th>
<th
scope=
"col"
>
Detail
</th>
<th
scope=
"col"
>
Name
</th>
<th
scope=
"col"
>
Start-Date
</th>
...
...
@@ -67,6 +84,7 @@
<tr
*
ngFor=
"let country of countries"
>
<th
scope=
"row"
>
{{ country.id }}
</th>
<td>
{{ country.catagory }}
</td>
<td>
{{ country.type }}
</td>
<td>
{{ country.detail }}
</td>
<td>
{{ country.name }}
</td>
<td>
{{ country.sdate | date:'dd-MM-yyyy' }}
</td>
...
...
src/app/pages/admin-pending/admin-pending.component.ts
View file @
af1edcf9
...
...
@@ -4,6 +4,7 @@ import { NgbDate, NgbCalendar, NgbDateParserFormatter } from '@ng-bootstrap/ng-b
interface
Country
{
id
?:
number
;
catagory
:
string
;
type
:
string
;
detail
:
string
;
name
:
string
;
sdate
:
string
;
...
...
@@ -51,6 +52,7 @@ export class AdminPendingComponent implements OnInit {
countries
:
Country
[]
=
[
{
catagory
:
'string'
,
type
:
'string'
,
detail
:
'Moniter'
,
name
:
'a'
,
sdate
:
'2021-11-25'
,
...
...
@@ -59,6 +61,7 @@ export class AdminPendingComponent implements OnInit {
},
{
catagory
:
'string'
,
type
:
'string'
,
detail
:
'Mouse'
,
name
:
'b'
,
sdate
:
'2021-11-25'
,
...
...
src/app/pages/pending/pending.component.html
View file @
af1edcf9
...
...
@@ -47,6 +47,22 @@
</div>
</div>
</div>
<ul
class=
"nav nav-tabs"
id=
"myTab"
role=
"tablist"
>
<li
class=
"nav-item"
>
<a
class=
"nav-link active"
id=
"ยืมอุปกรณ์IT-tab"
data-toggle=
"tab"
href=
"#ยืมอุปกรณ์IT"
role=
"tab"
aria-controls=
"ยืมอุปกรณ์IT"
aria-selected=
"true"
>
ยืมอุปกรณ์IT
</a>
</li>
<li
class=
"nav-item"
>
<a
class=
"nav-link"
id=
"จองห้อง-รถ-tab"
data-toggle=
"tab"
href=
"#จองห้อง-รถ"
role=
"tab"
aria-controls=
"จองห้อง-รถ"
aria-selected=
"false"
>
จองห้อง-รถ
</a>
</li>
<div
class=
"col-sm-4"
>
<form
class=
"form-inline my-2 my-lg-0"
>
<input
class=
"form-control mr-sm-2"
type=
"search"
placeholder=
"Search"
aria-label=
"Search"
>
<button
class=
"btn btn-outline-success my-2 my-sm-0"
type=
"submit"
>
Search
</button>
</form>
</div>
</ul>
<div
class=
"row"
>
<div
class=
"col-sm-12"
>
<div
class=
"card"
>
...
...
@@ -56,6 +72,7 @@
<tr>
<th
scope=
"col"
>
#
</th>
<th
scope=
"col"
>
Catagory
</th>
<th
scope=
"col"
>
Type
</th>
<th
scope=
"col"
>
Detail
</th>
<th
scope=
"col"
>
Name
</th>
<th
scope=
"col"
>
Start-Date
</th>
...
...
@@ -67,6 +84,7 @@
<tr
*
ngFor=
"let country of countries"
>
<th
scope=
"row"
>
{{ country.id }}
</th>
<td>
{{ country.catagory }}
</td>
<td>
{{ country.type }}
</td>
<td>
{{ country.detail }}
</td>
<td>
{{ country.name }}
</td>
<td>
{{ country.sdate | date:'dd-MM-yyyy' }}
</td>
...
...
src/app/pages/pending/pending.component.ts
View file @
af1edcf9
...
...
@@ -4,6 +4,7 @@ import { NgbDate, NgbCalendar, NgbDateParserFormatter } from '@ng-bootstrap/ng-b
interface
Country
{
id
?:
number
;
catagory
:
string
;
type
:
string
;
detail
:
string
;
name
:
string
;
sdate
:
string
;
...
...
@@ -49,6 +50,7 @@ export class PendingComponent implements OnInit {
countries
:
Country
[]
=
[
{
catagory
:
'string'
,
type
:
'string'
,
detail
:
'Moniter'
,
name
:
'a'
,
sdate
:
'2021-11-25'
,
...
...
@@ -57,6 +59,7 @@ export class PendingComponent implements OnInit {
},
{
catagory
:
'string'
,
type
:
'string'
,
detail
:
'Mouse'
,
name
:
'b'
,
sdate
:
'2021-11-25'
,
...
...
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