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
b3733491
Commit
b3733491
authored
a month ago
by
Nattana Chaiyamat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
การประเมินจัดการประสิทธิภาพ > ทะเบียนกำหนดชื่อ > ประเภทการประเมิน
parent
cafbc44f
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
257 additions
and
2 deletions
+257
-2
dashboard-routing.module.ts
src/app/components/dashboard/dashboard-routing.module.ts
+2
-0
dashboard.module.ts
src/app/components/dashboard/dashboard.module.ts
+4
-1
assessment-types.component.html
...rfomance/assessment-types/assessment-types.component.html
+0
-0
assessment-types.component.scss
...rfomance/assessment-types/assessment-types.component.scss
+47
-0
assessment-types.component.ts
...perfomance/assessment-types/assessment-types.component.ts
+111
-0
name-registration-perfomance.component.html
...on-perfomance/name-registration-perfomance.component.html
+35
-0
name-registration-perfomance.component.scss
...on-perfomance/name-registration-perfomance.component.scss
+47
-0
name-registration-perfomance.component.ts
...tion-perfomance/name-registration-perfomance.component.ts
+10
-0
navservice.ts
src/app/shared/services/navservice.ts
+1
-1
No files found.
src/app/components/dashboard/dashboard-routing.module.ts
View file @
b3733491
...
@@ -34,6 +34,7 @@ import { AssessmentManagementComponent } from '../performance-management-evaluat
...
@@ -34,6 +34,7 @@ import { AssessmentManagementComponent } from '../performance-management-evaluat
import
{
JobPositionIndicatorsComponent
}
from
'../job-detail-components/job-position-indicators/job-position-indicators.component'
;
import
{
JobPositionIndicatorsComponent
}
from
'../job-detail-components/job-position-indicators/job-position-indicators.component'
;
import
{
EvaluationCyclePerformanceComponent
}
from
'../performance-management-evaluation/evaluation-cycle-performance/evaluation-cycle-performance.component'
;
import
{
EvaluationCyclePerformanceComponent
}
from
'../performance-management-evaluation/evaluation-cycle-performance/evaluation-cycle-performance.component'
;
import
{
EmployeeRegistrationComponent
}
from
'../company-components/employee-registration/employee-registration.component'
;
import
{
EmployeeRegistrationComponent
}
from
'../company-components/employee-registration/employee-registration.component'
;
import
{
NameRegistrationPerfomanceComponent
}
from
'../performance-management-evaluation/name-registration-perfomance/name-registration-perfomance.component'
;
...
@@ -75,6 +76,7 @@ const routes: Routes = [
...
@@ -75,6 +76,7 @@ const routes: Routes = [
{
path
:
"job-position-indicators"
,
title
:
'ตัวชี้วัดของตำแหน่งงาน'
,
component
:
JobPositionIndicatorsComponent
},
{
path
:
"job-position-indicators"
,
title
:
'ตัวชี้วัดของตำแหน่งงาน'
,
component
:
JobPositionIndicatorsComponent
},
{
path
:
"evaluation-cycle-performance"
,
title
:
'รอบการประเมิน'
,
component
:
EvaluationCyclePerformanceComponent
},
{
path
:
"evaluation-cycle-performance"
,
title
:
'รอบการประเมิน'
,
component
:
EvaluationCyclePerformanceComponent
},
{
path
:
"employee-registration"
,
title
:
'ทะเบียนพนักงาน'
,
component
:
EmployeeRegistrationComponent
},
{
path
:
"employee-registration"
,
title
:
'ทะเบียนพนักงาน'
,
component
:
EmployeeRegistrationComponent
},
{
path
:
"name-registration-perfomance"
,
title
:
'ทะเบียนกำหนดชื่อ'
,
component
:
NameRegistrationPerfomanceComponent
},
]
]
}
}
];
];
...
...
src/app/components/dashboard/dashboard.module.ts
View file @
b3733491
...
@@ -91,6 +91,8 @@ import { DocumentFormComponent } from '../performance-management-evaluation/eval
...
@@ -91,6 +91,8 @@ import { DocumentFormComponent } from '../performance-management-evaluation/eval
import
{
EditEvaluationFormComponent
}
from
'../performance-management-evaluation/evaluation-cycle-performance/document-form/edit-evaluation-form/edit-evaluation-form.component'
;
import
{
EditEvaluationFormComponent
}
from
'../performance-management-evaluation/evaluation-cycle-performance/document-form/edit-evaluation-form/edit-evaluation-form.component'
;
import
{
EmployeeRegistrationComponent
}
from
'../company-components/employee-registration/employee-registration.component'
;
import
{
EmployeeRegistrationComponent
}
from
'../company-components/employee-registration/employee-registration.component'
;
import
{
SubEmployeeRegistrationComponent
}
from
'../company-components/employee-registration/sub-employee-registration/sub-employee-registration.component'
;
import
{
SubEmployeeRegistrationComponent
}
from
'../company-components/employee-registration/sub-employee-registration/sub-employee-registration.component'
;
import
{
NameRegistrationPerfomanceComponent
}
from
'../performance-management-evaluation/name-registration-perfomance/name-registration-perfomance.component'
;
import
{
AssessmentTypesComponent
}
from
'../performance-management-evaluation/name-registration-perfomance/assessment-types/assessment-types.component'
;
@
NgModule
({
@
NgModule
({
declarations
:
[
declarations
:
[
...
@@ -164,7 +166,8 @@ import { SubEmployeeRegistrationComponent } from '../company-components/employee
...
@@ -164,7 +166,8 @@ import { SubEmployeeRegistrationComponent } from '../company-components/employee
EditEvaluationFormComponent
,
EditEvaluationFormComponent
,
EmployeeRegistrationComponent
,
EmployeeRegistrationComponent
,
SubEmployeeRegistrationComponent
,
SubEmployeeRegistrationComponent
,
NameRegistrationPerfomanceComponent
,
AssessmentTypesComponent
],
],
imports
:
[
imports
:
[
CommonModule
,
CommonModule
,
...
...
src/app/components/performance-management-evaluation/name-registration-perfomance/assessment-types/assessment-types.component.html
0 → 100644
View file @
b3733491
This diff is collapsed.
Click to expand it.
src/app/components/performance-management-evaluation/name-registration-perfomance/assessment-types/assessment-types.component.scss
0 → 100644
View file @
b3733491
/* สไตล์ของแถบเมนู */
.nav-tabs
{
display
:
flex
;
border-bottom
:
2px
solid
#ccc
;
/* เส้นใต้ */
border-top
:
2px
solid
#ccc
;
width
:
100%
;
cursor
:
pointer
;
border-top
:
2px
solid
#ccc
;
}
.nav-item
{
list-style
:
none
;
margin-right
:
40px
;
/* ช่องว่างระหว่างเมนู */
}
.nav-link
{
text-decoration
:
none
;
padding
:
10px
20px
;
display
:
inline-block
;
font-size
:
medium
;
text-align
:
left
;
padding-left
:
0px
;
padding-right
:
0px
;
}
.nav-link
:hover
{
background-color
:
#f0f0f0
;
/* เปลี่ยนสีเมื่อ hover */
}
.nav-link.active
{
color
:
#569bf5
;
/* สีตัวอักษรในสถานะ active */
font-size
:
medium
;
border-bottom
:
3
.5px
solid
#569bf5
;
/* เส้นใต้ */
}
.tab-content
{
margin-top
:
20px
;
}
.tab-pane.active
{
display
:
block
;
}
.body-content
{
margin-left
:
10px
;
}
\ No newline at end of file
src/app/components/performance-management-evaluation/name-registration-perfomance/assessment-types/assessment-types.component.ts
0 → 100644
View file @
b3733491
import
{
ChangeDetectorRef
,
Component
}
from
'@angular/core'
;
export
interface
dataModel
{
check
:
boolean
,
code
:
string
,
nameTypeTh
:
string
,
nameTypeEn
:
string
,
name
:
string
weight
:
string
}
@
Component
({
selector
:
'app-assessment-types'
,
templateUrl
:
'./assessment-types.component.html'
,
styleUrls
:
[
'./assessment-types.component.scss'
]
})
export
class
AssessmentTypesComponent
{
currentPage
=
1
page
=
Array
.
from
({
length
:
1
},
(
_
,
i
)
=>
i
+
1
);
search
=
""
numDataListChecked
=
0
isDataListChecked
=
false
isDataListCheckedAll
=
false
dataList
:
dataModel
[]
=
[
{
check
:
false
,
code
:
"01"
,
nameTypeTh
:
"การบริหารแบบแผนปัญญา"
,
nameTypeEn
:
"Hoshin Kanri Management"
,
name
:
"Hoshin"
,
weight
:
"1.2"
},
{
check
:
false
,
code
:
"02"
,
nameTypeTh
:
"ตัวชี้วัดความสำเร็จ"
,
nameTypeEn
:
"Key Performance Indicator"
,
name
:
"KPI"
,
weight
:
"1.2"
},
{
check
:
false
,
code
:
"03"
,
nameTypeTh
:
"การบริหารทีมงานข้ามสายงาน"
,
nameTypeEn
:
"Cross Functional Management"
,
name
:
"Cross Functional"
,
weight
:
"1.2"
},
{
check
:
false
,
code
:
"04"
,
nameTypeTh
:
"กิจกรรมพิเศษ"
,
nameTypeEn
:
"Special Activities"
,
name
:
"Special Activities"
,
weight
:
"1.2"
}
]
dataSelect
:
dataModel
=
{
check
:
false
,
code
:
""
,
nameTypeTh
:
""
,
nameTypeEn
:
""
,
name
:
""
,
weight
:
""
}
modalStatus
:
"add"
|
"edit"
=
"add"
constructor
(
private
cdr
:
ChangeDetectorRef
)
{
}
dataListSelect
(
data
?:
dataModel
)
{
this
.
dataSelect
=
data
||
{
check
:
false
,
code
:
""
,
nameTypeTh
:
""
,
nameTypeEn
:
""
,
name
:
""
,
weight
:
""
}
this
.
cdr
.
detectChanges
()
}
dataListFilter
()
{
return
this
.
dataList
.
filter
(
x
=>
{
const
match
=
x
.
code
.
includes
(
this
.
search
)
||
x
.
nameTypeTh
.
includes
(
this
.
search
)
||
x
.
nameTypeEn
.
includes
(
this
.
search
);
if
(
!
match
)
x
.
check
=
false
;
return
match
;
});
}
dataListCheck
()
{
const
dataCheck
=
this
.
dataListFilter
();
this
.
isDataListChecked
=
dataCheck
.
some
(
x
=>
x
.
check
);
this
.
isDataListCheckedAll
=
dataCheck
.
length
?
dataCheck
.
every
(
x
=>
x
.
check
)
:
false
;
this
.
numDataListChecked
=
dataCheck
.
filter
(
x
=>
x
.
check
).
length
;
}
dataListCheckAll
()
{
const
selectAll
=
this
.
isDataListCheckedAll
;
this
.
dataList
.
forEach
(
x
=>
x
.
check
=
selectAll
);
this
.
dataListCheck
();
}
searchChange
()
{
this
.
currentPage
=
1
;
const
filteredData
=
this
.
dataListFilter
();
this
.
page
=
Array
.
from
({
length
:
Math
.
ceil
(
filteredData
.
length
/
10
)
},
(
_
,
i
)
=>
i
+
1
);
this
.
dataListCheck
();
}
}
src/app/components/performance-management-evaluation/name-registration-perfomance/name-registration-perfomance.component.html
0 → 100644
View file @
b3733491
<app-page-header
[
pathTitle
]="
pathTitle
"
></app-page-header>
<div
class=
"bg-card-white"
>
</div>
<div
class=
"block-main-content"
>
<div
class=
"font-size-18px font-weight-700 pt-1.5rem text-primary px-2rem"
>
ทะเบียนกำหนดชื่อ
</div>
<div
class=
"page pt-0.75rem"
>
<div
class=
"border-b border-gray-200 dark:border-white/10 px-2rem"
>
<nav
class=
"-mb-0.5 flex space-x-6 rtl:space-x-reverse"
>
<a
class=
"font-size-16px font-weight-500 hs-tab-active:font-weight-700 hs-tab-active:border-secondary hs-tab-active:text-secondary pb-3 inline-flex items-center gap-2 border-b-[3px] border-transparent whitespace-nowrap text-gray-500 hover:text-secondary active"
href=
"javascript:void(0);"
id=
"underline-item-1"
data-hs-tab=
"#underline-1"
aria-controls=
"underline-1"
(
click
)="
pathTitle =
['การประเมินจัดการประสิทธิภาพ',
'ทะเบียนกำหนดชื่อ','ประเภทการประเมิน']"
>
ประเภทการประเมิน
</a>
<a
class=
"font-size-16px font-weight-500 hs-tab-active:font-weight-700 hs-tab-active:border-secondary hs-tab-active:text-secondary pb-3 px-1 inline-flex items-center gap-2 border-b-[3px] border-transparent whitespace-nowrap text-gray-500 hover:text-secondary"
href=
"javascript:void(0);"
id=
"underline-item-2"
data-hs-tab=
"#underline-2"
aria-controls=
"underline-2"
(
click
)="
pathTitle =
['การประเมินจัดการประสิทธิภาพ',
'ทะเบียนกำหนดชื่อ','หัวข้อการประเมิน']"
>
หัวข้อการประเมิน
</a>
</nav>
</div>
<div
class=
"mt-3 px-2rem"
>
<div
id=
"underline-1"
role=
"tabpanel"
aria-labelledby=
"underline-item-1"
>
<app-assessment-types></app-assessment-types>
</div>
<div
id=
"underline-2"
class=
"hidden"
role=
"tabpanel"
aria-labelledby=
"underline-item-2"
>
หัวข้อการประเมิน
</div>
</div>
</div>
</div>
\ No newline at end of file
src/app/components/performance-management-evaluation/name-registration-perfomance/name-registration-perfomance.component.scss
0 → 100644
View file @
b3733491
/* สไตล์ของแถบเมนู */
.nav-tabs
{
display
:
flex
;
border-bottom
:
2px
solid
#ccc
;
/* เส้นใต้ */
border-top
:
2px
solid
#ccc
;
width
:
100%
;
cursor
:
pointer
;
border-top
:
2px
solid
#ccc
;
}
.nav-item
{
list-style
:
none
;
margin-right
:
40px
;
/* ช่องว่างระหว่างเมนู */
}
.nav-link
{
text-decoration
:
none
;
padding
:
10px
20px
;
display
:
inline-block
;
font-size
:
medium
;
text-align
:
left
;
padding-left
:
0px
;
padding-right
:
0px
;
}
.nav-link
:hover
{
background-color
:
#f0f0f0
;
/* เปลี่ยนสีเมื่อ hover */
}
.nav-link.active
{
color
:
#569bf5
;
/* สีตัวอักษรในสถานะ active */
font-size
:
medium
;
border-bottom
:
3
.5px
solid
#569bf5
;
/* เส้นใต้ */
}
.tab-content
{
margin-top
:
20px
;
}
.tab-pane.active
{
display
:
block
;
}
.body-content
{
margin-left
:
10px
;
}
\ No newline at end of file
src/app/components/performance-management-evaluation/name-registration-perfomance/name-registration-perfomance.component.ts
0 → 100644
View file @
b3733491
import
{
Component
}
from
'@angular/core'
;
@
Component
({
selector
:
'app-name-registration-perfomance'
,
templateUrl
:
'./name-registration-perfomance.component.html'
,
styleUrls
:
[
'./name-registration-perfomance.component.scss'
]
})
export
class
NameRegistrationPerfomanceComponent
{
pathTitle
=
[
'การประเมินจัดการประสิทธิภาพ'
,
'ทะเบียนกำหนดชื่อ'
,
'ประเภทการประเมิน'
]
}
src/app/shared/services/navservice.ts
View file @
b3733491
...
@@ -138,7 +138,7 @@ export class NavService implements OnDestroy {
...
@@ -138,7 +138,7 @@ export class NavService implements OnDestroy {
active
:
false
,
active
:
false
,
path
:
'/assessment-management'
,
path
:
'/assessment-management'
,
children
:
[
children
:
[
{
path
:
''
,
title
:
'ทะเบียนกำหนดชื่อ'
,
type
:
'link'
},
{
path
:
'
/name-registration-perfomance
'
,
title
:
'ทะเบียนกำหนดชื่อ'
,
type
:
'link'
},
{
path
:
''
,
title
:
'ทะเบียนเกรด'
,
type
:
'link'
},
{
path
:
''
,
title
:
'ทะเบียนเกรด'
,
type
:
'link'
},
{
path
:
''
,
title
:
'ปัจจัยการประเมินผล'
,
type
:
'link'
},
{
path
:
''
,
title
:
'ปัจจัยการประเมินผล'
,
type
:
'link'
},
{
path
:
'/assessment-management'
,
title
:
'การจัดการการประเมิน'
,
type
:
'link'
},
{
path
:
'/assessment-management'
,
title
:
'การจัดการการประเมิน'
,
type
:
'link'
},
...
...
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