Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
myAppraisal
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
angular
myAppraisal
Commits
70965686
Commit
70965686
authored
Nov 21, 2024
by
kantavee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
การจัดการข้อมูลองค์กร>ตั้งค่าผู้ใช้งาน>สร้างรหัสผู้ใช้งาน
parent
0ab005e7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
60 additions
and
13 deletions
+60
-13
account-settings.component.html
...mponents/account-settings/account-settings.component.html
+2
-2
user-settings.component.html
...count-settings/user-settings/user-settings.component.html
+50
-9
user-settings.component.scss
...count-settings/user-settings/user-settings.component.scss
+8
-2
No files found.
src/app/components/account-settings/account-settings.component.html
View file @
70965686
...
...
@@ -16,8 +16,8 @@
<div
class=
"tab-content"
>
<div
*
ngIf=
"activeTab === 'tab1'"
class=
"tab-pane"
>
<div
class=
"mt-5"
>
<app-
employee-group-unit
[
pathTitle
]="
pathTitle
"
(
sendPathTitle
)="
pathTitle=
$event"
></app-
employee-group-unit
>
<app-
user-settings
[
pathTitle
]="
pathTitle
"
(
sendPathTitle
)="
pathTitle=
$event"
></app-
user-settings
>
</div>
</div>
</div>
...
...
src/app/components/account-settings/user-settings/user-settings.component.html
View file @
70965686
...
...
@@ -68,11 +68,11 @@
<thead
class=
"bg-gray-50 dark:bg-black/20"
>
<tr
style=
"height: 60px;"
>
<ng-container
*
ngFor=
"let item of ['
รหัสประเภทพนักงาน','รายละเอียด(ไทย) *','รายละเอียด(อังกฤษ)
','Action']; let f = first; let l = last; let i = index"
>
*
ngFor=
"let item of ['
ชื่อล็อคอิน','รหัสพนักงาน','ชื่อ','นามสกุล','สถานะ
','Action']; let f = first; let l = last; let i = index"
>
<th
scope=
"col"
class=
"relative head-table"
[
class
.!
text-center
]="
f
||
l
"
[
ngStyle
]="
f
?
{'
width
.
px
'
:
200
,
'
text-align
'
:
'
center
'}
:
{}"
>
<span>
{{ item }}
</span>
<div
class=
"absolute top-1/2 transform -translate-y-1/2 right-0"
*
ngIf=
"!l&&!f&&
i!==2
"
>
<div
class=
"absolute top-1/2 transform -translate-y-1/2 right-0"
*
ngIf=
"!l&&!f&&
!i
"
>
<svg
class=
"head-table-icon"
xmlns=
"http://www.w3.org/2000/svg"
width=
"50"
height=
"16"
fill=
"currentColor"
viewBox=
"0 0 16 16"
>
<path
...
...
@@ -86,13 +86,21 @@
</thead>
<tbody>
<tr
*
ngFor=
"let item of[
['พนักงานประจำรายเดือน', 'พนักงานประจำรายเดือน'],
['พนักงานประจำรายวัน', 'พนักงานประจำรายวัน']];let i = index"
>
<td
style=
"font-size: 12px; "
class=
"body-table-left"
>
<input
type=
"checkbox"
style=
"margin-right: 20px; transform:scale(0.7)"
>
{{0+""+(i+1)}}
['CC001', '620010','จรุณ','เทพมาศ','ใช้งาน'],
['CC002', '592530','มานะ','มิณนา','ใช้งาน'],
['CC003', '5812142','ชาญชัย','โพธิ์สุข','ใช้งาน'],
['FC001', '6125365','อดิศร','สมสัย','ใช้งาน'],
['FC002', '5211475','ธนศักดิ์','ตาศรี','ใช้งาน'],
['KC001', '525258','สุทธิดา','สินประเสริฐ','ใช้งาน'],
['KC002', '647589','ศรสุข','ยอดสิงฆ์','ใช้งาน']];let i = index"
>
<td
style=
"font-size: 12px;"
class=
"body-table-center"
>
<input
type=
"checkbox"
style=
"margin-right: 20px; transform:scale(0.7)"
>
{{item[0]}}
</td>
<td
style=
"text-align: center; font-size: 12px;"
>
{{item[0]}}
</td>
<td
style=
"text-align: center; font-size: 12px;"
>
{{item[1]}}
</td>
<td
style=
"text-align: center; font-size: 12px;"
>
{{item[2]}}
</td>
<td
style=
"text-align: center; font-size: 12px;"
>
{{item[3]}}
</td>
<td
style=
"text-align: center; font-size: 12px;"
>
{{item[4]}}
</td>
<td
class=
"body-table-center"
>
<div
class=
"px-1"
>
<svg
width=
"16"
height=
"16"
viewBox=
"0 0 24 24"
id=
"Layer_1"
data-name=
"Layer 1"
...
...
@@ -149,4 +157,37 @@
</table>
</div>
</div>
</div>
\ No newline at end of file
</div>
<div
class=
"body-content"
>
<ul
class=
"nav-tabs"
>
<div
class=
"px-1 py-1 bg-white rounded-2 shadow justify-content-center align-items-center"
>
<div
class=
"box-body"
>
<nav
class=
"pagination-style-3 overflow-auto"
>
<ul
class=
"ti-pagination"
>
<li>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
>
<i
class=
"ri-arrow-left-s-line align-middle rtl:rotate-180"
></i>
</a>
</li>
<li><a
class=
"page-link active"
href=
"javascript:void(0);"
aria-current=
"page"
>
1
</a></li>
<li><a
class=
"page-link"
href=
"javascript:void(0);"
>
2
</a></li>
<li><a
class=
"page-link"
href=
"javascript:void(0);"
>
3
</a></li>
<li><a
class=
"page-link"
href=
"javascript:void(0);"
>
4
</a></li>
<li><a
class=
"page-link"
href=
"javascript:void(0);"
>
5
</a></li>
<li><a
class=
"page-link"
href=
"javascript:void(0);"
>
...
</a></li>
<li><a
class=
"page-link"
href=
"javascript:void(0);"
>
31
</a></li>
<li>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
>
<i
class=
"ri-arrow-right-s-line align-middle rtl:rotate-180"
></i>
</a>
</li>
</ul>
</nav>
</div>
</div>
</ul>
<ul
class=
"nav-tabs"
>
<p>
Show 1 to 10 of 50 items
</p>
</ul>
</div>
\ No newline at end of file
src/app/components/account-settings/user-settings/user-settings.component.scss
View file @
70965686
...
...
@@ -56,4 +56,10 @@
color
:
#569bf5
;
border-bottom
:
2px
solid
#569bf5
;
line-height
:
0
.8
;
}
\ No newline at end of file
}
.ti-pagination
.page-link.active
{
background-color
:
#569bf5
;
color
:
white
;
border-radius
:
50%
;
padding
:
8px
12px
;
}
\ No newline at end of file
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