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
e9ba937e
Commit
e9ba937e
authored
Jan 27, 2025
by
Nattana Chaiyamat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ประเมิน PMS
parent
f340884f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
76 additions
and
52 deletions
+76
-52
dashboard-routing.module.ts
src/app/components/dashboard/dashboard-routing.module.ts
+1
-1
dashboard.module.ts
src/app/components/dashboard/dashboard.module.ts
+4
-2
idp-evalution.component.html
...ce-evaluation/idp-evaluation/idp-evalution.component.html
+2
-1
idp-evalution.component.scss
...ce-evaluation/idp-evaluation/idp-evalution.component.scss
+0
-0
idp-evalution.component.ts
...ance-evaluation/idp-evaluation/idp-evalution.component.ts
+6
-1
pms-evalution.component.html
...ce-evaluation/pms-evaluation/pms-evalution.component.html
+0
-0
pms-evalution.component.scss
...ce-evaluation/pms-evaluation/pms-evalution.component.scss
+0
-0
pms-evalution.component.ts
...ance-evaluation/pms-evaluation/pms-evalution.component.ts
+0
-0
round-one.component.html
.../supervisor-evaluation/round-one/round-one.component.html
+0
-0
round-one.component.scss
.../supervisor-evaluation/round-one/round-one.component.scss
+0
-1
round-one.component.ts
...on/supervisor-evaluation/round-one/round-one.component.ts
+19
-15
supervisor-evaluation.component.html
...upervisor-evaluation/supervisor-evaluation.component.html
+36
-27
supervisor-evaluation.component.ts
.../supervisor-evaluation/supervisor-evaluation.component.ts
+1
-0
style.css
src/assets/css/style.css
+7
-4
No files found.
src/app/components/dashboard/dashboard-routing.module.ts
View file @
e9ba937e
...
...
@@ -38,7 +38,7 @@ import { EvaluationFactorsComponent } from '../performance-management-evaluation
import
{
GradeRegistrationComponent
}
from
'../competency-assessment/grade-registration/grade-registration.component'
;
import
{
SettingPerformanceEvalutionComponent
}
from
'../performance-management-evaluation/setting-performance-evalution/setting-performance-evalution.component'
;
import
{
SelfEvaluationComponent
}
from
'../performance-evaluation/self-evaluation/self-evaluation.component'
;
import
{
IdpEvalutionComponent
}
from
'../evaluation/idp-evalution.component'
;
import
{
IdpEvalutionComponent
}
from
'../
performance-evaluation/idp-
evaluation/idp-evalution.component'
;
...
...
src/app/components/dashboard/dashboard.module.ts
View file @
e9ba937e
...
...
@@ -110,8 +110,9 @@ import { SubGradeRegistrationComponent } from '../competency-assessment/grade-re
import
{
SettingPerformanceEvalutionComponent
}
from
'../performance-management-evaluation/setting-performance-evalution/setting-performance-evalution.component'
;
import
{
AssessmentSystemConfigurationComponent
}
from
'../performance-management-evaluation/setting-performance-evalution/assessment-system-configuration/assessment-system-configuration.component'
;
import
{
SelfEvaluationComponent
}
from
'../performance-evaluation/self-evaluation/self-evaluation.component'
;
import
{
IdpEvalutionComponent
}
from
'../evaluation/idp-evalution.component'
;
import
{
CompanyRegistrationPageComponent
}
from
'../company-components/company-registration/company-registration-page/company-registration-page.component'
;
import
{
IdpEvalutionComponent
}
from
'../performance-evaluation/idp-evaluation/idp-evalution.component'
;
import
{
PmsEvalutionComponent
}
from
'../performance-evaluation/pms-evaluation/pms-evalution.component'
;
@
NgModule
({
declarations
:
[
...
...
@@ -205,7 +206,8 @@ import { CompanyRegistrationPageComponent } from '../company-components/company-
AssessmentSystemConfigurationComponent
,
SelfEvaluationComponent
,
IdpEvalutionComponent
,
CompanyRegistrationPageComponent
CompanyRegistrationPageComponent
,
PmsEvalutionComponent
,
],
imports
:
[
CommonModule
,
...
...
src/app/components/evaluation/idp-evalution.component.html
→
src/app/components/
performance-evaluation/idp-
evaluation/idp-evalution.component.html
View file @
e9ba937e
...
...
@@ -9,7 +9,8 @@
<ng-template
#
idpEvaluation
>
<div
class=
"pb-2rem px-2rem pt-1.5rem w-full min-height-50px justify-between items-center"
>
<div
class=
"flex"
>
<button
type=
"button"
class=
"ti-btn ti-btn-outline ti-btn-outline-light h-20px m-0 shadow-md text-blue-500"
>
<button
type=
"button"
class=
"ti-btn ti-btn-outline ti-btn-outline-light h-20px m-0 shadow-md text-blue-500"
(
click
)="
returnPage
()"
>
<i
class=
"ti ti-chevron-left"
></i>
ย้อนกลับ
</button>
...
...
src/app/components/evaluation/idp-evalution.component.scss
→
src/app/components/
performance-evaluation/idp-
evaluation/idp-evalution.component.scss
View file @
e9ba937e
File moved
src/app/components/evaluation/idp-evalution.component.ts
→
src/app/components/
performance-evaluation/idp-
evaluation/idp-evalution.component.ts
View file @
e9ba937e
import
{
Component
}
from
'@angular/core'
;
import
{
Component
,
EventEmitter
,
Output
}
from
'@angular/core'
;
export
interface
DataModel
{
code
:
string
,
bis
:
BisModel
[],
...
...
@@ -23,6 +23,7 @@ export interface CdrModel {
styleUrls
:
[
'./idp-evalution.component.scss'
]
})
export
class
IdpEvalutionComponent
{
@
Output
()
sendPageEvalution
:
EventEmitter
<
string
>
=
new
EventEmitter
<
string
>
();
pathTitle
=
[
'การประเมินผล'
,
'ประเมินผล'
]
hoveredCode
:
string
|
null
=
null
;
dataList
:
DataModel
[]
=
[{
...
...
@@ -81,4 +82,8 @@ export class IdpEvalutionComponent {
dataListFilter
()
{
return
this
.
dataList
}
returnPage
()
{
this
.
sendPageEvalution
.
emit
(
""
)
}
}
src/app/components/performance-evaluation/pms-evaluation/pms-evalution.component.html
0 → 100644
View file @
e9ba937e
This diff is collapsed.
Click to expand it.
src/app/components/performance-evaluation/pms-evaluation/pms-evalution.component.scss
0 → 100644
View file @
e9ba937e
src/app/components/performance-evaluation/pms-evaluation/pms-evalution.component.ts
0 → 100644
View file @
e9ba937e
This diff is collapsed.
Click to expand it.
src/app/components/performance-evaluation/supervisor-evaluation/round-one/round-one.component.html
View file @
e9ba937e
This diff is collapsed.
Click to expand it.
src/app/components/performance-evaluation/supervisor-evaluation/round-one/round-one.component.scss
View file @
e9ba937e
...
...
@@ -125,7 +125,6 @@
// margin-bottom: 10px;
justify-content
:
space-between
;
/* จัดเรียงองค์ประกอบภายใน */
align-items
:
center
;
/* จัดกลางแนวตั้ง */
padding-top
:
50px
;
padding-bottom
:
1rem
;
}
.header-title-table
{
...
...
src/app/components/performance-evaluation/supervisor-evaluation/round-one/round-one.component.ts
View file @
e9ba937e
...
...
@@ -2,13 +2,14 @@ import { Component, EventEmitter, Input, Output } from '@angular/core';
import
{
ToastrService
}
from
'ngx-toastr'
;
@
Component
({
selector
:
'app-round-one'
,
templateUrl
:
'./round-one.component.html'
,
styleUrls
:
[
'./round-one.component.scss'
]
selector
:
'app-round-one'
,
templateUrl
:
'./round-one.component.html'
,
styleUrls
:
[
'./round-one.component.scss'
]
})
export
class
RoundOneComponent
{
@
Input
()
pathTitle
=
[
'การประเมินสมรรถนะ'
,
'ทะเบียนเครื่องมือ'
,
'เครื่องมือประเมิน'
];
@
Output
()
sendPathTitle
:
EventEmitter
<
string
[]
>
=
new
EventEmitter
<
string
[]
>
();
@
Output
()
sendPageEvalution
:
EventEmitter
<
string
>
=
new
EventEmitter
<
string
>
();
activeTab
:
string
=
'tab1'
;
// กำหนด tab เริ่มต้น
isChecked
:
boolean
=
false
;
...
...
@@ -30,17 +31,17 @@ export class RoundOneComponent {
backdropClose
:
boolean
;
};
}
=
{
"add"
:
{
isModalOpen
:
false
,
modalSize
:
'm'
,
backdropClose
:
true
,
},
"edit"
:
{
isModalOpen
:
false
,
modalSize
:
'm'
,
backdropClose
:
true
,
}
};
"add"
:
{
isModalOpen
:
false
,
modalSize
:
'm'
,
backdropClose
:
true
,
},
"edit"
:
{
isModalOpen
:
false
,
modalSize
:
'm'
,
backdropClose
:
true
,
}
};
openModal
(
name
:
string
,
size
:
string
,
closeOnBackdrop
?:
boolean
)
{
this
.
modalOptions
[
name
].
modalSize
=
size
;
...
...
@@ -63,7 +64,7 @@ export class RoundOneComponent {
// ฟังก์ชันสำหรับการเพิ่ม ลบ หรือแก้ไข ข้อมูล
addUser
()
{
}
currentModal
=
""
...
...
@@ -86,5 +87,8 @@ export class RoundOneComponent {
positionClass
:
'toast-top-right'
,
});
}
returnPage
(
text
:
string
)
{
this
.
sendPageEvalution
.
emit
(
text
)
}
}
src/app/components/performance-evaluation/supervisor-evaluation/supervisor-evaluation.component.html
View file @
e9ba937e
<app-page-header
[
pathTitle
]="
pathTitle
"
></app-page-header>
<div
class=
"bg-card-white"
>
</div>
<div
class=
"block-main-content"
>
<div
class=
"text-lg font-bold py-2 text-primary px-8"
>
ประเมินผล ประจำปี 2024
<ng-container
*
ngIf=
"pageEvalution==''"
>
<app-page-header
[
pathTitle
]="
pathTitle
"
></app-page-header>
<div
class=
"bg-card-white"
>
</div>
<div
class=
"page"
>
<div
class=
"border-b border-gray-200 dark:border-white/10 px-8"
>
<nav
class=
"flex rtl:space-x-reverse space-x-5"
style=
"padding-top: 20px;"
>
<a
class=
"border w-44 justify-center rounded-4px hs-tab-active:!bg-primary hs-tab-active:border-primary hs-tab-active:!text-white -mb-px py-2 px-3 inline-flex items-center gap-2 font-size-16px font-weight-500 text-center text-white hover:text-gray-900 bg-primary"
href=
"javascript:void(0);"
id=
"underline-item-1"
data-hs-tab=
"#underline-1"
aria-controls=
"underline-1"
(
click
)="
pathTitle =
['การประเมินผล',
'ประเมินโดยหัวหน้า']"
>
รอบการประเมินที่ 1/2
</a>
<a
style=
"margin-left: 100px;"
class=
"border w-44 justify-center rounded-4px hs-tab-active:!bg-primary hs-tab-active:border-primary hs-tab-active:!text-white -mb-px py-2 px-3 inline-flex items-center gap-2 font-size-16px font-weight-500 text-center text-white hover:text-gray-900 bg-primary"
href=
"javascript:void(0);"
id=
"underline-item-2"
data-hs-tab=
"#underline-2"
aria-controls=
"underline-2"
(
click
)="
pathTitle =
['การประเมินผล',
'ประเมินโดยหัวหน้า']"
>
รอบการประเมินที่ 2/2
</a>
</nav>
<div
class=
"block-main-content"
>
<div
class=
"font-size-18px font-weight-700 pt-1.5rem text-primary px-2rem"
>
ประเมินผล ประจำปี 2024
</div>
<div
class=
"mt-3 px-3rem"
>
<div
id=
"underline-1"
role=
"tabpanel"
aria-labelledby=
"underline-item-1"
>
<app-round-one
[
pathTitle
]="
pathTitle
"
(
sendPathTitle
)="
pathTitle=
$event"
></app-round-one>
<div
class=
"pt-0.75rem"
>
<div
class=
"border-b border-gray-200 dark:border-white/10 px-2rem"
>
<nav
class=
" flex space-x-2 rtl:space-x-reverse"
>
<a
class=
"border justify-center rounded-top-4px bg-primary text-white -mb-px py-2 px-3 inline-flex items-center gap-2 font-size-16px font-weight-500 text-center text-gray-600 active"
href=
"javascript:void(0);"
id=
"card-type-item-1"
data-hs-tab=
"#underline-1"
aria-controls=
"underline-1"
>
รอบการประเมินที่ 1/2
</a>
<a
class=
"border justify-center rounded-top-4px bg-primary text-white -mb-px py-2 px-3 inline-flex items-center gap-2 font-size-16px font-weight-500 text-center text-gray-600 active"
href=
"javascript:void(0);"
id=
"card-type-item-1"
data-hs-tab=
"#underline-1"
aria-controls=
"underline-1"
>
รอบการประเมินที่ 2/2
</a>
</nav>
</div>
<div
id=
"underline-2"
role=
"tabpanel"
aria-labelledby=
"underline-item-2"
>
<div
class=
"pt-50px px-2rem"
>
<div
id=
"underline-1"
role=
"tabpanel"
aria-labelledby=
"underline-item-1"
>
<app-round-one
[
pathTitle
]="
pathTitle
"
(
sendPathTitle
)="
pathTitle=
$event"
(
sendPageEvalution
)="
pageEvalution=
$event"
></app-round-one>
</div>
<div
id=
"underline-2"
role=
"tabpanel"
aria-labelledby=
"underline-item-2"
>
</div>
</div>
</div>
</div>
</div>
\ No newline at end of file
</ng-container>
<ng-container
*
ngIf=
"pageEvalution=='idp'"
>
<app-idp-evalution
(
sendPageEvalution
)="
pageEvalution=
$event"
></app-idp-evalution>
</ng-container>
<ng-container
*
ngIf=
"pageEvalution=='pms'"
>
<app-pms-evalution
(
sendPageEvalution
)="
pageEvalution=
$event"
></app-pms-evalution>
</ng-container>
\ No newline at end of file
src/app/components/performance-evaluation/supervisor-evaluation/supervisor-evaluation.component.ts
View file @
e9ba937e
...
...
@@ -7,4 +7,5 @@ import { Component } from '@angular/core';
})
export
class
SupervisorEvaluationComponent
{
pathTitle
=
[
'การประเมินผล'
,
'ประเมินโดยหัวหน้า'
]
pageEvalution
=
''
}
src/assets/css/style.css
View file @
e9ba937e
...
...
@@ -9551,12 +9551,12 @@ select.tabulator-page-size option {
padding-left: 0px !important;
padding-right: 0px !important;
}
.sor
table-data select {
f
table-data select {
border-radius: 0.5rem !important;
border-color: inherit !important;
background-size: 1rem 1rem !important;
}
.sor
table-data .choices {
f
table-data .choices {
margin-bottom: 0px !important;
}
.tabulator .tabulator-col-resize-handle:last-child {
...
...
@@ -9630,7 +9630,7 @@ select.tabulator-page-size option {
}
.tabulator
.tabulator-header
.tabulator-col.tabulator
-sor
table[aria-sort="ascending"]
.tabulator-col.tabulator
f
table[aria-sort="ascending"]
.tabulator-col-content
.tabulator-col-sorter {
--tw-text-opacity: 1;
...
...
@@ -24878,7 +24878,10 @@ div:where(.swal2-container) div:where(.swal2-validation-message) {
.border-none
{
border
:
none
;
}
.bg-table-soft-gray
{
--tw-bg-opacity
:
1
;
background-color
:
rgb
(
241
245
249
/
var
(
--tw-bg-opacity
));
}
.bg-table-gray
{
background-color
:
rgb
(
170
170
170
);
}
...
...
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