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
f1e48566
Commit
f1e48566
authored
2 weeks ago
by
Nattana Chaiyamat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ปีการประเมิน แก้ปีการประเมินให้เป็น +- 1
parent
6651370a
Show whitespace changes
Inline
Side-by-side
Showing
32 changed files
with
311 additions
and
121 deletions
+311
-121
department-list.component.html
...iness-unit/department-list/department-list.component.html
+11
-5
department-list.component.ts
...usiness-unit/department-list/department-list.component.ts
+4
-0
department-register.component.html
...it/department-register/department-register.component.html
+11
-3
department-register.component.ts
...unit/department-register/department-register.component.ts
+4
-0
section-registration.component.html
.../section-registration/section-registration.component.html
+13
-5
section-registration.component.ts
...it/section-registration/section-registration.component.ts
+4
-0
sub-department-four.component.html
...it/sub-department-four/sub-department-four.component.html
+13
-5
sub-department-four.component.ts
...unit/sub-department-four/sub-department-four.component.ts
+4
-0
sub-department-one.component.html
...unit/sub-department-one/sub-department-one.component.html
+13
-5
sub-department-one.component.ts
...s-unit/sub-department-one/sub-department-one.component.ts
+5
-0
sub-department-three.component.html
.../sub-department-three/sub-department-three.component.html
+18
-10
sub-department-three.component.ts
...it/sub-department-three/sub-department-three.component.ts
+4
-0
sub-department-two.component.html
...unit/sub-department-two/sub-department-two.component.html
+13
-5
sub-department-two.component.ts
...s-unit/sub-department-two/sub-department-two.component.ts
+4
-0
company-registration-page.component.html
...egistration-page/company-registration-page.component.html
+9
-4
company-registration-page.component.ts
...-registration-page/company-registration-page.component.ts
+4
-0
employee-categories.component.html
...on/employee-categories/employee-categories.component.html
+12
-5
employee-categories.component.ts
...tion/employee-categories/employee-categories.component.ts
+4
-0
employee-group-unit.component.html
...on/employee-group-unit/employee-group-unit.component.html
+11
-4
employee-group-unit.component.ts
...tion/employee-group-unit/employee-group-unit.component.ts
+4
-0
employee-level.component.html
...-description/employee-level/employee-level.component.html
+12
-5
employee-level.component.ts
...ob-description/employee-level/employee-level.component.ts
+5
-0
position-unit.component.html
...nts/job-description/position/position-unit.component.html
+11
-5
position-unit.component.ts
...nents/job-description/position/position-unit.component.ts
+4
-0
evaluation-cycle.component.html
...-manager/evaluation-cycle/evaluation-cycle.component.html
+13
-7
evaluation-cycle.component.ts
...le-manager/evaluation-cycle/evaluation-cycle.component.ts
+0
-2
competency-configuration.component.ts
...tency-configuration/competency-configuration.component.ts
+1
-9
evaluation.component.html
...rformance-evaluation/evaluation/evaluation.component.html
+45
-18
evaluation.component.ts
...performance-evaluation/evaluation/evaluation.component.ts
+50
-7
management-evaluation-cycle.component.ts
...evaluation-cycle/management-evaluation-cycle.component.ts
+0
-8
assessment-system-configuration.component.ts
...onfiguration/assessment-system-configuration.component.ts
+0
-8
style.css
src/assets/css/style.css
+5
-1
No files found.
src/app/components/company-components/company-registration/branch-business-unit/department-list/department-list.component.html
View file @
f1e48566
...
@@ -196,9 +196,14 @@
...
@@ -196,9 +196,14 @@
readonly
[
value
]="
bu1
.
tdesc
"
>
readonly
[
value
]="
bu1
.
tdesc
"
>
</div>
</div>
</div>
</div>
<label
class=
"ti-form-label mt-2rem"
>
เเผนก
<span
class=
"text-danger"
>
*
</span></label>
<label
class=
"ti-form-label mt-2rem"
>
เเผนก
<span
class=
"text-danger"
>
*
<ng-container
*
ngIf=
"currentModal=='add'&&checkPrimary()"
>
เเผนกซ้ำ
</ng-container>
</span></label>
<div
class=
"relative flex rounded-md w-1/2"
>
<div
class=
"relative flex rounded-md w-1/2"
>
<input
type=
"text"
class=
"ti-form-input h-16"
[(
ngModel
)]="
bu2
.
bu2id
"
>
<input
type=
"text"
class=
"ti-form-input h-16"
[
class
.!
border-red
]="
currentModal=
='add'&&checkPrimary()"
[(
ngModel
)]="
bu2
.
bu2id
"
>
</div>
</div>
<label
for=
"detail_th"
class=
"ti-form-label mt-2rem"
>
รายละเอียดแผนก (ไทย)
<span
<label
for=
"detail_th"
class=
"ti-form-label mt-2rem"
>
รายละเอียดแผนก (ไทย)
<span
class=
"text-danger"
>
*
</span></label>
class=
"text-danger"
>
*
</span></label>
...
@@ -212,8 +217,8 @@
...
@@ -212,8 +217,8 @@
ย้อนกลับ
ย้อนกลับ
</button>
</button>
<button
class=
"ti-btn ti-btn-success"
type=
"button"
data-hs-overlay=
"#department-list-alert-modal"
<button
class=
"ti-btn ti-btn-success"
type=
"button"
data-hs-overlay=
"#department-list-alert-modal"
[
class
.
ti-btn-disabled
]="!
bu1
.
bu1id
||!
bu2
.
bu2id
||!
bu2
.
tdesc
"
[
class
.
ti-btn-disabled
]="!
bu1
.
bu1id
||!
bu2
.
bu2id
||!
bu2
.
tdesc
||(
currentModal=
='add'&&checkPrimary())
"
[
disabled
]="!
bu1
.
bu1id
||!
bu2
.
bu2id
||!
bu2
.
tdesc
"
>
[
disabled
]="!
bu1
.
bu1id
||!
bu2
.
bu2id
||!
bu2
.
tdesc
||(
currentModal=
='add'&&checkPrimary())
"
>
บันทึกข้อมูล
บันทึกข้อมูล
</button>
</button>
</div>
</div>
...
@@ -531,7 +536,8 @@
...
@@ -531,7 +536,8 @@
ย้อนกลับ
ย้อนกลับ
</button>
</button>
<a
class=
"ti-btn ti-btn-danger"
href=
"javascript:void(0);"
<a
class=
"ti-btn ti-btn-danger"
href=
"javascript:void(0);"
data-hs-overlay=
"#department-list-alert-delete-modal"
(
click
)="
deleteBu2
()"
*
ngIf=
"numDataListChecked"
>
data-hs-overlay=
"#department-list-alert-delete-modal"
(
click
)="
deleteBu2
()"
*
ngIf=
"numDataListChecked"
>
ลบข้อมูล
ลบข้อมูล
</a>
</a>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
src/app/components/company-components/company-registration/branch-business-unit/department-list/department-list.component.ts
View file @
f1e48566
...
@@ -244,5 +244,9 @@ export class DepartmentListComponent implements OnInit {
...
@@ -244,5 +244,9 @@ export class DepartmentListComponent implements OnInit {
this
.
numDataListChecked
=
this
.
bu2List
.
filter
(
x
=>
x
.
check
).
length
this
.
numDataListChecked
=
this
.
bu2List
.
filter
(
x
=>
x
.
check
).
length
this
.
isDataListChecked
=
Boolean
(
this
.
numDataListChecked
)
this
.
isDataListChecked
=
Boolean
(
this
.
numDataListChecked
)
}
}
checkPrimary
()
{
return
this
.
bu2List
.
find
(
x
=>
x
.
data
.
bu2id
==
this
.
bu2
.
bu2id
)
}
}
}
This diff is collapsed.
Click to expand it.
src/app/components/company-components/company-registration/branch-business-unit/department-register/department-register.component.html
View file @
f1e48566
...
@@ -172,8 +172,15 @@
...
@@ -172,8 +172,15 @@
</div>
</div>
</div>
</div>
<div
class=
"ti-modal-body padding-16px pt-0 overflow-y-0"
>
<div
class=
"ti-modal-body padding-16px pt-0 overflow-y-0"
>
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
ฝ่าย
<span
class=
"text-danger"
>
*
</span></label>
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
ฝ่าย
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input w-1/2"
[(
ngModel
)]="
bu1
.
bu1id
"
>
<span
class=
"text-danger"
>
*
<ng-container
*
ngIf=
"checkPrimary()"
>
ฝ่ายซ้ำ
</ng-container>
</span>
</label>
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input w-1/2"
[
class
.!
border-red
]="
checkPrimary
()"
[(
ngModel
)]="
bu1
.
bu1id
"
>
<label
for=
"detail_th"
class=
"ti-form-label mt-2rem"
>
รายละเอียดฝ่าย (ไทย)
<span
<label
for=
"detail_th"
class=
"ti-form-label mt-2rem"
>
รายละเอียดฝ่าย (ไทย)
<span
class=
"text-danger"
>
*
</span></label>
class=
"text-danger"
>
*
</span></label>
<input
type=
"text"
id=
"detail_th"
class=
"ti-form-input h-16"
[(
ngModel
)]="
bu1
.
tdesc
"
>
<input
type=
"text"
id=
"detail_th"
class=
"ti-form-input h-16"
[(
ngModel
)]="
bu1
.
tdesc
"
>
...
@@ -187,7 +194,8 @@
...
@@ -187,7 +194,8 @@
</button>
</button>
<button
type=
"button"
class=
"ti-btn ti-btn-success"
<button
type=
"button"
class=
"ti-btn ti-btn-success"
data-hs-overlay=
"#department-register-alert-modal"
data-hs-overlay=
"#department-register-alert-modal"
[
class
.
ti-btn-disabled
]="!
bu1
.
bu1id
||!
bu1
.
tdesc
"
[
disabled
]="!
bu1
.
bu1id
||!
bu1
.
tdesc
"
>
[
class
.
ti-btn-disabled
]="!
bu1
.
bu1id
||!
bu1
.
tdesc
||
checkPrimary
()"
[
disabled
]="!
bu1
.
bu1id
||!
bu1
.
tdesc
||
checkPrimary
()"
>
บันทึกข้อมูล
บันทึกข้อมูล
</button>
</button>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
src/app/components/company-components/company-registration/branch-business-unit/department-register/department-register.component.ts
View file @
f1e48566
...
@@ -170,4 +170,8 @@ export class DepartmentRegisterComponent implements OnInit {
...
@@ -170,4 +170,8 @@ export class DepartmentRegisterComponent implements OnInit {
this
.
isDataListChecked
=
Boolean
(
this
.
numDataListChecked
)
this
.
isDataListChecked
=
Boolean
(
this
.
numDataListChecked
)
}
}
checkPrimary
()
{
return
this
.
bu1List
.
find
(
x
=>
x
.
data
.
bu1id
==
this
.
bu1
.
bu1id
)
}
}
}
This diff is collapsed.
Click to expand it.
src/app/components/company-components/company-registration/branch-business-unit/section-registration/section-registration.component.html
View file @
f1e48566
...
@@ -197,9 +197,16 @@
...
@@ -197,9 +197,16 @@
readonly
[
value
]="
bu2
.
tdesc
"
>
readonly
[
value
]="
bu2
.
tdesc
"
>
</div>
</div>
</div>
</div>
<label
class=
"ti-form-label mt-2rem"
>
ส่วน
<span
class=
"text-danger"
>
*
</span></label>
<label
class=
"ti-form-label mt-2rem"
>
ส่วน
<span
class=
"text-danger"
>
*
<ng-container
*
ngIf=
"currentModal=='add'&&checkPrimary()"
>
ส่วนซ้ำ
</ng-container>
</span>
</label>
<div
class=
"relative flex rounded-md w-1/2"
>
<div
class=
"relative flex rounded-md w-1/2"
>
<input
type=
"text"
class=
"ti-form-input h-16"
[(
ngModel
)]="
bu3
.
bu3id
"
>
<input
type=
"text"
class=
"ti-form-input h-16"
[
class
.!
border-red
]="
currentModal=
='add'&&checkPrimary()"
[(
ngModel
)]="
bu3
.
bu3id
"
>
<!-- <input type="text" id="hs-leading-button-add-on-with-icon-and-button"
<!-- <input type="text" id="hs-leading-button-add-on-with-icon-and-button"
name="hs-leading-button-add-on-with-icon-and-button"
name="hs-leading-button-add-on-with-icon-and-button"
class="ti-form-input rounded-sm ltr:rounded-r-sm rtl:rounded-l-sm focus:z-10"
class="ti-form-input rounded-sm ltr:rounded-r-sm rtl:rounded-l-sm focus:z-10"
...
@@ -228,8 +235,8 @@
...
@@ -228,8 +235,8 @@
</button>
</button>
<button
type=
"button"
class=
"ti-btn ti-btn-success"
<button
type=
"button"
class=
"ti-btn ti-btn-success"
data-hs-overlay=
"#section-registration-alert-modal"
data-hs-overlay=
"#section-registration-alert-modal"
[
class
.
ti-btn-disabled
]="!
bu2
.
bu2id
||!
bu3
.
bu3id
||!
bu3
.
tdesc
"
[
class
.
ti-btn-disabled
]="!
bu2
.
bu2id
||!
bu3
.
bu3id
||!
bu3
.
tdesc
||(
currentModal=
='add'&&checkPrimary())
"
[
disabled
]="!
bu2
.
bu2id
||!
bu3
.
bu3id
||!
bu3
.
tdesc
"
>
[
disabled
]="!
bu2
.
bu2id
||!
bu3
.
bu3id
||!
bu3
.
tdesc
||(
currentModal=
='add'&&checkPrimary())
"
>
บันทึกข้อมูล
บันทึกข้อมูล
</button>
</button>
</div>
</div>
...
@@ -549,7 +556,8 @@
...
@@ -549,7 +556,8 @@
ย้อนกลับ
ย้อนกลับ
</button>
</button>
<a
class=
"ti-btn ti-btn-danger"
href=
"javascript:void(0);"
<a
class=
"ti-btn ti-btn-danger"
href=
"javascript:void(0);"
data-hs-overlay=
"#section-registration-alert-delete-modal"
(
click
)="
deleteBu3
()"
*
ngIf=
"numDataListChecked"
>
data-hs-overlay=
"#section-registration-alert-delete-modal"
(
click
)="
deleteBu3
()"
*
ngIf=
"numDataListChecked"
>
ลบข้อมูล
ลบข้อมูล
</a>
</a>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
src/app/components/company-components/company-registration/branch-business-unit/section-registration/section-registration.component.ts
View file @
f1e48566
...
@@ -242,5 +242,9 @@ export class SectionRegistrationComponent implements OnInit {
...
@@ -242,5 +242,9 @@ export class SectionRegistrationComponent implements OnInit {
this
.
numDataListChecked
=
this
.
bu3List
.
filter
(
x
=>
x
.
check
).
length
this
.
numDataListChecked
=
this
.
bu3List
.
filter
(
x
=>
x
.
check
).
length
this
.
isDataListChecked
=
Boolean
(
this
.
numDataListChecked
)
this
.
isDataListChecked
=
Boolean
(
this
.
numDataListChecked
)
}
}
checkPrimary
()
{
return
this
.
bu3List
.
find
(
x
=>
x
.
data
.
bu3id
==
this
.
bu3
.
bu3id
)
}
}
}
This diff is collapsed.
Click to expand it.
src/app/components/company-components/company-registration/branch-business-unit/sub-department-four/sub-department-four.component.html
View file @
f1e48566
...
@@ -196,9 +196,16 @@
...
@@ -196,9 +196,16 @@
readonly
[
value
]="
bu6
.
tdesc
"
>
readonly
[
value
]="
bu6
.
tdesc
"
>
</div>
</div>
</div>
</div>
<label
class=
"ti-form-label mt-2rem"
>
ส่วนย่อย4
<span
class=
"text-danger"
>
*
</span></label>
<label
class=
"ti-form-label mt-2rem"
>
ส่วนย่อย4
<span
class=
"text-danger"
>
*
<ng-container
*
ngIf=
"currentModal=='add'&&checkPrimary()"
>
ส่วนย่อย4ซ้ำ
</ng-container>
</span>
</label>
<div
class=
"relative flex rounded-md w-1/2"
>
<div
class=
"relative flex rounded-md w-1/2"
>
<input
type=
"text"
class=
"ti-form-input h-16"
[(
ngModel
)]="
bu7
.
bu7id
"
>
<input
type=
"text"
class=
"ti-form-input h-16"
[
class
.!
border-red
]="
currentModal=
='add'&&checkPrimary()"
[(
ngModel
)]="
bu7
.
bu7id
"
>
<!-- <input type="text" id="hs-leading-button-add-on-with-icon-and-button"
<!-- <input type="text" id="hs-leading-button-add-on-with-icon-and-button"
name="hs-leading-button-add-on-with-icon-and-button"
name="hs-leading-button-add-on-with-icon-and-button"
class="ti-form-input rounded-sm ltr:rounded-r-sm rtl:rounded-l-sm focus:z-10"
class="ti-form-input rounded-sm ltr:rounded-r-sm rtl:rounded-l-sm focus:z-10"
...
@@ -227,8 +234,8 @@
...
@@ -227,8 +234,8 @@
</button>
</button>
<button
type=
"button"
class=
"ti-btn ti-btn-success"
<button
type=
"button"
class=
"ti-btn ti-btn-success"
data-hs-overlay=
"#sub-department-four-alert-add-modal"
data-hs-overlay=
"#sub-department-four-alert-add-modal"
[
class
.
ti-btn-disabled
]="!
bu6
.
bu6id
||!
bu7
.
bu7id
||!
bu7
.
tdesc
"
[
class
.
ti-btn-disabled
]="!
bu6
.
bu6id
||!
bu7
.
bu7id
||!
bu7
.
tdesc
||(
currentModal=
='add'&&checkPrimary())
"
[
disabled
]="
!
bu6
.
bu6id
||!
bu7
.
bu7id
||!
bu7
.
tdesc
"
>
[
disabled
]="
!
bu6
.
bu6id
||!
bu7
.
bu7id
||!
bu7
.
tdesc
||(
currentModal=
='add'
&&
checkPrimary
())
"
>
บันทึกข้อมูล
บันทึกข้อมูล
</button>
</button>
</div>
</div>
...
@@ -548,7 +555,8 @@
...
@@ -548,7 +555,8 @@
ย้อนกลับ
ย้อนกลับ
</button>
</button>
<a
class=
"ti-btn ti-btn-danger"
href=
"javascript:void(0);"
<a
class=
"ti-btn ti-btn-danger"
href=
"javascript:void(0);"
data-hs-overlay=
"#sub-department-four-alert-delete-modal"
(
click
)="
deleteBu7
();"
*
ngIf=
"numDataListChecked"
>
data-hs-overlay=
"#sub-department-four-alert-delete-modal"
(
click
)="
deleteBu7
();"
*
ngIf=
"numDataListChecked"
>
ลบข้อมูล
ลบข้อมูล
</a>
</a>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
src/app/components/company-components/company-registration/branch-business-unit/sub-department-four/sub-department-four.component.ts
View file @
f1e48566
...
@@ -238,6 +238,10 @@ export class SubDepartmentFourComponent implements OnInit {
...
@@ -238,6 +238,10 @@ export class SubDepartmentFourComponent implements OnInit {
this
.
numDataListChecked
=
this
.
bu7List
.
filter
(
x
=>
x
.
check
).
length
this
.
numDataListChecked
=
this
.
bu7List
.
filter
(
x
=>
x
.
check
).
length
this
.
isDataListChecked
=
Boolean
(
this
.
numDataListChecked
)
this
.
isDataListChecked
=
Boolean
(
this
.
numDataListChecked
)
}
}
checkPrimary
()
{
return
this
.
bu7List
.
find
(
x
=>
x
.
data
.
bu7id
==
this
.
bu7
.
bu7id
)
}
}
}
This diff is collapsed.
Click to expand it.
src/app/components/company-components/company-registration/branch-business-unit/sub-department-one/sub-department-one.component.html
View file @
f1e48566
...
@@ -198,9 +198,16 @@
...
@@ -198,9 +198,16 @@
readonly
[
value
]="
bu3
.
tdesc
"
>
readonly
[
value
]="
bu3
.
tdesc
"
>
</div>
</div>
</div>
</div>
<label
class=
"ti-form-label mt-2rem"
>
ส่วนย่อย1
<span
class=
"text-danger"
>
*
</span></label>
<label
class=
"ti-form-label mt-2rem"
>
ส่วนย่อย1
<span
class=
"text-danger"
>
*
<ng-container
*
ngIf=
"currentModal=='add'&&checkPrimary()"
>
ส่วนย่อย1ซ้ำ
</ng-container>
</span>
</label>
<div
class=
"relative flex rounded-md w-1/2"
>
<div
class=
"relative flex rounded-md w-1/2"
>
<input
type=
"text"
class=
"ti-form-input h-16"
[(
ngModel
)]="
bu4
.
bu4id
"
>
<input
type=
"text"
class=
"ti-form-input h-16"
[
class
.!
border-red
]="
currentModal=
='add'&&checkPrimary()"
[(
ngModel
)]="
bu4
.
bu4id
"
>
<!-- <input type="text" id="hs-leading-button-add-on-with-icon-and-button"
<!-- <input type="text" id="hs-leading-button-add-on-with-icon-and-button"
name="hs-leading-button-add-on-with-icon-and-button"
name="hs-leading-button-add-on-with-icon-and-button"
class="ti-form-input rounded-sm ltr:rounded-r-sm rtl:rounded-l-sm focus:z-10"
class="ti-form-input rounded-sm ltr:rounded-r-sm rtl:rounded-l-sm focus:z-10"
...
@@ -229,8 +236,8 @@
...
@@ -229,8 +236,8 @@
</button>
</button>
<button
class=
"ti-btn ti-btn-success"
type=
"button"
<button
class=
"ti-btn ti-btn-success"
type=
"button"
data-hs-overlay=
"#sub-department-one-alert-modal"
data-hs-overlay=
"#sub-department-one-alert-modal"
[
class
.
ti-btn-disabled
]="!
bu3
.
bu3id
||!
bu4
.
bu4id
||!
bu4
.
tdesc
"
[
class
.
ti-btn-disabled
]="!
bu3
.
bu3id
||!
bu4
.
bu4id
||!
bu4
.
tdesc
||(
currentModal=
='add'&&checkPrimary())
"
[
disabled
]="!
bu3
.
bu3id
||!
bu4
.
bu4id
||!
bu4
.
tdesc
"
>
[
disabled
]="!
bu3
.
bu3id
||!
bu4
.
bu4id
||!
bu4
.
tdesc
||(
currentModal=
='add'&&checkPrimary())
"
>
บันทึกข้อมูล
บันทึกข้อมูล
</button>
</button>
</div>
</div>
...
@@ -556,7 +563,8 @@
...
@@ -556,7 +563,8 @@
ย้อนกลับ
ย้อนกลับ
</button>
</button>
<a
class=
"ti-btn ti-btn-danger"
href=
"javascript:void(0);"
<a
class=
"ti-btn ti-btn-danger"
href=
"javascript:void(0);"
data-hs-overlay=
"#sub-department-one-alert-delete-modal"
(
click
)="
deleteBu4
();"
*
ngIf=
"numDataListChecked"
>
data-hs-overlay=
"#sub-department-one-alert-delete-modal"
(
click
)="
deleteBu4
();"
*
ngIf=
"numDataListChecked"
>
ลบข้อมูล
ลบข้อมูล
</a>
</a>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
src/app/components/company-components/company-registration/branch-business-unit/sub-department-one/sub-department-one.component.ts
View file @
f1e48566
...
@@ -236,6 +236,11 @@ export class SubDepartmentOneComponent implements OnInit {
...
@@ -236,6 +236,11 @@ export class SubDepartmentOneComponent implements OnInit {
this
.
numDataListChecked
=
this
.
bu4List
.
filter
(
x
=>
x
.
check
).
length
this
.
numDataListChecked
=
this
.
bu4List
.
filter
(
x
=>
x
.
check
).
length
this
.
isDataListChecked
=
Boolean
(
this
.
numDataListChecked
)
this
.
isDataListChecked
=
Boolean
(
this
.
numDataListChecked
)
}
}
checkPrimary
()
{
return
this
.
bu4List
.
find
(
x
=>
x
.
data
.
bu4id
==
this
.
bu4
.
bu4id
)
}
}
}
This diff is collapsed.
Click to expand it.
src/app/components/company-components/company-registration/branch-business-unit/sub-department-three/sub-department-three.component.html
View file @
f1e48566
...
@@ -123,9 +123,9 @@
...
@@ -123,9 +123,9 @@
</tbody>
</tbody>
</table>
</table>
</div>
</div>
<app-pagination
[
totalItems
]="
filterBu
5Modal
().
length
"
[
pageSize
]="
bu5Modal
.
pageSize
"
<app-pagination
[
totalItems
]="
filterBu
6Table
().
length
"
[
pageSize
]="
bu6Table
.
pageSize
"
(
pageChange
)="
bu
5Modal
.
currentPage =
$event"
(
pageChange
)="
bu
6Table
.
currentPage =
$event"
(
pageSizeChange
)="
bu
5Modal
.
pageSize =
$event;bu5Modal
.currentPage
=
1
"
></app-pagination>
(
pageSizeChange
)="
bu
6Table
.
pageSize =
$event;bu6Table
.currentPage
=
1
"
></app-pagination>
</div>
</div>
...
@@ -196,9 +196,16 @@
...
@@ -196,9 +196,16 @@
readonly
[
value
]="
bu5
.
tdesc
"
>
readonly
[
value
]="
bu5
.
tdesc
"
>
</div>
</div>
</div>
</div>
<label
class=
"ti-form-label mt-2rem"
>
ส่วนย่อย3
<span
class=
"text-danger"
>
*
</span></label>
<label
class=
"ti-form-label mt-2rem"
>
ส่วนย่อย3
<span
class=
"text-danger"
>
*
<ng-container
*
ngIf=
"currentModal=='add'&&checkPrimary()"
>
ส่วนย่อย3ซ้ำ
</ng-container>
</span>
</label>
<div
class=
"relative flex rounded-md w-1/2"
>
<div
class=
"relative flex rounded-md w-1/2"
>
<input
type=
"text"
class=
"ti-form-input h-16"
[(
ngModel
)]="
bu6
.
bu6id
"
>
<input
type=
"text"
class=
"ti-form-input h-16"
[
class
.!
border-red
]="
currentModal=
='add'&&checkPrimary()"
[(
ngModel
)]="
bu6
.
bu6id
"
>
<!-- <input type="text" id="hs-leading-button-add-on-with-icon-and-button"
<!-- <input type="text" id="hs-leading-button-add-on-with-icon-and-button"
name="hs-leading-button-add-on-with-icon-and-button"
name="hs-leading-button-add-on-with-icon-and-button"
class="ti-form-input rounded-sm ltr:rounded-r-sm rtl:rounded-l-sm focus:z-10"
class="ti-form-input rounded-sm ltr:rounded-r-sm rtl:rounded-l-sm focus:z-10"
...
@@ -227,8 +234,8 @@
...
@@ -227,8 +234,8 @@
</button>
</button>
<button
type=
"button"
class=
"ti-btn ti-btn-success"
<button
type=
"button"
class=
"ti-btn ti-btn-success"
data-hs-overlay=
"#sub-department-three-alert-add-modal"
data-hs-overlay=
"#sub-department-three-alert-add-modal"
[
class
.
ti-btn-disabled
]="!
bu5
.
bu5id
||!
bu6
.
bu6id
||!
bu6
.
tdesc
"
[
class
.
ti-btn-disabled
]="!
bu5
.
bu5id
||!
bu6
.
bu6id
||!
bu6
.
tdesc
||(
currentModal=
='add'&&checkPrimary())
"
[
disabled
]="!
bu5
.
bu5id
||!
bu6
.
bu6id
||!
bu6
.
tdesc
"
>
[
disabled
]="!
bu5
.
bu5id
||!
bu6
.
bu6id
||!
bu6
.
tdesc
||(
currentModal=
='add'&&checkPrimary())
"
>
บันทึกข้อมูล
บันทึกข้อมูล
</button>
</button>
</div>
</div>
...
@@ -305,8 +312,8 @@
...
@@ -305,8 +312,8 @@
readonly
[
value
]="
bu5
.
tdesc
"
>
readonly
[
value
]="
bu5
.
tdesc
"
>
</div>
</div>
</div>
</div>
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
ส่วนย่อย3
<span
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
ส่วนย่อย3
class=
"text-danger"
>
*
</span>
</label>
</label>
<div
class=
"sm:grid grid-cols-2 gap-1"
>
<div
class=
"sm:grid grid-cols-2 gap-1"
>
<div
class=
"relative w-full"
>
<div
class=
"relative w-full"
>
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input w-full pr-10 bg-input-readonly"
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input w-full pr-10 bg-input-readonly"
...
@@ -573,7 +580,8 @@
...
@@ -573,7 +580,8 @@
ย้อนกลับ
ย้อนกลับ
</button>
</button>
<a
class=
"ti-btn ti-btn-danger"
href=
"javascript:void(0);"
<a
class=
"ti-btn ti-btn-danger"
href=
"javascript:void(0);"
data-hs-overlay=
"#sub-department-three-alert-delete-modal"
(
click
)="
deleteBu6
()"
*
ngIf=
"numDataListChecked"
>
data-hs-overlay=
"#sub-department-three-alert-delete-modal"
(
click
)="
deleteBu6
()"
*
ngIf=
"numDataListChecked"
>
ลบข้อมูล
ลบข้อมูล
</a>
</a>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
src/app/components/company-components/company-registration/branch-business-unit/sub-department-three/sub-department-three.component.ts
View file @
f1e48566
...
@@ -238,6 +238,10 @@ export class SubDepartmentThreeComponent implements OnInit {
...
@@ -238,6 +238,10 @@ export class SubDepartmentThreeComponent implements OnInit {
this
.
numDataListChecked
=
this
.
bu6List
.
filter
(
x
=>
x
.
check
).
length
this
.
numDataListChecked
=
this
.
bu6List
.
filter
(
x
=>
x
.
check
).
length
this
.
isDataListChecked
=
Boolean
(
this
.
numDataListChecked
)
this
.
isDataListChecked
=
Boolean
(
this
.
numDataListChecked
)
}
}
checkPrimary
()
{
return
this
.
bu6List
.
find
(
x
=>
x
.
data
.
bu6id
==
this
.
bu6
.
bu6id
)
}
}
}
This diff is collapsed.
Click to expand it.
src/app/components/company-components/company-registration/branch-business-unit/sub-department-two/sub-department-two.component.html
View file @
f1e48566
...
@@ -196,9 +196,16 @@
...
@@ -196,9 +196,16 @@
readonly
[
value
]="
bu4
.
tdesc
"
>
readonly
[
value
]="
bu4
.
tdesc
"
>
</div>
</div>
</div>
</div>
<label
class=
"ti-form-label mt-2rem"
>
ส่วนย่อย2
<span
class=
"text-danger"
>
*
</span></label>
<label
class=
"ti-form-label mt-2rem"
>
ส่วนย่อย2
<span
class=
"text-danger"
>
*
<ng-container
*
ngIf=
"currentModal=='add'&&checkPrimary()"
>
ส่วนย่อย2ซ้ำ
</ng-container>
</span>
</label>
<div
class=
"relative flex rounded-md w-1/2"
>
<div
class=
"relative flex rounded-md w-1/2"
>
<input
type=
"text"
class=
"ti-form-input h-16"
[(
ngModel
)]="
bu5
.
bu5id
"
>
<input
type=
"text"
class=
"ti-form-input h-16"
[
class
.!
border-red
]="
currentModal=
='add'&&checkPrimary()"
[(
ngModel
)]="
bu5
.
bu5id
"
>
<!-- <input type="text" id="hs-leading-button-add-on-with-icon-and-button"
<!-- <input type="text" id="hs-leading-button-add-on-with-icon-and-button"
name="hs-leading-button-add-on-with-icon-and-button"
name="hs-leading-button-add-on-with-icon-and-button"
class="ti-form-input rounded-sm ltr:rounded-r-sm rtl:rounded-l-sm focus:z-10"
class="ti-form-input rounded-sm ltr:rounded-r-sm rtl:rounded-l-sm focus:z-10"
...
@@ -227,8 +234,8 @@
...
@@ -227,8 +234,8 @@
</button>
</button>
<button
class=
"ti-btn ti-btn-success"
type=
"button"
<button
class=
"ti-btn ti-btn-success"
type=
"button"
data-hs-overlay=
"#sub-department-two-alert-add-modal"
data-hs-overlay=
"#sub-department-two-alert-add-modal"
[
class
.
ti-btn-disabled
]="!
bu4
.
bu4id
||!
bu5
.
bu5id
||!
bu5
.
tdesc
"
[
class
.
ti-btn-disabled
]="!
bu4
.
bu4id
||!
bu5
.
bu5id
||!
bu5
.
tdesc
||(
currentModal=
='add'&&checkPrimary())
"
[
disabled
]="!
bu4
.
bu4id
||!
bu5
.
bu5id
||!
bu5
.
tdesc
"
>
[
disabled
]="!
bu4
.
bu4id
||!
bu5
.
bu5id
||!
bu5
.
tdesc
||(
currentModal=
='add'&&checkPrimary())
"
>
บันทึกข้อมูล
บันทึกข้อมูล
</button>
</button>
</div>
</div>
...
@@ -570,7 +577,8 @@
...
@@ -570,7 +577,8 @@
ย้อนกลับ
ย้อนกลับ
</button>
</button>
<a
class=
"ti-btn ti-btn-danger"
href=
"javascript:void(0);"
<a
class=
"ti-btn ti-btn-danger"
href=
"javascript:void(0);"
data-hs-overlay=
"#sub-department-two-alert-delete-modal"
(
click
)="
deleteBu5
()"
*
ngIf=
"numDataListChecked"
>
data-hs-overlay=
"#sub-department-two-alert-delete-modal"
(
click
)="
deleteBu5
()"
*
ngIf=
"numDataListChecked"
>
ลบข้อมูล
ลบข้อมูล
</a>
</a>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
src/app/components/company-components/company-registration/branch-business-unit/sub-department-two/sub-department-two.component.ts
View file @
f1e48566
...
@@ -238,5 +238,9 @@ export class SubDepartmentTwoComponent implements OnInit {
...
@@ -238,5 +238,9 @@ export class SubDepartmentTwoComponent implements OnInit {
this
.
numDataListChecked
=
this
.
bu5List
.
filter
(
x
=>
x
.
check
).
length
this
.
numDataListChecked
=
this
.
bu5List
.
filter
(
x
=>
x
.
check
).
length
this
.
isDataListChecked
=
Boolean
(
this
.
numDataListChecked
)
this
.
isDataListChecked
=
Boolean
(
this
.
numDataListChecked
)
}
}
checkPrimary
()
{
return
this
.
bu5List
.
find
(
x
=>
x
.
data
.
bu5id
==
this
.
bu5
.
bu5id
)
}
}
}
This diff is collapsed.
Click to expand it.
src/app/components/company-components/company-registration/company-registration-page/company-registration-page.component.html
View file @
f1e48566
...
@@ -169,9 +169,14 @@
...
@@ -169,9 +169,14 @@
</div>
</div>
</div>
</div>
<div
class=
"ti-modal-body padding-16px pt-0 overflow-y-0"
>
<div
class=
"ti-modal-body padding-16px pt-0 overflow-y-0"
>
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
รหัสบริษัท
<span
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
รหัสบริษัท
<span
class=
"text-danger"
>
class=
"text-danger"
>
*
</span></label>
*
<ng-container
*
ngIf=
"modalStatus=='add'&&checkPrimary()"
>
รหัสบริษัทซ้ำ
</ng-container>
</span></label>
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input w-1/2"
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input w-1/2"
[
class
.!
border-red
]="
modalStatus=
='add'&&checkPrimary()"
[
ngClass
]="{'
bg-input-readonly
'
:modalStatus=
='edit'}"
[
readonly
]="
modalStatus=
='edit'"
[
ngClass
]="{'
bg-input-readonly
'
:modalStatus=
='edit'}"
[
readonly
]="
modalStatus=
='edit'"
[(
ngModel
)]="
dataSelect
.
code
"
[
maxLength
]="
5
"
>
[(
ngModel
)]="
dataSelect
.
code
"
[
maxLength
]="
5
"
>
<label
for=
"detail_th"
class=
"ti-form-label mt-2rem"
>
รายละเอียด (ไทย)
<span
<label
for=
"detail_th"
class=
"ti-form-label mt-2rem"
>
รายละเอียด (ไทย)
<span
...
@@ -191,8 +196,8 @@
...
@@ -191,8 +196,8 @@
</button>
</button>
<button
type=
"button"
class=
"ti-btn ti-btn-success"
<button
type=
"button"
class=
"ti-btn ti-btn-success"
data-hs-overlay=
"#company-registration-page-alert-modal"
data-hs-overlay=
"#company-registration-page-alert-modal"
[
class
.
ti-btn-disabled
]="!
dataSelect
.
code
||!
dataSelect
.
tdesc
"
[
class
.
ti-btn-disabled
]="!
dataSelect
.
code
||!
dataSelect
.
tdesc
||(
modalStatus=
='add'&&checkPrimary())
"
[
disabled
]="!
dataSelect
.
code
||!
dataSelect
.
tdesc
"
>
[
disabled
]="!
dataSelect
.
code
||!
dataSelect
.
tdesc
||(
modalStatus=
='add'&&checkPrimary())
"
>
บันทึกข้อมูล
บันทึกข้อมูล
</button>
</button>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
src/app/components/company-components/company-registration/company-registration-page/company-registration-page.component.ts
View file @
f1e48566
...
@@ -200,4 +200,8 @@ export class CompanyRegistrationPageComponent {
...
@@ -200,4 +200,8 @@ export class CompanyRegistrationPageComponent {
this
.
setData
({
code
:
this
.
dataSelect
.
code
,
tdesc
:
""
,
edesc
:
""
,
address
:
""
,
contact
:
""
})
this
.
setData
({
code
:
this
.
dataSelect
.
code
,
tdesc
:
""
,
edesc
:
""
,
address
:
""
,
contact
:
""
})
}
}
}
}
checkPrimary
()
{
return
this
.
dataList
.
find
(
x
=>
x
.
data
.
code
==
this
.
dataSelect
.
code
)
}
}
}
This diff is collapsed.
Click to expand it.
src/app/components/company-components/job-description/employee-categories/employee-categories.component.html
View file @
f1e48566
...
@@ -171,9 +171,15 @@
...
@@ -171,9 +171,15 @@
</div>
</div>
</div>
</div>
<div
class=
"ti-modal-body"
style=
"margin-top: 40px;"
>
<div
class=
"ti-modal-body"
style=
"margin-top: 40px;"
>
<label
for=
"input-label"
class=
"ti-form-label"
>
รหัสประเภทพนักงาน
<span
<label
for=
"input-label"
class=
"ti-form-label"
>
รหัสประเภทพนักงาน
class=
"text-danger"
>
*
</span></label>
<span
class=
"text-danger"
>
*
<ng-container
*
ngIf=
"modalStatus=='add'&&checkPrimary()"
>
รหัสประเภทพนักงานซ้ำ
</ng-container>
</span></label>
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input w-1/2"
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input w-1/2"
[
class
.!
border-red
]="
modalStatus=
='add'&&checkPrimary()"
[
ngClass
]="{'
bg-input-readonly
'
:modalStatus=
='edit'}"
[
readonly
]="
modalStatus=
='edit'"
[
ngClass
]="{'
bg-input-readonly
'
:modalStatus=
='edit'}"
[
readonly
]="
modalStatus=
='edit'"
[(
ngModel
)]="
dataSelect
.
codeId
"
>
[(
ngModel
)]="
dataSelect
.
codeId
"
>
<label
for=
"detail_th"
class=
"ti-form-label mt-2rem"
>
รายละเอียดประเภทพนักงาน (ไทย)
<span
<label
for=
"detail_th"
class=
"ti-form-label mt-2rem"
>
รายละเอียดประเภทพนักงาน (ไทย)
<span
...
@@ -189,8 +195,8 @@
...
@@ -189,8 +195,8 @@
</button>
</button>
<button
type=
"button"
class=
"ti-btn ti-btn-success"
<button
type=
"button"
class=
"ti-btn ti-btn-success"
data-hs-overlay=
"#employee-categories-page-alert-modal"
data-hs-overlay=
"#employee-categories-page-alert-modal"
[
class
.
ti-btn-disabled
]="!
dataSelect
.
codeId
||!
dataSelect
.
tdesc
"
[
class
.
ti-btn-disabled
]="!
dataSelect
.
codeId
||!
dataSelect
.
tdesc
||(
modalStatus=
='add'&&checkPrimary())
"
[
disabled
]="!
dataSelect
.
codeId
||!
dataSelect
.
tdesc
"
>
[
disabled
]="!
dataSelect
.
codeId
||!
dataSelect
.
tdesc
||(
modalStatus=
='add'&&checkPrimary())
"
>
บันทึกข้อมูล
บันทึกข้อมูล
</button>
</button>
</div>
</div>
...
@@ -257,7 +263,8 @@
...
@@ -257,7 +263,8 @@
ย้อนกลับ
ย้อนกลับ
</button>
</button>
<a
class=
"ti-btn ti-btn-danger"
href=
"javascript:void(0);"
<a
class=
"ti-btn ti-btn-danger"
href=
"javascript:void(0);"
data-hs-overlay=
"#employee-categories-page-alert-modal"
(
click
)="
deleteEmp_type
()"
*
ngIf=
"numDataListChecked"
>
data-hs-overlay=
"#employee-categories-page-alert-modal"
(
click
)="
deleteEmp_type
()"
*
ngIf=
"numDataListChecked"
>
ลบข้อมูล
ลบข้อมูล
</a>
</a>
</ng-container>
</ng-container>
...
...
This diff is collapsed.
Click to expand it.
src/app/components/company-components/job-description/employee-categories/employee-categories.component.ts
View file @
f1e48566
...
@@ -207,4 +207,8 @@ export class EmployeeCategories {
...
@@ -207,4 +207,8 @@ export class EmployeeCategories {
this
.
dataSelect
.
edesc
=
''
this
.
dataSelect
.
edesc
=
''
}
}
}
}
checkPrimary
()
{
return
this
.
emp_typelist
.
find
(
x
=>
x
.
data
.
codeId
==
this
.
dataSelect
.
codeId
)
}
}
}
This diff is collapsed.
Click to expand it.
src/app/components/company-components/job-description/employee-group-unit/employee-group-unit.component.html
View file @
f1e48566
...
@@ -168,9 +168,16 @@
...
@@ -168,9 +168,16 @@
</div>
</div>
</div>
</div>
<div
class=
"ti-modal-body "
>
<div
class=
"ti-modal-body "
>
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
รหัสกลุ่มพนักงาน
<span
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
รหัสกลุ่มพนักงาน
class=
"text-danger"
>
*
</span></label>
<span
class=
"text-danger"
>
*
<ng-container
*
ngIf=
"modalStatus=='add'&&checkPrimary()"
>
รหัสกลุ่มพนักงานซ้ำ
</ng-container>
</span>
</label>
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input w-1/2"
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input w-1/2"
[
class
.!
border-red
]="
modalStatus=
='add'&&checkPrimary()"
[
ngClass
]="{'
bg-input-readonly
'
:modalStatus=
='edit'}"
[
readonly
]="
modalStatus=
='edit'"
[
ngClass
]="{'
bg-input-readonly
'
:modalStatus=
='edit'}"
[
readonly
]="
modalStatus=
='edit'"
[(
ngModel
)]="
dataSelect
.
groupId
"
>
[(
ngModel
)]="
dataSelect
.
groupId
"
>
<label
for=
"detail_th"
class=
"ti-form-label mt-2rem"
>
รายละเอียดกลุ่มพนักงาน (ไทย)
<span
<label
for=
"detail_th"
class=
"ti-form-label mt-2rem"
>
รายละเอียดกลุ่มพนักงาน (ไทย)
<span
...
@@ -186,8 +193,8 @@
...
@@ -186,8 +193,8 @@
</button>
</button>
<button
type=
"button"
class=
"ti-btn ti-btn-success"
<button
type=
"button"
class=
"ti-btn ti-btn-success"
data-hs-overlay=
"#employee-group-unit-component-page-alert-modal"
data-hs-overlay=
"#employee-group-unit-component-page-alert-modal"
[
class
.
ti-btn-disabled
]="!
dataSelect
.
groupId
||!
dataSelect
.
tdesc
"
[
class
.
ti-btn-disabled
]="!
dataSelect
.
groupId
||!
dataSelect
.
tdesc
||(
modalStatus=
='add'&&checkPrimary())
"
[
disabled
]="!
dataSelect
.
groupId
||!
dataSelect
.
tdesc
"
>
[
disabled
]="!
dataSelect
.
groupId
||!
dataSelect
.
tdesc
||(
modalStatus=
='add'&&checkPrimary())
"
>
บันทึกข้อมูล
บันทึกข้อมูล
</button>
</button>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
src/app/components/company-components/job-description/employee-group-unit/employee-group-unit.component.ts
View file @
f1e48566
...
@@ -205,4 +205,8 @@ export class EmployeeGroupUnit implements OnInit {
...
@@ -205,4 +205,8 @@ export class EmployeeGroupUnit implements OnInit {
this
.
dataSelect
.
edesc
=
''
this
.
dataSelect
.
edesc
=
''
}
}
}
}
checkPrimary
()
{
return
this
.
emp_groupList
.
find
(
x
=>
x
.
data
.
groupId
==
this
.
dataSelect
.
groupId
)
}
}
}
This diff is collapsed.
Click to expand it.
src/app/components/company-components/job-description/employee-level/employee-level.component.html
View file @
f1e48566
...
@@ -167,10 +167,17 @@
...
@@ -167,10 +167,17 @@
</div>
</div>
</div>
</div>
<div
class=
"ti-modal-body"
style=
"margin-top: 40px;"
>
<div
class=
"ti-modal-body"
style=
"margin-top: 40px;"
>
<label
for=
"input-label"
class=
"ti-form-label"
>
รหัสระดับพนักงาน(JL)
<span
class=
"text-danger"
>
*
</span></label>
<label
for=
"input-label"
class=
"ti-form-label"
>
รหัสระดับพนักงาน(JL)
<span
class=
"text-danger"
>
*
<ng-container
*
ngIf=
"modalStatus=='add'&&checkPrimary()"
>
รหัสระดับพนักงาน(JL)ซ้ำ
</ng-container>
</span>
</label>
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input w-1/2"
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input w-1/2"
[
ngClass
]="{'
bg-input-readonly
'
:modalStatus=
='edit'}"
[
readonly
]="
modalStatus=
='edit'
"
[
class
.!
border-red
]="
modalStatus=
='add'&&checkPrimary()"
[
ngClass
]="{'
bg-input-readonly
'
:modalStatus=
='edit'}
"
[(
ngModel
)]="
dataSelect
.
plId
"
>
[
readonly
]="
modalStatus=
='edit'"
[
(
ngModel
)]="
dataSelect
.
plId
"
>
<label
for=
"detail_th"
class=
"ti-form-label mt-2rem"
>
รายละเอียดระดับพนักงาน(JL) (ไทย)
<span
<label
for=
"detail_th"
class=
"ti-form-label mt-2rem"
>
รายละเอียดระดับพนักงาน(JL) (ไทย)
<span
class=
"text-danger"
>
*
</span></label>
class=
"text-danger"
>
*
</span></label>
<input
type=
"text"
id=
"detail_th"
class=
"ti-form-input h-16"
[(
ngModel
)]="
dataSelect
.
tdesc
"
>
<input
type=
"text"
id=
"detail_th"
class=
"ti-form-input h-16"
[(
ngModel
)]="
dataSelect
.
tdesc
"
>
...
@@ -183,8 +190,8 @@
...
@@ -183,8 +190,8 @@
ย้อนกลับ
ย้อนกลับ
</button>
</button>
<button
type=
"button"
class=
"ti-btn ti-btn-success"
data-hs-overlay=
"#employee-level-page-alert-modal"
<button
type=
"button"
class=
"ti-btn ti-btn-success"
data-hs-overlay=
"#employee-level-page-alert-modal"
[
class
.
ti-btn-disabled
]="!
dataSelect
.
plId
||!
dataSelect
.
tdesc
"
[
class
.
ti-btn-disabled
]="!
dataSelect
.
plId
||!
dataSelect
.
tdesc
||(
modalStatus=
='add'&&checkPrimary())
"
[
disabled
]="!
dataSelect
.
plId
||!
dataSelect
.
tdesc
"
>
[
disabled
]="!
dataSelect
.
plId
||!
dataSelect
.
tdesc
||(
modalStatus=
='add'&&checkPrimary())
"
>
บันทึกข้อมูล
บันทึกข้อมูล
</button>
</button>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
src/app/components/company-components/job-description/employee-level/employee-level.component.ts
View file @
f1e48566
...
@@ -212,4 +212,9 @@ export class EmployeeLevel implements OnInit {
...
@@ -212,4 +212,9 @@ export class EmployeeLevel implements OnInit {
this
.
dataSelect
.
edesc
=
''
this
.
dataSelect
.
edesc
=
''
}
}
}
}
checkPrimary
()
{
return
this
.
plList
.
find
(
x
=>
x
.
data
.
plId
==
this
.
dataSelect
.
plId
)
}
}
}
This diff is collapsed.
Click to expand it.
src/app/components/company-components/job-description/position/position-unit.component.html
View file @
f1e48566
...
@@ -169,8 +169,13 @@
...
@@ -169,8 +169,13 @@
</div>
</div>
</div>
</div>
<div
class=
"ti-modal-body "
>
<div
class=
"ti-modal-body "
>
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
รหัสตำแหน่ง
<span
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
class=
"text-danger"
>
*
</span></label>
<span
class=
"text-danger"
>
*
<ng-container
*
ngIf=
"modalStatus=='add'&&checkPrimary()"
>
รหัสตำแหน่งซ้ำ
</ng-container>
</span></label>
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input w-1/2 "
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input w-1/2 "
[
ngClass
]="{'
bg-input-readonly
'
:modalStatus=
='edit'}"
[
readonly
]="
modalStatus=
='edit'"
[
ngClass
]="{'
bg-input-readonly
'
:modalStatus=
='edit'}"
[
readonly
]="
modalStatus=
='edit'"
[(
ngModel
)]="
dataSelect
.
positionId
"
>
[(
ngModel
)]="
dataSelect
.
positionId
"
>
...
@@ -187,8 +192,8 @@
...
@@ -187,8 +192,8 @@
</button>
</button>
<button
type=
"button"
class=
"ti-btn ti-btn-success"
<button
type=
"button"
class=
"ti-btn ti-btn-success"
data-hs-overlay=
"#position-unit-component-page-alert-modal"
data-hs-overlay=
"#position-unit-component-page-alert-modal"
[
class
.
ti-btn-disabled
]="!
dataSelect
.
positionId
||!
dataSelect
.
tdesc
"
[
class
.
ti-btn-disabled
]="!
dataSelect
.
positionId
||!
dataSelect
.
tdesc
||(
modalStatus=
='add'&&checkPrimary())
"
[
disabled
]="!
dataSelect
.
positionId
||!
dataSelect
.
tdesc
"
>
[
disabled
]="!
dataSelect
.
positionId
||!
dataSelect
.
tdesc
||(
modalStatus=
='add'&&checkPrimary())
"
>
บันทึกข้อมูล
บันทึกข้อมูล
</button>
</button>
</div>
</div>
...
@@ -255,7 +260,8 @@
...
@@ -255,7 +260,8 @@
ย้อนกลับ
ย้อนกลับ
</button>
</button>
<a
class=
"ti-btn ti-btn-danger"
href=
"javascript:void(0);"
<a
class=
"ti-btn ti-btn-danger"
href=
"javascript:void(0);"
data-hs-overlay=
"#position-unit-component-page-alert-modal"
(
click
)="
deletePosition
()"
*
ngIf=
"numDataListChecked"
>
data-hs-overlay=
"#position-unit-component-page-alert-modal"
(
click
)="
deletePosition
()"
*
ngIf=
"numDataListChecked"
>
ลบข้อมูล
ลบข้อมูล
</a>
</a>
</ng-container>
</ng-container>
...
...
This diff is collapsed.
Click to expand it.
src/app/components/company-components/job-description/position/position-unit.component.ts
View file @
f1e48566
...
@@ -205,5 +205,9 @@ export class PositionUnitComponent implements OnInit {
...
@@ -205,5 +205,9 @@ export class PositionUnitComponent implements OnInit {
this
.
dataSelect
.
edesc
=
''
this
.
dataSelect
.
edesc
=
''
}
}
}
}
checkPrimary
()
{
return
this
.
positionList
.
find
(
x
=>
x
.
data
.
positionId
==
this
.
dataSelect
.
positionId
)
}
}
}
This diff is collapsed.
Click to expand it.
src/app/components/competency-assessment/evaluation-cycle-manager/evaluation-cycle/evaluation-cycle.component.html
View file @
f1e48566
...
@@ -135,7 +135,8 @@
...
@@ -135,7 +135,8 @@
</span>
</span>
</td>
</td>
<td
class=
"flex justify-center items-center"
>
<td
class=
"flex justify-center items-center"
>
<i
class=
"ti ti-edit cursor-pointer i-gray fs-l px-1"
(
click
)="
modalStatus=
'edit'
;
modalStatusEdit=
(item.data.statusFrom.code==
'
0
'?
true:false
);
setData
(
item
.
data
)"
<i
class=
"ti ti-edit cursor-pointer i-gray fs-l px-1"
(
click
)="
modalStatus=
'edit'
;
modalStatusEdit=
(item.data.statusFrom.code==
'
0
'?
true:false
);
setData
(
item
.
data
)"
data-hs-overlay=
"#evaluation-cycle-page-modal"
></i>
data-hs-overlay=
"#evaluation-cycle-page-modal"
></i>
<i
class=
"ti ti-user cursor-pointer i-gray fs-l px-1"
*
ngIf=
"item.data.statusFrom.code =='1'"
<i
class=
"ti ti-user cursor-pointer i-gray fs-l px-1"
*
ngIf=
"item.data.statusFrom.code =='1'"
data-hs-overlay=
"#evaluation-cycle-person-modal"
data-hs-overlay=
"#evaluation-cycle-person-modal"
...
@@ -260,23 +261,27 @@
...
@@ -260,23 +261,27 @@
[(
ngModel
)]="
evaluation_cycle
.
evaluationRoundId
"
>
[(
ngModel
)]="
evaluation_cycle
.
evaluationRoundId
"
>
<label
for=
"detail_th"
class=
"ti-form-label mt-2rem"
>
รายละเอียด (ไทย)
<span
class=
"text-danger"
>
*
</span></label>
<label
for=
"detail_th"
class=
"ti-form-label mt-2rem"
>
รายละเอียด (ไทย)
<span
class=
"text-danger"
>
*
</span></label>
<input
type=
"text"
id=
"detail_th"
class=
"ti-form-input h-16"
[
ngClass
]="{'
bg-input-readonly
'
:
!
modalStatusEdit
}"
[
readonly
]="!
modalStatusEdit
"
[(
ngModel
)]="
evaluation_cycle
.
tdesc
"
>
<input
type=
"text"
id=
"detail_th"
class=
"ti-form-input h-16"
[
ngClass
]="{'
bg-input-readonly
'
:
!
modalStatusEdit
}"
[
readonly
]="!
modalStatusEdit
"
[(
ngModel
)]="
evaluation_cycle
.
tdesc
"
>
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
รายละเอียด (อังกฤษ)
</label>
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
รายละเอียด (อังกฤษ)
</label>
<input
type=
"text"
id=
"detail_eng"
class=
"ti-form-input h-16"
[
ngClass
]="{'
bg-input-readonly
'
:
!
modalStatusEdit
}"
[
readonly
]="!
modalStatusEdit
"
[(
ngModel
)]="
evaluation_cycle
.
edesc
"
>
<input
type=
"text"
id=
"detail_eng"
class=
"ti-form-input h-16"
[
ngClass
]="{'
bg-input-readonly
'
:
!
modalStatusEdit
}"
[
readonly
]="!
modalStatusEdit
"
[(
ngModel
)]="
evaluation_cycle
.
edesc
"
>
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
ปีการประเมิน
<span
class=
"text-danger"
>
*
</span></label>
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
ปีการประเมิน
<span
class=
"text-danger"
>
*
</span></label>
<!-- <input type="text" id="input-label" class="ti-form-input w-1/2"
<!-- <input type="text" id="input-label" class="ti-form-input w-1/2"
oninput="this.value = this.value.replace(/\D/g, '')" [(ngModel)]="evaluation_cycle.apsyear"> -->
oninput="this.value = this.value.replace(/\D/g, '')" [(ngModel)]="evaluation_cycle.apsyear"> -->
<select
class=
"ti-form-select"
[(
ngModel
)]="
evaluation_cycle
.
apsyear
"
[
ngClass
]="{'
bg-input-readonly
'
:
!
modalStatusEdit
}"
[
disabled
]="!
modalStatusEdit
"
>
<select
class=
"ti-form-select"
[(
ngModel
)]="
evaluation_cycle
.
apsyear
"
>
<option
*
ngFor=
"let item of yearList"
[
ngValue
]="
item
"
>
{{ item }}
</option>
<option
*
ngFor=
"let item of yearList"
[
ngValue
]="
item
"
>
{{ item }}
</option>
</select>
</select>
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
เริ่มวันที่
<span
class=
"text-danger"
>
*
</span></label>
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
เริ่มวันที่
<span
class=
"text-danger"
>
*
</span></label>
<input
type=
"date"
id=
"input-label"
class=
"ti-form-input w-1/2"
[(
ngModel
)]="
evaluation_cycle
.
apsPeriodStart
"
[
ngClass
]="{'
bg-input-readonly
'
:
!
modalStatusEdit
}"
[
readonly
]="!
modalStatusEdit
"
>
<input
type=
"date"
id=
"input-label"
class=
"ti-form-input w-1/2"
[(
ngModel
)]="
evaluation_cycle
.
apsPeriodStart
"
[
ngClass
]="{'
bg-input-readonly
'
:
!
modalStatusEdit
}"
[
readonly
]="!
modalStatusEdit
"
>
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
สิ้นสุดวันที่
<span
class=
"text-danger"
>
*
</span></label>
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
สิ้นสุดวันที่
<span
class=
"text-danger"
>
*
</span></label>
<input
type=
"date"
id=
"input-label"
class=
"ti-form-input w-1/2"
[(
ngModel
)]="
evaluation_cycle
.
apsPeriodEnd
"
[
ngClass
]="{'
bg-input-readonly
'
:
!
modalStatusEdit
}"
[
readonly
]="!
modalStatusEdit
"
>
<input
type=
"date"
id=
"input-label"
class=
"ti-form-input w-1/2"
[(
ngModel
)]="
evaluation_cycle
.
apsPeriodEnd
"
[
ngClass
]="{'
bg-input-readonly
'
:
!
modalStatusEdit
}"
[
readonly
]="!
modalStatusEdit
"
>
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
ระดับพนักงาน (JL)
</label>
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
ระดับพนักงาน (JL)
</label>
<div
*
ngFor=
"let item of evaluation_cycle.personalLevel;let i = index;let f=first;let l = last"
<div
*
ngFor=
"let item of evaluation_cycle.personalLevel;let i = index;let f=first;let l = last"
...
@@ -408,7 +413,8 @@
...
@@ -408,7 +413,8 @@
ย้อนกลับ
ย้อนกลับ
</button>
</button>
<a
class=
"ti-btn ti-btn-danger"
href=
"javascript:void(0);"
<a
class=
"ti-btn ti-btn-danger"
href=
"javascript:void(0);"
data-hs-overlay=
"#evaluation-cycle-page-alert-modal"
(
click
)="
deleteevaluation_cycle
()"
*
ngIf=
"numDataListChecked"
>
data-hs-overlay=
"#evaluation-cycle-page-alert-modal"
(
click
)="
deleteevaluation_cycle
()"
*
ngIf=
"numDataListChecked"
>
ลบข้อมูล
ลบข้อมูล
</a>
</a>
</ng-container>
</ng-container>
...
...
This diff is collapsed.
Click to expand it.
src/app/components/competency-assessment/evaluation-cycle-manager/evaluation-cycle/evaluation-cycle.component.ts
View file @
f1e48566
...
@@ -43,11 +43,9 @@ export class EvaluationCycleComponent {
...
@@ -43,11 +43,9 @@ export class EvaluationCycleComponent {
pl
:
{
loading
:
boolean
,
selectIndex
:
number
,
dataList
:
PLModel
[]
}
=
{
loading
:
false
,
selectIndex
:
-
1
,
dataList
:
[]
}
pl
:
{
loading
:
boolean
,
selectIndex
:
number
,
dataList
:
PLModel
[]
}
=
{
loading
:
false
,
selectIndex
:
-
1
,
dataList
:
[]
}
currentDate
=
new
Date
()
currentDate
=
new
Date
()
yearList
=
[
yearList
=
[
(
this
.
currentDate
.
getFullYear
()
-
2
)
+
""
,
(
this
.
currentDate
.
getFullYear
()
-
1
)
+
""
,
(
this
.
currentDate
.
getFullYear
()
-
1
)
+
""
,
(
this
.
currentDate
.
getFullYear
())
+
""
,
(
this
.
currentDate
.
getFullYear
())
+
""
,
(
this
.
currentDate
.
getFullYear
()
+
1
)
+
""
,
(
this
.
currentDate
.
getFullYear
()
+
1
)
+
""
,
(
this
.
currentDate
.
getFullYear
()
+
2
)
+
""
,
]
]
modalStatusEdit
=
false
modalStatusEdit
=
false
constructor
(
private
evaluationCycleService
:
EvaluationCycleService
,
constructor
(
private
evaluationCycleService
:
EvaluationCycleService
,
...
...
This diff is collapsed.
Click to expand it.
src/app/components/competency-assessment/setting-competency/competency-configuration/competency-configuration.component.ts
View file @
f1e48566
...
@@ -12,17 +12,9 @@ export class CompetencyConfigurationComponent {
...
@@ -12,17 +12,9 @@ export class CompetencyConfigurationComponent {
setting
:
{
loading
:
boolean
,
data
:
SettingAssessmentModel
}
=
{
loading
:
false
,
data
:
new
MySettingAssessmentModel
()
}
setting
:
{
loading
:
boolean
,
data
:
SettingAssessmentModel
}
=
{
loading
:
false
,
data
:
new
MySettingAssessmentModel
()
}
currentDate
=
new
Date
()
currentDate
=
new
Date
()
yearList
=
[
yearList
=
[
(
this
.
currentDate
.
getFullYear
()
-
5
)
+
""
,
(
this
.
currentDate
.
getFullYear
()
-
4
)
+
""
,
(
this
.
currentDate
.
getFullYear
()
-
3
)
+
""
,
(
this
.
currentDate
.
getFullYear
()
-
2
)
+
""
,
(
this
.
currentDate
.
getFullYear
()
-
1
)
+
""
,
(
this
.
currentDate
.
getFullYear
()
-
1
)
+
""
,
(
this
.
currentDate
.
getFullYear
())
+
""
,
(
this
.
currentDate
.
getFullYear
())
+
""
,
(
this
.
currentDate
.
getFullYear
()
+
1
)
+
""
,
(
this
.
currentDate
.
getFullYear
()
+
1
)
+
""
(
this
.
currentDate
.
getFullYear
()
+
2
)
+
""
,
(
this
.
currentDate
.
getFullYear
()
+
3
)
+
""
,
(
this
.
currentDate
.
getFullYear
()
+
4
)
+
""
,
(
this
.
currentDate
.
getFullYear
()
+
5
)
+
""
,
]
]
constructor
(
private
settingAssessmentService
:
SettingAssessmentService
,
constructor
(
private
settingAssessmentService
:
SettingAssessmentService
,
private
toastr
:
ToastrService
,
private
toastr
:
ToastrService
,
...
...
This diff is collapsed.
Click to expand it.
src/app/components/performance-evaluation/evaluation/evaluation.component.html
View file @
f1e48566
...
@@ -17,7 +17,42 @@
...
@@ -17,7 +17,42 @@
<ng-container
*
ngIf=
"appraisalCompentency.data"
>
<ng-container
*
ngIf=
"appraisalCompentency.data"
>
<div
class=
"pb-2rem px-2rem"
>
<div
class=
"pb-2rem px-2rem"
>
<div
class=
"font-size-18px font-weight-700 text-primary"
>
<div
class=
"font-size-18px font-weight-700 text-primary"
>
แบบประเมินสมรรถนะพนักงาน {{currentDate.getFullYear()}}
แบบประเมินสมรรถนะพนักงาน
</div>
</div>
<div
class=
"pb-2rem"
>
<div
class=
"w-full min-height-50px justify-between items-center pb-2"
>
<div
class=
"px-2rem py-3 bg-soft-secondary font-size-18px font-weight-700 text-primary"
>
ข้อมูลพนักงาน
</div>
</div>
<div
class=
"p-2 grid grid-cols-12"
>
<div
class=
"col-span-2"
></div>
<div
class=
"col-span-1 text-secondary"
>
รหัสพนักงาน
</div>
<div
class=
"col-span-2"
>
{{evaluatee.data.employeeId}}
</div>
<div
class=
"col-span-1 text-secondary"
>
ชื่อ - สกุล
</div>
<div
class=
"col-span-6"
>
{{evaluatee.data.thFullName}}
</div>
</div>
<div
class=
"p-2 grid grid-cols-12"
>
<div
class=
"col-span-2"
></div>
<div
class=
"col-span-1 text-secondary"
>
ตำเเหน่ง
</div>
<div
class=
"col-span-2"
>
{{evaluatee.data.position.tdesc || ''}}
</div>
<div
class=
"col-span-1 text-secondary"
>
ฝ่าย
</div>
<div
class=
"col-span-6"
>
{{evaluatee.data.bu1.tdesc || ''}}
</div>
</div>
<div
class=
"p-2 grid grid-cols-12"
>
<div
class=
"col-span-2"
></div>
<div
class=
"col-span-1 text-secondary"
>
แผนก
</div>
<div
class=
"col-span-2"
>
{{evaluatee.data.bu2.tdesc || ''}}
</div>
<div
class=
"col-span-1 text-secondary"
>
ส่วน
</div>
<div
class=
"col-span-6"
>
{{evaluatee.data.bu3.tdesc || ''}}
</div>
</div>
<div
class=
"p-2 grid grid-cols-12"
>
<div
class=
"col-span-2"
></div>
<div
class=
"col-span-1 text-secondary"
>
ส่วนย่อย 1
</div>
<div
class=
"col-span-2"
>
{{evaluatee.data.bu4.tdesc || ''}}
</div>
<div
class=
"col-span-1 text-secondary"
>
ส่วนย่อย 2
</div>
<div
class=
"col-span-6"
>
{{evaluatee.data.bu5.tdesc || ''}}
</div>
</div>
</div>
</div>
</div>
<div
class=
"pb-2rem px-2rem"
>
<div
class=
"pb-2rem px-2rem"
>
...
@@ -94,9 +129,9 @@
...
@@ -94,9 +129,9 @@
<tbody
*
ngIf=
"!appraisalCompentency.loading&&appraisalCompentencyFilter().length"
>
<tbody
*
ngIf=
"!appraisalCompentency.loading&&appraisalCompentencyFilter().length"
>
<ng-container
*
ngFor=
"let item2 of appraisalCompentencyFilter();let i = index"
>
<ng-container
*
ngFor=
"let item2 of appraisalCompentencyFilter();let i = index"
>
<tr
*
ngFor=
"let bi of item2.groupAssessment1.competencyIndicatorsCourses1Mini.behavioralIndicatorsList;let i2 = index;let f = first"
<tr
*
ngFor=
"let bi of item2.groupAssessment1.competencyIndicatorsCourses1Mini.behavioralIndicatorsList;let i2 = index;let f = first"
(
mouseenter
)="
hoveredCode =
item2.groupAssessment1.competencyIndicatorsCourses1Mini.competency
Course
Id"
(
mouseenter
)="
hoveredCode =
item2.groupAssessment1.competencyIndicatorsCourses1Mini.competency
IndicatorsCourses0.competencyTopic.competencyTopic
Id"
(
mouseleave
)="
hoveredCode =
null"
(
mouseleave
)="
hoveredCode =
null"
[
ngClass
]="{
'
table-hover2
'
:
item2
.
groupAssessment1
.
competencyIndicatorsCourses1Mini
.
competency
Course
Id =
==
hoveredCode
,'
border-none
'
:
!
f
}"
>
[
ngClass
]="{
'
table-hover2
'
:
item2
.
groupAssessment1
.
competencyIndicatorsCourses1Mini
.
competency
IndicatorsCourses0
.
competencyTopic
.
competencyTopic
Id =
==
hoveredCode
,'
border-none
'
:
!
f
}"
>
<td
class=
"align-start text-center"
>
<td
class=
"align-start text-center"
>
<ng-container
*
ngIf=
"f"
>
<ng-container
*
ngIf=
"f"
>
{{i+1}}
{{i+1}}
...
@@ -189,23 +224,14 @@
...
@@ -189,23 +224,14 @@
<div
class=
"pb-2rem px-2rem"
>
<div
class=
"pb-2rem px-2rem"
>
<div
class=
"overflow-auto rounded-top-0.65rem"
>
<div
class=
"overflow-auto rounded-top-0.65rem"
>
<table
class=
"ti-custom-table ti-custom-table-head ti-custom-table-hover"
>
<table
class=
"ti-custom-table ti-custom-table-head ti-custom-table-hover
2
"
>
<thead
class=
"height-50px"
>
<thead
class=
"height-50px"
>
<tr
class=
"font-size-12px"
>
<tr
class=
"font-size-12px"
>
<ng-container
<ng-container
*
ngFor=
"let item of ['เกณฑ์การให้คะแนนการประ
ประเมิน Check Sheet E01
','ผลประเมิน (A)','สรุปผล Gap'];let f = first ;let l = last"
>
*
ngFor=
"let item of ['เกณฑ์การให้คะแนนการประ
เมิน
','ผลประเมิน (A)','สรุปผล Gap'];let f = first ;let l = last"
>
<th
scope=
"col"
[
attr
.
rowspan
]="
f
?'
1
'
:
'
2
'"
[
attr
.
colspan
]="
f
?'
2
'
:
'
1
'"
<th
scope=
"col"
[
attr
.
rowspan
]="
f
?'
1
'
:
'
2
'"
[
attr
.
colspan
]="
f
?'
2
'
:
'
1
'"
class=
"relative px-10px py-10px bg-soft-secondary text-primary !text-center"
>
class=
"relative px-10px py-10px bg-soft-secondary text-primary !text-center"
>
<span
class=
"font-size-12px font-weight-700 "
>
{{ item }}
</span>
<span
class=
"font-size-12px font-weight-700 "
>
{{ item }}
</span>
<div
*
ngIf=
"!f&&!l"
class=
"absolute top-1/2 transform -translate-y-1/2 right-0"
>
<i
class=
"ti ti-dots-vertical fs-l"
></i>
</div>
</th>
<th
*
ngIf=
"f"
scope=
"col"
rowspan=
"2"
class=
"relative bg-soft-secondary text-primary !text-center !p-0"
>
<div
class=
"absolute top-1/2 transform -translate-y-1/2 right-0"
>
<i
class=
"ti ti-dots-vertical fs-l"
></i>
</div>
</th>
</th>
</ng-container>
</ng-container>
</tr>
</tr>
...
@@ -219,7 +245,8 @@
...
@@ -219,7 +245,8 @@
</tr>
</tr>
</thead>
</thead>
<tbody
*
ngIf=
"checkSheet.length"
>
<tbody
*
ngIf=
"checkSheet.length"
>
<tr
*
ngFor=
"let item of checkSheet;let i = index"
>
<tr
*
ngFor=
"let item of checkSheet;let i = index"
(
mouseenter
)="
hoveredCode2 =
'true'
"
(
mouseleave
)="
hoveredCode2 =
null"
[
ngClass
]="{
'
table-hover2
'
:
'
true
'
===
hoveredCode2
}"
>
<td
class=
"align-start"
rowspan=
"2"
>
<td
class=
"align-start"
rowspan=
"2"
>
<div
*
ngFor=
"let item2 of item.score"
>
<div
*
ngFor=
"let item2 of item.score"
>
<span>
{{item2}}
</span><br>
<span>
{{item2}}
</span><br>
...
@@ -230,7 +257,6 @@
...
@@ -230,7 +257,6 @@
<span>
{{item2}}
</span><br>
<span>
{{item2}}
</span><br>
</div>
</div>
</td>
</td>
<td
class=
"!p-0"
></td>
<td
class=
"align-start text-center"
>
<td
class=
"align-start text-center"
>
{{calAverage(appraisalCompentency.data.masfromEvaluationAssessment1lList[0].averageScore)}}
{{calAverage(appraisalCompentency.data.masfromEvaluationAssessment1lList[0].averageScore)}}
</td>
</td>
...
@@ -238,7 +264,8 @@
...
@@ -238,7 +264,8 @@
{{calGap(appraisalCompentency.data.masfromEvaluationAssessment1lList[0].averageScore)}}
{{calGap(appraisalCompentency.data.masfromEvaluationAssessment1lList[0].averageScore)}}
</td>
</td>
</tr>
</tr>
<tr>
<tr
(
mouseenter
)="
hoveredCode2 =
'true'
"
(
mouseleave
)="
hoveredCode2 =
null"
[
ngClass
]="{
'
table-hover2
'
:
'
true
'
===
hoveredCode2
}"
>
<td
class=
"align-start !white-space-normal"
colspan=
"4"
>
<td
class=
"align-start !white-space-normal"
colspan=
"4"
>
หมายเหตุ
<br>
หมายเหตุ
<br>
ผลการประเมินอาจมีการเปลี่ยนแปลงเงื่อนไขข้อ 1-3 เนื่องจากมีคะแนนต่ำกว่าเกณฑ์ในบางข้อ
ผลการประเมินอาจมีการเปลี่ยนแปลงเงื่อนไขข้อ 1-3 เนื่องจากมีคะแนนต่ำกว่าเกณฑ์ในบางข้อ
...
@@ -250,7 +277,7 @@
...
@@ -250,7 +277,7 @@
</div>
</div>
<div
class=
"py-1rem px-2rem"
>
<div
class=
"py-1rem px-2rem"
>
<div
class=
"py-2 grid grid-cols-7 gap-3"
>
<div
class=
"py-2 grid grid-cols-7 gap-3"
>
<div
class=
"col-span-1"
>
ผู้
ถูก
ประเมิน
</div>
<div
class=
"col-span-1"
>
ผู้
รับการ
ประเมิน
</div>
<div
class=
"col-span-1"
>
<div
class=
"col-span-1"
>
{{appraisalCompentency.data.apsassessy.thFullName}}
</div>
{{appraisalCompentency.data.apsassessy.thFullName}}
</div>
<div
class=
"col-span-1"
>
<div
class=
"col-span-1"
>
...
...
This diff is collapsed.
Click to expand it.
src/app/components/performance-evaluation/evaluation/evaluation.component.ts
View file @
f1e48566
import
{
ChangeDetectorRef
,
Component
,
EventEmitter
,
Input
,
OnInit
,
Output
}
from
'@angular/core'
;
import
{
ChangeDetectorRef
,
Component
,
EventEmitter
,
Input
,
OnInit
,
Output
}
from
'@angular/core'
;
import
{
AppraisalCompentencyModel2
}
from
'src/app/shared/model/appraisal-competency.model'
;
import
{
AppraisalCompentencyModel2
}
from
'src/app/shared/model/appraisal-competency.model'
;
import
{
EmployeeModel
,
MyEmployeeModel
}
from
'src/app/shared/model/employee.model'
;
import
{
SettingAssessmentModel
,
MySettingAssessmentModel
}
from
'src/app/shared/model/setting-assessment.model'
;
import
{
SettingAssessmentModel
,
MySettingAssessmentModel
}
from
'src/app/shared/model/setting-assessment.model'
;
import
{
AppraisalService
}
from
'src/app/shared/services/appraisal.service'
;
import
{
AppraisalService
}
from
'src/app/shared/services/appraisal.service'
;
import
{
EmployeeService
}
from
'src/app/shared/services/employee.service'
;
import
{
EmployeeService
}
from
'src/app/shared/services/employee.service'
;
...
@@ -19,6 +20,7 @@ export class EvaluationComponent implements OnInit {
...
@@ -19,6 +20,7 @@ export class EvaluationComponent implements OnInit {
@
Output
()
sendReturnPath
:
EventEmitter
<
any
>
=
new
EventEmitter
<
any
>
();
@
Output
()
sendReturnPath
:
EventEmitter
<
any
>
=
new
EventEmitter
<
any
>
();
canEdit
=
false
canEdit
=
false
hoveredCode
:
string
|
null
=
null
;
hoveredCode
:
string
|
null
=
null
;
hoveredCode2
:
string
|
null
=
null
;
currentDate
=
new
Date
()
currentDate
=
new
Date
()
appraisalCompentency
:
{
loading
:
boolean
,
data
?:
AppraisalCompentencyModel2
}
=
{
loading
:
false
,
data
:
undefined
}
appraisalCompentency
:
{
loading
:
boolean
,
data
?:
AppraisalCompentencyModel2
}
=
{
loading
:
false
,
data
:
undefined
}
...
@@ -31,6 +33,8 @@ export class EvaluationComponent implements OnInit {
...
@@ -31,6 +33,8 @@ export class EvaluationComponent implements OnInit {
score
:
[
"หากได้คะแนน 90 - 100% ถือว่า Gap +1"
,
"หากได้คะแนน 80 - 89% ถือว่า ไม่มี Gap"
,
"หากได้คะแนน 60 - 79% ถือว่า Gap - 1"
,
"หากได้คะแนน 40 - 59% ถือว่า Gap -2"
,
"หากได้คะแนน 0 - 39% ถือว่า Gap - 3"
],
score
:
[
"หากได้คะแนน 90 - 100% ถือว่า Gap +1"
,
"หากได้คะแนน 80 - 89% ถือว่า ไม่มี Gap"
,
"หากได้คะแนน 60 - 79% ถือว่า Gap - 1"
,
"หากได้คะแนน 40 - 59% ถือว่า Gap -2"
,
"หากได้คะแนน 0 - 39% ถือว่า Gap - 3"
],
condition
:
[
"1.หากได้คะแนนสูงกว่า 80% แต่มี 3 2 หรือ 1 ด้วย ถือว่า Gap -1"
,
"2.หากได้คะแนนต่ำกว่า 80% แต่มี 4 และ 5 ให้คิด Gap ตาม %"
,
"3.คะแนนต่ำกว่า 80% แต่มี 2 และ 1 ให้คิด Gap ตาม %"
],
condition
:
[
"1.หากได้คะแนนสูงกว่า 80% แต่มี 3 2 หรือ 1 ด้วย ถือว่า Gap -1"
,
"2.หากได้คะแนนต่ำกว่า 80% แต่มี 4 และ 5 ให้คิด Gap ตาม %"
,
"3.คะแนนต่ำกว่า 80% แต่มี 2 และ 1 ให้คิด Gap ตาม %"
],
}]
}]
evaluatee
:
{
loading
:
boolean
,
data
:
EmployeeModel
}
=
{
loading
:
false
,
data
:
new
MyEmployeeModel
()
}
constructor
(
private
appraisalService
:
AppraisalService
,
constructor
(
private
appraisalService
:
AppraisalService
,
private
employeeService
:
EmployeeService
,
private
employeeService
:
EmployeeService
,
private
cdr
:
ChangeDetectorRef
,
private
cdr
:
ChangeDetectorRef
,
...
@@ -41,6 +45,21 @@ export class EvaluationComponent implements OnInit {
...
@@ -41,6 +45,21 @@ export class EvaluationComponent implements OnInit {
this
.
getAppraisalCompentencyForm
()
this
.
getAppraisalCompentencyForm
()
this
.
getSettingList
()
this
.
getSettingList
()
}
}
getEvaluatee
()
{
this
.
evaluatee
.
loading
=
true
this
.
employeeService
.
getWorkingById
(
this
.
evaluateeId
).
subscribe
({
next
:
response
=>
{
this
.
evaluatee
.
data
=
new
MyEmployeeModel
(
response
)
this
.
evaluatee
.
loading
=
false
this
.
cdr
.
detectChanges
()
},
error
:
error
=>
{
this
.
evaluatee
.
loading
=
false
this
.
cdr
.
detectChanges
()
}
})
}
getSettingList
()
{
getSettingList
()
{
this
.
setting
.
loading
=
true
this
.
setting
.
loading
=
true
this
.
settingAssessmentService
.
get
().
subscribe
({
this
.
settingAssessmentService
.
get
().
subscribe
({
...
@@ -67,26 +86,41 @@ export class EvaluationComponent implements OnInit {
...
@@ -67,26 +86,41 @@ export class EvaluationComponent implements OnInit {
break
break
}
}
case
(
"1"
):
{
case
(
"1"
):
{
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
apsassessyDate
=
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
apsassessyDate
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
apsapprove1Date
=
this
.
currentDate
.
toISOString
().
split
(
'T'
)[
0
];
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
apsapprove1Date
=
this
.
currentDate
.
toISOString
().
split
(
'T'
)[
0
];
this
.
canEdit
=
this
.
evaluaterId
==
this
.
appraisalCompentency
.
data
.
apsapprove1
.
employeeId
this
.
canEdit
=
this
.
evaluaterId
==
this
.
appraisalCompentency
.
data
.
apsapprove1
.
employeeId
break
break
}
}
case
(
"2"
):
{
case
(
"2"
):
{
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
apsassessyDate
=
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
apsassessyDate
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
apsapprove1Date
=
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
apsapprove1Date
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
apsapprove2Date
=
this
.
currentDate
.
toISOString
().
split
(
'T'
)[
0
];
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
apsapprove2Date
=
this
.
currentDate
.
toISOString
().
split
(
'T'
)[
0
];
this
.
canEdit
=
this
.
evaluaterId
==
this
.
appraisalCompentency
.
data
.
apsapprove2
.
employeeId
this
.
canEdit
=
this
.
evaluaterId
==
this
.
appraisalCompentency
.
data
.
apsapprove2
.
employeeId
break
break
}
}
case
(
"3"
):
{
case
(
"3"
):
{
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
apsassessyDate
=
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
apsassessyDate
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
apsapprove1Date
=
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
apsapprove1Date
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
apsapprove2Date
=
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
apsapprove2Date
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
apsapprove3Date
=
this
.
currentDate
.
toISOString
().
split
(
'T'
)[
0
];
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
apsapprove3Date
=
this
.
currentDate
.
toISOString
().
split
(
'T'
)[
0
];
this
.
canEdit
=
this
.
evaluaterId
==
this
.
appraisalCompentency
.
data
.
apsapprove3
.
employeeId
this
.
canEdit
=
this
.
evaluaterId
==
this
.
appraisalCompentency
.
data
.
apsapprove3
.
employeeId
break
break
}
}
case
(
"4"
):
{
case
(
"4"
):
{
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
apsassessyDate
=
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
apsassessyDate
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
apsapprove1Date
=
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
apsapprove1Date
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
apsapprove2Date
=
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
apsapprove2Date
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
apsapprove3Date
=
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
apsapprove3Date
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
apsapprove4Date
=
this
.
currentDate
.
toISOString
().
split
(
'T'
)[
0
];
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
apsapprove4Date
=
this
.
currentDate
.
toISOString
().
split
(
'T'
)[
0
];
this
.
canEdit
=
this
.
evaluaterId
==
this
.
appraisalCompentency
.
data
.
apsapprove4
.
employeeId
this
.
canEdit
=
this
.
evaluaterId
==
this
.
appraisalCompentency
.
data
.
apsapprove4
.
employeeId
break
break
}
}
case
(
"5"
):
{
case
(
"5"
):
{
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
apsassessyDate
=
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
apsassessyDate
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
apsapprove1Date
=
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
apsapprove1Date
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
apsapprove2Date
=
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
apsapprove2Date
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
apsapprove3Date
=
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
apsapprove3Date
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
apsapprove4Date
=
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
apsapprove4Date
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
apsapprove5Date
=
this
.
currentDate
.
toISOString
().
split
(
'T'
)[
0
];
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
apsapprove5Date
=
this
.
currentDate
.
toISOString
().
split
(
'T'
)[
0
];
this
.
canEdit
=
this
.
evaluaterId
==
this
.
appraisalCompentency
.
data
.
apsapprove5
.
employeeId
this
.
canEdit
=
this
.
evaluaterId
==
this
.
appraisalCompentency
.
data
.
apsapprove5
.
employeeId
break
break
...
@@ -122,19 +156,19 @@ export class EvaluationComponent implements OnInit {
...
@@ -122,19 +156,19 @@ export class EvaluationComponent implements OnInit {
if
(
this
.
appraisalCompentency
.
data
?.
masfromEvaluationAssessment1lList
[
0
])
{
if
(
this
.
appraisalCompentency
.
data
?.
masfromEvaluationAssessment1lList
[
0
])
{
switch
(
numberCheck
)
{
switch
(
numberCheck
)
{
case
(
1
):
{
case
(
1
):
{
return
+
(
this
.
setting
.
data
.
settingScore1
)
*
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
numberCheck1
return
+
(
(
+
(
this
.
setting
.
data
.
settingScore1
)
*
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
numberCheck1
).
toFixed
(
2
))
}
}
case
(
2
):
{
case
(
2
):
{
return
+
(
this
.
setting
.
data
.
settingScore2
)
*
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
numberCheck2
return
+
(
(
+
(
this
.
setting
.
data
.
settingScore2
)
*
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
numberCheck2
).
toFixed
(
2
))
}
}
case
(
3
):
{
case
(
3
):
{
return
+
(
this
.
setting
.
data
.
settingScore3
)
*
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
numberCheck3
return
+
(
(
+
(
this
.
setting
.
data
.
settingScore3
)
*
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
numberCheck3
).
toFixed
(
2
))
}
}
case
(
4
):
{
case
(
4
):
{
return
+
(
this
.
setting
.
data
.
settingScore4
)
*
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
numberCheck4
return
+
(
(
+
(
this
.
setting
.
data
.
settingScore4
)
*
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
numberCheck4
).
toFixed
(
2
))
}
}
case
(
5
):
{
case
(
5
):
{
return
+
(
this
.
setting
.
data
.
settingScore5
)
*
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
numberCheck5
return
+
(
(
+
(
this
.
setting
.
data
.
settingScore5
)
*
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
numberCheck5
).
toFixed
(
2
))
}
}
default
:
{
return
}
default
:
{
return
}
}
}
...
@@ -151,10 +185,17 @@ export class EvaluationComponent implements OnInit {
...
@@ -151,10 +185,17 @@ export class EvaluationComponent implements OnInit {
}
}
calAverageScore
()
{
calAverageScore
()
{
if
(
this
.
appraisalCompentency
.
data
?.
masfromEvaluationAssessment1lList
[
0
])
{
if
(
this
.
appraisalCompentency
.
data
?.
masfromEvaluationAssessment1lList
[
0
])
{
const
total
=
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
masfromEvaluationAssessment2List
.
map
((
x
:
any
)
=>
x
.
groupAssessment1
.
competencyIndicatorsCourses1Mini
.
behavioralIndicatorsList
.
length
).
reduce
((
acc
:
any
,
num
:
any
)
=>
acc
+
num
,
0
)
*
5
const
length
=
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
masfromEvaluationAssessment2List
.
map
((
x
:
any
)
=>
x
.
groupAssessment1
.
competencyIndicatorsCourses1Mini
.
behavioralIndicatorsList
.
length
).
reduce
((
acc
:
any
,
num
:
any
)
=>
acc
+
num
,
0
)
const
max
=
Math
.
max
(...[
+
(
this
.
setting
.
data
.
settingScore5
),
+
(
this
.
setting
.
data
.
settingScore4
),
+
(
this
.
setting
.
data
.
settingScore3
),
+
(
this
.
setting
.
data
.
settingScore2
),
+
(
this
.
setting
.
data
.
settingScore1
)])
const
total
=
length
*
max
console
.
log
(
length
)
if
(
total
)
{
if
(
total
)
{
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
averageScore
=
0
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
averageScore
=
0
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
averageScore
=
(
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
weightedTotal
/
total
)
*
100
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
averageScore
=
(
this
.
appraisalCompentency
.
data
.
masfromEvaluationAssessment1lList
[
0
].
weightedTotal
*
100
)
/
total
this
.
cdr
.
detectChanges
()
this
.
cdr
.
detectChanges
()
}
}
}
}
...
@@ -205,6 +246,8 @@ export class EvaluationComponent implements OnInit {
...
@@ -205,6 +246,8 @@ export class EvaluationComponent implements OnInit {
}
else
{
}
else
{
date
=
dateInput
date
=
dateInput
}
}
}
else
{
return
''
}
}
return
date
?.
toLocaleDateString
(
'th-TH'
,
{
day
:
'numeric'
,
month
:
'long'
,
year
:
'numeric'
})
||
''
return
date
?.
toLocaleDateString
(
'th-TH'
,
{
day
:
'numeric'
,
month
:
'long'
,
year
:
'numeric'
})
||
''
}
}
...
...
This diff is collapsed.
Click to expand it.
src/app/components/performance-management-evaluation/evaluation-cycle-performance/management-evaluation-cycle/management-evaluation-cycle.component.ts
View file @
f1e48566
...
@@ -43,17 +43,9 @@ export class ManagementCycleComponent {
...
@@ -43,17 +43,9 @@ export class ManagementCycleComponent {
currentDate
=
new
Date
()
currentDate
=
new
Date
()
yearList
=
[
yearList
=
[
(
this
.
currentDate
.
getFullYear
()
-
5
)
+
""
,
(
this
.
currentDate
.
getFullYear
()
-
4
)
+
""
,
(
this
.
currentDate
.
getFullYear
()
-
3
)
+
""
,
(
this
.
currentDate
.
getFullYear
()
-
2
)
+
""
,
(
this
.
currentDate
.
getFullYear
()
-
1
)
+
""
,
(
this
.
currentDate
.
getFullYear
()
-
1
)
+
""
,
(
this
.
currentDate
.
getFullYear
())
+
""
,
(
this
.
currentDate
.
getFullYear
())
+
""
,
(
this
.
currentDate
.
getFullYear
()
+
1
)
+
""
,
(
this
.
currentDate
.
getFullYear
()
+
1
)
+
""
,
(
this
.
currentDate
.
getFullYear
()
+
2
)
+
""
,
(
this
.
currentDate
.
getFullYear
()
+
3
)
+
""
,
(
this
.
currentDate
.
getFullYear
()
+
4
)
+
""
,
(
this
.
currentDate
.
getFullYear
()
+
5
)
+
""
,
]
]
constructor
(
private
pmsMasfromEvaluationCycleService
:
PmsMasfromEvaluationCycleService
,
constructor
(
private
pmsMasfromEvaluationCycleService
:
PmsMasfromEvaluationCycleService
,
private
toastr
:
ToastrService
,
private
toastr
:
ToastrService
,
...
...
This diff is collapsed.
Click to expand it.
src/app/components/performance-management-evaluation/setting-performance-evalution/assessment-system-configuration/assessment-system-configuration.component.ts
View file @
f1e48566
...
@@ -11,17 +11,9 @@ export class AssessmentSystemConfigurationComponent {
...
@@ -11,17 +11,9 @@ export class AssessmentSystemConfigurationComponent {
setting
:
{
loading
:
boolean
,
data
:
PmsSettingAssessmentModel
}
=
{
loading
:
false
,
data
:
new
MyPmsSettingAssessmentModel
()
}
setting
:
{
loading
:
boolean
,
data
:
PmsSettingAssessmentModel
}
=
{
loading
:
false
,
data
:
new
MyPmsSettingAssessmentModel
()
}
currentDate
=
new
Date
()
currentDate
=
new
Date
()
yearList
=
[
yearList
=
[
(
this
.
currentDate
.
getFullYear
()
-
5
)
+
""
,
(
this
.
currentDate
.
getFullYear
()
-
4
)
+
""
,
(
this
.
currentDate
.
getFullYear
()
-
3
)
+
""
,
(
this
.
currentDate
.
getFullYear
()
-
2
)
+
""
,
(
this
.
currentDate
.
getFullYear
()
-
1
)
+
""
,
(
this
.
currentDate
.
getFullYear
()
-
1
)
+
""
,
(
this
.
currentDate
.
getFullYear
())
+
""
,
(
this
.
currentDate
.
getFullYear
())
+
""
,
(
this
.
currentDate
.
getFullYear
()
+
1
)
+
""
,
(
this
.
currentDate
.
getFullYear
()
+
1
)
+
""
,
(
this
.
currentDate
.
getFullYear
()
+
2
)
+
""
,
(
this
.
currentDate
.
getFullYear
()
+
3
)
+
""
,
(
this
.
currentDate
.
getFullYear
()
+
4
)
+
""
,
(
this
.
currentDate
.
getFullYear
()
+
5
)
+
""
,
]
]
constructor
(
private
pmsSettingAssessmentService
:
PmsSettingAssessmentService
,
constructor
(
private
pmsSettingAssessmentService
:
PmsSettingAssessmentService
,
private
toastr
:
ToastrService
,
private
toastr
:
ToastrService
,
...
...
This diff is collapsed.
Click to expand it.
src/assets/css/style.css
View file @
f1e48566
...
@@ -25027,5 +25027,9 @@ div:where(.swal2-container) div:where(.swal2-validation-message) {
...
@@ -25027,5 +25027,9 @@ div:where(.swal2-container) div:where(.swal2-validation-message) {
}
}
.ti-btn-soft-mute
:hover
{
.ti-btn-soft-mute
:hover
{
background-color
:
rgb
(
0
0
0
/
0.5
);
background-color
:
rgb
(
0
0
0
/
0.5
);
color
:
white
color
:
white
;
}
.
\
!
border-red
{
border-color
:
red
!important
;
}
}
This diff is collapsed.
Click to expand it.
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