Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mySkill-x
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
angular
mySkill-x
Commits
0cc7a97a
Commit
0cc7a97a
authored
Mar 19, 2025
by
Nattana Chaiyamat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ปุ่ม import
parent
ccdcd2f3
Hide whitespace changes
Inline
Side-by-side
Showing
41 changed files
with
1486 additions
and
1272 deletions
+1486
-1272
manage-user.component.html
...s/account-settings/manage-user/manage-user.component.html
+2
-2
role-permission-config.component.html
...e-permission-config/role-permission-config.component.html
+7
-2
set-a-password.component.html
...unt-settings/set-a-password/set-a-password.component.html
+2
-2
user-settings.component.html
...count-settings/user-settings/user-settings.component.html
+9
-4
department-list.component.html
...iness-unit/department-list/department-list.component.html
+8
-3
department-register.component.html
...it/department-register/department-register.component.html
+8
-3
section-registration.component.html
.../section-registration/section-registration.component.html
+8
-3
sub-department-four.component.html
...it/sub-department-four/sub-department-four.component.html
+8
-3
sub-department-one.component.html
...unit/sub-department-one/sub-department-one.component.html
+8
-3
sub-department-three.component.html
.../sub-department-three/sub-department-three.component.html
+8
-3
sub-department-two.component.html
...unit/sub-department-two/sub-department-two.component.html
+8
-3
company-registration-page.component.html
...egistration-page/company-registration-page.component.html
+7
-2
day-type-registry.component.html
...onents/day-type-registry/day-type-registry.component.html
+9
-4
sub-employee-registration.component.html
...yee-registration/sub-employee-registration.component.html
+7
-2
employee-categories.component.html
...on/employee-categories/employee-categories.component.html
+7
-2
employee-group-unit.component.html
...on/employee-group-unit/employee-group-unit.component.html
+7
-2
employee-level.component.html
...-description/employee-level/employee-level.component.html
+7
-2
position-unit.component.html
...nts/job-description/position/position-unit.component.html
+7
-2
edit-group-competencies.component.html
...group-competencies/edit-group-competencies.component.html
+7
-2
development-course.component.html
...tion/development-course/development-course.component.html
+7
-2
define-document-form.component.html
.../define-document-form/define-document-form.component.html
+7
-2
evaluation-cycle.component.html
...-manager/evaluation-cycle/evaluation-cycle.component.html
+7
-2
grade-management.component.html
...stration/grade-management/grade-management.component.html
+7
-2
sub-grade-registration.component.html
...-grade-registration/sub-grade-registration.component.html
+7
-2
competency-topic.component.html
...stration/competency-topic/competency-topic.component.html
+7
-2
type-registration.component.html
...ration/type-registration/type-registration.component.html
+7
-2
assessment-tool.component.html
...l-register/assessment-tool/assessment-tool.component.html
+7
-2
sub-command-structure.component.html
...ub-command-structure/sub-command-structure.component.html
+363
-367
sub-job-competency.component.html
...ency/sub-job-competency/sub-job-competency.component.html
+158
-153
import-data.component.html
...-detail-management/import-data/import-data.component.html
+198
-181
work-detail.component.html
...ponents/job-detail/work-detail/work-detail.component.html
+185
-170
sub-job-position-indicators.component.html
...ion-indicators/sub-job-position-indicators.component.html
+162
-155
sub-job-qualifications.component.html
...-job-qualifications/sub-job-qualifications.component.html
+171
-161
edit-evaluation-grouping.component.html
...aluation-grouping/edit-evaluation-grouping.component.html
+7
-2
document-form.component.html
...le-performance/document-form/document-form.component.html
+7
-2
management-evaluation-cycle.component.html
...aluation-cycle/management-evaluation-cycle.component.html
+7
-2
assessment-topics.component.html
...omance/assessment-topics/assessment-topics.component.html
+7
-2
assessment-types.component.html
...rfomance/assessment-types/assessment-types.component.html
+7
-2
pms-grade-management.component.html
.../pms-grade-management/pms-grade-management.component.html
+7
-2
pms-sub-grade-registration.component.html
...de-registration/pms-sub-grade-registration.component.html
+10
-6
time-attendance.component.html
...evaluation/time-attendance/time-attendance.component.html
+7
-2
No files found.
src/app/components/company-components/account-settings/manage-user/manage-user.component.html
View file @
0cc7a97a
...
@@ -11,12 +11,12 @@
...
@@ -11,12 +11,12 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"px-1"
>
<
!-- <
div class="px-1">
<button type="button" class="ti-btn ti-btn-soft-warning h-20px m-0 shadow-md">
<button type="button" class="ti-btn ti-btn-soft-warning h-20px m-0 shadow-md">
<i class="ti ti-book fs-l"></i>
<i class="ti ti-book fs-l"></i>
Help
Help
</button>
</button>
</div>
</div>
-->
</div>
</div>
</div>
</div>
...
...
src/app/components/company-components/account-settings/role-permission-config/role-permission-config.component.html
View file @
0cc7a97a
...
@@ -247,7 +247,12 @@
...
@@ -247,7 +247,12 @@
ยืนยันการบันทึกข้อมูลหรือไม่!
ยืนยันการบันทึกข้อมูลหรือไม่!
</ng-container>
</ng-container>
<ng-container
*
ngIf=
"currentModal == 'delete'"
>
<ng-container
*
ngIf=
"currentModal == 'delete'"
>
ยืนยันการลบข้อมูลหรือไม่!
<ng-container
*
ngIf=
"numDataListChecked"
>
ยืนยันการลบข้อมูลหรือไม่
</ng-container>
<ng-container
*
ngIf=
"!numDataListChecked"
>
เลือกข้อมูลที่ต้องการลบ
</ng-container>
!
</ng-container>
</ng-container>
</p>
</p>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
...
@@ -271,7 +276,7 @@
...
@@ -271,7 +276,7 @@
</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=
"#role-permission-config-alert-modal"
data-hs-overlay=
"#role-permission-config-alert-modal"
(
click
)="
updateConfigPermission
('
delete
')"
>
(
click
)="
updateConfigPermission
('
delete
')"
*
ngIf=
"numDataListChecked"
>
ลบข้อมูล
ลบข้อมูล
</a>
</a>
</ng-container>
</ng-container>
...
...
src/app/components/company-components/account-settings/set-a-password/set-a-password.component.html
View file @
0cc7a97a
...
@@ -11,12 +11,12 @@
...
@@ -11,12 +11,12 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"px-1"
>
<
!-- <
div class="px-1">
<button type="button" class="ti-btn ti-btn-soft-warning h-20px m-0 shadow-md">
<button type="button" class="ti-btn ti-btn-soft-warning h-20px m-0 shadow-md">
<i class="ti ti-book fs-l"></i>
<i class="ti ti-book fs-l"></i>
Help
Help
</button>
</button>
</div>
</div>
-->
</div>
</div>
</div>
</div>
...
...
src/app/components/company-components/account-settings/user-settings/user-settings.component.html
View file @
0cc7a97a
...
@@ -58,12 +58,12 @@
...
@@ -58,12 +58,12 @@
Delete
Delete
</button>
</button>
</div>
</div>
<div
class=
"px-1"
>
<
!-- <
div class="px-1">
<button type="button" class="ti-btn ti-btn-soft-warning h-20px m-0 shadow-md">
<button type="button" class="ti-btn ti-btn-soft-warning h-20px m-0 shadow-md">
<i class="ti ti-book fs-l"></i>
<i class="ti ti-book fs-l"></i>
Help
Help
</button>
</button>
</div>
</div>
-->
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -762,7 +762,12 @@
...
@@ -762,7 +762,12 @@
ยืนยันการบันทึกข้อมูลหรือไม่!
ยืนยันการบันทึกข้อมูลหรือไม่!
</ng-container>
</ng-container>
<ng-container
*
ngIf=
"currentModal == 'delete'||currentModal == 'deleteGroup'"
>
<ng-container
*
ngIf=
"currentModal == 'delete'||currentModal == 'deleteGroup'"
>
ยืนยันการลบข้อมูลหรือไม่!
<ng-container
*
ngIf=
"numDataListChecked"
>
ยืนยันการลบข้อมูลหรือไม่
</ng-container>
<ng-container
*
ngIf=
"!numDataListChecked"
>
เลือกข้อมูลที่ต้องการลบ
</ng-container>
!
</ng-container>
</ng-container>
</p>
</p>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
...
@@ -784,7 +789,7 @@
...
@@ -784,7 +789,7 @@
ย้อนกลับ
ย้อนกลับ
</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=
"#user-setting-alert-modal"
(
click
)="
updateUser
('
delete
')"
>
data-hs-overlay=
"#user-setting-alert-modal"
(
click
)="
updateUser
('
delete
')"
*
ngIf=
"numDataListChecked"
>
ลบข้อมูล
ลบข้อมูล
</a>
</a>
</ng-container>
</ng-container>
...
...
src/app/components/company-components/company-registration/branch-business-unit/department-list/department-list.component.html
View file @
0cc7a97a
...
@@ -516,7 +516,12 @@
...
@@ -516,7 +516,12 @@
</div>
</div>
<div
class=
"ti-modal-body "
>
<div
class=
"ti-modal-body "
>
<p
class=
"mt-1 text-gray-800 dark:text-white/70"
>
<p
class=
"mt-1 text-gray-800 dark:text-white/70"
>
ยืนยันการลบข้อมูลหรือไม่!
<ng-container
*
ngIf=
"numDataListChecked"
>
ยืนยันการลบข้อมูลหรือไม่
</ng-container>
<ng-container
*
ngIf=
"!numDataListChecked"
>
เลือกข้อมูลที่ต้องการลบ
</ng-container>
!
</p>
</p>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
...
@@ -525,8 +530,8 @@
...
@@ -525,8 +530,8 @@
data-hs-overlay=
"#department-list-alert-delete-modal"
>
data-hs-overlay=
"#department-list-alert-delete-modal"
>
ย้อนกลับ
ย้อนกลับ
</button>
</button>
<a
class=
"ti-btn ti-btn-
success
"
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
()"
>
data-hs-overlay=
"#department-list-alert-delete-modal"
(
click
)="
deleteBu2
()"
*
ngIf=
"numDataListChecked"
>
ลบข้อมูล
ลบข้อมูล
</a>
</a>
</div>
</div>
...
...
src/app/components/company-components/company-registration/branch-business-unit/department-register/department-register.component.html
View file @
0cc7a97a
...
@@ -318,7 +318,12 @@
...
@@ -318,7 +318,12 @@
</div>
</div>
<div
class=
"ti-modal-body "
>
<div
class=
"ti-modal-body "
>
<p
class=
"mt-1 text-gray-800 dark:text-white/70"
>
<p
class=
"mt-1 text-gray-800 dark:text-white/70"
>
ยืนยันการลบข้อมูลหรือไม่
<ng-container
*
ngIf=
"numDataListChecked"
>
ยืนยันการลบข้อมูลหรือไม่
</ng-container>
<ng-container
*
ngIf=
"!numDataListChecked"
>
เลือกข้อมูลที่ต้องการลบ
</ng-container>
</p>
</p>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
...
@@ -327,8 +332,8 @@
...
@@ -327,8 +332,8 @@
data-hs-overlay=
"#department-register-delete-alert-modal"
>
data-hs-overlay=
"#department-register-delete-alert-modal"
>
ย้อนกลับ
ย้อนกลับ
</button>
</button>
<button
type=
"button"
class=
"ti-btn ti-btn-
success
"
(
click
)="
deleteBu1
()"
<button
type=
"button"
class=
"ti-btn ti-btn-
danger
"
(
click
)="
deleteBu1
()"
data-hs-overlay=
"#department-register-delete-alert-modal"
>
data-hs-overlay=
"#department-register-delete-alert-modal"
*
ngIf=
"numDataListChecked"
>
ลบข้อมูล
ลบข้อมูล
</button>
</button>
</div>
</div>
...
...
src/app/components/company-components/company-registration/branch-business-unit/section-registration/section-registration.component.html
View file @
0cc7a97a
...
@@ -534,7 +534,12 @@
...
@@ -534,7 +534,12 @@
</div>
</div>
<div
class=
"ti-modal-body "
>
<div
class=
"ti-modal-body "
>
<p
class=
"mt-1 text-gray-800 dark:text-white/70"
>
<p
class=
"mt-1 text-gray-800 dark:text-white/70"
>
ยืนยันการลบข้อมูลหรือไม่!
<ng-container
*
ngIf=
"numDataListChecked"
>
ยืนยันการลบข้อมูลหรือไม่
</ng-container>
<ng-container
*
ngIf=
"!numDataListChecked"
>
เลือกข้อมูลที่ต้องการลบ
</ng-container>
!
</p>
</p>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
...
@@ -543,8 +548,8 @@
...
@@ -543,8 +548,8 @@
data-hs-overlay=
"#section-registration-alert-delete-modal"
>
data-hs-overlay=
"#section-registration-alert-delete-modal"
>
ย้อนกลับ
ย้อนกลับ
</button>
</button>
<a
class=
"ti-btn ti-btn-
success
"
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
()"
>
data-hs-overlay=
"#section-registration-alert-delete-modal"
(
click
)="
deleteBu3
()"
*
ngIf=
"numDataListChecked"
>
ลบข้อมูล
ลบข้อมูล
</a>
</a>
</div>
</div>
...
...
src/app/components/company-components/company-registration/branch-business-unit/sub-department-four/sub-department-four.component.html
View file @
0cc7a97a
...
@@ -533,7 +533,12 @@
...
@@ -533,7 +533,12 @@
</div>
</div>
<div
class=
"ti-modal-body "
>
<div
class=
"ti-modal-body "
>
<p
class=
"mt-1 text-gray-800 dark:text-white/70"
>
<p
class=
"mt-1 text-gray-800 dark:text-white/70"
>
ยืนยันการลบข้อมูลหรือไม่
<ng-container
*
ngIf=
"numDataListChecked"
>
ยืนยันการลบข้อมูลหรือไม่
</ng-container>
<ng-container
*
ngIf=
"!numDataListChecked"
>
เลือกข้อมูลที่ต้องการลบ
</ng-container>
</p>
</p>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
...
@@ -542,8 +547,8 @@
...
@@ -542,8 +547,8 @@
data-hs-overlay=
"#sub-department-four-alert-delete-modal"
>
data-hs-overlay=
"#sub-department-four-alert-delete-modal"
>
ย้อนกลับ
ย้อนกลับ
</button>
</button>
<a
class=
"ti-btn ti-btn-
success
"
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
();"
>
data-hs-overlay=
"#sub-department-four-alert-delete-modal"
(
click
)="
deleteBu7
();"
*
ngIf=
"numDataListChecked"
>
ลบข้อมูล
ลบข้อมูล
</a>
</a>
</div>
</div>
...
...
src/app/components/company-components/company-registration/branch-business-unit/sub-department-one/sub-department-one.component.html
View file @
0cc7a97a
...
@@ -541,7 +541,12 @@
...
@@ -541,7 +541,12 @@
</div>
</div>
<div
class=
"ti-modal-body "
>
<div
class=
"ti-modal-body "
>
<p
class=
"mt-1 text-gray-800 dark:text-white/70"
>
<p
class=
"mt-1 text-gray-800 dark:text-white/70"
>
ยืนยันการลบข้อมูลหรือไม่
<ng-container
*
ngIf=
"numDataListChecked"
>
ยืนยันการลบข้อมูลหรือไม่
</ng-container>
<ng-container
*
ngIf=
"!numDataListChecked"
>
เลือกข้อมูลที่ต้องการลบ
</ng-container>
</p>
</p>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
...
@@ -550,8 +555,8 @@
...
@@ -550,8 +555,8 @@
data-hs-overlay=
"#sub-department-one-alert-delete-modal"
>
data-hs-overlay=
"#sub-department-one-alert-delete-modal"
>
ย้อนกลับ
ย้อนกลับ
</button>
</button>
<a
class=
"ti-btn ti-btn-
success
"
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
();"
>
data-hs-overlay=
"#sub-department-one-alert-delete-modal"
(
click
)="
deleteBu4
();"
*
ngIf=
"numDataListChecked"
>
ลบข้อมูล
ลบข้อมูล
</a>
</a>
</div>
</div>
...
...
src/app/components/company-components/company-registration/branch-business-unit/sub-department-three/sub-department-three.component.html
View file @
0cc7a97a
...
@@ -558,7 +558,12 @@
...
@@ -558,7 +558,12 @@
</div>
</div>
<div
class=
"ti-modal-body "
>
<div
class=
"ti-modal-body "
>
<p
class=
"mt-1 text-gray-800 dark:text-white/70"
>
<p
class=
"mt-1 text-gray-800 dark:text-white/70"
>
ยืนยันการลบข้อมูลหรือไม่
<ng-container
*
ngIf=
"numDataListChecked"
>
ยืนยันการลบข้อมูลหรือไม่
</ng-container>
<ng-container
*
ngIf=
"!numDataListChecked"
>
เลือกข้อมูลที่ต้องการลบ
</ng-container>
</p>
</p>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
...
@@ -567,8 +572,8 @@
...
@@ -567,8 +572,8 @@
data-hs-overlay=
"#sub-department-three-alert-delete-modal"
>
data-hs-overlay=
"#sub-department-three-alert-delete-modal"
>
ย้อนกลับ
ย้อนกลับ
</button>
</button>
<a
class=
"ti-btn ti-btn-
success
"
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
()"
>
data-hs-overlay=
"#sub-department-three-alert-delete-modal"
(
click
)="
deleteBu6
()"
*
ngIf=
"numDataListChecked"
>
ลบข้อมูล
ลบข้อมูล
</a>
</a>
</div>
</div>
...
...
src/app/components/company-components/company-registration/branch-business-unit/sub-department-two/sub-department-two.component.html
View file @
0cc7a97a
...
@@ -555,7 +555,12 @@
...
@@ -555,7 +555,12 @@
</div>
</div>
<div
class=
"ti-modal-body "
>
<div
class=
"ti-modal-body "
>
<p
class=
"mt-1 text-gray-800 dark:text-white/70"
>
<p
class=
"mt-1 text-gray-800 dark:text-white/70"
>
ยืนยันการลบข้อมูลหรือไม่
<ng-container
*
ngIf=
"numDataListChecked"
>
ยืนยันการลบข้อมูลหรือไม่
</ng-container>
<ng-container
*
ngIf=
"!numDataListChecked"
>
เลือกข้อมูลที่ต้องการลบ
</ng-container>
</p>
</p>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
...
@@ -564,8 +569,8 @@
...
@@ -564,8 +569,8 @@
data-hs-overlay=
"#sub-department-two-alert-delete-modal"
>
data-hs-overlay=
"#sub-department-two-alert-delete-modal"
>
ย้อนกลับ
ย้อนกลับ
</button>
</button>
<a
class=
"ti-btn ti-btn-
success
"
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
()"
>
data-hs-overlay=
"#sub-department-two-alert-delete-modal"
(
click
)="
deleteBu5
()"
*
ngIf=
"numDataListChecked"
>
ลบข้อมูล
ลบข้อมูล
</a>
</a>
</div>
</div>
...
...
src/app/components/company-components/company-registration/company-registration-page/company-registration-page.component.html
View file @
0cc7a97a
...
@@ -231,7 +231,12 @@
...
@@ -231,7 +231,12 @@
ยืนยันการบันทึกข้อมูลหรือไม่
ยืนยันการบันทึกข้อมูลหรือไม่
</ng-container>
</ng-container>
<ng-container
*
ngIf=
"modalStatus=='delete'||modalStatus=='deleteGroup'"
>
<ng-container
*
ngIf=
"modalStatus=='delete'||modalStatus=='deleteGroup'"
>
ยืนยันการลบข้อมูลหรือไม่
<ng-container
*
ngIf=
"numDataListChecked"
>
ยืนยันการลบข้อมูลหรือไม่
</ng-container>
<ng-container
*
ngIf=
"!numDataListChecked"
>
เลือกข้อมูลที่ต้องการลบ
</ng-container>
</ng-container>
</ng-container>
</p>
</p>
...
@@ -253,7 +258,7 @@
...
@@ -253,7 +258,7 @@
data-hs-overlay=
"#company-registration-page-alert-modal"
>
data-hs-overlay=
"#company-registration-page-alert-modal"
>
ย้อนกลับ
ย้อนกลับ
</button>
</button>
<a
class=
"ti-btn ti-btn-danger"
href=
"javascript:void(0);"
<a
class=
"ti-btn ti-btn-danger"
href=
"javascript:void(0);"
*
ngIf=
"numDataListChecked"
data-hs-overlay=
"#company-registration-page-alert-modal"
(
click
)="
deleteCompany
()"
>
data-hs-overlay=
"#company-registration-page-alert-modal"
(
click
)="
deleteCompany
()"
>
ลบข้อมูล
ลบข้อมูล
</a>
</a>
...
...
src/app/components/company-components/day-type-registry/day-type-registry.component.html
View file @
0cc7a97a
...
@@ -82,13 +82,13 @@
...
@@ -82,13 +82,13 @@
Delete
Delete
</button>
</button>
</div>
</div>
<div
class=
"px-1"
>
<
!-- <
div class="px-1">
<button href="javascript:void(0);"
<button href="javascript:void(0);"
class="ti-btn ti-btn-soft-warning h-20px m-0 shadow-md">
class="ti-btn ti-btn-soft-warning h-20px m-0 shadow-md">
<i class="ti ti-book fs-l"></i>
<i class="ti ti-book fs-l"></i>
Help
Help
</button>
</button>
</div>
</div>
-->
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -333,7 +333,12 @@
...
@@ -333,7 +333,12 @@
ยืนยันการบันทึกข้อมูลหรือไม่
ยืนยันการบันทึกข้อมูลหรือไม่
</ng-container>
</ng-container>
<ng-container
*
ngIf=
"modalStatus=='delete'||modalStatus=='deleteGroup'"
>
<ng-container
*
ngIf=
"modalStatus=='delete'||modalStatus=='deleteGroup'"
>
ยืนยันการลบข้อมูลหรือไม่
<ng-container
*
ngIf=
"numDataListChecked"
>
ยืนยันการลบข้อมูลหรือไม่
</ng-container>
<ng-container
*
ngIf=
"!numDataListChecked"
>
เลือกข้อมูลที่ต้องการลบ
</ng-container>
</ng-container>
</ng-container>
</p>
</p>
...
@@ -356,7 +361,7 @@
...
@@ -356,7 +361,7 @@
ย้อนกลับ
ย้อนกลับ
</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=
"#day-type-registry-alert-modal"
(
click
)="
deleteEventgrp
()"
>
data-hs-overlay=
"#day-type-registry-alert-modal"
(
click
)="
deleteEventgrp
()"
*
ngIf=
"numDataListChecked"
>
ลบข้อมูล
ลบข้อมูล
</a>
</a>
</ng-container>
</ng-container>
...
...
src/app/components/company-components/employee-registration/sub-employee-registration/sub-employee-registration.component.html
View file @
0cc7a97a
...
@@ -674,7 +674,12 @@
...
@@ -674,7 +674,12 @@
</div>
</div>
<div
class=
"ti-modal-body "
>
<div
class=
"ti-modal-body "
>
<p
class=
"mt-1 text-gray-800 dark:text-white/70"
>
<p
class=
"mt-1 text-gray-800 dark:text-white/70"
>
ยืนยันการลบข้อมูลหรือไม่!
<ng-container
*
ngIf=
"numDataListChecked"
>
ยืนยันการลบข้อมูลหรือไม่
</ng-container>
<ng-container
*
ngIf=
"!numDataListChecked"
>
เลือกข้อมูลที่ต้องการลบ
</ng-container>
!
</p>
</p>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
...
@@ -684,7 +689,7 @@
...
@@ -684,7 +689,7 @@
ย้อนกลับ
ย้อนกลับ
</button>
</button>
<a
class=
"ti-btn ti-btn-success"
href=
"javascript:void(0);"
<a
class=
"ti-btn ti-btn-success"
href=
"javascript:void(0);"
data-hs-overlay=
"#sub-employee-registration-alert-delete-modal"
(
click
)="
updateEmployeeList
(
modalType
)"
>
data-hs-overlay=
"#sub-employee-registration-alert-delete-modal"
(
click
)="
updateEmployeeList
(
modalType
)"
*
ngIf=
"numDataListChecked"
>
ลบข้อมูล
ลบข้อมูล
</a>
</a>
</div>
</div>
...
...
src/app/components/company-components/job-description/employee-categories/employee-categories.component.html
View file @
0cc7a97a
...
@@ -229,7 +229,12 @@
...
@@ -229,7 +229,12 @@
ยืนยันการบันทึกข้อมูลหรือไม่
ยืนยันการบันทึกข้อมูลหรือไม่
</ng-container>
</ng-container>
<ng-container
*
ngIf=
"modalStatus=='delete'||modalStatus=='deleteGroup'"
>
<ng-container
*
ngIf=
"modalStatus=='delete'||modalStatus=='deleteGroup'"
>
ยืนยันการลบข้อมูลหรือไม่
<ng-container
*
ngIf=
"numDataListChecked"
>
ยืนยันการลบข้อมูลหรือไม่
</ng-container>
<ng-container
*
ngIf=
"!numDataListChecked"
>
เลือกข้อมูลที่ต้องการลบ
</ng-container>
</ng-container>
</ng-container>
</p>
</p>
...
@@ -252,7 +257,7 @@
...
@@ -252,7 +257,7 @@
ย้อนกลับ
ย้อนกลับ
</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
()"
>
data-hs-overlay=
"#employee-categories-page-alert-modal"
(
click
)="
deleteEmp_type
()"
*
ngIf=
"numDataListChecked"
>
ลบข้อมูล
ลบข้อมูล
</a>
</a>
</ng-container>
</ng-container>
...
...
src/app/components/company-components/job-description/employee-group-unit/employee-group-unit.component.html
View file @
0cc7a97a
...
@@ -226,7 +226,12 @@
...
@@ -226,7 +226,12 @@
ยืนยันการบันทึกข้อมูลหรือไม่
ยืนยันการบันทึกข้อมูลหรือไม่
</ng-container>
</ng-container>
<ng-container
*
ngIf=
"modalStatus=='delete'||modalStatus=='deleteGroup'"
>
<ng-container
*
ngIf=
"modalStatus=='delete'||modalStatus=='deleteGroup'"
>
ยืนยันการลบข้อมูลหรือไม่
<ng-container
*
ngIf=
"numDataListChecked"
>
ยืนยันการลบข้อมูลหรือไม่
</ng-container>
<ng-container
*
ngIf=
"!numDataListChecked"
>
เลือกข้อมูลที่ต้องการลบ
</ng-container>
</ng-container>
</ng-container>
</p>
</p>
...
@@ -250,7 +255,7 @@
...
@@ -250,7 +255,7 @@
</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-group-unit-component-page-alert-modal"
data-hs-overlay=
"#employee-group-unit-component-page-alert-modal"
(
click
)="
deleteEmp_group
()"
>
(
click
)="
deleteEmp_group
()"
*
ngIf=
"numDataListChecked"
>
ลบข้อมูล
ลบข้อมูล
</a>
</a>
</ng-container>
</ng-container>
...
...
src/app/components/company-components/job-description/employee-level/employee-level.component.html
View file @
0cc7a97a
...
@@ -259,7 +259,12 @@
...
@@ -259,7 +259,12 @@
ยืนยันการบันทึกข้อมูลหรือไม่
ยืนยันการบันทึกข้อมูลหรือไม่
</ng-container>
</ng-container>
<ng-container
*
ngIf=
"modalStatus=='delete'||modalStatus=='deleteGroup'"
>
<ng-container
*
ngIf=
"modalStatus=='delete'||modalStatus=='deleteGroup'"
>
ยืนยันการลบข้อมูลหรือไม่
<ng-container
*
ngIf=
"numDataListChecked"
>
ยืนยันการลบข้อมูลหรือไม่
</ng-container>
<ng-container
*
ngIf=
"!numDataListChecked"
>
เลือกข้อมูลที่ต้องการลบ
</ng-container>
</ng-container>
</ng-container>
</p>
</p>
...
@@ -282,7 +287,7 @@
...
@@ -282,7 +287,7 @@
ย้อนกลับ
ย้อนกลับ
</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-level-page-alert-modal"
(
click
)="
deletePL
()"
>
data-hs-overlay=
"#employee-level-page-alert-modal"
(
click
)="
deletePL
()"
*
ngIf=
"numDataListChecked"
>
ลบข้อมูล
ลบข้อมูล
</a>
</a>
</ng-container>
</ng-container>
...
...
src/app/components/company-components/job-description/position/position-unit.component.html
View file @
0cc7a97a
...
@@ -227,7 +227,12 @@
...
@@ -227,7 +227,12 @@
ยืนยันการบันทึกข้อมูลหรือไม่
ยืนยันการบันทึกข้อมูลหรือไม่
</ng-container>
</ng-container>
<ng-container
*
ngIf=
"modalStatus=='delete'||modalStatus=='deleteGroup'"
>
<ng-container
*
ngIf=
"modalStatus=='delete'||modalStatus=='deleteGroup'"
>
ยืนยันการลบข้อมูลหรือไม่
<ng-container
*
ngIf=
"numDataListChecked"
>
ยืนยันการลบข้อมูลหรือไม่
</ng-container>
<ng-container
*
ngIf=
"!numDataListChecked"
>
เลือกข้อมูลที่ต้องการลบ
</ng-container>
</ng-container>
</ng-container>
</p>
</p>
...
@@ -250,7 +255,7 @@
...
@@ -250,7 +255,7 @@
ย้อนกลับ
ย้อนกลับ
</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
()"
>
data-hs-overlay=
"#position-unit-component-page-alert-modal"
(
click
)="
deletePosition
()"
*
ngIf=
"numDataListChecked"
>
ลบข้อมูล
ลบข้อมูล
</a>
</a>
</ng-container>
</ng-container>
...
...
src/app/components/competency-assessment/competency-management/group-competencies/edit-group-competencies/edit-group-competencies.component.html
View file @
0cc7a97a
...
@@ -466,7 +466,12 @@
...
@@ -466,7 +466,12 @@
</div>
</div>
<div
class=
"ti-modal-body "
>
<div
class=
"ti-modal-body "
>
<p
class=
"mt-1 text-gray-800 dark:text-white/70"
>
<p
class=
"mt-1 text-gray-800 dark:text-white/70"
>
ยืนยันการลบข้อมูลหรือไม่!
<ng-container
*
ngIf=
"numDataListChecked"
>
ยืนยันการลบข้อมูลหรือไม่
</ng-container>
<ng-container
*
ngIf=
"!numDataListChecked"
>
เลือกข้อมูลที่ต้องการลบ
</ng-container>
!
</p>
</p>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
...
@@ -476,7 +481,7 @@
...
@@ -476,7 +481,7 @@
ย้อนกลับ
ย้อนกลับ
</button>
</button>
<a
class=
"ti-btn ti-btn-success"
href=
"javascript:void(0);"
<a
class=
"ti-btn ti-btn-success"
href=
"javascript:void(0);"
data-hs-overlay=
"#edit-group-competencies-alert-delete-modal"
data-hs-overlay=
"#edit-group-competencies-alert-delete-modal"
*
ngIf=
"numDataListChecked"
(
click
)="
deleteGroupAssessmentById
()"
>
(
click
)="
deleteGroupAssessmentById
()"
>
ลบข้อมูล
ลบข้อมูล
</a>
</a>
...
...
src/app/components/competency-assessment/course-registration/development-course/development-course.component.html
View file @
0cc7a97a
...
@@ -310,7 +310,12 @@
...
@@ -310,7 +310,12 @@
</p>
</p>
<p
class=
"mt-1 text-gray-800 dark:text-white/70"
<p
class=
"mt-1 text-gray-800 dark:text-white/70"
*
ngIf=
"currentModal=='delete'||currentModal=='deleteGroup'"
>
*
ngIf=
"currentModal=='delete'||currentModal=='deleteGroup'"
>
ยืนยันการลบข้อมูลหรือไม่
<ng-container
*
ngIf=
"numDataListChecked"
>
ยืนยันการลบข้อมูลหรือไม่
</ng-container>
<ng-container
*
ngIf=
"!numDataListChecked"
>
เลือกข้อมูลที่ต้องการลบ
</ng-container>
</p>
</p>
<div
class=
"flex justify-end mt-2rem mb-1rem"
*
ngIf=
"currentModal=='add'||currentModal=='edit'"
>
<div
class=
"flex justify-end mt-2rem mb-1rem"
*
ngIf=
"currentModal=='add'||currentModal=='edit'"
>
...
@@ -332,7 +337,7 @@
...
@@ -332,7 +337,7 @@
ย้อนกลับ
ย้อนกลับ
</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=
"#development-course-alert-modal"
(
click
)="
updateCompetencyCourse
('
delete
')"
>
data-hs-overlay=
"#development-course-alert-modal"
(
click
)="
updateCompetencyCourse
('
delete
')"
*
ngIf=
"numDataListChecked"
>
ลบข้อมูล
ลบข้อมูล
</a>
</a>
</div>
</div>
...
...
src/app/components/competency-assessment/evaluation-cycle-manager/define-document-form/define-document-form.component.html
View file @
0cc7a97a
...
@@ -274,7 +274,12 @@
...
@@ -274,7 +274,12 @@
</div>
</div>
<div
class=
"ti-modal-body "
>
<div
class=
"ti-modal-body "
>
<p
class=
"mt-1 text-gray-800 dark:text-white/70"
>
<p
class=
"mt-1 text-gray-800 dark:text-white/70"
>
ยืนยันการลบข้อมูลหรือไม่
<ng-container
*
ngIf=
"numDataListChecked"
>
ยืนยันการลบข้อมูลหรือไม่
</ng-container>
<ng-container
*
ngIf=
"!numDataListChecked"
>
เลือกข้อมูลที่ต้องการลบ
</ng-container>
</p>
</p>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
<button
type=
"button"
<button
type=
"button"
...
@@ -284,7 +289,7 @@
...
@@ -284,7 +289,7 @@
</button>
</button>
<a
class=
"ti-btn ti-btn-success"
href=
"javascript:void(0);"
<a
class=
"ti-btn ti-btn-success"
href=
"javascript:void(0);"
data-hs-overlay=
"#define-document-form-delete-modal"
data-hs-overlay=
"#define-document-form-delete-modal"
(
click
)="
showSuccessDelete
()"
>
(
click
)="
showSuccessDelete
()"
*
ngIf=
"numDataListChecked"
>
ลบข้อมูล
ลบข้อมูล
</a>
</a>
</div>
</div>
...
...
src/app/components/competency-assessment/evaluation-cycle-manager/evaluation-cycle/evaluation-cycle.component.html
View file @
0cc7a97a
...
@@ -377,7 +377,12 @@
...
@@ -377,7 +377,12 @@
ยืนยันการบันทึกข้อมูลหรือไม่
ยืนยันการบันทึกข้อมูลหรือไม่
</ng-container>
</ng-container>
<ng-container
*
ngIf=
"modalStatus=='delete'||modalStatus=='deleteGroup'"
>
<ng-container
*
ngIf=
"modalStatus=='delete'||modalStatus=='deleteGroup'"
>
ยืนยันการลบข้อมูลหรือไม่
<ng-container
*
ngIf=
"numDataListChecked"
>
ยืนยันการลบข้อมูลหรือไม่
</ng-container>
<ng-container
*
ngIf=
"!numDataListChecked"
>
เลือกข้อมูลที่ต้องการลบ
</ng-container>
</ng-container>
</ng-container>
<ng-container
*
ngIf=
"modalStatus=='createForm'"
>
<ng-container
*
ngIf=
"modalStatus=='createForm'"
>
คุณต้องการสร้างแบบฟอร์มการประเมินใหม่หรือไม่
คุณต้องการสร้างแบบฟอร์มการประเมินใหม่หรือไม่
...
@@ -403,7 +408,7 @@
...
@@ -403,7 +408,7 @@
ย้อนกลับ
ย้อนกลับ
</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
()"
>
data-hs-overlay=
"#evaluation-cycle-page-alert-modal"
(
click
)="
deleteevaluation_cycle
()"
*
ngIf=
"numDataListChecked"
>
ลบข้อมูล
ลบข้อมูล
</a>
</a>
</ng-container>
</ng-container>
...
...
src/app/components/competency-assessment/grade-registration/grade-management/grade-management.component.html
View file @
0cc7a97a
...
@@ -148,7 +148,12 @@
...
@@ -148,7 +148,12 @@
</div>
</div>
<div
class=
"ti-modal-body "
>
<div
class=
"ti-modal-body "
>
<p
class=
"mt-1 text-gray-800 dark:text-white/70"
>
<p
class=
"mt-1 text-gray-800 dark:text-white/70"
>
ยืนยันการลบข้อมูลหรือไม่
<ng-container
*
ngIf=
"numDataListChecked"
>
ยืนยันการลบข้อมูลหรือไม่
</ng-container>
<ng-container
*
ngIf=
"!numDataListChecked"
>
เลือกข้อมูลที่ต้องการลบ
</ng-container>
</p>
</p>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
...
@@ -159,7 +164,7 @@
...
@@ -159,7 +164,7 @@
</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=
"#grade-management-alert-delete-modal"
data-hs-overlay=
"#grade-management-alert-delete-modal"
(
click
)="
deleteCompetencyGroupGradeList
();"
>
(
click
)="
deleteCompetencyGroupGradeList
();"
*
ngIf=
"numDataListChecked"
>
ลบข้อมูล
ลบข้อมูล
</a>
</a>
</div>
</div>
...
...
src/app/components/competency-assessment/grade-registration/grade-management/sub-grade-registration/sub-grade-registration.component.html
View file @
0cc7a97a
...
@@ -320,7 +320,12 @@
...
@@ -320,7 +320,12 @@
</div>
</div>
<div
class=
"ti-modal-body "
>
<div
class=
"ti-modal-body "
>
<p
class=
"mt-1 text-gray-800 dark:text-white/70"
>
<p
class=
"mt-1 text-gray-800 dark:text-white/70"
>
ยืนยันการลบข้อมูลหรือไม่!
<ng-container
*
ngIf=
"numDataListChecked"
>
ยืนยันการลบข้อมูลหรือไม่
</ng-container>
<ng-container
*
ngIf=
"!numDataListChecked"
>
เลือกข้อมูลที่ต้องการลบ
</ng-container>
!
</p>
</p>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
...
@@ -331,7 +336,7 @@
...
@@ -331,7 +336,7 @@
</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-grade-registration-alert-delete-modal"
data-hs-overlay=
"#sub-grade-registration-alert-delete-modal"
(
click
)="
updateCompetencyGroupGrade
()"
>
(
click
)="
updateCompetencyGroupGrade
()"
*
ngIf=
"numDataListChecked"
>
ลบข้อมูล
ลบข้อมูล
</a>
</a>
</div>
</div>
...
...
src/app/components/competency-assessment/name-registration/competency-topic/competency-topic.component.html
View file @
0cc7a97a
...
@@ -590,7 +590,12 @@
...
@@ -590,7 +590,12 @@
ยืนยันการบันทึกข้อมูลหรือไม่
ยืนยันการบันทึกข้อมูลหรือไม่
</ng-container>
</ng-container>
<ng-container
*
ngIf=
"modalStatus=='delete'||modalStatus=='deleteGroup'"
>
<ng-container
*
ngIf=
"modalStatus=='delete'||modalStatus=='deleteGroup'"
>
ยืนยันการลบข้อมูลหรือไม่
<ng-container
*
ngIf=
"numDataListChecked"
>
ยืนยันการลบข้อมูลหรือไม่
</ng-container>
<ng-container
*
ngIf=
"!numDataListChecked"
>
เลือกข้อมูลที่ต้องการลบ
</ng-container>
</ng-container>
</ng-container>
</p>
</p>
...
@@ -612,7 +617,7 @@
...
@@ -612,7 +617,7 @@
data-hs-overlay=
"#competency-topic-page-alert-modal"
>
data-hs-overlay=
"#competency-topic-page-alert-modal"
>
ย้อนกลับ
ย้อนกลับ
</button>
</button>
<a
class=
"ti-btn ti-btn-danger"
href=
"javascript:void(0);"
<a
class=
"ti-btn ti-btn-danger"
href=
"javascript:void(0);"
*
ngIf=
"numDataListChecked"
data-hs-overlay=
"#competency-topic-page-alert-modal"
(
click
)="
deleteCompetency_topic
()"
>
data-hs-overlay=
"#competency-topic-page-alert-modal"
(
click
)="
deleteCompetency_topic
()"
>
ลบข้อมูล
ลบข้อมูล
</a>
</a>
...
...
src/app/components/competency-assessment/name-registration/type-registration/type-registration.component.html
View file @
0cc7a97a
...
@@ -271,7 +271,12 @@
...
@@ -271,7 +271,12 @@
ยืนยันการบันทึกข้อมูลหรือไม่
ยืนยันการบันทึกข้อมูลหรือไม่
</ng-container>
</ng-container>
<ng-container
*
ngIf=
"modalStatus=='delete'||modalStatus=='deleteGroup'"
>
<ng-container
*
ngIf=
"modalStatus=='delete'||modalStatus=='deleteGroup'"
>
ยืนยันการลบข้อมูลหรือไม่
<ng-container
*
ngIf=
"numDataListChecked"
>
ยืนยันการลบข้อมูลหรือไม่
</ng-container>
<ng-container
*
ngIf=
"!numDataListChecked"
>
เลือกข้อมูลที่ต้องการลบ
</ng-container>
</ng-container>
</ng-container>
</p>
</p>
...
@@ -294,7 +299,7 @@
...
@@ -294,7 +299,7 @@
data-hs-overlay=
"#type-registration-component-page-alert-modal"
>
data-hs-overlay=
"#type-registration-component-page-alert-modal"
>
ย้อนกลับ
ย้อนกลับ
</button>
</button>
<a
class=
"ti-btn ti-btn-danger"
href=
"javascript:void(0);"
<a
class=
"ti-btn ti-btn-danger"
href=
"javascript:void(0);"
*
ngIf=
"numDataListChecked"
data-hs-overlay=
"#type-registration-component-page-alert-modal"
data-hs-overlay=
"#type-registration-component-page-alert-modal"
(
click
)="
deleteType_registration
()"
>
(
click
)="
deleteType_registration
()"
>
ลบข้อมูล
ลบข้อมูล
...
...
src/app/components/competency-assessment/tool-register/assessment-tool/assessment-tool.component.html
View file @
0cc7a97a
...
@@ -300,7 +300,12 @@
...
@@ -300,7 +300,12 @@
</p>
</p>
<p
class=
"mt-1 text-gray-800 dark:text-white/70"
<p
class=
"mt-1 text-gray-800 dark:text-white/70"
*
ngIf=
"currentModal=='delete'||currentModal=='deleteGroup'"
>
*
ngIf=
"currentModal=='delete'||currentModal=='deleteGroup'"
>
ยืนยันการลบข้อมูลหรือไม่
<ng-container
*
ngIf=
"numDataListChecked"
>
ยืนยันการลบข้อมูลหรือไม่
</ng-container>
<ng-container
*
ngIf=
"!numDataListChecked"
>
เลือกข้อมูลที่ต้องการลบ
</ng-container>
</p>
</p>
<div
class=
"flex justify-end mt-2rem mb-1rem"
*
ngIf=
"currentModal=='add'||currentModal=='edit'"
>
<div
class=
"flex justify-end mt-2rem mb-1rem"
*
ngIf=
"currentModal=='add'||currentModal=='edit'"
>
<button
type=
"button"
<button
type=
"button"
...
@@ -320,7 +325,7 @@
...
@@ -320,7 +325,7 @@
data-hs-overlay=
"#assessment-tool-alert-modal"
>
data-hs-overlay=
"#assessment-tool-alert-modal"
>
ย้อนกลับ
ย้อนกลับ
</button>
</button>
<button
type=
"button"
class=
"ti-btn ti-btn-danger"
data-hs-overlay=
"#assessment-tool-alert-modal"
<button
type=
"button"
class=
"ti-btn ti-btn-danger"
data-hs-overlay=
"#assessment-tool-alert-modal"
*
ngIf=
"numDataListChecked"
(
click
)="
updateAssessment
('
delete
')"
>
(
click
)="
updateAssessment
('
delete
')"
>
ลบข้อมูล
ลบข้อมูล
</button>
</button>
...
...
src/app/components/job-detail-components/command-structure/sub-command-structure/sub-command-structure.component.html
View file @
0cc7a97a
<div
class=
"w-full min-height-50px mb-10px justify-between items-center"
>
<div
class=
"w-full min-height-50px mb-10px justify-between items-center"
>
<div
class=
"flex justify-between"
>
<div
class=
"flex justify-end"
>
<div
class=
"flex pr-2"
>
<div
class=
"px-1"
>
<div
class=
"px-1"
>
<div
class=
"relative shadow-md"
>
<button
type=
"button"
class=
"ti-btn ti-btn-soft-secondary h-20px m-0 shadow-md"
<input
type=
"text"
id=
"hs-leading-icon"
name=
"hs-leading-icon"
data-hs-overlay=
"#company-registration-page-upload-modal"
>
class=
"ti-form-input ltr:pl-11 rtl:pr-11 focus:z-10 "
placeholder=
"Search by No. or Name"
<i
class=
"ri-add-line"
></i>
[(
ngModel
)]="
search
"
(
ngModelChange
)="
searchChange
()"
>
นำเข้าข้อมูล
</button>
<a
class=
"mx-2 justify-center -mb-px inline-flex items-center gap-2 font-weight-500 font-size-12px text-center text-secondary border-secondary border-b-2 align-items-end"
href=
"javascript:void(0);"
>
ดาวน์โหลดตัวอย่างไฟล์
</a>
</div>
</div>
<div
class=
"flex justify-end"
>
<div
class=
"px-1"
>
<div
class=
"relative shadow-md"
>
<input
type=
"text"
id=
"hs-leading-icon"
name=
"hs-leading-icon"
class=
"ti-form-input ltr:pl-11 rtl:pr-11 focus:z-10 "
placeholder=
"Search by No. or Name"
[(
ngModel
)]="
search
"
(
ngModelChange
)="
searchChange
()"
>
<div
<div
class=
"absolute inset-y-0 ltr:left-0 rtl:right-0 flex items-center pointer-events-none z-20 ltr:pl-4 rtl:pr-4"
>
class=
"absolute inset-y-0 ltr:left-0 rtl:right-0 flex items-center pointer-events-none z-20 ltr:pl-4 rtl:pr-4"
>
<i
class=
"ri-search-line text-gray"
></i>
<i
class=
"ri-search-line text-gray"
></i>
</div>
</div>
</div>
<div
class=
"px-1"
>
<button
href=
"javascript:void(0);"
class=
"ti-btn ti-btn-soft-danger h-45px m-0 shadow-md"
data-hs-overlay=
"#sub-command-structure-alert-delete-modal"
>
<i
class=
"ri-delete-bin-6-line"
></i>
Delete
</button>
</div>
<!-- <div class="px-1">
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-warning h-45px m-0 shadow-md">
<i class="ti ti-book fs-l"></i>
Help
</button>
</div> -->
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"px-1"
>
<button
type=
"button"
class=
" h-45px ti-btn ti-btn bg-pink-500/10 text-pink-500 hover:text-white hover:bg-pink-500 ring-offset-white focus:ring-pink-500 dark:focus:ring-offset-white/10 h-10 m-0 shadow-md"
data-hs-overlay=
"#company-registration-page-upload-modal"
>
<i
class=
"ti ti-file-plus"
></i>
import
</button>
</div>
<div
class=
"px-1"
>
<button
href=
"javascript:void(0);"
class=
"ti-btn ti-btn-soft-danger h-45px m-0 shadow-md"
data-hs-overlay=
"#sub-command-structure-alert-delete-modal"
>
<i
class=
"ri-delete-bin-6-line"
></i>
Delete
</button>
</div>
<!-- <div class="px-1">
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-warning h-45px m-0 shadow-md">
<i class="ti ti-book fs-l"></i>
Help
</button>
</div> -->
</div>
</div>
<div
class=
"page px-rem"
>
<div
class=
"page px-rem"
>
<div
class=
"overflow-auto table-bordered rounded-t-md"
>
<div
class=
"overflow-auto table-bordered rounded-t-md"
>
<div
id=
"card-type-1"
role=
"tabpanel"
aria-labelledby=
"card-type-item-1"
>
<div
id=
"card-type-1"
role=
"tabpanel"
aria-labelledby=
"card-type-item-1"
>
<div
class=
"overflow-auto shadow-md"
>
<div
class=
"overflow-auto shadow-md"
>
<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"
>
<thead>
<thead>
<tr>
<tr>
<ng-container
<ng-container
*
ngFor=
"let item of ['ลำดับ','รหัสงาน','ชื่อลักษณะงาน (ไทย)','ชื่อลักษณะงาน (อังกฤษ)','การจัดการ']; let f = first; let l = last"
>
*
ngFor=
"let item of ['ลำดับ','รหัสงาน','ชื่อลักษณะงาน (ไทย)','ชื่อลักษณะงาน (อังกฤษ)','การจัดการ']; let f = first; let l = last"
>
<th
scope=
"col"
class=
"relative px-10px py-10px bg-soft-secondary text-primary !text-center"
>
<th
scope=
"col"
<span
class=
"font-size-12px font-weight-700"
>
{{ item }}
</span>
class=
"relative px-10px py-10px bg-soft-secondary text-primary !text-center"
>
<div
class=
"absolute top-1/2 transform -translate-y-1/2 right-0"
*
ngIf=
"!l"
>
<span
class=
"font-size-12px font-weight-700"
>
{{ item }}
</span>
<i
class=
"ti ti-dots-vertical fs-l"
></i>
<div
class=
"absolute top-1/2 transform -translate-y-1/2 right-0"
*
ngIf=
"!l"
>
</div>
<i
class=
"ti ti-dots-vertical fs-l"
></i>
</th>
</div>
</ng-container>
</th>
</tr>
</ng-container>
</thead>
</tr>
<tbody>
</thead>
<tr
*
ngFor=
"let item of[
<tbody>
<tr
*
ngFor=
"let item of[
['01','001', 'Department Manager 1','Department Manager 1'],
['01','001', 'Department Manager 1','Department Manager 1'],
['02','002', 'Department Manager 2','Department Manager 2'],
['02','002', 'Department Manager 2','Department Manager 2'],
['03','003', 'Department 1-HRD','Department 1-HRD'],
['03','003', 'Department 1-HRD','Department 1-HRD'],
['04','004', 'Department Manager 3','Department Manager 3'],
['04','004', 'Department Manager 3','Department Manager 3'],
['05','005', 'Department Manager 4','Department Manager 4']];let i = index"
>
['05','005', 'Department Manager 4','Department Manager 4']];let i = index"
>
<td
class=
"text-center"
>
<td
class=
"text-center"
>
{{i+1}}
{{i+1}}
</td>
</td>
<td
class=
"text-center"
>
{{item[1]}}
</td>
<td
class=
"text-center"
>
{{item[1]}}
</td>
<td>
{{item[2]}}
</td>
<td>
{{item[2]}}
</td>
<td>
{{item[3]}}
</td>
<td>
{{item[3]}}
</td>
<td
class=
"flex justify-center"
>
<td
class=
"flex justify-center"
>
<i
class=
"ti ti-edit cursor-pointer i-gray fs-l px-1"
<i
class=
"ti ti-edit cursor-pointer i-gray fs-l px-1"
data-hs-overlay=
"#sub-command-structure-modal-edit"
></i>
data-hs-overlay=
"#sub-command-structure-modal-edit"
></i>
<!-- <i class="ti ti-trash cursor-pointer i-gray fs-l px-1"
<!-- <i class="ti ti-trash cursor-pointer i-gray fs-l px-1"
data-hs-overlay="#sub-command-structure-alert-delete-modal"></i> -->
data-hs-overlay="#sub-command-structure-alert-delete-modal"></i> -->
</td>
</td>
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
</div>
</div>
</div>
</div>
<nav
class=
"pagination-style-3 overflow-auto my-5"
*
ngIf=
"page.length"
>
<ul
class=
"ti-pagination"
>
<li>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
(
click
)="
currentPage =
(currentPage-1
||
1
)"
>
<i
class=
"ri-arrow-left-s-line align-middle rtl:rotate-180"
></i>
</a>
</li>
<li
*
ngFor=
"let item of page;let f = first;let l = last"
>
<ng-container
*
ngIf=
"item==3&¤tPage!=1&¤tPage!=2&¤tPage!=3"
>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
><i
class=
"ri-more-line"
></i>
</a>
</ng-container>
<ng-container
*
ngIf=
"(f||l)||(item==currentPage-1||item==currentPage||item==currentPage+1)"
>
<a
class=
"page-link"
href=
"javascript:void(0);"
[
class
.
active
]="
item=
=currentPage"
(
click
)="
currentPage=
item"
>
{{item}}
</a>
</ng-container>
<ng-container
*
ngIf=
"item==page.length-2&¤tPage!=page.length&¤tPage!=page.length-1&¤tPage!=page.length-2"
>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
><i
class=
"ri-more-line"
></i>
</a>
</ng-container>
</li>
<li>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
(
click
)="
currentPage =
(currentPage
>
page.length-1 ? currentPage: currentPage+1 )">
<i
class=
"ri-arrow-right-s-line align-middle rtl:rotate-180"
></i>
</a>
</li>
</ul>
</nav>
</div>
</div>
</div>
<nav
class=
"pagination-style-3 overflow-auto my-5"
*
ngIf=
"page.length"
>
<ul
class=
"ti-pagination"
>
<li>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
(
click
)="
currentPage =
(currentPage-1
||
1
)"
>
<i
class=
"ri-arrow-left-s-line align-middle rtl:rotate-180"
></i>
</a>
</li>
<li
*
ngFor=
"let item of page;let f = first;let l = last"
>
<ng-container
*
ngIf=
"item==3&¤tPage!=1&¤tPage!=2&¤tPage!=3"
>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
><i
class=
"ri-more-line"
></i>
</a>
</ng-container>
<ng-container
*
ngIf=
"(f||l)||(item==currentPage-1||item==currentPage||item==currentPage+1)"
>
<a
class=
"page-link"
href=
"javascript:void(0);"
[
class
.
active
]="
item=
=currentPage"
(
click
)="
currentPage=
item"
>
{{item}}
</a>
</ng-container>
<ng-container
*
ngIf=
"item==page.length-2&¤tPage!=page.length&¤tPage!=page.length-1&¤tPage!=page.length-2"
>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
><i
class=
"ri-more-line"
></i>
</a>
</ng-container>
</li>
<li>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
(
click
)="
currentPage =
(currentPage
>
page.length-1 ? currentPage: currentPage+1 )">
<i
class=
"ri-arrow-right-s-line align-middle rtl:rotate-180"
></i>
</a>
</li>
</ul>
</nav>
</div>
<div
id=
"sub-command-structure-modal-add"
class=
"hs-overlay hidden ti-modal"
>
<div
id=
"sub-command-structure-modal-add"
class=
"hs-overlay hidden ti-modal"
>
<div
class=
"hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out h-[calc(100%-3.5rem)]"
>
<div
class=
"hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out h-[calc(100%-3.5rem)]"
>
<div
class=
"max-h-full overflow-hidden ti-modal-content"
>
<div
class=
"max-h-full overflow-hidden ti-modal-content"
>
<div
class=
"ti-modal-header"
>
<div
class=
"ti-modal-header"
>
<h3
class=
"text-xxl font-bold text-primary"
>
<h3
class=
"text-xxl font-bold text-primary"
>
เพิ่มข้อมูลโครงสร้างสายการบังคับบัญชา
เพิ่มข้อมูลโครงสร้างสายการบังคับบัญชา
</h3>
</h3>
<div
class=
"flex justify-end"
>
<div
class=
"flex justify-end"
>
<button
type=
"button"
class=
"hs-dropdown-toggle ti-modal-clode-btn text-danger"
<button
type=
"button"
class=
"hs-dropdown-toggle ti-modal-clode-btn text-danger"
data-hs-overlay=
"#sub-command-structure-modal-add"
>
data-hs-overlay=
"#sub-command-structure-modal-add"
>
<span
class=
"sr-only"
>
Close
</span>
<span
class=
"sr-only"
>
Close
</span>
<i
class=
"ti ti-circle-x fs-xxl"
></i>
<i
class=
"ti ti-circle-x fs-xxl"
></i>
</button>
</button>
</div>
</div>
</div>
<div
class=
"ti-modal-center"
>
<div
class=
"flex justify-end"
style=
"padding-right: 1rem;"
>
<div
class=
"px-1"
>
<button
type=
"button"
class=
"ti-btn ti-btn-soft-indigo h-45px m-0 shadow-md"
>
<svg
class=
"svg-indigo"
width=
"16"
height=
"16"
viewBox=
"0 0 64.00 64.00"
xmlns=
"http://www.w3.org/2000/svg"
fill=
"none"
stroke=
"#595BEA"
stroke-width=
"3.84"
transform=
"rotate(45)matrix(-1, 0, 0, 1, 0, 0)"
>
<g
id=
"SVGRepo_bgCarrier"
stroke-width=
"0"
></g>
<g
id=
"SVGRepo_tracerCarrier"
stroke-linecap=
"round"
stroke-linejoin=
"round"
>
</g>
<g
id=
"SVGRepo_iconCarrier"
>
<path
d=
"M15 49A24 24 0 0 1 32 8"
></path>
<path
d=
"M49 15a24 24 0 0 1-17 41"
></path>
<polyline
points=
"15.03 40 15.03 48.97 8 48.97"
></polyline>
<polyline
points=
"48.97 24 48.97 15.03 56 15.03"
></polyline>
</g>
</svg>
Clear
</button>
</div>
</div>
<div
class=
"ti-modal-center"
>
<div
class=
"px-1"
>
<div
class=
"flex justify-end"
style=
"padding-right: 1rem;"
>
<button
href=
"javascript:void(0);"
class=
"ti-btn ti-btn-soft-warning h-45px m-0 shadow-md"
>
<div
class=
"px-1"
>
<i
class=
"ti ti-book fs-l"
></i>
<button
type=
"button"
class=
"ti-btn ti-btn-soft-indigo h-45px m-0 shadow-md"
>
Help
<svg
class=
"svg-indigo"
width=
"16"
height=
"16"
viewBox=
"0 0 64.00 64.00"
</button>
xmlns=
"http://www.w3.org/2000/svg"
fill=
"none"
stroke=
"#595BEA"
</div>
stroke-width=
"3.84"
transform=
"rotate(45)matrix(-1, 0, 0, 1, 0, 0)"
>
</div>
<g
id=
"SVGRepo_bgCarrier"
stroke-width=
"0"
></g>
</div>
<g
id=
"SVGRepo_tracerCarrier"
stroke-linecap=
"round"
stroke-linejoin=
"round"
>
<div
class=
"ti-modal-body mt-1"
>
</g>
<label
for=
"input-label"
class=
"ti-form-label"
>
รหัสงาน
</label>
<g
id=
"SVGRepo_iconCarrier"
>
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input w-1/2 bg-input-readonly"
readonly
value=
"001"
>
<path
d=
"M15 49A24 24 0 0 1 32 8"
></path>
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
ชื่อลักษณะงาน (ไทย)
<span
<path
d=
"M49 15a24 24 0 0 1-17 41"
></path>
class=
"text-danger"
>
*
</span></label>
<polyline
points=
"15.03 40 15.03 48.97 8 48.97"
></polyline>
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input h-10 bg-input-readonly"
readonly
<polyline
points=
"48.97 24 48.97 15.03 56 15.03"
></polyline>
value=
"Department Manager 1"
>
</g>
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
ชื่อลักษณะงาน (อังกฤษ)
</label>
</svg>
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input h-10 bg-input-readonly"
readonly
Clear
value=
"Department Manager 1"
>
</button>
<label
class=
"ti-form-label mt-2rem"
>
ชื่อตำแหน่งผู้บังคับบัญชาโดยตรง
</label>
</div>
<div
class=
"relative flex rounded-md"
>
<div
class=
"px-1"
>
<input
type=
"text"
id=
"hs-leading-button-add-on-with-icon-and-button"
<button
href=
"javascript:void(0);"
name=
"hs-leading-button-add-on-with-icon-and-button"
class=
"ti-btn ti-btn-soft-warning h-45px m-0 shadow-md"
>
class=
"ti-form-input w-full rounded-sm ltr:rounded-r-sm rtl:rounded-l-sm focus:z-10"
<i
class=
"ti ti-book fs-l"
></i>
style=
"padding-right: 3.5rem;"
>
Help
<div
</button>
class=
"absolute inset-y-0 ltr:right-0 rtl:left-0 flex items-center z-20 ltr:pr-4 rtl:pl-4 space-x-2"
>
</div>
<button
type=
"button"
class=
"flex items-center text-gray-500 dark:text-white/70"
</div>
data-hs-overlay=
"#sub-department-four-bu6-table-modal"
>
<i
class=
"ri-search-line cursor-pointer text-gray"
></i>
</button>
</div>
</div>
<div
class=
"ti-modal-body mt-1"
>
</div>
<label
for=
"input-label"
class=
"ti-form-label"
>
รหัสงาน
</label>
<label
class=
"ti-form-label mt-2rem"
>
ชื่อตำแหน่งผู้ปฏิบัติงาน
</label>
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input w-1/2 bg-input-readonly"
readonly
value=
"001"
>
<div
class=
"relative flex rounded-md"
>
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
ชื่อลักษณะงาน (ไทย)
<span
class=
"text-danger"
>
*
</span></label>
<input
type=
"text"
id=
"hs-leading-button-add-on-with-icon-and-button"
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input h-10 bg-input-readonly"
readonly
value=
"Department Manager 1"
>
name=
"hs-leading-button-add-on-with-icon-and-button"
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
ชื่อลักษณะงาน (อังกฤษ)
</label>
class=
"ti-form-input w-full rounded-sm ltr:rounded-r-sm rtl:rounded-l-sm focus:z-10"
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input h-10 bg-input-readonly"
readonly
value=
"Department Manager 1"
>
style=
"padding-right: 3.5rem;"
>
<label
class=
"ti-form-label mt-2rem"
>
ชื่อตำแหน่งผู้บังคับบัญชาโดยตรง
</label>
<div
<div
class=
"relative flex rounded-md"
>
class=
"absolute inset-y-0 ltr:right-0 rtl:left-0 flex items-center z-20 ltr:pr-4 rtl:pl-4 space-x-2"
>
<input
type=
"text"
id=
"hs-leading-button-add-on-with-icon-and-button"
<button
type=
"button"
class=
"flex items-center text-gray-500 dark:text-white/70"
name=
"hs-leading-button-add-on-with-icon-and-button"
data-hs-overlay=
"#sub-department-four-bu6-table-modal"
>
class=
"ti-form-input w-full rounded-sm ltr:rounded-r-sm rtl:rounded-l-sm focus:z-10"
<i
class=
"ri-search-line cursor-pointer text-gray"
></i>
style=
"padding-right: 3.5rem;"
>
</button>
<div
</div>
class=
"absolute inset-y-0 ltr:right-0 rtl:left-0 flex items-center z-20 ltr:pr-4 rtl:pl-4 space-x-2"
>
</div>
<button
type=
"button"
class=
"flex items-center text-gray-500 dark:text-white/70"
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
data-hs-overlay=
"#sub-department-four-bu6-table-modal"
>
ชื่อตำแหน่งและจำนวนผู้ใต้ยังคับบัญชาโดยตรง
<i
class=
"ri-search-line cursor-pointer text-gray"
></i>
</label>
</button>
<div
class=
"icon-container"
>
</div>
<i
class=
"ri-group-fill cursor-pointer"
></i>
</div>
<i
class=
"ri-mail-fill cursor-pointer"
></i>
<label
class=
"ti-form-label mt-2rem"
>
ชื่อตำแหน่งผู้ปฏิบัติงาน
</label>
</div>
<div
class=
"relative flex rounded-md"
>
<textarea
type=
"text"
id=
"detail_eng"
class=
"ti-form-input font-bold"
rows=
"3"
cols=
"50"
>
<input
type=
"text"
id=
"hs-leading-button-add-on-with-icon-and-button"
name=
"hs-leading-button-add-on-with-icon-and-button"
class=
"ti-form-input w-full rounded-sm ltr:rounded-r-sm rtl:rounded-l-sm focus:z-10"
style=
"padding-right: 3.5rem;"
>
<div
class=
"absolute inset-y-0 ltr:right-0 rtl:left-0 flex items-center z-20 ltr:pr-4 rtl:pl-4 space-x-2"
>
<button
type=
"button"
class=
"flex items-center text-gray-500 dark:text-white/70"
data-hs-overlay=
"#sub-department-four-bu6-table-modal"
>
<i
class=
"ri-search-line cursor-pointer text-gray"
></i>
</button>
</div>
</div>
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
ชื่อตำแหน่งและจำนวนผู้ใต้ยังคับบัญชาโดยตรง
</label>
<div
class=
"icon-container"
>
<i
class=
"ri-group-fill cursor-pointer"
></i>
<i
class=
"ri-mail-fill cursor-pointer"
></i>
</div>
<textarea
type=
"text"
id=
"detail_eng"
class=
"ti-form-input font-bold"
rows=
"3"
cols=
"50"
>
1.
1.
2.
2.
3.
3.
</textarea>
</textarea>
<div
class=
"flex justify-end mt-3rem mb-1rem space-x-4"
>
<div
class=
"flex justify-end mt-3rem mb-1rem space-x-4"
>
<button
type=
"button"
<button
type=
"button"
class=
"hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
class=
"hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
data-hs-overlay=
"#sub-command-structure-alert-add-modal"
>
data-hs-overlay=
"#sub-command-structure-alert-add-modal"
>
ย้อนกลับ
ย้อนกลับ
</button>
</button>
<a
class=
"ti-btn ti-btn-success"
href=
"javascript:void(0);"
<a
class=
"ti-btn ti-btn-success"
href=
"javascript:void(0);"
data-hs-overlay=
"#sub-command-structure-alert-add-modal"
>
data-hs-overlay=
"#sub-command-structure-alert-add-modal"
>
บันทึกข้อมูล
บันทึกข้อมูล
</a>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div
id=
"sub-command-structure-modal-edit"
class=
"hs-overlay hidden ti-modal"
>
<div
id=
"sub-command-structure-modal-edit"
class=
"hs-overlay hidden ti-modal"
>
<div
class=
"hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out h-[calc(100%-3.5rem)]"
>
<div
class=
"hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out h-[calc(100%-3.5rem)]"
>
<div
class=
"max-h-full overflow-hidden ti-modal-content"
>
<div
class=
"max-h-full overflow-hidden ti-modal-content"
>
<div
class=
"ti-modal-header"
>
<div
class=
"ti-modal-header"
>
<h3
class=
"text-xxl font-bold text-primary"
>
<h3
class=
"text-xxl font-bold text-primary"
>
แก้ไขข้อมูลโครงสร้างสายการบังคับบัญชา
แก้ไขข้อมูลโครงสร้างสายการบังคับบัญชา
</h3>
</h3>
<div
class=
"flex justify-end"
>
<div
class=
"flex justify-end"
>
<button
type=
"button"
class=
"hs-dropdown-toggle ti-modal-clode-btn text-danger"
<button
type=
"button"
class=
"hs-dropdown-toggle ti-modal-clode-btn text-danger"
data-hs-overlay=
"#sub-command-structure-modal-edit"
>
data-hs-overlay=
"#sub-command-structure-modal-edit"
>
<span
class=
"sr-only"
>
Close
</span>
<span
class=
"sr-only"
>
Close
</span>
<i
class=
"ti ti-circle-x fs-xxl"
></i>
<i
class=
"ti ti-circle-x fs-xxl"
></i>
</button>
</button>
</div>
</div>
</div>
<div
class=
"ti-modal-center"
>
<div
class=
"flex justify-end"
style=
"padding-right: 1rem;"
>
<div
class=
"px-1"
>
<button
type=
"button"
class=
"ti-btn ti-btn-soft-indigo h-45px m-0 shadow-md"
>
<svg
class=
"svg-indigo"
width=
"16"
height=
"16"
viewBox=
"0 0 64.00 64.00"
xmlns=
"http://www.w3.org/2000/svg"
fill=
"none"
stroke=
"#595BEA"
stroke-width=
"3.84"
transform=
"rotate(45)matrix(-1, 0, 0, 1, 0, 0)"
>
<g
id=
"SVGRepo_bgCarrier"
stroke-width=
"0"
></g>
<g
id=
"SVGRepo_tracerCarrier"
stroke-linecap=
"round"
stroke-linejoin=
"round"
>
</g>
<g
id=
"SVGRepo_iconCarrier"
>
<path
d=
"M15 49A24 24 0 0 1 32 8"
></path>
<path
d=
"M49 15a24 24 0 0 1-17 41"
></path>
<polyline
points=
"15.03 40 15.03 48.97 8 48.97"
></polyline>
<polyline
points=
"48.97 24 48.97 15.03 56 15.03"
></polyline>
</g>
</svg>
Clear
</button>
</div>
<div
class=
"px-1"
>
<button
href=
"javascript:void(0);"
class=
"ti-btn ti-btn-soft-warning h-45px m-0 shadow-md"
>
<i
class=
"ti ti-book fs-l"
></i>
Help
</button>
</div>
</div>
</div>
<div
class=
"ti-modal-body mt-1"
>
<label
for=
"input-label"
class=
"ti-form-label"
>
รหัสงาน
</label>
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input w-1/2 bg-input-readonly"
readonly
value=
"001"
>
<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 h-10 bg-input-readonly"
readonly
value=
"Department Manager 1"
>
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
ชื่อลักษณะงาน (อังกฤษ)
</label>
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input h-10 bg-input-readonly"
readonly
value=
"Department Manager 1"
>
<label
class=
"ti-form-label mt-2rem"
>
ชื่อตำแหน่งผู้บังคับบัญชาโดยตรง
</label>
<div
class=
"relative flex rounded-md"
>
<input
type=
"text"
id=
"hs-leading-button-add-on-with-icon-and-button"
name=
"hs-leading-button-add-on-with-icon-and-button"
class=
"ti-form-input w-full rounded-sm ltr:rounded-r-sm rtl:rounded-l-sm focus:z-10"
style=
"padding-right: 3.5rem;"
>
<div
class=
"absolute inset-y-0 ltr:right-0 rtl:left-0 flex items-center z-20 ltr:pr-4 rtl:pl-4 space-x-2"
>
<button
type=
"button"
class=
"flex items-center text-gray-500 dark:text-white/70"
data-hs-overlay=
"#sub-department-four-bu6-table-modal"
>
<i
class=
"ri-search-line cursor-pointer text-gray"
></i>
</button>
</div>
</div>
<div
class=
"ti-modal-center"
>
</div>
<div
class=
"flex justify-end"
style=
"padding-right: 1rem;"
>
<label
class=
"ti-form-label mt-2rem"
>
ชื่อตำแหน่งผู้ปฏิบัติงาน
</label>
<div
class=
"px-1"
>
<div
class=
"relative flex rounded-md"
>
<button
type=
"button"
class=
"ti-btn ti-btn-soft-indigo h-45px m-0 shadow-md"
>
<input
type=
"text"
id=
"hs-leading-button-add-on-with-icon-and-button"
<svg
class=
"svg-indigo"
width=
"16"
height=
"16"
viewBox=
"0 0 64.00 64.00"
name=
"hs-leading-button-add-on-with-icon-and-button"
xmlns=
"http://www.w3.org/2000/svg"
fill=
"none"
stroke=
"#595BEA"
class=
"ti-form-input w-full rounded-sm ltr:rounded-r-sm rtl:rounded-l-sm focus:z-10"
stroke-width=
"3.84"
transform=
"rotate(45)matrix(-1, 0, 0, 1, 0, 0)"
>
style=
"padding-right: 3.5rem;"
>
<g
id=
"SVGRepo_bgCarrier"
stroke-width=
"0"
></g>
<div
<g
id=
"SVGRepo_tracerCarrier"
stroke-linecap=
"round"
stroke-linejoin=
"round"
>
class=
"absolute inset-y-0 ltr:right-0 rtl:left-0 flex items-center z-20 ltr:pr-4 rtl:pl-4 space-x-2"
>
</g>
<button
type=
"button"
class=
"flex items-center text-gray-500 dark:text-white/70"
<g
id=
"SVGRepo_iconCarrier"
>
data-hs-overlay=
"#sub-department-four-bu6-table-modal"
>
<path
d=
"M15 49A24 24 0 0 1 32 8"
></path>
<i
class=
"ri-search-line cursor-pointer text-gray"
></i>
<path
d=
"M49 15a24 24 0 0 1-17 41"
></path>
</button>
<polyline
points=
"15.03 40 15.03 48.97 8 48.97"
></polyline>
<polyline
points=
"48.97 24 48.97 15.03 56 15.03"
></polyline>
</g>
</svg>
Clear
</button>
</div>
<div
class=
"px-1"
>
<button
href=
"javascript:void(0);"
class=
"ti-btn ti-btn-soft-warning h-45px m-0 shadow-md"
>
<i
class=
"ti ti-book fs-l"
></i>
Help
</button>
</div>
</div>
</div>
</div>
<div
class=
"ti-modal-body mt-1"
>
</div>
<label
for=
"input-label"
class=
"ti-form-label"
>
รหัสงาน
</label>
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input w-1/2 bg-input-readonly"
readonly
value=
"001"
>
ชื่อตำแหน่งและจำนวนผู้ใต้ยังคับบัญชาโดยตรง
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
ชื่อลักษณะงาน (ไทย)
<span
class=
"text-danger"
>
*
</span></label>
</label>
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input h-10 bg-input-readonly"
readonly
value=
"Department Manager 1"
>
<div
class=
"icon-container"
>
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
ชื่อลักษณะงาน (อังกฤษ)
</label>
<i
class=
"ri-group-fill cursor-pointer"
></i>
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input h-10 bg-input-readonly"
readonly
value=
"Department Manager 1"
>
<i
class=
"ri-mail-fill cursor-pointer"
></i>
<label
class=
"ti-form-label mt-2rem"
>
ชื่อตำแหน่งผู้บังคับบัญชาโดยตรง
</label>
</div>
<div
class=
"relative flex rounded-md"
>
<textarea
type=
"text"
id=
"detail_eng"
class=
"ti-form-input font-bold"
rows=
"3"
cols=
"50"
>
<input
type=
"text"
id=
"hs-leading-button-add-on-with-icon-and-button"
name=
"hs-leading-button-add-on-with-icon-and-button"
class=
"ti-form-input w-full rounded-sm ltr:rounded-r-sm rtl:rounded-l-sm focus:z-10"
style=
"padding-right: 3.5rem;"
>
<div
class=
"absolute inset-y-0 ltr:right-0 rtl:left-0 flex items-center z-20 ltr:pr-4 rtl:pl-4 space-x-2"
>
<button
type=
"button"
class=
"flex items-center text-gray-500 dark:text-white/70"
data-hs-overlay=
"#sub-department-four-bu6-table-modal"
>
<i
class=
"ri-search-line cursor-pointer text-gray"
></i>
</button>
</div>
</div>
<label
class=
"ti-form-label mt-2rem"
>
ชื่อตำแหน่งผู้ปฏิบัติงาน
</label>
<div
class=
"relative flex rounded-md"
>
<input
type=
"text"
id=
"hs-leading-button-add-on-with-icon-and-button"
name=
"hs-leading-button-add-on-with-icon-and-button"
class=
"ti-form-input w-full rounded-sm ltr:rounded-r-sm rtl:rounded-l-sm focus:z-10"
style=
"padding-right: 3.5rem;"
>
<div
class=
"absolute inset-y-0 ltr:right-0 rtl:left-0 flex items-center z-20 ltr:pr-4 rtl:pl-4 space-x-2"
>
<button
type=
"button"
class=
"flex items-center text-gray-500 dark:text-white/70"
data-hs-overlay=
"#sub-department-four-bu6-table-modal"
>
<i
class=
"ri-search-line cursor-pointer text-gray"
></i>
</button>
</div>
</div>
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
ชื่อตำแหน่งและจำนวนผู้ใต้ยังคับบัญชาโดยตรง
</label>
<div
class=
"icon-container"
>
<i
class=
"ri-group-fill cursor-pointer"
></i>
<i
class=
"ri-mail-fill cursor-pointer"
></i>
</div>
<textarea
type=
"text"
id=
"detail_eng"
class=
"ti-form-input font-bold"
rows=
"3"
cols=
"50"
>
1.
1.
2.
2.
3.
3.
</textarea>
</textarea>
<div
class=
"flex justify-end mt-3rem mb-1rem space-x-4"
>
<div
class=
"flex justify-end mt-3rem mb-1rem space-x-4"
>
<button
type=
"button"
<button
type=
"button"
class=
"hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
class=
"hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
data-hs-overlay=
"#sub-command-structure-modal-edit"
>
data-hs-overlay=
"#sub-command-structure-modal-edit"
>
ย้อนกลับ
ย้อนกลับ
</button>
</button>
<a
class=
"ti-btn ti-btn-success"
href=
"javascript:void(0);"
<a
class=
"ti-btn ti-btn-success"
href=
"javascript:void(0);"
data-hs-overlay=
"#sub-command-structure-alert-add-modal"
>
data-hs-overlay=
"#sub-command-structure-alert-add-modal"
>
บันทึกข้อมูล
บันทึกข้อมูล
</a>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div
id=
"sub-command-structure-alert-add-modal"
class=
"hs-overlay hidden ti-modal"
>
<div
id=
"sub-command-structure-alert-add-modal"
class=
"hs-overlay hidden ti-modal"
>
<div
class=
"hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out h-[calc(100%-3.5rem)] flex items-center"
>
<div
class=
"hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out h-[calc(100%-3.5rem)] flex items-center"
>
<div
class=
"max-h-full overflow-hidden ti-modal-content w-full"
>
<div
class=
"max-h-full overflow-hidden ti-modal-content w-full"
>
<div
class=
"ti-modal-header"
>
<div
class=
"ti-modal-header"
>
<h3
class=
"text-xxl font-bold text-primary"
>
<h3
class=
"text-xxl font-bold text-primary"
>
แจ้งเตือน
แจ้งเตือน
</h3>
</h3>
<div
class=
"flex justify-end"
>
<div
class=
"flex justify-end"
>
<button
type=
"button"
class=
"hs-dropdown-toggle ti-modal-clode-btn text-danger"
<button
type=
"button"
class=
"hs-dropdown-toggle ti-modal-clode-btn text-danger"
data-hs-overlay=
"#sub-command-structure-alert-add-modal"
>
data-hs-overlay=
"#sub-command-structure-alert-add-modal"
>
<span
class=
"sr-only"
>
Close
</span>
<span
class=
"sr-only"
>
Close
</span>
<i
class=
"ti ti-circle-x fs-xxl"
></i>
<i
class=
"ti ti-circle-x fs-xxl"
></i>
</button>
</button>
</div>
</div>
</div>
</div>
<div
class=
"ti-modal-body "
>
<div
class=
"ti-modal-body "
>
<p
class=
"mt-1 text-gray-800 dark:text-white/70"
>
<p
class=
"mt-1 text-gray-800 dark:text-white/70"
>
ยืนยันการบันทึกข้อมูลหรือไม่
ยืนยันการบันทึกข้อมูลหรือไม่
</p>
</p>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
<button
type=
"button"
<button
type=
"button"
class=
"hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
class=
"hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
data-hs-overlay=
"#sub-command-structure-modal-edit"
>
data-hs-overlay=
"#sub-command-structure-modal-edit"
>
ย้อนกลับ
ย้อนกลับ
</button>
</button>
<a
class=
"ti-btn ti-btn-success"
href=
"javascript:void(0);"
<a
class=
"ti-btn ti-btn-success"
href=
"javascript:void(0);"
data-hs-overlay=
"#sub-command-structure-alert-add-modal"
(
click
)="
addBu1
();
showSuccessAdd
()"
>
data-hs-overlay=
"#sub-command-structure-alert-add-modal"
(
click
)="
addBu1
();
showSuccessAdd
()"
>
บันทึกข้อมูล
บันทึกข้อมูล
</a>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div
id=
"sub-command-structure-alert-delete-modal"
class=
"hs-overlay hidden ti-modal"
>
</div>
<div
class=
"hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out h-[calc(100%-3.5rem)] flex items-center"
>
</div>
<div
class=
"max-h-full overflow-hidden ti-modal-content w-full"
>
<div
id=
"sub-command-structure-alert-delete-modal"
class=
"hs-overlay hidden ti-modal"
>
<div
class=
"ti-modal-header"
>
<div
class=
"hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out h-[calc(100%-3.5rem)] flex items-center"
>
<h3
class=
"text-xxl font-bold text-primary"
>
<div
class=
"max-h-full overflow-hidden ti-modal-content w-full"
>
แจ้งเตือน
<div
class=
"ti-modal-header"
>
</h3>
<h3
class=
"text-xxl font-bold text-primary"
>
<div
class=
"flex justify-end"
>
แจ้งเตือน
<button
type=
"button"
class=
"hs-dropdown-toggle ti-modal-clode-btn text-danger"
</h3>
data-hs-overlay=
"#sub-command-structure-alert-delete-modal"
>
<div
class=
"flex justify-end"
>
<span
class=
"sr-only"
>
Close
</span>
<button
type=
"button"
class=
"hs-dropdown-toggle ti-modal-clode-btn text-danger"
<i
class=
"ti ti-circle-x fs-xxl"
></i>
data-hs-overlay=
"#sub-command-structure-alert-delete-modal"
>
</button>
<span
class=
"sr-only"
>
Close
</span>
</div>
<i
class=
"ti ti-circle-x fs-xxl"
></i>
</div>
</button>
<div
class=
"ti-modal-body "
>
</div>
<p
class=
"mt-1 text-gray-800 dark:text-white/70"
>
</div>
ยืนยันการลบข้อมูลหรือไม่!
<div
class=
"ti-modal-body "
>
</p>
<p
class=
"mt-1 text-gray-800 dark:text-white/70"
>
ยืนยันการลบข้อมูลหรือไม่!
</p>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
<button
type=
"button"
<button
type=
"button"
class=
"hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
class=
"hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
data-hs-overlay=
"#sub-command-structure-alert-delete-modal"
>
data-hs-overlay=
"#sub-command-structure-alert-delete-modal"
>
ย้อนกลับ
ย้อนกลับ
</button>
</button>
<a
class=
"ti-btn ti-btn-success"
href=
"javascript:void(0);"
<a
class=
"ti-btn ti-btn-success"
href=
"javascript:void(0);"
data-hs-overlay=
"#sub-command-structure-alert-delete-modal"
data-hs-overlay=
"#sub-command-structure-alert-delete-modal"
(
click
)="
addBu1
();
showSuccessDelete
()"
>
(
click
)="
addBu1
();
showSuccessDelete
()"
>
ลบข้อมูล
ลบข้อมูล
</a>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
\ No newline at end of file
src/app/components/job-detail-components/job-competency/sub-job-competency/sub-job-competency.component.html
View file @
0cc7a97a
<div
class=
"w-full min-height-50px mb-10px justify-between items-center"
>
<div
class=
"w-full min-height-50px mb-10px justify-between items-center"
>
<div
class=
"flex justify-between"
>
<div
class=
"flex justify-end"
>
<div
class=
"flex pr-2"
>
<div
class=
"px-1"
>
<div
class=
"px-1"
>
<div
class=
"relative shadow-md"
>
<button
type=
"button"
class=
"ti-btn ti-btn-soft-secondary h-20px m-0 shadow-md"
<input
type=
"text"
id=
"hs-leading-icon"
name=
"hs-leading-icon"
data-hs-overlay=
"#supjob-upload-modal"
(
click
)="
fileInput
.
value =
''
;
selectedFile=
null;selectedFileName
=
'กรุณาเลือกไฟล์'"
>
class=
"ti-form-input ltr:pl-11 rtl:pr-11 focus:z-10 "
placeholder=
"Search by No. or Name"
<i
class=
"ri-add-line"
></i>
[(
ngModel
)]="
search
"
(
ngModelChange
)="
searchChange
()"
>
นำเข้าข้อมูล
</button>
<div
<a
class=
"mx-2 justify-center -mb-px inline-flex items-center gap-2 font-weight-500 font-size-12px text-center text-secondary border-secondary border-b-2 align-items-end"
class=
"absolute inset-y-0 ltr:left-0 rtl:right-0 flex items-center pointer-events-none z-20 ltr:pl-4 rtl:pr-4"
>
href=
"javascript:void(0);"
(
click
)="
downloadFile
()"
>
<i
class=
"ri-search-line text-gray"
></i>
ดาวน์โหลดตัวอย่างไฟล์
</div>
</a>
</div>
</div>
</div>
</div>
<div
class=
"flex justify-end"
>
<div
class=
"px-1"
>
<div
class=
"px-1"
>
<button
type=
"button"
<div
class=
"relative shadow-md"
>
class=
" h-45px ti-btn ti-btn bg-pink-500/10 text-pink-500 hover:text-white hover:bg-pink-500 ring-offset-white focus:ring-pink-500 dark:focus:ring-offset-white/10 h-10 m-0 shadow-md"
<input
type=
"text"
id=
"hs-leading-icon"
name=
"hs-leading-icon"
data-hs-overlay=
"#supjob-upload-modal"
>
class=
"ti-form-input ltr:pl-11 rtl:pr-11 focus:z-10 "
<i
class=
"ti ti-file-plus"
></i>
placeholder=
"Search by No. or Name"
[(
ngModel
)]="
search
"
(
ngModelChange
)="
searchChange
()"
>
import
</button>
<div
</div>
class=
"absolute inset-y-0 ltr:left-0 rtl:right-0 flex items-center pointer-events-none z-20 ltr:pl-4 rtl:pr-4"
>
<!-- <div class="px-1">
<i
class=
"ri-search-line text-gray"
></i>
</div>
</div>
</div>
<!-- <div class="px-1">
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-danger h-45px m-0 shadow-md"
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-danger h-45px m-0 shadow-md"
data-hs-overlay="#sub-command-structure-alert-delete-modal">
data-hs-overlay="#sub-command-structure-alert-delete-modal">
<i class="ri-delete-bin-6-line"></i>
<i class="ri-delete-bin-6-line"></i>
Delete
Delete
</button>
</button>
</div> -->
</div> -->
<!-- <div class="px-1">
<!-- <div class="px-1">
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-warning h-45px m-0 shadow-md">
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-warning h-45px m-0 shadow-md">
<i class="ti ti-book fs-l"></i>
<i class="ti ti-book fs-l"></i>
Help
Help
</button>
</button>
</div> -->
</div> -->
</div>
</div>
</div>
</div>
</div>
<div
class=
"page px-rem"
>
<div
class=
"overflow-auto shadow-md rounded-t-md"
>
<table
class=
"ti-custom-table ti-custom-table-head ti-custom-table-hover table-bordered"
>
<thead>
<tr>
<ng-container
*
ngFor=
"let item of ['ลำดับ','รหัสงาน','ชื่อลักษณะงาน (ไทย)','ชื่อลักษณะงาน (อังกฤษ)','การจัดการ']; let f = first; let l = last; let i = index"
>
<th
scope=
"col"
class=
"relative px-10px py-10px bg-soft-secondary text-primary !text-center"
>
<span
class=
"font-size-12px font-weight-700"
>
{{ item }}
</span>
<div
class=
"absolute top-1/2 transform -translate-y-1/2 right-0"
*
ngIf=
"!l"
>
<i
class=
"ti ti-dots-vertical fs-l"
></i>
</div>
</th>
</ng-container>
</tr>
</thead>
<tbody
*
ngIf=
"loading"
>
<tr>
<td
class=
"text-center"
colspan=
"100%"
>
<div
*
ngFor=
"let item of [1,2,3]"
class=
"ti-spinner w-8 h-8 text-secondary mx-1"
role=
"status"
aria-label=
"loading"
>
<span
class=
"sr-only"
>
Loading...
</span>
</div>
</td>
</tr>
</tbody>
<tbody
*
ngIf=
"!loading&&!jobcodeFilter().length"
>
<tr>
<td
class=
"text-center"
colspan=
"100%"
>
ไม่พบข้อมูล
</td>
</tr>
</tbody>
<tbody
*
ngIf=
"!loading&&jobcodeFilter().length"
>
<tr
*
ngFor=
"let item of jobcodeFilter() |slice:((currentPage-1) * pageSize) : (((currentPage-1) * pageSize) + pageSize);let i = index"
>
<td
class=
"text-center"
>
{{((currentPage-1) * pageSize)+(i+1)}}
</td>
<td
class=
"text-center"
>
{{item.jobcodeId}}
</td>
<td>
{{item.tdesc}}
</td>
<td>
{{item.edesc}}
</td>
<td
class=
"flex justify-center"
>
<i
class=
"ti ti-edit cursor-pointer i-gray fs-l px-1"
(
click
)="
modalStatus=
'edit'
;
edit
(
item
)"
data-hs-overlay=
"#sub-job-competency-component-modal-edit"
></i>
</td>
</tr>
</tbody>
</table>
</div>
<app-pagination
[
totalItems
]="
jobcodeFilter
().
length
"
[
pageSize
]="
pageSize
"
(
pageChange
)="
currentPage =
$event"
(
pageSizeChange
)="
pageSize =
$event;currentPage
=
1
"
></app-pagination>
</div>
<div
class=
"page px-rem"
>
<div
class=
"overflow-auto shadow-md rounded-t-md"
>
<table
class=
"ti-custom-table ti-custom-table-head ti-custom-table-hover table-bordered"
>
<thead>
<tr>
<ng-container
*
ngFor=
"let item of ['ลำดับ','รหัสงาน','ชื่อลักษณะงาน (ไทย)','ชื่อลักษณะงาน (อังกฤษ)','การจัดการ']; let f = first; let l = last; let i = index"
>
<th
scope=
"col"
class=
"relative px-10px py-10px bg-soft-secondary text-primary !text-center"
>
<span
class=
"font-size-12px font-weight-700"
>
{{ item }}
</span>
<div
class=
"absolute top-1/2 transform -translate-y-1/2 right-0"
*
ngIf=
"!l"
>
<i
class=
"ti ti-dots-vertical fs-l"
></i>
</div>
</th>
</ng-container>
</tr>
</thead>
<tbody
*
ngIf=
"loading"
>
<tr>
<td
class=
"text-center"
colspan=
"100%"
>
<div
*
ngFor=
"let item of [1,2,3]"
class=
"ti-spinner w-8 h-8 text-secondary mx-1"
role=
"status"
aria-label=
"loading"
>
<span
class=
"sr-only"
>
Loading...
</span>
</div>
</td>
</tr>
</tbody>
<tbody
*
ngIf=
"!loading&&!jobcodeFilter().length"
>
<tr>
<td
class=
"text-center"
colspan=
"100%"
>
ไม่พบข้อมูล
</td>
</tr>
</tbody>
<tbody
*
ngIf=
"!loading&&jobcodeFilter().length"
>
<tr
*
ngFor=
"let item of jobcodeFilter() |slice:((currentPage-1) * pageSize) : (((currentPage-1) * pageSize) + pageSize);let i = index"
>
<td
class=
"text-center"
>
{{((currentPage-1) * pageSize)+(i+1)}}
</td>
<td
class=
"text-center"
>
{{item.jobcodeId}}
</td>
<td>
{{item.tdesc}}
</td>
<td>
{{item.edesc}}
</td>
<td
class=
"flex justify-center"
>
<i
class=
"ti ti-edit cursor-pointer i-gray fs-l px-1"
(
click
)="
modalStatus=
'edit'
;
edit
(
item
)"
data-hs-overlay=
"#sub-job-competency-component-modal-edit"
></i>
</td>
</tr>
</tbody>
</table>
</div>
<app-pagination
[
totalItems
]="
jobcodeFilter
().
length
"
[
pageSize
]="
pageSize
"
(
pageChange
)="
currentPage =
$event"
(
pageSizeChange
)="
pageSize =
$event;currentPage
=
1
"
></app-pagination>
</div>
<div
id=
"sub-job-competency-component-modal-edit"
class=
"hs-overlay hidden ti-modal"
>
<div
id=
"sub-job-competency-component-modal-edit"
class=
"hs-overlay hidden ti-modal
"
>
<div
class=
"hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out h-[calc(100%-3.5rem)]
"
>
<div
class=
"hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out h-[calc(100%-3.5rem)]
"
>
<div
class=
"max-h-full overflow-hidden ti-modal-content
"
>
<div
class=
"max-h-full overflow-hidden ti-modal-content
"
>
<div
class=
"ti-modal-header
"
>
<div
class=
"ti-modal-header
"
>
<h3
class=
"text-xxl font-bold text-primary
"
>
<h3
class=
"text-xxl font-bold text-primary"
>
เเก้ไขข้อมูลความสามารถในตำเเหน่งงาน
เเก้ไขข้อมูลความสามารถในตำเเหน่งงาน
</h3>
</h3
>
<div
class=
"flex justify-end"
>
<div
class=
"flex justify-end"
>
<button
type=
"button"
class=
"hs-dropdown-toggle ti-modal-clode-btn text-danger"
<button
type=
"button"
class=
"hs-dropdown-toggle ti-modal-clode-btn text-danger"
data-hs-overlay=
"#sub-job-competency-component-modal-edit"
>
data-hs-overlay=
"#sub-job-competency-component-modal-edit"
>
<span
class=
"sr-only"
>
Close
</span
>
<span
class=
"sr-only"
>
Close
</span
>
<i
class=
"ti ti-circle-x fs-xxl"
></i
>
<i
class=
"ti ti-circle-x fs-xxl"
></i
>
</button
>
</button
>
</div
>
</div>
</div>
</div
>
<div
class=
"ti-modal-center"
>
<div
class=
"ti-modal-center
"
>
<div
class=
"flex justify-end"
style=
"padding-right: 1rem;
"
>
<div
class=
"flex justify-end"
style=
"padding-right: 1rem;
"
>
<div
class=
"px-1
"
>
<div
class=
"px-1"
>
<button
type=
"button"
class=
"ti-btn ti-btn-soft-indigo h-45px m-0 shadow-md"
<button
type=
"button"
class=
"ti-btn ti-btn-soft-indigo h-45px m-0 shadow-md"
(
click
)="
clearValue
()"
>
(
click
)="
clearValue
()"
>
<svg
class=
"svg-indigo"
width=
"16"
height=
"16"
viewBox=
"0 0 64.00 64.00"
<svg
class=
"svg-indigo"
width=
"16"
height=
"16"
viewBox=
"0 0 64.00 64.00"
xmlns=
"http://www.w3.org/2000/svg"
fill=
"none"
stroke=
"#595BEA"
stroke-width=
"3.84"
xmlns=
"http://www.w3.org/2000/svg"
fill=
"none"
stroke=
"#595BEA"
stroke-width=
"3.84"
transform=
"rotate(45)matrix(-1, 0, 0, 1, 0, 0)"
>
transform=
"rotate(45)matrix(-1, 0, 0, 1, 0, 0)"
>
<g
id=
"SVGRepo_bgCarrier"
stroke-width=
"0"
></g>
<g
id=
"SVGRepo_bgCarrier"
stroke-width=
"0"
></g>
<g
id=
"SVGRepo_tracerCarrier"
stroke-linecap=
"round"
stroke-linejoin=
"round"
></g>
<g
id=
"SVGRepo_tracerCarrier"
stroke-linecap=
"round"
stroke-linejoin=
"round"
></g>
<g
id=
"SVGRepo_iconCarrier"
>
<g
id=
"SVGRepo_iconCarrier"
>
<path
d=
"M15 49A24 24 0 0 1 32 8"
></path>
<path
d=
"M15 49A24 24 0 0 1 32 8"
></path>
<path
d=
"M49 15a24 24 0 0 1-17 41"
></path>
<path
d=
"M49 15a24 24 0 0 1-17 41"
></path>
<polyline
points=
"15.03 40 15.03 48.97 8 48.97"
></polyline>
<polyline
points=
"15.03 40 15.03 48.97 8 48.97"
></polyline>
<polyline
points=
"48.97 24 48.97 15.03 56 15.03"
></polyline>
<polyline
points=
"48.97 24 48.97 15.03 56 15.03"
></polyline>
</g>
</g>
</svg>
</svg>
Clear
Clear
</button>
</button>
</div>
</div>
<div
class=
"px-1"
>
<!--
<div class="px-1">
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-warning h-45px m-0 shadow-md">
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-warning h-45px m-0 shadow-md">
<i class="ti ti-book fs-l"></i>
<i class="ti ti-book fs-l"></i>
Help
Help
</button>
</button>
</div>
</div> -->
</div>
</div>
</div>
</div>
<div
class=
"ti-modal-body"
style=
"padding-top: 0px;"
>
<div
class=
"ti-modal-body"
style=
"padding-top: 0px;"
>
<label
for=
"input-label"
class=
"ti-form-label mt-1rem"
>
รหัสงาน
</label>
<label
for=
"input-label"
class=
"ti-form-label mt-1rem"
>
รหัสงาน
</label>
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input bg-input-readonly"
readonly
[(
ngModel
)]="
selectJob
.
jobcodeId
"
>
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input bg-input-readonly"
readonly
<label
for=
"detail_th"
class=
"ti-form-label mt-1rem"
>
ชื่อลักษณะงาน (ไทย)
</label>
[(
ngModel
)]="
selectJob
.
jobcodeId
"
>
<input
type=
"text"
id=
"detail_th"
class=
"ti-form-input bg-input-readonly"
readonly
[(
ngModel
)]="
selectJob
.
tdesc
"
>
<label
for=
"detail_th"
class=
"ti-form-label mt-1rem"
>
ชื่อลักษณะงาน (ไทย)
</label>
<label
for=
"detail_eng"
class=
"ti-form-label mt-1rem"
>
ชื่อลักษณะงาน (อังกฤษ)
</label>
<input
type=
"text"
id=
"detail_th"
class=
"ti-form-input bg-input-readonly"
readonly
<input
type=
"text"
id=
"detail_eng"
class=
"ti-form-input bg-input-readonly"
readonly
[(
ngModel
)]="
selectJob
.
edesc
"
>
[(
ngModel
)]="
selectJob
.
tdesc
"
>
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
ความรู้ ทักษะ ความสามารถในตำเเหน่งงาน ( Job Competency)
</label>
<label
for=
"detail_eng"
class=
"ti-form-label mt-1rem"
>
ชื่อลักษณะงาน (อังกฤษ)
</label>
<textarea
type=
"text"
id=
"detail_eng"
class=
"ti-form-input font-bold"
rows=
"5"
cols=
"50"
[(
ngModel
)]="
selectJob
.
competencyWorkText
"
></textarea>
<input
type=
"text"
id=
"detail_eng"
class=
"ti-form-input bg-input-readonly"
readonly
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
[(
ngModel
)]="
selectJob
.
edesc
"
>
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
ความรู้ ทักษะ ความสามารถในตำเเหน่งงาน ( Job
Competency)
</label>
<textarea
type=
"text"
id=
"detail_eng"
class=
"ti-form-input font-bold"
rows=
"5"
cols=
"50"
[(
ngModel
)]="
selectJob
.
competencyWorkText
"
></textarea>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
<button
type=
"button"
<button
type=
"button"
class=
"hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
class=
"hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
data-hs-overlay=
"#sub-job-competency-component-modal-edit"
>
data-hs-overlay=
"#sub-job-competency-component-modal-edit"
>
ย้อนกลับ
ย้อนกลับ
</button>
</button>
<a
class=
"ti-btn ti-btn-success"
href=
"javascript:void(0);"
<a
class=
"ti-btn ti-btn-success"
href=
"javascript:void(0);"
data-hs-overlay=
"#company-registration-page-alert-modal"
>
data-hs-overlay=
"#company-registration-page-alert-modal"
>
บันทึกข้อมูล
บันทึกข้อมูล
</a>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div
id=
"company-registration-page-alert-modal"
class=
"hs-overlay hidden ti-modal"
>
<div
id=
"company-registration-page-alert-modal"
class=
"hs-overlay hidden ti-modal"
>
<div
class=
"hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out h-[calc(100%-3.5rem)] flex items-center"
>
<div
class=
"hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out h-[calc(100%-3.5rem)] flex items-center"
>
<div
class=
"max-h-full overflow-hidden ti-modal-content w-full"
>
<div
class=
"max-h-full overflow-hidden ti-modal-content w-full"
>
<div
class=
"ti-modal-header"
>
<div
class=
"ti-modal-header"
>
...
@@ -173,11 +173,11 @@
...
@@ -173,11 +173,11 @@
แจ้งเตือน
แจ้งเตือน
</h3>
</h3>
<div
class=
"flex justify-end"
>
<div
class=
"flex justify-end"
>
<button
type=
"button"
class=
"hs-dropdown-toggle ti-modal-clode-btn text-danger"
<button
type=
"button"
class=
"hs-dropdown-toggle ti-modal-clode-btn text-danger"
data-hs-overlay=
"#company-registration-page-alert-modal"
>
data-hs-overlay=
"#company-registration-page-alert-modal"
>
<span
class=
"sr-only"
>
Close
</span>
<span
class=
"sr-only"
>
Close
</span>
<i
class=
"ti ti-circle-x fs-xxl"
></i>
<i
class=
"ti ti-circle-x fs-xxl"
></i>
</button>
</button>
</div>
</div>
</div>
</div>
<div
class=
"ti-modal-body "
>
<div
class=
"ti-modal-body "
>
...
@@ -219,7 +219,7 @@
...
@@ -219,7 +219,7 @@
</div>
</div>
</div>
</div>
<div
id=
"supjob-upload-modal"
class=
"hs-overlay hidden ti-modal"
>
<div
id=
"supjob-upload-modal"
class=
"hs-overlay hidden ti-modal"
>
<div
class=
"hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out rounded-md"
>
<div
class=
"hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out rounded-md"
>
<div
class=
"ti-modal-header bg-primary !rounded-none !rounded-t-sm"
>
<div
class=
"ti-modal-header bg-primary !rounded-none !rounded-t-sm"
>
<h5
class=
"text-xxl font-bold text-white"
>
<h5
class=
"text-xxl font-bold text-white"
>
...
@@ -238,6 +238,11 @@
...
@@ -238,6 +238,11 @@
<i
class=
"ti ti-upload"
></i>
<i
class=
"ti ti-upload"
></i>
</button>
</button>
</div>
</div>
<div
class=
"flex justify-center mt-2rem "
>
<h1
class=
"cursor-pointer justify-center -mb-px inline-flex items-center gap-2 font-weight-500 font-size-12px
text-center text-secondary border-secondary border-b-2 align-items-end"
(
click
)="
downloadFile
()"
>
ดาวน์โหลดตัวอย่างไฟล์
</h1>
</div>
<div
class=
"flex justify-center mt-2rem mb-1rem space-x-4"
>
<div
class=
"flex justify-center mt-2rem mb-1rem space-x-4"
>
<button
type=
"submit"
class=
"ti-btn ti-btn-secondary"
<button
type=
"submit"
class=
"ti-btn ti-btn-secondary"
data-hs-overlay=
"#section-registration-upload-modal"
(
click
)="
uploadFile
()"
data-hs-overlay=
"#section-registration-upload-modal"
(
click
)="
uploadFile
()"
...
...
src/app/components/job-detail-components/job-detail-management/import-data/import-data.component.html
View file @
0cc7a97a
<div
class=
"w-full min-height-50px mb-10px justify-between items-center"
>
<div
class=
"w-full min-height-50px mb-10px justify-between items-center"
>
<div
class=
"flex justify-between"
>
<div
class=
"flex justify-end"
>
<div
class=
"flex pr-2"
>
<div
class=
"px-1"
>
<div
class=
"px-1"
>
<div
class=
"relative shadow-md"
>
<button
type=
"button"
class=
"ti-btn ti-btn-soft-secondary h-20px m-0 shadow-md"
<input
type=
"text"
id=
"hs-leading-icon"
name=
"hs-leading-icon"
data-hs-overlay=
"#supjob-upload-modal"
(
click
)="
fileInput
.
value =
''
;
selectedFile=
null;selectedFileName
=
'กรุณาเลือกไฟล์'"
>
class=
"ti-form-input ltr:pl-11 rtl:pr-11 focus:z-10 "
placeholder=
"Search by No. or Name"
<i
class=
"ri-add-line"
></i>
[(
ngModel
)]="
search
"
(
ngModelChange
)="
searchChange
()"
>
นำเข้าข้อมูล
</button>
<div
<a
class=
"mx-2 justify-center -mb-px inline-flex items-center gap-2 font-weight-500 font-size-12px text-center text-secondary border-secondary border-b-2 align-items-end"
class=
"absolute inset-y-0 ltr:left-0 rtl:right-0 flex items-center pointer-events-none z-20 ltr:pl-4 rtl:pr-4"
>
href=
"javascript:void(0);"
(
click
)="
downloadFile
()"
>
<i
class=
"ri-search-line text-gray"
></i>
ดาวน์โหลดตัวอย่างไฟล์
</div>
</a>
</div>
</div>
</div>
</div>
<div
class=
"flex justify-end"
>
<div
class=
"px-1"
>
<div
class=
"px-1"
>
<button
type=
"button"
<div
class=
"relative shadow-md"
>
class=
" h-45px ti-btn ti-btn bg-pink-500/10 text-pink-500 hover:text-white hover:bg-pink-500 ring-offset-white focus:ring-pink-500 dark:focus:ring-offset-white/10 h-10 m-0 shadow-md"
<input
type=
"text"
id=
"hs-leading-icon"
name=
"hs-leading-icon"
data-hs-overlay=
"#supjob-upload-modal"
class=
"ti-form-input ltr:pl-11 rtl:pr-11 focus:z-10 "
(
click
)="
fileInput
.
value =
''
;
selectedFile=
null;selectedFileName
=
'กรุณาเลือกไฟล์'"
>
placeholder=
"Search by No. or Name"
[(
ngModel
)]="
search
"
(
ngModelChange
)="
searchChange
()"
>
<i
class=
"ti ti-file-plus"
></i>
import
</button>
</div>
<div
class=
"px-1"
>
<button
type=
"button"
class=
"ti-btn ti-btn-soft-secondary h-45px m-0 shadow-md"
data-hs-overlay=
"#sub-job-competency-component-modal-edit"
(
click
)="
add
();
modalStatus=
'add'
;"
>
<i
class=
"ri-add-line"
></i>
Add
</button>
</div>
<!-- <div class="px-1">
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-danger h-45px m-0 shadow-md"
data-hs-overlay="#sub-command-structure-alert-delete-modal">
<i class="ri-delete-bin-6-line"></i>
Delete
</button>
</div> -->
<!-- <div class="px-1">
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-warning h-45px m-0 shadow-md">
<i class="ti ti-book fs-l"></i>
Help
</button>
</div> -->
</div>
</div>
<div
<div
class=
"page px-rem"
>
class=
"absolute inset-y-0 ltr:left-0 rtl:right-0 flex items-center pointer-events-none z-20 ltr:pl-4 rtl:pr-4"
>
<div
class=
"overflow-auto shadow-md rounded-t-md"
>
<i
class=
"ri-search-line text-gray"
></i>
<table
class=
"ti-custom-table ti-custom-table-head ti-custom-table-hover table-bordered"
>
<thead>
<tr>
<ng-container
*
ngFor=
"let item of ['ลำดับ','รหัสงาน','ชื่อลักษณะงาน (ไทย)','ชื่อลักษณะงาน (อังกฤษ)','การจัดการ']; let f = first; let l = last; let i = index"
>
<th
scope=
"col"
class=
"relative px-10px py-10px bg-soft-secondary text-primary !text-center"
>
<span
class=
"font-size-12px font-weight-700"
>
{{ item }}
</span>
<div
class=
"absolute top-1/2 transform -translate-y-1/2 right-0"
*
ngIf=
"!l"
>
<i
class=
"ti ti-dots-vertical fs-l"
></i>
</div>
</div>
</th>
</ng-container>
</tr>
</thead>
<tbody
*
ngIf=
"loading"
>
<tr>
<td
class=
"text-center"
colspan=
"100%"
>
<div
*
ngFor=
"let item of [1,2,3]"
class=
"ti-spinner w-8 h-8 text-secondary mx-1"
role=
"status"
aria-label=
"loading"
>
<span
class=
"sr-only"
>
Loading...
</span>
</div>
</div>
</div>
</td>
</tr>
</tbody>
<tbody
*
ngIf=
"!loading&&!jobcodeFilter().length"
>
<tr>
<td
class=
"text-center"
colspan=
"100%"
>
ไม่พบข้อมูล
</td>
</tr>
</tbody>
<tbody
*
ngIf=
"!loading&&jobcodeFilter().length"
>
<tr
*
ngFor=
"let item of jobcodeFilter() |slice:((currentPage-1) * pageSize) : (((currentPage-1) * pageSize) + pageSize);let i = index"
>
<td
class=
"text-center"
>
{{((currentPage-1) * pageSize)+(i+1)}}
</td>
<td
class=
"text-center"
>
{{item.jobcodeId}}
</td>
<td>
{{item.tdesc}}
</td>
<td>
{{item.edesc}}
</td>
<td
class=
"flex justify-center"
>
<i
class=
"ti ti-edit cursor-pointer i-gray fs-l px-1"
(
click
)="
modalStatus=
'edit'
;
edit
(
item
)"
data-hs-overlay=
"#sub-job-competency-component-modal-edit"
></i>
<i
class=
"ti ti-trash cursor-pointer i-gray fs-l px-1"
(
click
)="
modalStatus=
'delete'
;
edit
(
item
)"
data-hs-overlay=
"#company-registration-page-alert-modal"
></i>
</td>
</tr>
</tbody>
</table>
</div>
<app-pagination
[
totalItems
]="
jobcodeFilter
().
length
"
[
pageSize
]="
pageSize
"
(
pageChange
)="
currentPage =
$event"
(
pageSizeChange
)="
pageSize =
$event;currentPage
=
1
"
></app-pagination>
</div>
<div
id=
"sub-job-competency-component-modal-edit"
class=
"hs-overlay hidden ti-modal"
>
<div
class=
"hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out h-[calc(100%-3.5rem)]"
>
<div
class=
"max-h-full overflow-hidden ti-modal-content"
>
<div
class=
"ti-modal-header"
>
<h3
class=
"text-xxl font-bold text-primary"
>
{{modalStatus== "add"?'เพิ่มข้อมูลทั่วไป':'เเก้ไขข้อมูลทั่วไป'}}
</h3>
<div
class=
"flex justify-end"
>
<button
type=
"button"
class=
"hs-dropdown-toggle ti-modal-clode-btn text-danger"
data-hs-overlay=
"#sub-job-competency-component-modal-edit"
>
<span
class=
"sr-only"
>
Close
</span>
<i
class=
"ti ti-circle-x fs-xxl"
></i>
</button>
</div>
</div>
<div
class=
"ti-modal-center"
>
<div
class=
"flex justify-end"
style=
"padding-right: 1rem;"
>
<div
class=
"px-1"
>
<div
class=
"px-1"
>
<button
type=
"button"
class=
"ti-btn ti-btn-soft-secondary h-45px m-0 shadow-md"
<button
type=
"button"
class=
"ti-btn ti-btn-soft-indigo h-45px m-0 shadow-md"
data-hs-overlay=
"#sub-job-competency-component-modal-edit"
(
click
)="
add
();
modalStatus=
'add'
;"
>
(
click
)="
clearValue
()"
>
<i
class=
"ri-add-line"
></i>
<svg
class=
"svg-indigo"
width=
"16"
height=
"16"
viewBox=
"0 0 64.00 64.00"
Add
xmlns=
"http://www.w3.org/2000/svg"
fill=
"none"
stroke=
"#595BEA"
stroke-width=
"3.84"
transform=
"rotate(45)matrix(-1, 0, 0, 1, 0, 0)"
>
<g
id=
"SVGRepo_bgCarrier"
stroke-width=
"0"
></g>
<g
id=
"SVGRepo_tracerCarrier"
stroke-linecap=
"round"
stroke-linejoin=
"round"
></g>
<g
id=
"SVGRepo_iconCarrier"
>
<path
d=
"M15 49A24 24 0 0 1 32 8"
></path>
<path
d=
"M49 15a24 24 0 0 1-17 41"
></path>
<polyline
points=
"15.03 40 15.03 48.97 8 48.97"
></polyline>
<polyline
points=
"48.97 24 48.97 15.03 56 15.03"
></polyline>
</g>
</svg>
Clear
</button>
</button>
</div>
</div>
<!-- <div class="px-1">
<!-- <div class="px-1">
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-danger h-45px m-0 shadow-md"
data-hs-overlay="#sub-command-structure-alert-delete-modal">
<i class="ri-delete-bin-6-line"></i>
Delete
</button>
</div> -->
<!-- <div class="px-1">
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-warning h-45px m-0 shadow-md">
<i class="ti ti-book fs-l"></i>
Help
</button>
</div> -->
</div>
</div>
</div>
<div
class=
"page px-rem"
>
<div
class=
"overflow-auto shadow-md rounded-t-md"
>
<table
class=
"ti-custom-table ti-custom-table-head ti-custom-table-hover table-bordered"
>
<thead>
<tr>
<ng-container
*
ngFor=
"let item of ['ลำดับ','รหัสงาน','ชื่อลักษณะงาน (ไทย)','ชื่อลักษณะงาน (อังกฤษ)','การจัดการ']; let f = first; let l = last; let i = index"
>
<th
scope=
"col"
class=
"relative px-10px py-10px bg-soft-secondary text-primary !text-center"
>
<span
class=
"font-size-12px font-weight-700"
>
{{ item }}
</span>
<div
class=
"absolute top-1/2 transform -translate-y-1/2 right-0"
*
ngIf=
"!l"
>
<i
class=
"ti ti-dots-vertical fs-l"
></i>
</div>
</th>
</ng-container>
</tr>
</thead>
<tbody
*
ngIf=
"loading"
>
<tr>
<td
class=
"text-center"
colspan=
"100%"
>
<div
*
ngFor=
"let item of [1,2,3]"
class=
"ti-spinner w-8 h-8 text-secondary mx-1"
role=
"status"
aria-label=
"loading"
>
<span
class=
"sr-only"
>
Loading...
</span>
</div>
</td>
</tr>
</tbody>
<tbody
*
ngIf=
"!loading&&!jobcodeFilter().length"
>
<tr>
<td
class=
"text-center"
colspan=
"100%"
>
ไม่พบข้อมูล
</td>
</tr>
</tbody>
<tbody
*
ngIf=
"!loading&&jobcodeFilter().length"
>
<tr
*
ngFor=
"let item of jobcodeFilter() |slice:((currentPage-1) * pageSize) : (((currentPage-1) * pageSize) + pageSize);let i = index"
>
<td
class=
"text-center"
>
{{((currentPage-1) * pageSize)+(i+1)}}
</td>
<td
class=
"text-center"
>
{{item.jobcodeId}}
</td>
<td>
{{item.tdesc}}
</td>
<td>
{{item.edesc}}
</td>
<td
class=
"flex justify-center"
>
<i
class=
"ti ti-edit cursor-pointer i-gray fs-l px-1"
(
click
)="
modalStatus=
'edit'
;
edit
(
item
)"
data-hs-overlay=
"#sub-job-competency-component-modal-edit"
></i>
<i
class=
"ti ti-trash cursor-pointer i-gray fs-l px-1"
(
click
)="
modalStatus=
'delete'
;
edit
(
item
)"
data-hs-overlay=
"#company-registration-page-alert-modal"
></i>
</td>
</tr>
</tbody>
</table>
</div>
<app-pagination
[
totalItems
]="
jobcodeFilter
().
length
"
[
pageSize
]="
pageSize
"
(
pageChange
)="
currentPage =
$event"
(
pageSizeChange
)="
pageSize =
$event;currentPage
=
1
"
></app-pagination>
</div>
<div
id=
"sub-job-competency-component-modal-edit"
class=
"hs-overlay hidden ti-modal"
>
<div
class=
"hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out h-[calc(100%-3.5rem)]"
>
<div
class=
"max-h-full overflow-hidden ti-modal-content"
>
<div
class=
"ti-modal-header"
>
<h3
class=
"text-xxl font-bold text-primary"
>
{{modalStatus== "add"?'เพิ่มข้อมูลทั่วไป':'เเก้ไขข้อมูลทั่วไป'}}
</h3>
<div
class=
"flex justify-end"
>
<button
type=
"button"
class=
"hs-dropdown-toggle ti-modal-clode-btn text-danger"
data-hs-overlay=
"#sub-job-competency-component-modal-edit"
>
<span
class=
"sr-only"
>
Close
</span>
<i
class=
"ti ti-circle-x fs-xxl"
></i>
</button>
</div>
</div>
<div
class=
"ti-modal-center"
>
<div
class=
"flex justify-end"
style=
"padding-right: 1rem;"
>
<div
class=
"px-1"
>
<button
type=
"button"
class=
"ti-btn ti-btn-soft-indigo h-45px m-0 shadow-md"
(
click
)="
clearValue
()"
>
<svg
class=
"svg-indigo"
width=
"16"
height=
"16"
viewBox=
"0 0 64.00 64.00"
xmlns=
"http://www.w3.org/2000/svg"
fill=
"none"
stroke=
"#595BEA"
stroke-width=
"3.84"
transform=
"rotate(45)matrix(-1, 0, 0, 1, 0, 0)"
>
<g
id=
"SVGRepo_bgCarrier"
stroke-width=
"0"
></g>
<g
id=
"SVGRepo_tracerCarrier"
stroke-linecap=
"round"
stroke-linejoin=
"round"
></g>
<g
id=
"SVGRepo_iconCarrier"
>
<path
d=
"M15 49A24 24 0 0 1 32 8"
></path>
<path
d=
"M49 15a24 24 0 0 1-17 41"
></path>
<polyline
points=
"15.03 40 15.03 48.97 8 48.97"
></polyline>
<polyline
points=
"48.97 24 48.97 15.03 56 15.03"
></polyline>
</g>
</svg>
Clear
</button>
</div>
<div
class=
"px-1"
>
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-warning h-45px m-0 shadow-md">
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-warning h-45px m-0 shadow-md">
<i class="ti ti-book fs-l"></i>
<i class="ti ti-book fs-l"></i>
Help
Help
</button>
</button>
</div>
</div> -->
</div>
</div>
</div>
</div>
<div
class=
"ti-modal-body"
style=
"padding-top: 0px;"
>
<div
class=
"ti-modal-body"
style=
"padding-top: 0px;"
>
<label
for=
"input-label"
class=
"ti-form-label mt-1rem"
>
รหัสงาน
<span
class=
"text-danger"
>
*
</span></label>
<label
for=
"input-label"
class=
"ti-form-label mt-1rem"
>
รหัสงาน
<span
class=
"text-danger"
>
*
</span></label>
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input {{modalStatus == 'edit' ? 'bg-input-readonly' : ''}}"
[
attr
.
readonly
]="
modalStatus =
=
'
edit
'
?
true
:
null
"
[(
ngModel
)]="
selectJob
.
jobcodeId
"
(
ngModelChange
)="
checkJodid
()"
>
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input {{modalStatus == 'edit' ? 'bg-input-readonly' : ''}}"
[
attr
.
readonly
]="
modalStatus =
=
'
edit
'
?
true
:
null
"
[(
ngModel
)]="
selectJob
.
jobcodeId
"
(
ngModelChange
)="
checkJodid
()"
>
<span
*
ngIf=
"checkJobCodeId&&modalStatus=='add'"
class=
"text-danger"
>
รหัสงานซ้ำ
</span>
<span
*
ngIf=
"checkJobCodeId&&modalStatus=='add'"
class=
"text-danger"
>
รหัสงานซ้ำ
</span>
<label
for=
"detail_th"
class=
"ti-form-label mt-1rem"
>
ชื่อลักษณะงาน (ไทย)
<span
class=
"text-danger"
>
*
</span></label>
<label
for=
"detail_th"
class=
"ti-form-label mt-1rem"
>
ชื่อลักษณะงาน (ไทย)
<span
<input
type=
"text"
id=
"detail_th"
class=
"ti-form-input "
[(
ngModel
)]="
selectJob
.
tdesc
"
>
class=
"text-danger"
>
*
</span></label>
<label
for=
"detail_eng"
class=
"ti-form-label mt-1rem"
>
ชื่อลักษณะงาน (อังกฤษ)
</label>
<input
type=
"text"
id=
"detail_th"
class=
"ti-form-input "
[(
ngModel
)]="
selectJob
.
tdesc
"
>
<input
type=
"text"
id=
"detail_eng"
class=
"ti-form-input "
[(
ngModel
)]="
selectJob
.
edesc
"
>
<label
for=
"detail_eng"
class=
"ti-form-label mt-1rem"
>
ชื่อลักษณะงาน (อังกฤษ)
</label>
<input
type=
"text"
id=
"detail_eng"
class=
"ti-form-input "
[(
ngModel
)]="
selectJob
.
edesc
"
>
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
ตำแหน่ง
</label>
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
ตำแหน่ง
</label>
<ng-select
class=
"ti-form-select"
data-trigger
name=
"choices-single-position"
id=
"choices-single-position"
[(
ngModel
)]="
positionId
"
(
ngModelChange
)="
changPosition
()"
>
<ng-select
class=
"ti-form-select"
data-trigger
name=
"choices-single-position"
id=
"choices-single-position"
[(
ngModel
)]="
positionId
"
(
ngModelChange
)="
changPosition
()"
>
<ng-option
*
ngFor=
"let item of positionList"
[
value
]="
item
.
positionId
"
>
{{item.tdesc}}
</ng-option>
<ng-option
*
ngFor=
"let item of positionList"
[
value
]="
item
.
positionId
"
>
{{item.tdesc}}
</ng-option>
</ng-select>
</ng-select>
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
ฝ่าย
</label>
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
ฝ่าย
</label>
<ng-select
class=
"ti-form-select"
data-trigger
name=
"choices-single-bu1"
id=
"choices-single-bu1"
[(
ngModel
)]="
bu1Id
"
(
ngModelChange
)="
changBu1
()"
>
<ng-select
class=
"ti-form-select"
data-trigger
name=
"choices-single-bu1"
id=
"choices-single-bu1"
[(
ngModel
)]="
bu1Id
"
(
ngModelChange
)="
changBu1
()"
>
<ng-option
*
ngFor=
"let item of bu1List"
[
value
]="
item
.
bu1id
"
>
{{item.tdesc}}
</ng-option>
<ng-option
*
ngFor=
"let item of bu1List"
[
value
]="
item
.
bu1id
"
>
{{item.tdesc}}
</ng-option>
</ng-select>
</ng-select>
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
แผนก
</label>
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
แผนก
</label>
<ng-select
class=
"ti-form-select"
data-trigger
name=
"choices-single-bu2"
id=
"choices-single-bu2"
[(
ngModel
)]="
bu2Id
"
(
ngModelChange
)="
changBu2
()"
>
<ng-select
class=
"ti-form-select"
data-trigger
name=
"choices-single-bu2"
id=
"choices-single-bu2"
[(
ngModel
)]="
bu2Id
"
(
ngModelChange
)="
changBu2
()"
>
<ng-option
*
ngFor=
"let item of bu2List"
[
value
]="
item
.
bu2id
"
>
{{item.tdesc}}
</ng-option>
<ng-option
*
ngFor=
"let item of bu2List"
[
value
]="
item
.
bu2id
"
>
{{item.tdesc}}
</ng-option>
</ng-select>
</ng-select>
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
ส่วน
</label>
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
ส่วน
</label>
<ng-select
class=
"ti-form-select"
data-trigger
name=
"choices-single-bu3"
id=
"choices-single-bu3"
[(
ngModel
)]="
bu3Id
"
(
ngModelChange
)="
changBu3
()"
>
<ng-select
class=
"ti-form-select"
data-trigger
name=
"choices-single-bu3"
id=
"choices-single-bu3"
[(
ngModel
)]="
bu3Id
"
(
ngModelChange
)="
changBu3
()"
>
<ng-option
*
ngFor=
"let item of bu3List"
[
value
]="
item
.
bu3id
"
>
{{item.tdesc}}
</ng-option>
<ng-option
*
ngFor=
"let item of bu3List"
[
value
]="
item
.
bu3id
"
>
{{item.tdesc}}
</ng-option>
</ng-select>
</ng-select>
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
ส่วนย่อย1
</label>
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
ส่วนย่อย1
</label>
<ng-select
class=
"ti-form-select"
data-trigger
name=
"choices-single-bu4"
id=
"choices-single-bu4"
[(
ngModel
)]="
bu4Id
"
(
ngModelChange
)="
changBu4
()"
>
<ng-select
class=
"ti-form-select"
data-trigger
name=
"choices-single-bu4"
id=
"choices-single-bu4"
[(
ngModel
)]="
bu4Id
"
(
ngModelChange
)="
changBu4
()"
>
<ng-option
*
ngFor=
"let item of bu4List"
[
value
]="
item
.
bu4id
"
>
{{item.tdesc}}
</ng-option>
<ng-option
*
ngFor=
"let item of bu4List"
[
value
]="
item
.
bu4id
"
>
{{item.tdesc}}
</ng-option>
</ng-select>
</ng-select>
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
ส่วนย่อย2
</label>
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
ส่วนย่อย2
</label>
<ng-select
class=
"ti-form-select"
data-trigger
name=
"choices-single-bu5"
id=
"choices-single-bu5"
[(
ngModel
)]="
bu5Id
"
(
ngModelChange
)="
changBu5
()"
>
<ng-select
class=
"ti-form-select"
data-trigger
name=
"choices-single-bu5"
id=
"choices-single-bu5"
[(
ngModel
)]="
bu5Id
"
(
ngModelChange
)="
changBu5
()"
>
<ng-option
*
ngFor=
"let item of bu5List"
[
value
]="
item
.
bu5id
"
>
{{item.tdesc}}
</ng-option>
<ng-option
*
ngFor=
"let item of bu5List"
[
value
]="
item
.
bu5id
"
>
{{item.tdesc}}
</ng-option>
</ng-select>
</ng-select>
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
ส่วนย่อย3
</label>
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
ส่วนย่อย3
</label>
<ng-select
class=
"ti-form-select"
data-trigger
name=
"choices-single-bu6"
id=
"choices-single-bu6"
[(
ngModel
)]="
bu6Id
"
(
ngModelChange
)="
changBu6
()"
>
<ng-select
class=
"ti-form-select"
data-trigger
name=
"choices-single-bu6"
id=
"choices-single-bu6"
[(
ngModel
)]="
bu6Id
"
(
ngModelChange
)="
changBu6
()"
>
<ng-option
*
ngFor=
"let item of bu6List"
[
value
]="
item
.
bu6id
"
>
{{item.tdesc}}
</ng-option>
<ng-option
*
ngFor=
"let item of bu6List"
[
value
]="
item
.
bu6id
"
>
{{item.tdesc}}
</ng-option>
</ng-select>
</ng-select>
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
ส่วนย่อย4
</label>
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
ส่วนย่อย4
</label>
<ng-select
class=
"ti-form-select"
data-trigger
name=
"choices-single-bu7"
id=
"choices-single-bu7"
[(
ngModel
)]="
bu7Id
"
(
ngModelChange
)="
changBu7
()"
>
<ng-select
class=
"ti-form-select"
data-trigger
name=
"choices-single-bu7"
id=
"choices-single-bu7"
[(
ngModel
)]="
bu7Id
"
(
ngModelChange
)="
changBu7
()"
>
<ng-option
*
ngFor=
"let item of bu7List"
[
value
]="
item
.
bu7id
"
>
{{item.tdesc}}
</ng-option>
<ng-option
*
ngFor=
"let item of bu7List"
[
value
]="
item
.
bu7id
"
>
{{item.tdesc}}
</ng-option>
</ng-select>
</ng-select>
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
ตำแหน่งผู้บังคับบัญชา
</label>
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
ตำแหน่งผู้บังคับบัญชา
</label>
<ng-select
class=
"ti-form-select"
data-trigger
name=
"choices-single-position"
id=
"choices-single-position"
[(
ngModel
)]="
supervisorPositionId
"
(
ngModelChange
)="
changSupervisorPosition
()"
>
<ng-select
class=
"ti-form-select"
data-trigger
name=
"choices-single-position"
id=
"choices-single-position"
[(
ngModel
)]="
supervisorPositionId
"
(
ngModelChange
)="
changSupervisorPosition
()"
>
<ng-option
*
ngFor=
"let item of positionList"
[
value
]="
item
.
positionId
"
>
{{item.tdesc}}
</ng-option>
<ng-option
*
ngFor=
"let item of positionList"
[
value
]="
item
.
positionId
"
>
{{item.tdesc}}
</ng-option>
</ng-select>
</ng-select>
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
วัตถุประสงค์ของตำแหน่งงาน (Objective)
</label>
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
วัตถุประสงค์ของตำแหน่งงาน (Objective)
</label>
<input
type=
"text"
id=
"detail_eng"
class=
"ti-form-input h-16"
[(
ngModel
)]="
selectJob
.
jobObjective
"
>
<input
type=
"text"
id=
"detail_eng"
class=
"ti-form-input h-16"
[(
ngModel
)]="
selectJob
.
jobObjective
"
>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
<button
type=
"button"
<button
type=
"button"
class=
"hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
class=
"hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
data-hs-overlay=
"#sub-job-competency-component-modal-edit"
>
data-hs-overlay=
"#sub-job-competency-component-modal-edit"
>
ย้อนกลับ
ย้อนกลับ
</button>
</button>
<button
class=
"ti-btn ti-btn-success {{checkJobCodeId&&modalStatus=='add'||!selectJob.jobcodeId||!selectJob.tdesc ? 'ti-btn-disabled' : ''}}"
[
disabled
]="
checkJobCodeId
&&
modalStatus=
='add'||!selectJob.jobcodeId||!selectJob.tdesc"
<button
data-hs-overlay=
"#company-registration-page-alert-modal"
>
class=
"ti-btn ti-btn-success {{checkJobCodeId&&modalStatus=='add'||!selectJob.jobcodeId||!selectJob.tdesc ? 'ti-btn-disabled' : ''}}"
บันทึกข้อมูล
[
disabled
]="
checkJobCodeId
&&
modalStatus=
='add'||!selectJob.jobcodeId||!selectJob.tdesc"
</button>
data-hs-overlay=
"#company-registration-page-alert-modal"
>
</div>
บันทึกข้อมูล
</div>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div
id=
"company-registration-page-alert-modal"
class=
"hs-overlay hidden ti-modal"
>
</div>
<div
class=
"hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out h-[calc(100%-3.5rem)] flex items-center"
>
<div
id=
"company-registration-page-alert-modal"
class=
"hs-overlay hidden ti-modal"
>
<div
class=
"hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out h-[calc(100%-3.5rem)] flex items-center"
>
<div
class=
"max-h-full overflow-hidden ti-modal-content w-full"
>
<div
class=
"max-h-full overflow-hidden ti-modal-content w-full"
>
<div
class=
"ti-modal-header"
>
<div
class=
"ti-modal-header"
>
<h3
class=
"text-xxl font-bold text-primary"
>
<h3
class=
"text-xxl font-bold text-primary"
>
แจ้งเตือน
แจ้งเตือน
</h3>
</h3>
<div
class=
"flex justify-end"
>
<div
class=
"flex justify-end"
>
<button
type=
"button"
class=
"hs-dropdown-toggle ti-modal-clode-btn text-danger"
<button
type=
"button"
class=
"hs-dropdown-toggle ti-modal-clode-btn text-danger"
data-hs-overlay=
"#company-registration-page-alert-modal"
>
data-hs-overlay=
"#company-registration-page-alert-modal"
>
<span
class=
"sr-only"
>
Close
</span>
<span
class=
"sr-only"
>
Close
</span>
<i
class=
"ti ti-circle-x fs-xxl"
></i>
<i
class=
"ti ti-circle-x fs-xxl"
></i>
</button>
</button>
</div>
</div>
</div>
</div>
<div
class=
"ti-modal-body "
>
<div
class=
"ti-modal-body "
>
...
@@ -276,7 +288,7 @@
...
@@ -276,7 +288,7 @@
</div>
</div>
</div>
</div>
<div
id=
"supjob-upload-modal"
class=
"hs-overlay hidden ti-modal"
>
<div
id=
"supjob-upload-modal"
class=
"hs-overlay hidden ti-modal"
>
<div
class=
"hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out rounded-md"
>
<div
class=
"hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out rounded-md"
>
<div
class=
"ti-modal-header bg-primary !rounded-none !rounded-t-sm"
>
<div
class=
"ti-modal-header bg-primary !rounded-none !rounded-t-sm"
>
<h5
class=
"text-xxl font-bold text-white"
>
<h5
class=
"text-xxl font-bold text-white"
>
...
@@ -295,6 +307,11 @@
...
@@ -295,6 +307,11 @@
<i
class=
"ti ti-upload"
></i>
<i
class=
"ti ti-upload"
></i>
</button>
</button>
</div>
</div>
<div
class=
"flex justify-center mt-2rem "
>
<h1
class=
"cursor-pointer justify-center -mb-px inline-flex items-center gap-2 font-weight-500 font-size-12px
text-center text-secondary border-secondary border-b-2 align-items-end"
(
click
)="
downloadFile
()"
>
ดาวน์โหลดตัวอย่างไฟล์
</h1>
</div>
<div
class=
"flex justify-center mt-2rem mb-1rem space-x-4"
>
<div
class=
"flex justify-center mt-2rem mb-1rem space-x-4"
>
<button
type=
"submit"
class=
"ti-btn ti-btn-secondary"
<button
type=
"submit"
class=
"ti-btn ti-btn-secondary"
data-hs-overlay=
"#section-registration-upload-modal"
(
click
)="
uploadFile
()"
data-hs-overlay=
"#section-registration-upload-modal"
(
click
)="
uploadFile
()"
...
@@ -305,5 +322,4 @@
...
@@ -305,5 +322,4 @@
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
\ No newline at end of file
src/app/components/job-detail-components/job-detail/work-detail/work-detail.component.html
View file @
0cc7a97a
<div
class=
"w-full min-height-50px mb-10px justify-between items-center"
>
<div
class=
"w-full min-height-50px mb-10px justify-between items-center"
>
<div
class=
"flex justify-between"
>
<div
class=
"flex pr-2
"
>
<div
class=
"flex justify-end
"
>
<div
class=
"px-1"
>
<div
class=
"px-1"
>
<button
type=
"button"
class=
"ti-btn ti-btn-soft-secondary h-20px m-0 shadow-md"
<div
class=
"relative shadow-md"
>
data-hs-overlay=
"#supjob-upload-modal"
(
click
)="
fileInput
.
value =
''
;
selectedFile=
null;selectedFileName
=
'กรุณาเลือกไฟล์'"
>
<input
type=
"text"
id=
"hs-leading-icon"
name=
"hs-leading-icon"
<i
class=
"ri-add-line"
></i>
class=
"ti-form-input ltr:pl-11 rtl:pr-11 focus:z-10 "
placeholder=
"Search by No. or Name"
นำเข้าข้อมูล
[(
ngModel
)]="
search
"
(
ngModelChange
)="
searchChange
()"
>
</button>
<
a
class=
"mx-2 justify-center -mb-px inline-flex items-center gap-2 font-weight-500 font-size-12px text-center text-secondary border-secondary border-b-2 align-items-end"
<
div
href=
"javascript:void(0);"
(
click
)="
downloadFile
()
"
>
class=
"absolute inset-y-0 ltr:left-0 rtl:right-0 flex items-center pointer-events-none z-20 ltr:pl-4 rtl:pr-4
"
>
ดาวน์โหลดตัวอย่างไฟล์
<i
class=
"ri-search-line text-gray"
></i>
</
a
>
</
div
>
</div>
</div>
</div>
</div>
<div
class=
"flex justify-end"
>
<div
class=
"px-1"
>
<div
class=
"px-1"
>
<button
type=
"button"
<div
class=
"relative shadow-md"
>
class=
" h-45px ti-btn ti-btn bg-pink-500/10 text-pink-500 hover:text-white hover:bg-pink-500 ring-offset-white focus:ring-pink-500 dark:focus:ring-offset-white/10 h-10 m-0 shadow-md"
<input
type=
"text"
id=
"hs-leading-icon"
name=
"hs-leading-icon"
data-hs-overlay=
"#supjob-upload-modal"
>
class=
"ti-form-input ltr:pl-11 rtl:pr-11 focus:z-10 "
<i
class=
"ti ti-file-plus"
></i>
placeholder=
"Search by No. or Name"
[(
ngModel
)]="
search
"
(
ngModelChange
)="
searchChange
()"
>
import
</button>
<div
</div>
class=
"absolute inset-y-0 ltr:left-0 rtl:right-0 flex items-center pointer-events-none z-20 ltr:pl-4 rtl:pr-4"
>
<!-- <div class="px-1">
<i
class=
"ri-search-line text-gray"
></i>
</div>
</div>
</div>
<!-- <div class="px-1">
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-danger h-45px m-0 shadow-md"
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-danger h-45px m-0 shadow-md"
data-hs-overlay="#sub-command-structure-alert-delete-modal">
data-hs-overlay="#sub-command-structure-alert-delete-modal">
<i class="ri-delete-bin-6-line"></i>
<i class="ri-delete-bin-6-line"></i>
Delete
Delete
</button>
</button>
</div> -->
</div> -->
<!-- <div class="px-1">
<!-- <div class="px-1">
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-warning h-45px m-0 shadow-md">
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-warning h-45px m-0 shadow-md">
<i class="ti ti-book fs-l"></i>
<i class="ti ti-book fs-l"></i>
Help
Help
</button>
</button>
</div> -->
</div> -->
</div>
</div>
</div>
</div>
</div>
<div
class=
"page px-rem"
>
<div
class=
"page px-rem"
>
<div
class=
"overflow-auto shadow-md rounded-t-md"
>
<div
class=
"overflow-auto shadow-md rounded-t-md"
>
<table
class=
"ti-custom-table ti-custom-table-head ti-custom-table-hover table-bordered"
>
<table
class=
"ti-custom-table ti-custom-table-head ti-custom-table-hover table-bordered"
>
<thead>
<thead>
<tr>
<tr>
<ng-container
<ng-container
*
ngFor=
"let item of ['ลำดับ','รหัสงาน','ชื่อลักษณะงาน (ไทย)','ชื่อลักษณะงาน (อังกฤษ)','การจัดการ']; let f = first; let l = last; let i = index"
>
*
ngFor=
"let item of ['ลำดับ','รหัสงาน','ชื่อลักษณะงาน (ไทย)','ชื่อลักษณะงาน (อังกฤษ)','การจัดการ']; let f = first; let l = last; let i = index"
>
<th
scope=
"col"
class=
"relative px-10px py-10px bg-soft-secondary text-primary !text-center"
>
<th
scope=
"col"
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
class=
"absolute top-1/2 transform -translate-y-1/2 right-0"
*
ngIf=
"!l"
>
<div
class=
"absolute top-1/2 transform -translate-y-1/2 right-0"
*
ngIf=
"!l"
>
<i
class=
"ti ti-dots-vertical fs-l"
></i>
<i
class=
"ti ti-dots-vertical fs-l"
></i>
</div>
</div>
</th>
</th>
</ng-container>
</ng-container>
</tr>
</tr>
</thead>
</thead>
<tbody
*
ngIf=
"loading"
>
<tbody
*
ngIf=
"loading"
>
<tr>
<tr>
<td
class=
"text-center"
colspan=
"100%"
>
<td
class=
"text-center"
colspan=
"100%"
>
<div
*
ngFor=
"let item of [1,2,3]"
class=
"ti-spinner w-8 h-8 text-secondary mx-1"
role=
"status"
<div
*
ngFor=
"let item of [1,2,3]"
class=
"ti-spinner w-8 h-8 text-secondary mx-1"
role=
"status"
aria-label=
"loading"
>
aria-label=
"loading"
>
<span
class=
"sr-only"
>
Loading...
</span>
<span
class=
"sr-only"
>
Loading...
</span>
</div>
</div>
</td>
</td>
</tr>
</tr>
</tbody>
</tbody>
<tbody
*
ngIf=
"!loading&&!jobcodeFilter().length"
>
<tbody
*
ngIf=
"!loading&&!jobcodeFilter().length"
>
<tr>
<tr>
<td
class=
"text-center"
colspan=
"100%"
>
<td
class=
"text-center"
colspan=
"100%"
>
ไม่พบข้อมูล
ไม่พบข้อมูล
</td>
</td>
</tr>
</tr>
</tbody>
</tbody>
<tbody
*
ngIf=
"!loading&&jobcodeFilter().length"
>
<tbody
*
ngIf=
"!loading&&jobcodeFilter().length"
>
<tr
<tr
*
ngFor=
"let item of jobcodeFilter() |slice:((currentPage-1) * pageSize) : (((currentPage-1) * pageSize) + pageSize);let i = index"
>
*
ngFor=
"let item of jobcodeFilter() |slice:((currentPage-1) * pageSize) : (((currentPage-1) * pageSize) + pageSize);let i = index"
>
<td
class=
"text-center"
>
<td
class=
"text-center"
>
{{((currentPage-1) * pageSize)+(i+1)}}
{{((currentPage-1) * pageSize)+(i+1)}}
</td>
</td>
<td
class=
"text-center"
>
{{item.jobcodeId}}
</td>
<td
class=
"text-center"
>
{{item.jobcodeId}}
</td>
<td>
{{item.tdesc}}
</td>
<td>
{{item.tdesc}}
</td>
<td>
{{item.edesc}}
</td>
<td>
{{item.edesc}}
</td>
<td
class=
"flex justify-center"
>
<td
class=
"flex justify-center"
>
<i
class=
"ti ti-edit cursor-pointer i-gray fs-l px-1"
(
click
)="
modalStatus=
'edit'
;
edit
(
item
)"
<i
class=
"ti ti-edit cursor-pointer i-gray fs-l px-1"
(
click
)="
modalStatus=
'edit'
;
edit
(
item
)"
data-hs-overlay=
"#sub-job-competency-component-modal-edit"
></i>
data-hs-overlay=
"#sub-job-competency-component-modal-edit"
></i>
<!-- <i class="ti ti-trash cursor-pointer i-gray fs-l px-1" (click)="modalStatus='delete';edit(item)"
<!-- <i class="ti ti-trash cursor-pointer i-gray fs-l px-1" (click)="modalStatus='delete';edit(item)"
data-hs-overlay="#company-registration-page-alert-modal"></i> -->
data-hs-overlay="#company-registration-page-alert-modal"></i> -->
</td>
</td>
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
</div>
</div>
<app-pagination
[
totalItems
]="
jobcodeFilter
().
length
"
[
pageSize
]="
pageSize
"
(
pageChange
)="
currentPage =
$event"
(
pageSizeChange
)="
pageSize =
$event;currentPage
=
1
"
></app-pagination>
<app-pagination
[
totalItems
]="
jobcodeFilter
().
length
"
[
pageSize
]="
pageSize
"
(
pageChange
)="
currentPage =
$event"
(
pageSizeChange
)="
pageSize =
$event;currentPage
=
1
"
></app-pagination>
</div>
</div>
<div
id=
"sub-job-competency-component-modal-edit"
class=
"hs-overlay hidden ti-modal"
>
<div
class=
"hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out h-[calc(100%-3.5rem)]"
>
<div
class=
"max-h-full overflow-hidden ti-modal-content"
>
<div
id=
"sub-job-competency-component-modal-edit"
class=
"hs-overlay hidden ti-modal"
>
<div
class=
"ti-modal-header"
>
<div
class=
"hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out h-[calc(100%-3.5rem)]"
>
<h3
class=
"text-xxl font-bold text-primary"
>
<div
class=
"max-h-full overflow-hidden ti-modal-content"
>
เเก้ไขข้อมูลรายละเอียดของงาน
<div
class=
"ti-modal-header"
>
</h3>
<h3
class=
"text-xxl font-bold text-primary"
>
<div
class=
"flex justify-end"
>
เเก้ไขข้อมูลรายละเอียดของงาน
<button
type=
"button"
class=
"hs-dropdown-toggle ti-modal-clode-btn text-danger"
</h3>
data-hs-overlay=
"#sub-job-competency-component-modal-edit"
>
<div
class=
"flex justify-end"
>
<span
class=
"sr-only"
>
Close
</span>
<button
type=
"button"
class=
"hs-dropdown-toggle ti-modal-clode-btn text-danger"
<i
class=
"ti ti-circle-x fs-xxl"
></i>
data-hs-overlay=
"#sub-job-competency-component-modal-edit"
>
</button>
<span
class=
"sr-only"
>
Close
</span>
</div>
<i
class=
"ti ti-circle-x fs-xxl"
></i>
</div>
</button>
<div
class=
"ti-modal-center"
>
</div>
<div
class=
"flex justify-end"
style=
"padding-right: 1rem;"
>
</div>
<div
class=
"px-1"
>
<div
class=
"ti-modal-center"
>
<button
type=
"button"
class=
"ti-btn ti-btn-soft-indigo h-45px m-0 shadow-md"
(
click
)="
clearValue
()"
>
<div
class=
"flex justify-end"
style=
"padding-right: 1rem;"
>
<svg
class=
"svg-indigo"
width=
"16"
height=
"16"
viewBox=
"0 0 64.00 64.00"
<div
class=
"px-1"
>
xmlns=
"http://www.w3.org/2000/svg"
fill=
"none"
stroke=
"#595BEA"
stroke-width=
"3.84"
<button
type=
"button"
class=
"ti-btn ti-btn-soft-indigo h-45px m-0 shadow-md"
transform=
"rotate(45)matrix(-1, 0, 0, 1, 0, 0)"
>
(
click
)="
clearValue
()"
>
<g
id=
"SVGRepo_bgCarrier"
stroke-width=
"0"
></g>
<svg
class=
"svg-indigo"
width=
"16"
height=
"16"
viewBox=
"0 0 64.00 64.00"
<g
id=
"SVGRepo_tracerCarrier"
stroke-linecap=
"round"
stroke-linejoin=
"round"
></g>
xmlns=
"http://www.w3.org/2000/svg"
fill=
"none"
stroke=
"#595BEA"
stroke-width=
"3.84"
<g
id=
"SVGRepo_iconCarrier"
>
transform=
"rotate(45)matrix(-1, 0, 0, 1, 0, 0)"
>
<path
d=
"M15 49A24 24 0 0 1 32 8"
></path>
<g
id=
"SVGRepo_bgCarrier"
stroke-width=
"0"
></g>
<path
d=
"M49 15a24 24 0 0 1-17 41"
></path>
<g
id=
"SVGRepo_tracerCarrier"
stroke-linecap=
"round"
stroke-linejoin=
"round"
></g>
<polyline
points=
"15.03 40 15.03 48.97 8 48.97"
></polyline>
<g
id=
"SVGRepo_iconCarrier"
>
<polyline
points=
"48.97 24 48.97 15.03 56 15.03"
></polyline>
<path
d=
"M15 49A24 24 0 0 1 32 8"
></path>
</g>
<path
d=
"M49 15a24 24 0 0 1-17 41"
></path>
</svg>
<polyline
points=
"15.03 40 15.03 48.97 8 48.97"
></polyline>
Clear
<polyline
points=
"48.97 24 48.97 15.03 56 15.03"
></polyline>
</button>
</g>
</div>
</svg>
<div
class=
"px-1"
>
Clear
</button>
</div>
<!-- <div class="px-1">
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-warning h-45px m-0 shadow-md">
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-warning h-45px m-0 shadow-md">
<i class="ti ti-book fs-l"></i>
<i class="ti ti-book fs-l"></i>
Help
Help
</button>
</button>
</div>
</div> -->
</div>
</div>
</div>
</div>
<div
class=
"ti-modal-body"
style=
"padding-top: 0px;"
>
<div
class=
"ti-modal-body"
style=
"padding-top: 0px;"
>
<label
for=
"input-label"
class=
"ti-form-label mt-1rem"
>
รหัสงาน
<span
class=
"text-danger"
>
*
</span></label>
<label
for=
"input-label"
class=
"ti-form-label mt-1rem"
>
รหัสงาน
<span
class=
"text-danger"
>
*
</span></label>
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input bg-input-readonly"
readonly
[(
ngModel
)]="
selectJob
.
jobcodeId
"
>
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input bg-input-readonly"
readonly
<label
for=
"detail_th"
class=
"ti-form-label mt-1rem"
>
ชื่อลักษณะงาน (ไทย)
<span
class=
"text-danger"
>
*
</span></label>
[(
ngModel
)]="
selectJob
.
jobcodeId
"
>
<input
type=
"text"
id=
"detail_th"
class=
"ti-form-input bg-input-readonly"
readonly
[(
ngModel
)]="
selectJob
.
tdesc
"
>
<label
for=
"detail_th"
class=
"ti-form-label mt-1rem"
>
ชื่อลักษณะงาน (ไทย)
<span
<label
for=
"detail_eng"
class=
"ti-form-label mt-1rem"
>
ชื่อลักษณะงาน (อังกฤษ)
</label>
class=
"text-danger"
>
*
</span></label>
<input
type=
"text"
id=
"detail_eng"
class=
"ti-form-input bg-input-readonly"
readonly
[(
ngModel
)]="
selectJob
.
edesc
"
>
<input
type=
"text"
id=
"detail_th"
class=
"ti-form-input bg-input-readonly"
readonly
<div
class=
"flex space-x-4 justify-center"
>
[(
ngModel
)]="
selectJob
.
tdesc
"
>
<label
for=
"detail_eng"
class=
"ti-form-label mt-1rem"
>
ชื่อลักษณะงาน (อังกฤษ)
</label>
<input
type=
"text"
id=
"detail_eng"
class=
"ti-form-input bg-input-readonly"
readonly
[(
ngModel
)]="
selectJob
.
edesc
"
>
<div
class=
"flex space-x-4 justify-center"
>
<div
class=
"flex flex-col w-full"
>
<div
class=
"flex flex-col w-full"
>
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
งานบริหาร (Management)
</label>
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
งานบริหาร (Management)
</label>
<textarea
id=
"input-label"
class=
"ti-form-input w-80"
rows=
"4"
cols=
"50"
[(
ngModel
)]="
selectJob
.
serviceWorkText
"
></textarea>
<textarea
id=
"input-label"
class=
"ti-form-input w-80"
rows=
"4"
cols=
"50"
[(
ngModel
)]="
selectJob
.
serviceWorkText
"
></textarea>
</div>
</div>
<!-- label และ input ที่สอง -->
<!-- label และ input ที่สอง -->
<div
class=
"flex flex-col w-1/2"
>
<div
class=
"flex flex-col w-1/2"
>
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
เปอร์เซ็นต์ %
</label>
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
เปอร์เซ็นต์ %
</label>
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input w-auto"
oninput=
"value = value.replace(/[^0-9.]/g, '');"
onclick=
"value = value=='0'?'':value"
[(
ngModel
)]="
selectJob
.
serviceWorkPercent
"
>
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input w-auto"
oninput=
"value = value.replace(/[^0-9.]/g, '');"
onclick=
"value = value=='0'?'':value"
[(
ngModel
)]="
selectJob
.
serviceWorkPercent
"
>
</div>
</div>
</div>
</div>
<div
class=
"flex space-x-4 justify-center"
>
<div
class=
"flex space-x-4 justify-center"
>
<div
class=
"flex flex-col w-full"
>
<div
class=
"flex flex-col w-full"
>
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
งานที่รับผิดชอบ
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
งานที่รับผิดชอบ
(งานปฏิบัติ)
</label>
(งานปฏิบัติ)
</label>
<textarea
id=
"input-label"
class=
"ti-form-input w-80"
rows=
"4"
cols=
"50"
[(
ngModel
)]="
selectJob
.
responsibleWorkText
"
></textarea>
<textarea
id=
"input-label"
class=
"ti-form-input w-80"
rows=
"4"
cols=
"50"
[(
ngModel
)]="
selectJob
.
responsibleWorkText
"
></textarea>
</div>
</div>
<!-- label และ input ที่สอง -->
<!-- label และ input ที่สอง -->
<div
class=
"flex flex-col w-1/2"
>
<div
class=
"flex flex-col w-1/2"
>
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
เปอร์เซ็นต์ %
</label>
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
เปอร์เซ็นต์ %
</label>
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input w-auto"
oninput=
"value = value.replace(/[^0-9.]/g, '');"
[(
ngModel
)]="
selectJob
.
responsibleWorkPercent
"
>
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input w-auto"
oninput=
"value = value.replace(/[^0-9.]/g, '');"
[(
ngModel
)]="
selectJob
.
responsibleWorkPercent
"
>
</div>
</div>
</div>
</div>
<div
class=
"flex space-x-4 justify-center"
>
<div
class=
"flex space-x-4 justify-center"
>
<div
class=
"flex flex-col w-full"
>
<div
class=
"flex flex-col w-full"
>
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
งานที่ได้รับมอบหมายพิเศษ
</label>
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
งานที่ได้รับมอบหมายพิเศษ
</label>
<textarea
id=
"input-label"
class=
"ti-form-input w-80"
rows=
"4"
cols=
"50"
[(
ngModel
)]="
selectJob
.
specialWorkText
"
></textarea>
<textarea
id=
"input-label"
class=
"ti-form-input w-80"
rows=
"4"
cols=
"50"
[(
ngModel
)]="
selectJob
.
specialWorkText
"
></textarea>
</div>
</div>
<!-- label และ input ที่สอง -->
<!-- label และ input ที่สอง -->
<div
class=
"flex flex-col w-1/2"
>
<div
class=
"flex flex-col w-1/2"
>
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
เปอร์เซ็นต์ %
</label>
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
เปอร์เซ็นต์ %
</label>
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input w-auto"
oninput=
"value = value.replace(/[^0-9]/g, '');"
[(
ngModel
)]="
selectJob
.
specialWorkPercent
"
>
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input w-auto"
oninput=
"value = value.replace(/[^0-9]/g, '');"
[(
ngModel
)]="
selectJob
.
specialWorkPercent
"
>
</div>
</div>
</div>
</div>
<div
class=
"flex space-x-4 justify-center"
>
<div
class=
"flex space-x-4 justify-center"
>
<div
class=
"flex flex-col w-full"
>
<div
class=
"flex flex-col w-full"
>
<label
for=
"input-label"
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
งานที่ทุกตำแหน่งต้องปฏิบัติ
</label>
class=
"ti-form-label mt-2rem"
>
งานที่ทุกตำแหน่งต้องปฏิบัติ
</label>
<textarea
id=
"input-label"
class=
"ti-form-input w-80"
rows=
"4"
cols=
"50"
<textarea
id=
"input-label"
class=
"ti-form-input w-80"
rows=
"4"
cols=
"50"
[(
ngModel
)]="
selectJob
.
allPositionWorkText
"
></textarea>
[(
ngModel
)]="
selectJob
.
allPositionWorkText
"
></textarea>
</div>
</div>
<!-- label และ input ที่สอง -->
<!-- label และ input ที่สอง -->
<div
class=
"flex flex-col w-1/2"
>
<div
class=
"flex flex-col w-1/2"
>
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
เปอร์เซ็นต์ %
</label>
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
เปอร์เซ็นต์ %
</label>
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input w-auto"
oninput=
"value = value.replace(/[^0-9]/g, '');"
[(
ngModel
)]="
selectJob
.
allPositionWorkPercent
"
>
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input w-auto"
oninput=
"value = value.replace(/[^0-9]/g, '');"
[(
ngModel
)]="
selectJob
.
allPositionWorkPercent
"
>
</div>
</div>
</div>
</div>
<div
class=
"flex space-x-4 justify-center"
>
<div
class=
"flex space-x-4 justify-center"
>
<div
class=
"flex flex-col w-full"
>
<div
class=
"flex flex-col w-full"
>
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
อื่นๆ
</label>
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
อื่นๆ
</label>
<textarea
id=
"input-label"
class=
"ti-form-input w-80"
rows=
"4"
cols=
"50"
[(
ngModel
)]="
selectJob
.
otherWorkText
"
></textarea>
<textarea
id=
"input-label"
class=
"ti-form-input w-80"
rows=
"4"
cols=
"50"
[(
ngModel
)]="
selectJob
.
otherWorkText
"
></textarea>
</div>
</div>
<!-- label และ input ที่สอง -->
<!-- label และ input ที่สอง -->
<div
class=
"flex flex-col w-1/2"
>
<div
class=
"flex flex-col w-1/2"
>
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
เปอร์เซ็นต์ %
</label>
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
เปอร์เซ็นต์ %
</label>
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input w-auto"
oninput=
"value = value.replace(/[^0-9]/g, '');"
[(
ngModel
)]="
selectJob
.
otherWorkPercent
"
>
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input w-auto"
oninput=
"value = value.replace(/[^0-9]/g, '');"
[(
ngModel
)]="
selectJob
.
otherWorkPercent
"
>
</div>
</div>
</div>
</div>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
<button
type=
"button"
<button
type=
"button"
class=
"hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
class=
"hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
data-hs-overlay=
"#sub-job-competency-component-modal-edit"
>
data-hs-overlay=
"#sub-job-competency-component-modal-edit"
>
ย้อนกลับ
ย้อนกลับ
</button>
</button>
<a
class=
"ti-btn ti-btn-success"
href=
"javascript:void(0);"
<a
class=
"ti-btn ti-btn-success"
href=
"javascript:void(0);"
data-hs-overlay=
"#company-registration-page-alert-modal"
>
data-hs-overlay=
"#company-registration-page-alert-modal"
>
บันทึกข้อมูล
บันทึกข้อมูล
</a>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div
id=
"company-registration-page-alert-modal"
class=
"hs-overlay hidden ti-modal"
>
<div
id=
"company-registration-page-alert-modal"
class=
"hs-overlay hidden ti-modal"
>
<div
class=
"hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out h-[calc(100%-3.5rem)] flex items-center"
>
<div
class=
"hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out h-[calc(100%-3.5rem)] flex items-center"
>
<div
class=
"max-h-full overflow-hidden ti-modal-content w-full"
>
<div
class=
"max-h-full overflow-hidden ti-modal-content w-full"
>
<div
class=
"ti-modal-header"
>
<div
class=
"ti-modal-header"
>
...
@@ -236,11 +248,11 @@
...
@@ -236,11 +248,11 @@
แจ้งเตือน
แจ้งเตือน
</h3>
</h3>
<div
class=
"flex justify-end"
>
<div
class=
"flex justify-end"
>
<button
type=
"button"
class=
"hs-dropdown-toggle ti-modal-clode-btn text-danger"
<button
type=
"button"
class=
"hs-dropdown-toggle ti-modal-clode-btn text-danger"
data-hs-overlay=
"#company-registration-page-alert-modal"
>
data-hs-overlay=
"#company-registration-page-alert-modal"
>
<span
class=
"sr-only"
>
Close
</span>
<span
class=
"sr-only"
>
Close
</span>
<i
class=
"ti ti-circle-x fs-xxl"
></i>
<i
class=
"ti ti-circle-x fs-xxl"
></i>
</button>
</button>
</div>
</div>
</div>
</div>
<div
class=
"ti-modal-body "
>
<div
class=
"ti-modal-body "
>
...
@@ -282,7 +294,7 @@
...
@@ -282,7 +294,7 @@
</div>
</div>
</div>
</div>
<div
id=
"supjob-upload-modal"
class=
"hs-overlay hidden ti-modal"
>
<div
id=
"supjob-upload-modal"
class=
"hs-overlay hidden ti-modal"
>
<div
class=
"hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out rounded-md"
>
<div
class=
"hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out rounded-md"
>
<div
class=
"ti-modal-header bg-primary !rounded-none !rounded-t-sm"
>
<div
class=
"ti-modal-header bg-primary !rounded-none !rounded-t-sm"
>
<h5
class=
"text-xxl font-bold text-white"
>
<h5
class=
"text-xxl font-bold text-white"
>
...
@@ -301,6 +313,11 @@
...
@@ -301,6 +313,11 @@
<i
class=
"ti ti-upload"
></i>
<i
class=
"ti ti-upload"
></i>
</button>
</button>
</div>
</div>
<div
class=
"flex justify-center mt-2rem "
>
<h1
class=
"cursor-pointer justify-center -mb-px inline-flex items-center gap-2 font-weight-500 font-size-12px
text-center text-secondary border-secondary border-b-2 align-items-end"
(
click
)="
downloadFile
()"
>
ดาวน์โหลดตัวอย่างไฟล์
</h1>
</div>
<div
class=
"flex justify-center mt-2rem mb-1rem space-x-4"
>
<div
class=
"flex justify-center mt-2rem mb-1rem space-x-4"
>
<button
type=
"submit"
class=
"ti-btn ti-btn-secondary"
<button
type=
"submit"
class=
"ti-btn ti-btn-secondary"
data-hs-overlay=
"#section-registration-upload-modal"
(
click
)="
uploadFile
()"
data-hs-overlay=
"#section-registration-upload-modal"
(
click
)="
uploadFile
()"
...
@@ -311,7 +328,4 @@
...
@@ -311,7 +328,4 @@
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
\ No newline at end of file
src/app/components/job-detail-components/job-position-indicators/sub-job-position-indicators/sub-job-position-indicators.component.html
View file @
0cc7a97a
<div
class=
"w-full min-height-50px mb-10px justify-between items-center"
>
<div
class=
"w-full min-height-50px mb-10px justify-between items-center"
>
<div
class=
"flex justify-between"
>
<div
class=
"flex justify-end"
>
<div
class=
"flex pr-2"
>
<div
class=
"px-1"
>
<div
class=
"px-1"
>
<div
class=
"relative shadow-md"
>
<button
type=
"button"
class=
"ti-btn ti-btn-soft-secondary h-20px m-0 shadow-md"
<input
type=
"text"
id=
"hs-leading-icon"
name=
"hs-leading-icon"
data-hs-overlay=
"#supjob-upload-modal"
(
click
)="
fileInput
.
value =
''
;
selectedFile=
null;selectedFileName
=
'กรุณาเลือกไฟล์'"
>
class=
"ti-form-input ltr:pl-11 rtl:pr-11 focus:z-10 "
placeholder=
"Search by No. or Name"
<i
class=
"ri-add-line"
></i>
[(
ngModel
)]="
search
"
(
ngModelChange
)="
searchChange
()"
>
นำเข้าข้อมูล
</button>
<div
<a
class=
"mx-2 justify-center -mb-px inline-flex items-center gap-2 font-weight-500 font-size-12px text-center text-secondary border-secondary border-b-2 align-items-end"
class=
"absolute inset-y-0 ltr:left-0 rtl:right-0 flex items-center pointer-events-none z-20 ltr:pl-4 rtl:pr-4"
>
href=
"javascript:void(0);"
(
click
)="
downloadFile
()"
>
<i
class=
"ri-search-line text-gray"
></i>
ดาวน์โหลดตัวอย่างไฟล์
</div>
</a>
</div>
</div>
</div>
</div>
<div
class=
"flex justify-end"
>
<div
class=
"px-1"
>
<div
class=
"px-1"
>
<button
type=
"button"
<div
class=
"relative shadow-md"
>
class=
" h-45px ti-btn ti-btn bg-pink-500/10 text-pink-500 hover:text-white hover:bg-pink-500 ring-offset-white focus:ring-pink-500 dark:focus:ring-offset-white/10 h-10 m-0 shadow-md"
<input
type=
"text"
id=
"hs-leading-icon"
name=
"hs-leading-icon"
data-hs-overlay=
"#supjob-upload-modal"
>
class=
"ti-form-input ltr:pl-11 rtl:pr-11 focus:z-10 "
<i
class=
"ti ti-file-plus"
></i>
placeholder=
"Search by No. or Name"
[(
ngModel
)]="
search
"
(
ngModelChange
)="
searchChange
()"
>
import
</button>
<div
</div>
class=
"absolute inset-y-0 ltr:left-0 rtl:right-0 flex items-center pointer-events-none z-20 ltr:pl-4 rtl:pr-4"
>
<!-- <div class="px-1">
<i
class=
"ri-search-line text-gray"
></i>
</div>
</div>
</div>
<!-- <div class="px-1">
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-danger h-45px m-0 shadow-md"
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-danger h-45px m-0 shadow-md"
data-hs-overlay="#sub-command-structure-alert-delete-modal">
data-hs-overlay="#sub-command-structure-alert-delete-modal">
<i class="ri-delete-bin-6-line"></i>
<i class="ri-delete-bin-6-line"></i>
Delete
Delete
</button>
</button>
</div> -->
</div> -->
<!-- <div class="px-1">
<!-- <div class="px-1">
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-warning h-45px m-0 shadow-md">
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-warning h-45px m-0 shadow-md">
<i class="ti ti-book fs-l"></i>
<i class="ti ti-book fs-l"></i>
Help
Help
</button>
</button>
</div> -->
</div> -->
</div>
</div>
</div>
</div>
</div>
<div
class=
"page px-rem"
>
<div
class=
"page px-rem"
>
<div
class=
"overflow-auto shadow-md rounded-t-md"
>
<div
class=
"overflow-auto shadow-md rounded-t-md"
>
<table
class=
"ti-custom-table ti-custom-table-head ti-custom-table-hover table-bordered"
>
<table
class=
"ti-custom-table ti-custom-table-head ti-custom-table-hover table-bordered"
>
<thead>
<thead>
<tr>
<tr>
<ng-container
<ng-container
*
ngFor=
"let item of ['ลำดับ','รหัสงาน','ชื่อลักษณะงาน (ไทย)','ชื่อลักษณะงาน (อังกฤษ)','การจัดการ']; let f = first; let l = last; let i = index"
>
*
ngFor=
"let item of ['ลำดับ','รหัสงาน','ชื่อลักษณะงาน (ไทย)','ชื่อลักษณะงาน (อังกฤษ)','การจัดการ']; let f = first; let l = last; let i = index"
>
<th
scope=
"col"
class=
"relative px-10px py-10px bg-soft-secondary text-primary !text-center"
>
<th
scope=
"col"
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
class=
"absolute top-1/2 transform -translate-y-1/2 right-0"
*
ngIf=
"!l"
>
<div
class=
"absolute top-1/2 transform -translate-y-1/2 right-0"
*
ngIf=
"!l"
>
<i
class=
"ti ti-dots-vertical fs-l"
></i>
<i
class=
"ti ti-dots-vertical fs-l"
></i>
</div>
</div>
</th>
</th>
</ng-container>
</ng-container>
</tr>
</tr>
</thead>
</thead>
<tbody
*
ngIf=
"loading"
>
<tbody
*
ngIf=
"loading"
>
<tr>
<tr>
<td
class=
"text-center"
colspan=
"100%"
>
<td
class=
"text-center"
colspan=
"100%"
>
<div
*
ngFor=
"let item of [1,2,3]"
class=
"ti-spinner w-8 h-8 text-secondary mx-1"
role=
"status"
<div
*
ngFor=
"let item of [1,2,3]"
class=
"ti-spinner w-8 h-8 text-secondary mx-1"
role=
"status"
aria-label=
"loading"
>
aria-label=
"loading"
>
<span
class=
"sr-only"
>
Loading...
</span>
<span
class=
"sr-only"
>
Loading...
</span>
</div>
</div>
</td>
</td>
</tr>
</tr>
</tbody>
</tbody>
<tbody
*
ngIf=
"!loading&&!jobcodeFilter().length"
>
<tbody
*
ngIf=
"!loading&&!jobcodeFilter().length"
>
<tr>
<tr>
<td
class=
"text-center"
colspan=
"100%"
>
<td
class=
"text-center"
colspan=
"100%"
>
ไม่พบข้อมูล
ไม่พบข้อมูล
</td>
</td>
</tr>
</tr>
</tbody>
</tbody>
<tbody
*
ngIf=
"!loading&&jobcodeFilter().length"
>
<tbody
*
ngIf=
"!loading&&jobcodeFilter().length"
>
<tr
<tr
*
ngFor=
"let item of jobcodeFilter() |slice:((currentPage-1) * pageSize) : (((currentPage-1) * pageSize) + pageSize);let i = index"
>
*
ngFor=
"let item of jobcodeFilter() |slice:((currentPage-1) * pageSize) : (((currentPage-1) * pageSize) + pageSize);let i = index"
>
<td
class=
"text-center"
>
<td
class=
"text-center"
>
{{((currentPage-1) * pageSize)+(i+1)}}
{{((currentPage-1) * pageSize)+(i+1)}}
</td>
</td>
<td
class=
"text-center"
>
{{item.jobcodeId}}
</td>
<td
class=
"text-center"
>
{{item.jobcodeId}}
</td>
<td>
{{item.tdesc}}
</td>
<td>
{{item.tdesc}}
</td>
<td>
{{item.edesc}}
</td>
<td>
{{item.edesc}}
</td>
<td
class=
"flex justify-center"
>
<td
class=
"flex justify-center"
>
<i
class=
"ti ti-edit cursor-pointer i-gray fs-l px-1"
(
click
)="
modalStatus=
'edit'
;
edit
(
item
)"
<i
class=
"ti ti-edit cursor-pointer i-gray fs-l px-1"
(
click
)="
modalStatus=
'edit'
;
edit
(
item
)"
data-hs-overlay=
"#sub-job-competency-component-modal-edit"
></i>
data-hs-overlay=
"#sub-job-competency-component-modal-edit"
></i>
<!-- <i class="ti ti-trash cursor-pointer i-gray fs-l px-1" (click)="modalStatus='delete';edit(item)"
<!-- <i class="ti ti-trash cursor-pointer i-gray fs-l px-1" (click)="modalStatus='delete';edit(item)"
data-hs-overlay="#company-registration-page-alert-modal"></i> -->
data-hs-overlay="#company-registration-page-alert-modal"></i> -->
</td>
</td>
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
</div>
</div>
<app-pagination
[
totalItems
]="
jobcodeFilter
().
length
"
[
pageSize
]="
pageSize
"
(
pageChange
)="
currentPage =
$event"
(
pageSizeChange
)="
pageSize =
$event;currentPage
=
1
"
></app-pagination>
<app-pagination
[
totalItems
]="
jobcodeFilter
().
length
"
[
pageSize
]="
pageSize
"
(
pageChange
)="
currentPage =
$event"
</div>
(
pageSizeChange
)="
pageSize =
$event;currentPage
=
1
"
></app-pagination>
</div>
<div
id=
"sub-job-competency-component-modal-edit"
class=
"hs-overlay hidden ti-modal"
>
<div
id=
"sub-job-competency-component-modal-edit"
class=
"hs-overlay hidden ti-modal"
>
<div
class=
"hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out h-[calc(100%-3.5rem)]"
>
<div
class=
"hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out h-[calc(100%-3.5rem)]"
>
<div
class=
"max-h-full overflow-hidden ti-modal-content"
>
<div
class=
"max-h-full overflow-hidden ti-modal-content"
>
<div
class=
"ti-modal-header"
>
<div
class=
"ti-modal-header"
>
<h3
class=
"text-xxl font-bold text-primary"
>
<h3
class=
"text-xxl font-bold text-primary"
>
เเก้ไขข้อมูลตัวชี้วัดของตำแหน่งงาน
เเก้ไขข้อมูลตัวชี้วัดของตำแหน่งงาน
</h3>
</h3>
<div
class=
"flex justify-end"
>
<div
class=
"flex justify-end"
>
<button
type=
"button"
class=
"hs-dropdown-toggle ti-modal-clode-btn text-danger"
<button
type=
"button"
class=
"hs-dropdown-toggle ti-modal-clode-btn text-danger"
data-hs-overlay=
"#sub-job-competency-component-modal-edit"
>
data-hs-overlay=
"#sub-job-competency-component-modal-edit"
>
<span
class=
"sr-only"
>
Close
</span>
<span
class=
"sr-only"
>
Close
</span>
<i
class=
"ti ti-circle-x fs-xxl"
></i>
<i
class=
"ti ti-circle-x fs-xxl"
></i>
</button>
</button>
</div>
</div>
</div>
</div>
<div
class=
"ti-modal-center"
>
<div
class=
"ti-modal-center"
>
<div
class=
"flex justify-end"
style=
"padding-right: 1rem;"
>
<div
class=
"flex justify-end"
style=
"padding-right: 1rem;"
>
<div
class=
"px-1"
>
<div
class=
"px-1"
>
<button
type=
"button"
class=
"ti-btn ti-btn-soft-indigo h-45px m-0 shadow-md"
(
click
)="
clearValue
()"
>
<button
type=
"button"
class=
"ti-btn ti-btn-soft-indigo h-45px m-0 shadow-md"
<svg
class=
"svg-indigo"
width=
"16"
height=
"16"
viewBox=
"0 0 64.00 64.00"
(
click
)="
clearValue
()"
>
xmlns=
"http://www.w3.org/2000/svg"
fill=
"none"
stroke=
"#595BEA"
stroke-width=
"3.84"
<svg
class=
"svg-indigo"
width=
"16"
height=
"16"
viewBox=
"0 0 64.00 64.00"
transform=
"rotate(45)matrix(-1, 0, 0, 1, 0, 0)"
>
xmlns=
"http://www.w3.org/2000/svg"
fill=
"none"
stroke=
"#595BEA"
stroke-width=
"3.84"
<g
id=
"SVGRepo_bgCarrier"
stroke-width=
"0"
></g>
transform=
"rotate(45)matrix(-1, 0, 0, 1, 0, 0)"
>
<g
id=
"SVGRepo_tracerCarrier"
stroke-linecap=
"round"
stroke-linejoin=
"round"
></g>
<g
id=
"SVGRepo_bgCarrier"
stroke-width=
"0"
></g>
<g
id=
"SVGRepo_iconCarrier"
>
<g
id=
"SVGRepo_tracerCarrier"
stroke-linecap=
"round"
stroke-linejoin=
"round"
></g>
<path
d=
"M15 49A24 24 0 0 1 32 8"
></path>
<g
id=
"SVGRepo_iconCarrier"
>
<path
d=
"M49 15a24 24 0 0 1-17 41"
></path>
<path
d=
"M15 49A24 24 0 0 1 32 8"
></path>
<polyline
points=
"15.03 40 15.03 48.97 8 48.97"
></polyline>
<path
d=
"M49 15a24 24 0 0 1-17 41"
></path>
<polyline
points=
"48.97 24 48.97 15.03 56 15.03"
></polyline>
<polyline
points=
"15.03 40 15.03 48.97 8 48.97"
></polyline>
</g>
<polyline
points=
"48.97 24 48.97 15.03 56 15.03"
></polyline>
</svg>
</g>
Clear
</svg>
</button>
Clear
</div>
</button>
<div
class=
"px-1"
>
</div>
<!-- <div class="px-1">
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-warning h-45px m-0 shadow-md">
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-warning h-45px m-0 shadow-md">
<i class="ti ti-book fs-l"></i>
<i class="ti ti-book fs-l"></i>
Help
Help
</button>
</button>
</div>
</div> -->
</div>
</div>
</div>
</div>
<div
class=
"ti-modal-body"
style=
"padding-top: 0px;"
>
<div
class=
"ti-modal-body"
style=
"padding-top: 0px;"
>
<label
for=
"input-label"
class=
"ti-form-label mt-1rem"
>
รหัสงาน
<span
class=
"text-danger"
>
*
</span></label>
<label
for=
"input-label"
class=
"ti-form-label mt-1rem"
>
รหัสงาน
<span
class=
"text-danger"
>
*
</span></label>
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input bg-input-readonly"
readonly
[(
ngModel
)]="
selectJob
.
jobcodeId
"
>
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input bg-input-readonly"
readonly
<label
for=
"detail_th"
class=
"ti-form-label mt-1rem"
>
ชื่อลักษณะงาน (ไทย)
<span
class=
"text-danger"
>
*
</span></label>
[(
ngModel
)]="
selectJob
.
jobcodeId
"
>
<input
type=
"text"
id=
"detail_th"
class=
"ti-form-input bg-input-readonly"
readonly
[(
ngModel
)]="
selectJob
.
tdesc
"
>
<label
for=
"detail_th"
class=
"ti-form-label mt-1rem"
>
ชื่อลักษณะงาน (ไทย)
<span
<label
for=
"detail_eng"
class=
"ti-form-label mt-1rem"
>
ชื่อลักษณะงาน (อังกฤษ)
</label>
class=
"text-danger"
>
*
</span></label>
<input
type=
"text"
id=
"detail_eng"
class=
"ti-form-input bg-input-readonly"
readonly
[(
ngModel
)]="
selectJob
.
edesc
"
>
<input
type=
"text"
id=
"detail_th"
class=
"ti-form-input bg-input-readonly"
readonly
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
ตัวชี้วัดของตำแหน่งงาน (Key Performance Indicators: KPIs)
</label>
[(
ngModel
)]="
selectJob
.
tdesc
"
>
<textarea
type=
"text"
id=
"detail_eng"
class=
"ti-form-input font-bold"
rows=
"5"
cols=
"50"
[(
ngModel
)]="
selectJob
.
kpiWorkText
"
></textarea>
<label
for=
"detail_eng"
class=
"ti-form-label mt-1rem"
>
ชื่อลักษณะงาน (อังกฤษ)
</label>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
<input
type=
"text"
id=
"detail_eng"
class=
"ti-form-input bg-input-readonly"
readonly
[(
ngModel
)]="
selectJob
.
edesc
"
>
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
ตัวชี้วัดของตำแหน่งงาน (Key Performance
Indicators: KPIs)
</label>
<textarea
type=
"text"
id=
"detail_eng"
class=
"ti-form-input font-bold"
rows=
"5"
cols=
"50"
[(
ngModel
)]="
selectJob
.
kpiWorkText
"
></textarea>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
<button
type=
"button"
<button
type=
"button"
class=
"hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
class=
"hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
data-hs-overlay=
"#sub-job-competency-component-modal-edit"
>
data-hs-overlay=
"#sub-job-competency-component-modal-edit"
>
ย้อนกลับ
ย้อนกลับ
</button>
</button>
<a
class=
"ti-btn ti-btn-success"
href=
"javascript:void(0);"
<a
class=
"ti-btn ti-btn-success"
href=
"javascript:void(0);"
data-hs-overlay=
"#company-registration-page-alert-modal"
>
data-hs-overlay=
"#company-registration-page-alert-modal"
>
บันทึกข้อมูล
บันทึกข้อมูล
</a>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div
id=
"company-registration-page-alert-modal"
class=
"hs-overlay hidden ti-modal"
>
<div
id=
"company-registration-page-alert-modal"
class=
"hs-overlay hidden ti-modal"
>
<div
class=
"hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out h-[calc(100%-3.5rem)] flex items-center"
>
<div
class=
"hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out h-[calc(100%-3.5rem)] flex items-center"
>
<div
class=
"max-h-full overflow-hidden ti-modal-content w-full"
>
<div
class=
"max-h-full overflow-hidden ti-modal-content w-full"
>
<div
class=
"ti-modal-header"
>
<div
class=
"ti-modal-header"
>
...
@@ -175,11 +176,11 @@
...
@@ -175,11 +176,11 @@
แจ้งเตือน
แจ้งเตือน
</h3>
</h3>
<div
class=
"flex justify-end"
>
<div
class=
"flex justify-end"
>
<button
type=
"button"
class=
"hs-dropdown-toggle ti-modal-clode-btn text-danger"
<button
type=
"button"
class=
"hs-dropdown-toggle ti-modal-clode-btn text-danger"
data-hs-overlay=
"#company-registration-page-alert-modal"
>
data-hs-overlay=
"#company-registration-page-alert-modal"
>
<span
class=
"sr-only"
>
Close
</span>
<span
class=
"sr-only"
>
Close
</span>
<i
class=
"ti ti-circle-x fs-xxl"
></i>
<i
class=
"ti ti-circle-x fs-xxl"
></i>
</button>
</button>
</div>
</div>
</div>
</div>
<div
class=
"ti-modal-body "
>
<div
class=
"ti-modal-body "
>
...
@@ -221,7 +222,7 @@
...
@@ -221,7 +222,7 @@
</div>
</div>
</div>
</div>
<div
id=
"supjob-upload-modal"
class=
"hs-overlay hidden ti-modal"
>
<div
id=
"supjob-upload-modal"
class=
"hs-overlay hidden ti-modal"
>
<div
class=
"hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out rounded-md"
>
<div
class=
"hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out rounded-md"
>
<div
class=
"ti-modal-header bg-primary !rounded-none !rounded-t-sm"
>
<div
class=
"ti-modal-header bg-primary !rounded-none !rounded-t-sm"
>
<h5
class=
"text-xxl font-bold text-white"
>
<h5
class=
"text-xxl font-bold text-white"
>
...
@@ -240,6 +241,11 @@
...
@@ -240,6 +241,11 @@
<i
class=
"ti ti-upload"
></i>
<i
class=
"ti ti-upload"
></i>
</button>
</button>
</div>
</div>
<div
class=
"flex justify-center mt-2rem "
>
<h1
class=
"cursor-pointer justify-center -mb-px inline-flex items-center gap-2 font-weight-500 font-size-12px
text-center text-secondary border-secondary border-b-2 align-items-end"
(
click
)="
downloadFile
()"
>
ดาวน์โหลดตัวอย่างไฟล์
</h1>
</div>
<div
class=
"flex justify-center mt-2rem mb-1rem space-x-4"
>
<div
class=
"flex justify-center mt-2rem mb-1rem space-x-4"
>
<button
type=
"submit"
class=
"ti-btn ti-btn-secondary"
<button
type=
"submit"
class=
"ti-btn ti-btn-secondary"
data-hs-overlay=
"#section-registration-upload-modal"
(
click
)="
uploadFile
()"
data-hs-overlay=
"#section-registration-upload-modal"
(
click
)="
uploadFile
()"
...
@@ -250,4 +256,4 @@
...
@@ -250,4 +256,4 @@
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
\ No newline at end of file
src/app/components/job-detail-components/job-qualifications/sub-job-qualifications/sub-job-qualifications.component.html
View file @
0cc7a97a
<div
class=
"w-full min-height-50px mb-10px justify-between items-center"
>
<div
class=
"w-full min-height-50px mb-10px justify-between items-center"
>
<div
class=
"flex justify-between"
>
<div
class=
"flex justify-end"
>
<div
class=
"flex pr-2"
>
<div
class=
"px-1"
>
<div
class=
"px-1"
>
<div
class=
"relative shadow-md"
>
<button
type=
"button"
class=
"ti-btn ti-btn-soft-secondary h-20px m-0 shadow-md"
<input
type=
"text"
id=
"hs-leading-icon"
name=
"hs-leading-icon"
data-hs-overlay=
"#supjob-upload-modal"
(
click
)="
fileInput
.
value =
''
;
selectedFile=
null;selectedFileName
=
'กรุณาเลือกไฟล์'"
>
class=
"ti-form-input ltr:pl-11 rtl:pr-11 focus:z-10 "
placeholder=
"Search by No. or Name"
<i
class=
"ri-add-line"
></i>
[(
ngModel
)]="
search
"
(
ngModelChange
)="
searchChange
()"
>
นำเข้าข้อมูล
</button>
<div
<a
class=
"mx-2 justify-center -mb-px inline-flex items-center gap-2 font-weight-500 font-size-12px text-center text-secondary border-secondary border-b-2 align-items-end"
class=
"absolute inset-y-0 ltr:left-0 rtl:right-0 flex items-center pointer-events-none z-20 ltr:pl-4 rtl:pr-4"
>
href=
"javascript:void(0);"
(
click
)="
downloadFile
()"
>
<i
class=
"ri-search-line text-gray"
></i>
ดาวน์โหลดตัวอย่างไฟล์
</div>
</a>
</div>
</div>
</div>
</div>
<div
class=
"flex justify-end"
>
<div
class=
"px-1"
>
<div
class=
"px-1"
>
<button
type=
"button"
<div
class=
"relative shadow-md"
>
class=
" h-45px ti-btn ti-btn bg-pink-500/10 text-pink-500 hover:text-white hover:bg-pink-500 ring-offset-white focus:ring-pink-500 dark:focus:ring-offset-white/10 h-10 m-0 shadow-md"
<input
type=
"text"
id=
"hs-leading-icon"
name=
"hs-leading-icon"
data-hs-overlay=
"#supjob-upload-modal"
class=
"ti-form-input ltr:pl-11 rtl:pr-11 focus:z-10 "
(
click
)="
fileInput
.
value =
''
;
selectedFile=
null;selectedFileName
=
'กรุณาเลือกไฟล์'"
>
placeholder=
"Search by No. or Name"
[(
ngModel
)]="
search
"
(
ngModelChange
)="
searchChange
()"
>
<i
class=
"ti ti-file-plus"
></i>
import
<div
</button>
class=
"absolute inset-y-0 ltr:left-0 rtl:right-0 flex items-center pointer-events-none z-20 ltr:pl-4 rtl:pr-4"
>
</div>
<i
class=
"ri-search-line text-gray"
></i>
<!-- <div class="px-1">
</div>
</div>
</div>
<!-- <div class="px-1">
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-danger h-45px m-0 shadow-md"
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-danger h-45px m-0 shadow-md"
data-hs-overlay="#sub-command-structure-alert-delete-modal">
data-hs-overlay="#sub-command-structure-alert-delete-modal">
<i class="ri-delete-bin-6-line"></i>
<i class="ri-delete-bin-6-line"></i>
Delete
Delete
</button>
</button>
</div> -->
</div> -->
<!-- <div class="px-1">
<!-- <div class="px-1">
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-warning h-45px m-0 shadow-md">
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-warning h-45px m-0 shadow-md">
<i class="ti ti-book fs-l"></i>
<i class="ti ti-book fs-l"></i>
Help
Help
</button>
</button>
</div> -->
</div> -->
</div>
</div>
</div>
</div>
</div>
<div
class=
"page px-rem"
>
<div
class=
"page px-rem"
>
<div
class=
"overflow-auto shadow-md rounded-t-md"
>
<div
class=
"overflow-auto shadow-md rounded-t-md"
>
<table
class=
"ti-custom-table ti-custom-table-head ti-custom-table-hover table-bordered"
>
<table
class=
"ti-custom-table ti-custom-table-head ti-custom-table-hover table-bordered"
>
<thead>
<thead>
<tr>
<tr>
<ng-container
<ng-container
*
ngFor=
"let item of ['ลำดับ','รหัสงาน','ชื่อลักษณะงาน (ไทย)','ชื่อลักษณะงาน (อังกฤษ)','การจัดการ']; let f = first; let l = last; let i = index"
>
*
ngFor=
"let item of ['ลำดับ','รหัสงาน','ชื่อลักษณะงาน (ไทย)','ชื่อลักษณะงาน (อังกฤษ)','การจัดการ']; let f = first; let l = last; let i = index"
>
<th
scope=
"col"
class=
"relative px-10px py-10px bg-soft-secondary text-primary !text-center"
>
<th
scope=
"col"
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
class=
"absolute top-1/2 transform -translate-y-1/2 right-0"
*
ngIf=
"!l"
>
<div
class=
"absolute top-1/2 transform -translate-y-1/2 right-0"
*
ngIf=
"!l"
>
<i
class=
"ti ti-dots-vertical fs-l"
></i>
<i
class=
"ti ti-dots-vertical fs-l"
></i>
</div>
</div>
</th>
</th>
</ng-container>
</ng-container>
</tr>
</tr>
</thead>
</thead>
<tbody
*
ngIf=
"loading"
>
<tbody
*
ngIf=
"loading"
>
<tr>
<tr>
<td
class=
"text-center"
colspan=
"100%"
>
<td
class=
"text-center"
colspan=
"100%"
>
<div
*
ngFor=
"let item of [1,2,3]"
class=
"ti-spinner w-8 h-8 text-secondary mx-1"
role=
"status"
<div
*
ngFor=
"let item of [1,2,3]"
class=
"ti-spinner w-8 h-8 text-secondary mx-1"
role=
"status"
aria-label=
"loading"
>
aria-label=
"loading"
>
<span
class=
"sr-only"
>
Loading...
</span>
<span
class=
"sr-only"
>
Loading...
</span>
</div>
</div>
</td>
</td>
</tr>
</tr>
</tbody>
</tbody>
<tbody
*
ngIf=
"!loading&&!jobcodeFilter().length"
>
<tbody
*
ngIf=
"!loading&&!jobcodeFilter().length"
>
<tr>
<tr>
<td
class=
"text-center"
colspan=
"100%"
>
<td
class=
"text-center"
colspan=
"100%"
>
ไม่พบข้อมูล
ไม่พบข้อมูล
</td>
</td>
</tr>
</tr>
</tbody>
</tbody>
<tbody
*
ngIf=
"!loading&&jobcodeFilter().length"
>
<tbody
*
ngIf=
"!loading&&jobcodeFilter().length"
>
<tr
<tr
*
ngFor=
"let item of jobcodeFilter() |slice:((currentPage-1) * pageSize) : (((currentPage-1) * pageSize) + pageSize);let i = index"
>
*
ngFor=
"let item of jobcodeFilter() |slice:((currentPage-1) * pageSize) : (((currentPage-1) * pageSize) + pageSize);let i = index"
>
<td
class=
"text-center"
>
<td
class=
"text-center"
>
{{((currentPage-1) * pageSize)+(i+1)}}
{{((currentPage-1) * pageSize)+(i+1)}}
</td>
</td>
<td
class=
"text-center"
>
{{item.jobcodeId}}
</td>
<td
class=
"text-center"
>
{{item.jobcodeId}}
</td>
<td>
{{item.tdesc}}
</td>
<td>
{{item.tdesc}}
</td>
<td>
{{item.edesc}}
</td>
<td>
{{item.edesc}}
</td>
<td
class=
"flex justify-center"
>
<td
class=
"flex justify-center"
>
<i
class=
"ti ti-edit cursor-pointer i-gray fs-l px-1"
(
click
)="
modalStatus=
'edit'
;
edit
(
item
)"
<i
class=
"ti ti-edit cursor-pointer i-gray fs-l px-1"
(
click
)="
modalStatus=
'edit'
;
edit
(
item
)"
data-hs-overlay=
"#sub-job-competency-component-modal-edit"
></i>
data-hs-overlay=
"#sub-job-competency-component-modal-edit"
></i>
<!-- <i class="ti ti-trash cursor-pointer i-gray fs-l px-1" (click)="modalStatus='delete';edit(item)"
<!-- <i class="ti ti-trash cursor-pointer i-gray fs-l px-1" (click)="modalStatus='delete';edit(item)"
data-hs-overlay="#company-registration-page-alert-modal"></i> -->
data-hs-overlay="#company-registration-page-alert-modal"></i> -->
</td>
</td>
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
</div>
</div>
<app-pagination
[
totalItems
]="
jobcodeFilter
().
length
"
[
pageSize
]="
pageSize
"
(
pageChange
)="
currentPage =
$event"
(
pageSizeChange
)="
pageSize =
$event;currentPage
=
1
"
></app-pagination>
<app-pagination
[
totalItems
]="
jobcodeFilter
().
length
"
[
pageSize
]="
pageSize
"
(
pageChange
)="
currentPage =
$event"
</div>
(
pageSizeChange
)="
pageSize =
$event;currentPage
=
1
"
></app-pagination>
</div>
<div
id=
"sub-job-competency-component-modal-edit"
class=
"hs-overlay hidden ti-modal"
>
<div
id=
"sub-job-competency-component-modal-edit"
class=
"hs-overlay hidden ti-modal"
>
<div
class=
"hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out h-[calc(100%-3.5rem)]"
>
<div
class=
"hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out h-[calc(100%-3.5rem)]"
>
<div
class=
"max-h-full overflow-hidden ti-modal-content"
>
<div
class=
"max-h-full overflow-hidden ti-modal-content"
>
<div
class=
"ti-modal-header"
>
<div
class=
"ti-modal-header"
>
<h3
class=
"text-xxl font-bold text-primary"
>
<h3
class=
"text-xxl font-bold text-primary"
>
เเก้ไขข้อมูลคุณสมบัติที่จำเป็นต่อการปฏิบัติหน้าที่
เเก้ไขข้อมูลคุณสมบัติที่จำเป็นต่อการปฏิบัติหน้าที่
</h3>
</h3>
<div
class=
"flex justify-end"
>
<div
class=
"flex justify-end"
>
<button
type=
"button"
class=
"hs-dropdown-toggle ti-modal-clode-btn text-danger"
<button
type=
"button"
class=
"hs-dropdown-toggle ti-modal-clode-btn text-danger"
data-hs-overlay=
"#sub-job-competency-component-modal-edit"
>
data-hs-overlay=
"#sub-job-competency-component-modal-edit"
>
<span
class=
"sr-only"
>
Close
</span>
<span
class=
"sr-only"
>
Close
</span>
<i
class=
"ti ti-circle-x fs-xxl"
></i>
<i
class=
"ti ti-circle-x fs-xxl"
></i>
</button>
</button>
</div>
</div>
</div>
</div>
<div
class=
"ti-modal-center"
>
<div
class=
"ti-modal-center"
>
<div
class=
"flex justify-end"
style=
"padding-right: 1rem;"
>
<div
class=
"flex justify-end"
style=
"padding-right: 1rem;"
>
<div
class=
"px-1"
>
<div
class=
"px-1"
>
<button
type=
"button"
class=
"ti-btn ti-btn-soft-indigo h-45px m-0 shadow-md"
(
click
)="
clearValue
()"
>
<button
type=
"button"
class=
"ti-btn ti-btn-soft-indigo h-45px m-0 shadow-md"
<svg
class=
"svg-indigo"
width=
"16"
height=
"16"
viewBox=
"0 0 64.00 64.00"
(
click
)="
clearValue
()"
>
xmlns=
"http://www.w3.org/2000/svg"
fill=
"none"
stroke=
"#595BEA"
stroke-width=
"3.84"
<svg
class=
"svg-indigo"
width=
"16"
height=
"16"
viewBox=
"0 0 64.00 64.00"
transform=
"rotate(45)matrix(-1, 0, 0, 1, 0, 0)"
>
xmlns=
"http://www.w3.org/2000/svg"
fill=
"none"
stroke=
"#595BEA"
stroke-width=
"3.84"
<g
id=
"SVGRepo_bgCarrier"
stroke-width=
"0"
></g>
transform=
"rotate(45)matrix(-1, 0, 0, 1, 0, 0)"
>
<g
id=
"SVGRepo_tracerCarrier"
stroke-linecap=
"round"
stroke-linejoin=
"round"
></g>
<g
id=
"SVGRepo_bgCarrier"
stroke-width=
"0"
></g>
<g
id=
"SVGRepo_iconCarrier"
>
<g
id=
"SVGRepo_tracerCarrier"
stroke-linecap=
"round"
stroke-linejoin=
"round"
></g>
<path
d=
"M15 49A24 24 0 0 1 32 8"
></path>
<g
id=
"SVGRepo_iconCarrier"
>
<path
d=
"M49 15a24 24 0 0 1-17 41"
></path>
<path
d=
"M15 49A24 24 0 0 1 32 8"
></path>
<polyline
points=
"15.03 40 15.03 48.97 8 48.97"
></polyline>
<path
d=
"M49 15a24 24 0 0 1-17 41"
></path>
<polyline
points=
"48.97 24 48.97 15.03 56 15.03"
></polyline>
<polyline
points=
"15.03 40 15.03 48.97 8 48.97"
></polyline>
</g>
<polyline
points=
"48.97 24 48.97 15.03 56 15.03"
></polyline>
</svg>
</g>
Clear
</svg>
</button>
Clear
</div>
</button>
<div
class=
"px-1"
>
</div>
<!-- <div class="px-1">
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-warning h-45px m-0 shadow-md">
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-warning h-45px m-0 shadow-md">
<i class="ti ti-book fs-l"></i>
<i class="ti ti-book fs-l"></i>
Help
Help
</button>
</button>
</div>
</div> -->
</div>
</div>
</div>
</div>
<div
class=
"ti-modal-body"
style=
"padding-top: 0px;"
>
<div
class=
"ti-modal-body"
style=
"padding-top: 0px;"
>
<label
for=
"input-label"
class=
"ti-form-label mt-1rem"
>
รหัสงาน
<span
class=
"text-danger"
>
*
</span></label>
<label
for=
"input-label"
class=
"ti-form-label mt-1rem"
>
รหัสงาน
<span
class=
"text-danger"
>
*
</span></label>
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input bg-input-readonly"
readonly
[(
ngModel
)]="
selectJob
.
jobcodeId
"
>
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input bg-input-readonly"
readonly
<label
for=
"detail_th"
class=
"ti-form-label mt-1rem"
>
ชื่อลักษณะงาน (ไทย)
<span
class=
"text-danger"
>
*
</span></label>
[(
ngModel
)]="
selectJob
.
jobcodeId
"
>
<input
type=
"text"
id=
"detail_th"
class=
"ti-form-input bg-input-readonly"
readonly
[(
ngModel
)]="
selectJob
.
tdesc
"
>
<label
for=
"detail_th"
class=
"ti-form-label mt-1rem"
>
ชื่อลักษณะงาน (ไทย)
<span
<label
for=
"detail_eng"
class=
"ti-form-label mt-1rem"
>
ชื่อลักษณะงาน (อังกฤษ)
</label>
class=
"text-danger"
>
*
</span></label>
<input
type=
"text"
id=
"detail_eng"
class=
"ti-form-input bg-input-readonly"
readonly
[(
ngModel
)]="
selectJob
.
edesc
"
>
<input
type=
"text"
id=
"detail_th"
class=
"ti-form-input bg-input-readonly"
readonly
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
การศึกษา/ประสบการณ์ (Education/Experience)
</label>
[(
ngModel
)]="
selectJob
.
tdesc
"
>
<textarea
type=
"text"
id=
"detail_eng"
class=
"ti-form-input font-bold"
rows=
"4"
cols=
"50"
[(
ngModel
)]="
selectJob
.
educationExperienceText
"
></textarea>
<label
for=
"detail_eng"
class=
"ti-form-label mt-1rem"
>
ชื่อลักษณะงาน (อังกฤษ)
</label>
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
ใบประกาศนียบัตร (Certificate)/ใบประกอบวิชาชีพ (Licensed Professional)
</label>
<input
type=
"text"
id=
"detail_eng"
class=
"ti-form-input bg-input-readonly"
readonly
<textarea
type=
"text"
id=
"detail_eng"
class=
"ti-form-input font-bold"
rows=
"4"
cols=
"50"
[(
ngModel
)]="
selectJob
.
cerLicensedText
"
></textarea>
[(
ngModel
)]="
selectJob
.
edesc
"
>
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
การฝึกอบรมที่จำเป็นต่อการปฏิบัติงาน (Especially Training Course)
</label>
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
การศึกษา/ประสบการณ์ (Education/Experience)
</label>
<textarea
type=
"text"
id=
"detail_eng"
class=
"ti-form-input font-bold"
rows=
"4"
cols=
"50"
[(
ngModel
)]="
selectJob
.
especiallyTrainingText
"
></textarea>
<textarea
type=
"text"
id=
"detail_eng"
class=
"ti-form-input font-bold"
rows=
"4"
cols=
"50"
[(
ngModel
)]="
selectJob
.
educationExperienceText
"
></textarea>
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
ใบประกาศนียบัตร (Certificate)/ใบประกอบวิชาชีพ
(Licensed Professional)
</label>
<textarea
type=
"text"
id=
"detail_eng"
class=
"ti-form-input font-bold"
rows=
"4"
cols=
"50"
[(
ngModel
)]="
selectJob
.
cerLicensedText
"
></textarea>
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
การฝึกอบรมที่จำเป็นต่อการปฏิบัติงาน (Especially
Training Course)
</label>
<textarea
type=
"text"
id=
"detail_eng"
class=
"ti-form-input font-bold"
rows=
"4"
cols=
"50"
[(
ngModel
)]="
selectJob
.
especiallyTrainingText
"
></textarea>
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
ความสามารถอื่นๆ (Other Abillities)
</label>
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
ความสามารถอื่นๆ (Other Abillities)
</label>
<textarea
type=
"text"
id=
"detail_eng"
class=
"ti-form-input font-bold"
rows=
"5"
cols=
"50"
[(
ngModel
)]="
selectJob
.
otherAbilitiesText
"
></textarea>
<textarea
type=
"text"
id=
"detail_eng"
class=
"ti-form-input font-bold"
rows=
"5"
cols=
"50"
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
[(
ngModel
)]="
selectJob
.
otherAbilitiesText
"
></textarea>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
<button
type=
"button"
<button
type=
"button"
class=
"hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
class=
"hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
data-hs-overlay=
"#sub-job-competency-component-modal-edit"
>
data-hs-overlay=
"#sub-job-competency-component-modal-edit"
>
ย้อนกลับ
ย้อนกลับ
</button>
</button>
<a
class=
"ti-btn ti-btn-success"
href=
"javascript:void(0);"
<a
class=
"ti-btn ti-btn-success"
href=
"javascript:void(0);"
data-hs-overlay=
"#company-registration-page-alert-modal"
>
data-hs-overlay=
"#company-registration-page-alert-modal"
>
บันทึกข้อมูล
บันทึกข้อมูล
</a>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div
id=
"company-registration-page-alert-modal"
class=
"hs-overlay hidden ti-modal"
>
<div
id=
"company-registration-page-alert-modal"
class=
"hs-overlay hidden ti-modal"
>
<div
class=
"hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out h-[calc(100%-3.5rem)] flex items-center"
>
<div
class=
"hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out h-[calc(100%-3.5rem)] flex items-center"
>
<div
class=
"max-h-full overflow-hidden ti-modal-content w-full"
>
<div
class=
"max-h-full overflow-hidden ti-modal-content w-full"
>
<div
class=
"ti-modal-header"
>
<div
class=
"ti-modal-header"
>
...
@@ -181,11 +187,11 @@
...
@@ -181,11 +187,11 @@
แจ้งเตือน
แจ้งเตือน
</h3>
</h3>
<div
class=
"flex justify-end"
>
<div
class=
"flex justify-end"
>
<button
type=
"button"
class=
"hs-dropdown-toggle ti-modal-clode-btn text-danger"
<button
type=
"button"
class=
"hs-dropdown-toggle ti-modal-clode-btn text-danger"
data-hs-overlay=
"#company-registration-page-alert-modal"
>
data-hs-overlay=
"#company-registration-page-alert-modal"
>
<span
class=
"sr-only"
>
Close
</span>
<span
class=
"sr-only"
>
Close
</span>
<i
class=
"ti ti-circle-x fs-xxl"
></i>
<i
class=
"ti ti-circle-x fs-xxl"
></i>
</button>
</button>
</div>
</div>
</div>
</div>
<div
class=
"ti-modal-body "
>
<div
class=
"ti-modal-body "
>
...
@@ -227,7 +233,7 @@
...
@@ -227,7 +233,7 @@
</div>
</div>
</div>
</div>
<div
id=
"supjob-upload-modal"
class=
"hs-overlay hidden ti-modal"
>
<div
id=
"supjob-upload-modal"
class=
"hs-overlay hidden ti-modal"
>
<div
class=
"hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out rounded-md"
>
<div
class=
"hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out rounded-md"
>
<div
class=
"ti-modal-header bg-primary !rounded-none !rounded-t-sm"
>
<div
class=
"ti-modal-header bg-primary !rounded-none !rounded-t-sm"
>
<h5
class=
"text-xxl font-bold text-white"
>
<h5
class=
"text-xxl font-bold text-white"
>
...
@@ -246,6 +252,11 @@
...
@@ -246,6 +252,11 @@
<i
class=
"ti ti-upload"
></i>
<i
class=
"ti ti-upload"
></i>
</button>
</button>
</div>
</div>
<div
class=
"flex justify-center mt-2rem "
>
<h1
class=
"cursor-pointer justify-center -mb-px inline-flex items-center gap-2 font-weight-500 font-size-12px
text-center text-secondary border-secondary border-b-2 align-items-end"
(
click
)="
downloadFile
()"
>
ดาวน์โหลดตัวอย่างไฟล์
</h1>
</div>
<div
class=
"flex justify-center mt-2rem mb-1rem space-x-4"
>
<div
class=
"flex justify-center mt-2rem mb-1rem space-x-4"
>
<button
type=
"submit"
class=
"ti-btn ti-btn-secondary"
<button
type=
"submit"
class=
"ti-btn ti-btn-secondary"
data-hs-overlay=
"#section-registration-upload-modal"
(
click
)="
uploadFile
()"
data-hs-overlay=
"#section-registration-upload-modal"
(
click
)="
uploadFile
()"
...
@@ -256,6 +267,4 @@
...
@@ -256,6 +267,4 @@
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
\ No newline at end of file
src/app/components/performance-management-evaluation/assessment-management/evaluation-grouping/edit-evaluation-grouping/edit-evaluation-grouping.component.html
View file @
0cc7a97a
...
@@ -357,7 +357,12 @@
...
@@ -357,7 +357,12 @@
</p>
</p>
<p
class=
"mt-1 text-gray-800 dark:text-white/70"
<p
class=
"mt-1 text-gray-800 dark:text-white/70"
*
ngIf=
"currentModal=='delete'||currentModal=='deleteGroup'"
>
*
ngIf=
"currentModal=='delete'||currentModal=='deleteGroup'"
>
ยืนยันการลบข้อมูลหรือไม่
<ng-container
*
ngIf=
"numDataListChecked"
>
ยืนยันการลบข้อมูลหรือไม่
</ng-container>
<ng-container
*
ngIf=
"!numDataListChecked"
>
เลือกข้อมูลที่ต้องการลบ
</ng-container>
</p>
</p>
<div
class=
"flex justify-end mt-2rem mb-1rem"
*
ngIf=
"currentModal=='save'"
>
<div
class=
"flex justify-end mt-2rem mb-1rem"
*
ngIf=
"currentModal=='save'"
>
...
@@ -379,7 +384,7 @@
...
@@ -379,7 +384,7 @@
ย้อนกลับ
ย้อนกลับ
</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=
"#edit-evaluation-grouping-alert-modal"
(
click
)="
deletePmsGroupAssessment
()"
>
data-hs-overlay=
"#edit-evaluation-grouping-alert-modal"
(
click
)="
deletePmsGroupAssessment
()"
*
ngIf=
"numDataListChecked"
>
ลบข้อมูล
ลบข้อมูล
</a>
</a>
</div>
</div>
...
...
src/app/components/performance-management-evaluation/evaluation-cycle-performance/document-form/document-form.component.html
View file @
0cc7a97a
...
@@ -255,7 +255,12 @@
...
@@ -255,7 +255,12 @@
</div>
</div>
<div
class=
"ti-modal-body "
>
<div
class=
"ti-modal-body "
>
<p
class=
"mt-1 text-gray-800 dark:text-white/70"
>
<p
class=
"mt-1 text-gray-800 dark:text-white/70"
>
ยืนยันการลบข้อมูลหรือไม่!
<ng-container
*
ngIf=
"numDataListChecked"
>
ยืนยันการลบข้อมูลหรือไม่
</ng-container>
<ng-container
*
ngIf=
"!numDataListChecked"
>
เลือกข้อมูลที่ต้องการลบ
</ng-container>
!
</p>
</p>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
...
@@ -264,7 +269,7 @@
...
@@ -264,7 +269,7 @@
data-hs-overlay=
"#document-form-table-modal-edit"
>
data-hs-overlay=
"#document-form-table-modal-edit"
>
ย้อนกลับ
ย้อนกลับ
</button>
</button>
<a
class=
"ti-btn ti-btn-success"
href=
"javascript:void(0);"
<a
class=
"ti-btn ti-btn-success"
href=
"javascript:void(0);"
*
ngIf=
"numDataListChecked"
data-hs-overlay=
"#document-form-alert-delete-modal"
(
click
)="
addUser
();
showSuccessDelete
()"
>
data-hs-overlay=
"#document-form-alert-delete-modal"
(
click
)="
addUser
();
showSuccessDelete
()"
>
ลบข้อมูล
ลบข้อมูล
</a>
</a>
...
...
src/app/components/performance-management-evaluation/evaluation-cycle-performance/management-evaluation-cycle/management-evaluation-cycle.component.html
View file @
0cc7a97a
...
@@ -378,7 +378,12 @@
...
@@ -378,7 +378,12 @@
ยืนยันการบันทึกข้อมูลหรือไม่
ยืนยันการบันทึกข้อมูลหรือไม่
</ng-container>
</ng-container>
<ng-container
*
ngIf=
"modalStatus=='delete'||modalStatus=='deleteGroup'"
>
<ng-container
*
ngIf=
"modalStatus=='delete'||modalStatus=='deleteGroup'"
>
ยืนยันการลบข้อมูลหรือไม่
<ng-container
*
ngIf=
"numDataListChecked"
>
ยืนยันการลบข้อมูลหรือไม่
</ng-container>
<ng-container
*
ngIf=
"!numDataListChecked"
>
เลือกข้อมูลที่ต้องการลบ
</ng-container>
</ng-container>
</ng-container>
<ng-container
*
ngIf=
"modalStatus=='createForm'"
>
<ng-container
*
ngIf=
"modalStatus=='createForm'"
>
คุณต้องการสร้างแบบฟอร์มการประเมินใหม่หรือไม่
คุณต้องการสร้างแบบฟอร์มการประเมินใหม่หรือไม่
...
@@ -403,7 +408,7 @@
...
@@ -403,7 +408,7 @@
data-hs-overlay=
"#management-evaluation-cycle-page-alert-modal"
>
data-hs-overlay=
"#management-evaluation-cycle-page-alert-modal"
>
ย้อนกลับ
ย้อนกลับ
</button>
</button>
<a
class=
"ti-btn ti-btn-danger"
href=
"javascript:void(0);"
<a
class=
"ti-btn ti-btn-danger"
href=
"javascript:void(0);"
*
ngIf=
"numDataListChecked"
data-hs-overlay=
"#management-evaluation-cycle-page-alert-modal"
(
click
)="
deletePmsMasfromEvaluation
()"
>
data-hs-overlay=
"#management-evaluation-cycle-page-alert-modal"
(
click
)="
deletePmsMasfromEvaluation
()"
>
ลบข้อมูล
ลบข้อมูล
</a>
</a>
...
...
src/app/components/performance-management-evaluation/name-registration-perfomance/assessment-topics/assessment-topics.component.html
View file @
0cc7a97a
...
@@ -313,7 +313,12 @@
...
@@ -313,7 +313,12 @@
ยืนยันการบันทึกข้อมูลหรือไม่
ยืนยันการบันทึกข้อมูลหรือไม่
</ng-container>
</ng-container>
<ng-container
*
ngIf=
"modalStatus=='delete'||modalStatus=='deleteGroup'"
>
<ng-container
*
ngIf=
"modalStatus=='delete'||modalStatus=='deleteGroup'"
>
ยืนยันการลบข้อมูลหรือไม่
<ng-container
*
ngIf=
"numDataListChecked"
>
ยืนยันการลบข้อมูลหรือไม่
</ng-container>
<ng-container
*
ngIf=
"!numDataListChecked"
>
เลือกข้อมูลที่ต้องการลบ
</ng-container>
</ng-container>
</ng-container>
</p>
</p>
...
@@ -335,7 +340,7 @@
...
@@ -335,7 +340,7 @@
data-hs-overlay=
"#assessment-topics-alert-modal"
>
data-hs-overlay=
"#assessment-topics-alert-modal"
>
ย้อนกลับ
ย้อนกลับ
</button>
</button>
<a
class=
"ti-btn ti-btn-danger"
href=
"javascript:void(0);"
data-hs-overlay=
"#assessment-topics-alert-modal"
<a
class=
"ti-btn ti-btn-danger"
href=
"javascript:void(0);"
data-hs-overlay=
"#assessment-topics-alert-modal"
*
ngIf=
"numDataListChecked"
(
click
)="
updatePmstopic
('
delete
')"
>
(
click
)="
updatePmstopic
('
delete
')"
>
ลบข้อมูล
ลบข้อมูล
</a>
</a>
...
...
src/app/components/performance-management-evaluation/name-registration-perfomance/assessment-types/assessment-types.component.html
View file @
0cc7a97a
...
@@ -263,7 +263,12 @@
...
@@ -263,7 +263,12 @@
ยืนยันการบันทึกข้อมูลหรือไม่
ยืนยันการบันทึกข้อมูลหรือไม่
</ng-container>
</ng-container>
<ng-container
*
ngIf=
"modalStatus=='delete'||modalStatus=='deleteGroup'"
>
<ng-container
*
ngIf=
"modalStatus=='delete'||modalStatus=='deleteGroup'"
>
ยืนยันการลบข้อมูลหรือไม่
<ng-container
*
ngIf=
"numDataListChecked"
>
ยืนยันการลบข้อมูลหรือไม่
</ng-container>
<ng-container
*
ngIf=
"!numDataListChecked"
>
เลือกข้อมูลที่ต้องการลบ
</ng-container>
</ng-container>
</ng-container>
</p>
</p>
...
@@ -285,7 +290,7 @@
...
@@ -285,7 +290,7 @@
data-hs-overlay=
"#assessment-types-alert-modal"
>
data-hs-overlay=
"#assessment-types-alert-modal"
>
ย้อนกลับ
ย้อนกลับ
</button>
</button>
<a
class=
"ti-btn ti-btn-danger"
href=
"javascript:void(0);"
<a
class=
"ti-btn ti-btn-danger"
href=
"javascript:void(0);"
*
ngIf=
"numDataListChecked"
data-hs-overlay=
"#assessment-types-alert-modal"
(
click
)="
updatePmstype
('
delete
')"
>
data-hs-overlay=
"#assessment-types-alert-modal"
(
click
)="
updatePmstype
('
delete
')"
>
ลบข้อมูล
ลบข้อมูล
</a>
</a>
...
...
src/app/components/performance-management-evaluation/pms-grade-registration/pms-grade-management/pms-grade-management.component.html
View file @
0cc7a97a
...
@@ -149,7 +149,12 @@
...
@@ -149,7 +149,12 @@
</div>
</div>
<div
class=
"ti-modal-body "
>
<div
class=
"ti-modal-body "
>
<p
class=
"mt-1 text-gray-800 dark:text-white/70"
>
<p
class=
"mt-1 text-gray-800 dark:text-white/70"
>
ยืนยันการลบข้อมูลหรือไม่
<ng-container
*
ngIf=
"numDataListChecked"
>
ยืนยันการลบข้อมูลหรือไม่
</ng-container>
<ng-container
*
ngIf=
"!numDataListChecked"
>
เลือกข้อมูลที่ต้องการลบ
</ng-container>
</p>
</p>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
...
@@ -159,7 +164,7 @@
...
@@ -159,7 +164,7 @@
ย้อนกลับ
ย้อนกลับ
</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=
"#grade-management-alert-delete-modal"
data-hs-overlay=
"#grade-management-alert-delete-modal"
*
ngIf=
"numDataListChecked"
(
click
)="
deletePmsGroupGradeList
();"
>
(
click
)="
deletePmsGroupGradeList
();"
>
ลบข้อมูล
ลบข้อมูล
</a>
</a>
...
...
src/app/components/performance-management-evaluation/pms-grade-registration/pms-grade-management/pms-sub-grade-registration/pms-sub-grade-registration.component.html
View file @
0cc7a97a
...
@@ -43,12 +43,12 @@
...
@@ -43,12 +43,12 @@
Delete
Delete
</button>
</button>
</div>
</div>
<div
class=
"px-1"
>
<
!-- <
div class="px-1">
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-warning h-10 m-0 shadow-md">
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-warning h-10 m-0 shadow-md">
<i class="ti ti-book fs-l"></i>
<i class="ti ti-book fs-l"></i>
Help
Help
</button>
</button>
</div>
</div>
-->
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -322,7 +322,12 @@
...
@@ -322,7 +322,12 @@
</div>
</div>
<div
class=
"ti-modal-body "
>
<div
class=
"ti-modal-body "
>
<p
class=
"mt-1 text-gray-800 dark:text-white/70"
>
<p
class=
"mt-1 text-gray-800 dark:text-white/70"
>
ยืนยันการลบข้อมูลหรือไม่!
<ng-container
*
ngIf=
"numDataListChecked"
>
ยืนยันการลบข้อมูลหรือไม่
</ng-container>
<ng-container
*
ngIf=
"!numDataListChecked"
>
เลือกข้อมูลที่ต้องการลบ
</ng-container>
!
</p>
</p>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
<div
class=
"flex justify-end mt-2rem mb-1rem"
>
...
@@ -331,9 +336,8 @@
...
@@ -331,9 +336,8 @@
data-hs-overlay=
"#sub-grade-registration-alert-delete-modal"
>
data-hs-overlay=
"#sub-grade-registration-alert-delete-modal"
>
ย้อนกลับ
ย้อนกลับ
</button>
</button>
<a
class=
"ti-btn ti-btn-danger"
href=
"javascript:void(0);"
<a
class=
"ti-btn ti-btn-danger"
href=
"javascript:void(0);"
*
ngIf=
"numDataListChecked"
data-hs-overlay=
"#sub-grade-registration-alert-delete-modal"
data-hs-overlay=
"#sub-grade-registration-alert-delete-modal"
(
click
)="
updatePmsGroupGrade
()"
>
(
click
)="
updatePmsGroupGrade
()"
>
ลบข้อมูล
ลบข้อมูล
</a>
</a>
</div>
</div>
...
...
src/app/components/performance-management-evaluation/time-attendance/time-attendance.component.html
View file @
0cc7a97a
...
@@ -436,7 +436,12 @@
...
@@ -436,7 +436,12 @@
ยืนยันการบันทึกข้อมูลหรือไม่
ยืนยันการบันทึกข้อมูลหรือไม่
</ng-container>
</ng-container>
<ng-container
*
ngIf=
"modalStatus=='delete'||modalStatus=='deleteGroup'"
>
<ng-container
*
ngIf=
"modalStatus=='delete'||modalStatus=='deleteGroup'"
>
ยืนยันการลบข้อมูลหรือไม่
<ng-container
*
ngIf=
"numDataListChecked"
>
ยืนยันการลบข้อมูลหรือไม่
</ng-container>
<ng-container
*
ngIf=
"!numDataListChecked"
>
เลือกข้อมูลที่ต้องการลบ
</ng-container>
</ng-container>
</ng-container>
</p>
</p>
...
@@ -458,7 +463,7 @@
...
@@ -458,7 +463,7 @@
data-hs-overlay=
"#time-attendance-alert-modal"
>
data-hs-overlay=
"#time-attendance-alert-modal"
>
ย้อนกลับ
ย้อนกลับ
</button>
</button>
<a
class=
"ti-btn ti-btn-danger"
href=
"javascript:void(0);"
<a
class=
"ti-btn ti-btn-danger"
href=
"javascript:void(0);"
*
ngIf=
"numDataListChecked"
data-hs-overlay=
"#time-attendance-alert-modal"
(
click
)="
deletePmsWorkingTime
()"
>
data-hs-overlay=
"#time-attendance-alert-modal"
(
click
)="
deletePmsWorkingTime
()"
>
ลบข้อมูล
ลบข้อมูล
</a>
</a>
...
...
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