Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mySkill-x
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
mySkill-x
Commits
1a895b63
Commit
1a895b63
authored
Jun 09, 2025
by
Natthaphat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
เพิ่มเปิดไฟล์ pdf
parent
dbc3d175
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
13 deletions
+28
-13
report-pms-3.component.html
...onent/report-pms/report-pms-3/report-pms-3.component.html
+10
-1
report-pms-3.component.ts
...mponent/report-pms/report-pms-3/report-pms-3.component.ts
+18
-12
No files found.
src/app/components/report-component/report-pms/report-pms-3/report-pms-3.component.html
View file @
1a895b63
...
@@ -23,6 +23,7 @@
...
@@ -23,6 +23,7 @@
<th>
อนุมัติ 1
</th>
<th>
อนุมัติ 1
</th>
<th>
อนุมัติ 2
</th>
<th>
อนุมัติ 2
</th>
<th>
อนุมัติ 3
</th>
<th>
อนุมัติ 3
</th>
<th>
รายงาน
</th>
</tr>
</tr>
</thead>
</thead>
...
@@ -46,8 +47,15 @@
...
@@ -46,8 +47,15 @@
<td
class=
"text-center"
>
{{ r.approve1 }}
</td>
<td
class=
"text-center"
>
{{ r.approve1 }}
</td>
<td
class=
"text-center"
>
{{ r.approve2 }}
</td>
<td
class=
"text-center"
>
{{ r.approve2 }}
</td>
<td
class=
"text-center"
>
{{ r.approve3 }}
</td>
<td
class=
"text-center"
>
{{ r.approve3 }}
</td>
<td
class=
"text-red-500 text-center align-middle"
>
<a
class=
"cursor-pointer"
(
click
)="
openReport
()"
title=
"เปิดรายงาน PDF"
>
<svg
width=
"18"
height=
"18"
viewBox=
"0 0 24 24"
fill=
"red"
xmlns=
"http://www.w3.org/2000/svg"
>
<path
d=
"M23.63 15.3c-.71-.745-2.166-1.17-4.224-1.17c-1.1 0-2.377.106-3.761.354a19.443 19.443 0 0 1-2.307-2.661c-.532-.71-.994-1.49-1.42-2.236c.817-2.484 1.207-4.507 1.207-5.962c0-1.632-.603-3.336-2.342-3.336c-.532 0-1.065.32-1.349.781c-.78 1.384-.425 4.4.923 7.381a60.277 60.277 0 0 1-1.703 4.507c-.568 1.349-1.207 2.733-1.917 4.01C2.834 18.53.314 20.34.03 21.758c-.106.533.071 1.03.462 1.42c.142.107.639.533 1.49.533c2.59 0 5.323-4.188 6.707-6.707c1.065-.355 2.13-.71 3.194-.994a34.963 34.963 0 0 1 3.407-.745c2.732 2.448 5.145 2.839 6.352 2.839c1.49 0 2.023-.604 2.2-1.1c.32-.64.106-1.349-.213-1.704zm-1.42 1.03c-.107.532-.64.887-1.384.887c-.213 0-.39-.036-.604-.071c-1.348-.32-2.626-.994-3.903-2.059a17.717 17.717 0 0 1 2.98-.248c.746 0 1.385.035 1.81.142c.497.106 1.278.426 1.1 1.348zm-7.524-1.668a38.01 38.01 0 0 0-2.945.674a39.68 39.68 0 0 0-2.52.745a40.05 40.05 0 0 0 1.207-2.555c.426-.994.78-2.023 1.136-2.981c.354.603.745 1.207 1.135 1.739a50.127 50.127 0 0 0 1.987 2.378zM10.038 1.46a.768.768 0 0 1 .674-.425c.745 0 .887.851.887 1.526c0 1.135-.355 2.874-.958 4.861c-1.03-2.768-1.1-5.074-.603-5.962zM6.134 17.997c-1.81 2.981-3.549 4.826-4.613 4.826a.872.872 0 0 1-.532-.177c-.213-.213-.32-.461-.249-.745c.213-1.065 2.271-2.555 5.394-3.904z"
fill=
"currentColor"
/>
</svg>
</a>
</td>
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
</section>
</section>
\ No newline at end of file
src/app/components/report-component/report-pms/report-pms-3/report-pms-3.component.ts
View file @
1a895b63
...
@@ -26,19 +26,25 @@ interface Row {
...
@@ -26,19 +26,25 @@ interface Row {
styleUrls
:
[
'./report-pms-3.component.scss'
]
styleUrls
:
[
'./report-pms-3.component.scss'
]
})
})
export
class
ReportPms3Component
{
export
class
ReportPms3Component
{
title
=
'รายงานประเมินการปฏิบัติงานของพนักงานรายบุคคล ประจำปี 2568'
;
title
=
'รายงานประเมินการปฏิบัติงานของพนักงานรายบุคคล ประจำปี 2568'
;
rows
:
Row
[]
=
[
rows
:
Row
[]
=
[
{
code
:
'10001'
,
name
:
'กิรณา ทดสอบ'
,
unit
:
'Marketing & Procurement'
,
position
:
'Customer Key Account'
,
level
:
7
,
grade
:
'B'
,
score
:
83.53
,
corp
:
14.10
,
dep
:
18.80
,
ind
:
10.00
,
comp
:
22.00
,
time
:
4.73
,
cross
:
10.00
,
special
:
3.90
,
year
:
2568
,
approve1
:
'Y'
,
approve2
:
'Y'
,
approve3
:
'Y'
},
{
code
:
'10001'
,
name
:
'กิรณา ทดสอบ'
,
unit
:
'Marketing & Procurement'
,
position
:
'Customer Key Account'
,
level
:
7
,
grade
:
'B'
,
score
:
83.53
,
corp
:
14.10
,
dep
:
18.80
,
ind
:
10.00
,
comp
:
22.00
,
time
:
4.73
,
cross
:
10.00
,
special
:
3.90
,
year
:
2568
,
approve1
:
'Y'
,
approve2
:
'Y'
,
approve3
:
'Y'
},
{
code
:
'10002'
,
name
:
'บรรณ ทดสอบ'
,
unit
:
'Marketing & Procurement'
,
position
:
'Senior Marketing Strategist'
,
level
:
5
,
grade
:
'A'
,
score
:
91.92
,
corp
:
10.60
,
dep
:
20.00
,
ind
:
10.00
,
comp
:
35.00
,
time
:
9.82
,
cross
:
3.00
,
special
:
3.50
,
year
:
2568
,
approve1
:
'Y'
,
approve2
:
'Y'
,
approve3
:
'Y'
},
{
code
:
'10002'
,
name
:
'บรรณ ทดสอบ'
,
unit
:
'Marketing & Procurement'
,
position
:
'Senior Marketing Strategist'
,
level
:
5
,
grade
:
'A'
,
score
:
91.92
,
corp
:
10.60
,
dep
:
20.00
,
ind
:
10.00
,
comp
:
35.00
,
time
:
9.82
,
cross
:
3.00
,
special
:
3.50
,
year
:
2568
,
approve1
:
'Y'
,
approve2
:
'Y'
,
approve3
:
'Y'
},
{
code
:
'10003'
,
name
:
'ผล ทดสอบ'
,
unit
:
'Marketing & Procurement'
,
position
:
'Procurement Specialist'
,
level
:
3
,
grade
:
'C'
,
score
:
72.30
,
corp
:
14.10
,
dep
:
9.30
,
ind
:
12.30
,
comp
:
18.00
,
time
:
5.00
,
cross
:
10.00
,
special
:
3.60
,
year
:
2568
,
approve1
:
'Y'
,
approve2
:
'Y'
,
approve3
:
'Y'
},
{
code
:
'10003'
,
name
:
'ผล ทดสอบ'
,
unit
:
'Marketing & Procurement'
,
position
:
'Procurement Specialist'
,
level
:
3
,
grade
:
'C'
,
score
:
72.30
,
corp
:
14.10
,
dep
:
9.30
,
ind
:
12.30
,
comp
:
18.00
,
time
:
5.00
,
cross
:
10.00
,
special
:
3.60
,
year
:
2568
,
approve1
:
'Y'
,
approve2
:
'Y'
,
approve3
:
'Y'
},
{
code
:
'10004'
,
name
:
'ณัย ทดสอบ'
,
unit
:
'Marketing & Procurement'
,
position
:
'Marketing Analyst'
,
level
:
6
,
grade
:
'C'
,
score
:
72.70
,
corp
:
14.10
,
dep
:
11.20
,
ind
:
10.40
,
comp
:
18.00
,
time
:
5.00
,
cross
:
10.00
,
special
:
4.00
,
year
:
2568
,
approve1
:
'Y'
,
approve2
:
'Y'
,
approve3
:
'Y'
},
{
code
:
'10004'
,
name
:
'ณัย ทดสอบ'
,
unit
:
'Marketing & Procurement'
,
position
:
'Marketing Analyst'
,
level
:
6
,
grade
:
'C'
,
score
:
72.70
,
corp
:
14.10
,
dep
:
11.20
,
ind
:
10.40
,
comp
:
18.00
,
time
:
5.00
,
cross
:
10.00
,
special
:
4.00
,
year
:
2568
,
approve1
:
'Y'
,
approve2
:
'Y'
,
approve3
:
'Y'
},
{
code
:
'10005'
,
name
:
'สคริช ทดสอบ'
,
unit
:
'Marketing & Procurement'
,
position
:
'Procurement Manager'
,
level
:
2
,
grade
:
'C'
,
score
:
71.98
,
corp
:
14.10
,
dep
:
17.10
,
ind
:
10.50
,
comp
:
18.00
,
time
:
4.45
,
cross
:
4.22
,
special
:
3.60
,
year
:
2568
,
approve1
:
'Y'
,
approve2
:
'Y'
,
approve3
:
'Y'
},
{
code
:
'10005'
,
name
:
'สคริช ทดสอบ'
,
unit
:
'Marketing & Procurement'
,
position
:
'Procurement Manager'
,
level
:
2
,
grade
:
'C'
,
score
:
71.98
,
corp
:
14.10
,
dep
:
17.10
,
ind
:
10.50
,
comp
:
18.00
,
time
:
4.45
,
cross
:
4.22
,
special
:
3.60
,
year
:
2568
,
approve1
:
'Y'
,
approve2
:
'Y'
,
approve3
:
'Y'
},
{
code
:
'10006'
,
name
:
'ฟ้า ทดสอบ'
,
unit
:
'Marketing & Procurement'
,
position
:
'Marketing Coordinator'
,
level
:
3
,
grade
:
'B'
,
score
:
83.50
,
corp
:
14.10
,
dep
:
9.80
,
ind
:
16.60
,
comp
:
24.00
,
time
:
5.00
,
cross
:
10.00
,
special
:
4.00
,
year
:
2568
,
approve1
:
'Y'
,
approve2
:
'Y'
,
approve3
:
'Y'
},
{
code
:
'10006'
,
name
:
'ฟ้า ทดสอบ'
,
unit
:
'Marketing & Procurement'
,
position
:
'Marketing Coordinator'
,
level
:
3
,
grade
:
'B'
,
score
:
83.50
,
corp
:
14.10
,
dep
:
9.80
,
ind
:
16.60
,
comp
:
24.00
,
time
:
5.00
,
cross
:
10.00
,
special
:
4.00
,
year
:
2568
,
approve1
:
'Y'
,
approve2
:
'Y'
,
approve3
:
'Y'
},
{
code
:
'10007'
,
name
:
'นารวิทย์ ทดสอบ'
,
unit
:
'Marketing & Procurement'
,
position
:
'Supply Chain Analyst'
,
level
:
7
,
grade
:
'B'
,
score
:
88.00
,
corp
:
10.60
,
dep
:
12.80
,
ind
:
13.60
,
comp
:
32.67
,
time
:
9.64
,
cross
:
5.00
,
special
:
3.70
,
year
:
2568
,
approve1
:
'Y'
,
approve2
:
'Y'
,
approve3
:
'Y'
},
{
code
:
'10007'
,
name
:
'นารวิทย์ ทดสอบ'
,
unit
:
'Marketing & Procurement'
,
position
:
'Supply Chain Analyst'
,
level
:
7
,
grade
:
'B'
,
score
:
88.00
,
corp
:
10.60
,
dep
:
12.80
,
ind
:
13.60
,
comp
:
32.67
,
time
:
9.64
,
cross
:
5.00
,
special
:
3.70
,
year
:
2568
,
approve1
:
'Y'
,
approve2
:
'Y'
,
approve3
:
'Y'
},
{
code
:
'10008'
,
name
:
'อาทิตย์ ทดสอบ'
,
unit
:
'Marketing & Procurement'
,
position
:
'Brand Manager'
,
level
:
2
,
grade
:
'B'
,
score
:
89.10
,
corp
:
10.60
,
dep
:
14.80
,
ind
:
15.20
,
comp
:
32.67
,
time
:
10.00
,
cross
:
2.33
,
special
:
3.50
,
year
:
2568
,
approve1
:
'Y'
,
approve2
:
'Y'
,
approve3
:
'Y'
},
{
code
:
'10008'
,
name
:
'อาทิตย์ ทดสอบ'
,
unit
:
'Marketing & Procurement'
,
position
:
'Brand Manager'
,
level
:
2
,
grade
:
'B'
,
score
:
89.10
,
corp
:
10.60
,
dep
:
14.80
,
ind
:
15.20
,
comp
:
32.67
,
time
:
10.00
,
cross
:
2.33
,
special
:
3.50
,
year
:
2568
,
approve1
:
'Y'
,
approve2
:
'Y'
,
approve3
:
'Y'
},
{
code
:
'10009'
,
name
:
'ไพโรจน์ ทดสอบ'
,
unit
:
'Marketing & Procurement'
,
position
:
'Category Manager'
,
level
:
2
,
grade
:
'B'
,
score
:
84.76
,
corp
:
10.60
,
dep
:
18.80
,
ind
:
11.20
,
comp
:
28.00
,
time
:
10.00
,
cross
:
2.56
,
special
:
3.60
,
year
:
2568
,
approve1
:
'Y'
,
approve2
:
'Y'
,
approve3
:
'Y'
},
{
code
:
'10009'
,
name
:
'ไพโรจน์ ทดสอบ'
,
unit
:
'Marketing & Procurement'
,
position
:
'Category Manager'
,
level
:
2
,
grade
:
'B'
,
score
:
84.76
,
corp
:
10.60
,
dep
:
18.80
,
ind
:
11.20
,
comp
:
28.00
,
time
:
10.00
,
cross
:
2.56
,
special
:
3.60
,
year
:
2568
,
approve1
:
'Y'
,
approve2
:
'Y'
,
approve3
:
'Y'
},
{
code
:
'10010'
,
name
:
'เมฆา ทดสอบ'
,
unit
:
'Marketing & Procurement'
,
position
:
'Market Researcher'
,
level
:
4
,
grade
:
'B'
,
score
:
85.53
,
corp
:
10.60
,
dep
:
11.80
,
ind
:
17.00
,
comp
:
30.33
,
time
:
10.00
,
cross
:
2.00
,
special
:
3.80
,
year
:
2568
,
approve1
:
'Y'
,
approve2
:
'Y'
,
approve3
:
'Y'
},
{
code
:
'10010'
,
name
:
'เมฆา ทดสอบ'
,
unit
:
'Marketing & Procurement'
,
position
:
'Market Researcher'
,
level
:
4
,
grade
:
'B'
,
score
:
85.53
,
corp
:
10.60
,
dep
:
11.80
,
ind
:
17.00
,
comp
:
30.33
,
time
:
10.00
,
cross
:
2.00
,
special
:
3.80
,
year
:
2568
,
approve1
:
'Y'
,
approve2
:
'Y'
,
approve3
:
'Y'
},
{
code
:
'10011'
,
name
:
'เคม ทดสอบ'
,
unit
:
'Marketing & Procurement'
,
position
:
'Sourcing Specialist'
,
level
:
5
,
grade
:
'C'
,
score
:
71.03
,
corp
:
10.60
,
dep
:
10.90
,
ind
:
15.50
,
comp
:
18.67
,
time
:
9.82
,
cross
:
2.44
,
special
:
3.10
,
year
:
2568
,
approve1
:
'Y'
,
approve2
:
'Y'
,
approve3
:
'Y'
}
{
code
:
'10011'
,
name
:
'เคม ทดสอบ'
,
unit
:
'Marketing & Procurement'
,
position
:
'Sourcing Specialist'
,
level
:
5
,
grade
:
'C'
,
score
:
71.03
,
corp
:
10.60
,
dep
:
10.90
,
ind
:
15.50
,
comp
:
18.67
,
time
:
9.82
,
cross
:
2.44
,
special
:
3.10
,
year
:
2568
,
approve1
:
'Y'
,
approve2
:
'Y'
,
approve3
:
'Y'
}
];
];
openReport
():
void
{
const
url
=
'https://myprojectplus.myhr.co.th/api/v3/attachments/116566/content'
;
window
.
open
(
url
,
'_blank'
);
}
}
}
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