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
f23fcb65
Commit
f23fcb65
authored
Jan 15, 2025
by
Nattana Chaiyamat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
การประเมินสมรรถนะ > การจัดการสมรรถนะ > ตัวชี้วัดเเละหลักสูตร
parent
98823242
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
66 additions
and
13 deletions
+66
-13
competency-management.component.html
...ompetency-management/competency-management.component.html
+2
-2
edit-group-indicators.html
...rriculum/edit-group-indicators/edit-group-indicators.html
+0
-0
edit-group-indicators.ts
...curriculum/edit-group-indicators/edit-group-indicators.ts
+0
-0
indicators-and-curriculum.component.html
...s-and-curriculum/indicators-and-curriculum.component.html
+9
-3
indicators-and-curriculum.component.ts
...ors-and-curriculum/indicators-and-curriculum.component.ts
+5
-2
style.css
src/assets/css/style.css
+50
-6
No files found.
src/app/components/competency-assessment/competency-management/competency-management.component.html
View file @
f23fcb65
...
@@ -32,13 +32,13 @@
...
@@ -32,13 +32,13 @@
<div
id=
"underline-1"
role=
"tabpanel"
aria-labelledby=
"underline-item-1"
>
<div
id=
"underline-1"
role=
"tabpanel"
aria-labelledby=
"underline-item-1"
>
<app-indicators-and-curriculum
(
sendPathTitle
)="
pathTitle=
$event"
></app-indicators-and-curriculum>
<app-indicators-and-curriculum
(
sendPathTitle
)="
pathTitle=
$event"
></app-indicators-and-curriculum>
</div>
</div>
<div
id=
"underline-2"
role=
"tabpanel"
aria-labelledby=
"underline-item-2"
>
<div
id=
"underline-2"
class=
"hidden"
role=
"tabpanel"
aria-labelledby=
"underline-item-2"
>
<app-group-competencies
*
ngIf=
"groupShow=='1'"
[
pathTitle
]="
pathTitle
"
<app-group-competencies
*
ngIf=
"groupShow=='1'"
[
pathTitle
]="
pathTitle
"
(
sendPathTitle
)="
pathTitle=
$event"
(
sendGroupShow
)="
groupShow=
$event"
></app-group-competencies>
(
sendPathTitle
)="
pathTitle=
$event"
(
sendGroupShow
)="
groupShow=
$event"
></app-group-competencies>
<app-edit-group-competencies
*
ngIf=
"groupShow=='2'"
[
pathTitle
]="
pathTitle
"
<app-edit-group-competencies
*
ngIf=
"groupShow=='2'"
[
pathTitle
]="
pathTitle
"
(
sendPathTitle
)="
pathTitle=
$event"
(
sendGroupShow
)="
groupShow=
$event"
></app-edit-group-competencies>
(
sendPathTitle
)="
pathTitle=
$event"
(
sendGroupShow
)="
groupShow=
$event"
></app-edit-group-competencies>
</div>
</div>
<div
id=
"underline-3"
role=
"tabpanel"
aria-labelledby=
"underline-item-3"
>
<div
id=
"underline-3"
class=
"hidden"
role=
"tabpanel"
aria-labelledby=
"underline-item-3"
>
<app-set-approvers
[
pathTitle
]="
pathTitle
"
(
sendPathTitle
)="
pathTitle=
$event"
></app-set-approvers>
<app-set-approvers
[
pathTitle
]="
pathTitle
"
(
sendPathTitle
)="
pathTitle=
$event"
></app-set-approvers>
</div>
</div>
</div>
</div>
...
...
src/app/components/competency-assessment/competency-management/indicators-and-curriculum/edit-group-indicators/edit-group-indicators.html
View file @
f23fcb65
This diff is collapsed.
Click to expand it.
src/app/components/competency-assessment/competency-management/indicators-and-curriculum/edit-group-indicators/edit-group-indicators.ts
View file @
f23fcb65
This diff is collapsed.
Click to expand it.
src/app/components/competency-assessment/competency-management/indicators-and-curriculum/indicators-and-curriculum.component.html
View file @
f23fcb65
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
</div>
</div>
</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
type=
"button
"
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>
...
@@ -53,7 +53,8 @@
...
@@ -53,7 +53,8 @@
<td>
{{item.name}}
</td>
<td>
{{item.name}}
</td>
<td>
{{item.type}}
</td>
<td>
{{item.type}}
</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
)="
editTab=
true;pathTitleChange()"
></i>
<i
class=
"ti ti-edit cursor-pointer i-gray fs-l px-1"
(
click
)="
editTab=
true;pathTitleChange()"
></i>
<i
class=
"ti ti-file-download cursor-pointer i-gray fs-l px-1"
></i>
<i
class=
"ti ti-file-download cursor-pointer i-gray fs-l px-1"
></i>
</td>
</td>
</tr>
</tr>
...
@@ -63,7 +64,7 @@
...
@@ -63,7 +64,7 @@
<nav
class=
"pagination-style-3 overflow-auto my-5"
*
ngIf=
"page.length"
>
<nav
class=
"pagination-style-3 overflow-auto my-5"
*
ngIf=
"page.length"
>
<ul
class=
"ti-pagination"
>
<ul
class=
"ti-pagination"
>
<li>
<li>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
<a
aria-label=
"anchor"
class=
"page-link
!pl-0
"
href=
"javascript:void(0);"
(
click
)="
currentPage =
(currentPage-1
||
1
)"
>
(
click
)="
currentPage =
(currentPage-1
||
1
)"
>
<i
class=
"ri-arrow-left-s-line align-middle rtl:rotate-180"
></i>
<i
class=
"ri-arrow-left-s-line align-middle rtl:rotate-180"
></i>
</a>
</a>
...
@@ -91,6 +92,11 @@
...
@@ -91,6 +92,11 @@
</a>
</a>
</li>
</li>
</ul>
</ul>
<ul
class=
"nav-tabs mt-3"
>
<span>
Show {{((currentPage-1) * 10)+1}} to {{dataListFilter().length
<10
?
dataListFilter
().
length:
(
currentPage=
=page.length
?
((
currentPage
*
10
)
-
((
currentPage
*
10
)
-
dataListFilter
().
length
)
)
:
(
currentPage
*
10
)
)
}}
of
{{
dataListFilter
().
length
}}
items
</
span
>
</ul>
</nav>
</nav>
</div>
</div>
</ng-container>
</ng-container>
...
...
src/app/components/competency-assessment/competency-management/indicators-and-curriculum/indicators-and-curriculum.component.ts
View file @
f23fcb65
...
@@ -14,8 +14,8 @@ export class IndicatorsAndCurriculumComponent {
...
@@ -14,8 +14,8 @@ export class IndicatorsAndCurriculumComponent {
@
Output
()
sendPathTitle
:
EventEmitter
<
string
[]
>
=
new
EventEmitter
<
string
[]
>
();
@
Output
()
sendPathTitle
:
EventEmitter
<
string
[]
>
=
new
EventEmitter
<
string
[]
>
();
editTab
=
false
editTab
=
false
currentPage
=
1
currentPage
=
1
page
=
Array
.
from
({
length
:
1
},
(
_
,
i
)
=>
i
+
1
);
search
=
""
search
=
""
page
=
Array
.
from
({
length
:
1
},
(
_
,
i
)
=>
i
+
1
);
dataList
:
DataModel
[]
=
[
dataList
:
DataModel
[]
=
[
{
code
:
"CC-01"
,
name
:
"จิตสำนึกด้านความปลอดภัยและคุณภาพ (Safety & Quality)"
,
type
:
"CC"
},
{
code
:
"CC-01"
,
name
:
"จิตสำนึกด้านความปลอดภัยและคุณภาพ (Safety & Quality)"
,
type
:
"CC"
},
...
@@ -23,10 +23,11 @@ export class IndicatorsAndCurriculumComponent {
...
@@ -23,10 +23,11 @@ export class IndicatorsAndCurriculumComponent {
{
code
:
"CC-03"
,
name
:
"ความรับผิดชอบในหน้าที่และโปร่งใส (Accountability & Ethics)"
,
type
:
"CC"
},
{
code
:
"CC-03"
,
name
:
"ความรับผิดชอบในหน้าที่และโปร่งใส (Accountability & Ethics)"
,
type
:
"CC"
},
{
code
:
"MC-01"
,
name
:
"การคิดเชิงกลยุทธ์ (Strategic Thinking)"
,
type
:
"MC"
},
{
code
:
"MC-01"
,
name
:
"การคิดเชิงกลยุทธ์ (Strategic Thinking)"
,
type
:
"MC"
},
{
code
:
"MC-02"
,
name
:
"การมีทัศนคติที่เติบโต (Mindset-Growth)"
,
type
:
"MC"
},
{
code
:
"MC-02"
,
name
:
"การมีทัศนคติที่เติบโต (Mindset-Growth)"
,
type
:
"MC"
},
{
code
:
"PC-01"
,
name
:
"ความรู้ด้านกฎหมายแรงงาน, กฎหมายแพ่งพาณิชย์, กฎหมายอาญา"
,
type
:
"PC"
}
{
code
:
"PC-01"
,
name
:
"ความรู้ด้านกฎหมายแรงงาน, กฎหมายแพ่งพาณิชย์, กฎหมายอาญา"
,
type
:
"PC"
}
,
]
]
constructor
(
private
toastr
:
ToastrService
)
{
constructor
(
private
toastr
:
ToastrService
)
{
this
.
pathTitleChange
()
this
.
pathTitleChange
()
this
.
searchChange
()
}
}
pathTitleChange
()
{
pathTitleChange
()
{
...
@@ -76,5 +77,7 @@ export class IndicatorsAndCurriculumComponent {
...
@@ -76,5 +77,7 @@ export class IndicatorsAndCurriculumComponent {
editUser
()
{
editUser
()
{
console
.
log
(
'แก้ไขผู้ใช้งาน'
);
console
.
log
(
'แก้ไขผู้ใช้งาน'
);
}
}
}
}
src/assets/css/style.css
View file @
f23fcb65
...
@@ -3785,6 +3785,9 @@ select option:focus {
...
@@ -3785,6 +3785,9 @@ select option:focus {
.col-span-10
{
.col-span-10
{
grid-column
:
span
10
/
span
10
;
grid-column
:
span
10
/
span
10
;
}
}
.col-span-11
{
grid-column
:
span
11
/
span
11
;
}
.col-span-12
{
.col-span-12
{
grid-column
:
span
12
/
span
12
;
grid-column
:
span
12
/
span
12
;
}
}
...
@@ -4737,6 +4740,9 @@ select option:focus {
...
@@ -4737,6 +4740,9 @@ select option:focus {
.cursor-text
{
.cursor-text
{
cursor
:
text
;
cursor
:
text
;
}
}
.cursor-default
{
cursor
:
default
;
}
.select-all
{
.select-all
{
-webkit-user-select
:
all
;
-webkit-user-select
:
all
;
-moz-user-select
:
all
;
-moz-user-select
:
all
;
...
@@ -4800,6 +4806,24 @@ select option:focus {
...
@@ -4800,6 +4806,24 @@ select option:focus {
.grid-cols-6
{
.grid-cols-6
{
grid-template-columns
:
repeat
(
6
,
minmax
(
0
,
1
fr
));
grid-template-columns
:
repeat
(
6
,
minmax
(
0
,
1
fr
));
}
}
.grid-cols-7
{
grid-template-columns
:
repeat
(
7
,
minmax
(
0
,
1
fr
));
}
.grid-cols-8
{
grid-template-columns
:
repeat
(
8
,
minmax
(
0
,
1
fr
));
}
.grid-cols-9
{
grid-template-columns
:
repeat
(
9
,
minmax
(
0
,
1
fr
));
}
.grid-cols-10
{
grid-template-columns
:
repeat
(
10
,
minmax
(
0
,
1
fr
));
}
.grid-cols-11
{
grid-template-columns
:
repeat
(
11
,
minmax
(
0
,
1
fr
));
}
.grid-cols-auto
{
grid-template-columns
:
auto
;
}
.grid-rows-3
{
.grid-rows-3
{
grid-template-rows
:
repeat
(
3
,
minmax
(
0
,
1
fr
));
grid-template-rows
:
repeat
(
3
,
minmax
(
0
,
1
fr
));
}
}
...
@@ -6297,6 +6321,10 @@ select option:focus {
...
@@ -6297,6 +6321,10 @@ select option:focus {
.pr-50px {
.pr-50px {
padding-right: 50px;
padding-right: 50px;
}
}
.px-5px {
padding-left: 5px;
padding-right: 5px;
}
.px-10px {
.px-10px {
padding-left: 10px;
padding-left: 10px;
padding-right: 10px;
padding-right: 10px;
...
@@ -24778,29 +24806,45 @@ div:where(.swal2-container) div:where(.swal2-validation-message) {
...
@@ -24778,29 +24806,45 @@ div:where(.swal2-container) div:where(.swal2-validation-message) {
margin-top
:
20px
!important
;
margin-top
:
20px
!important
;
}
}
.swal2-styled.swal2-confirm
.
\
!
swal2-button-bg-green
{
.swal2-styled.swal2-confirm
.
\
!
swal2-button-bg-green
{
background-color
:
#1
DBE5A
!important
;
background-color
:
#1
dbe5a
!important
;
border-radius
:
20px
!important
;
border-radius
:
20px
!important
;
}
}
.swal2-styled.swal2-confirm
.
\
!
swal2-button-bg-green
:focus
{
.swal2-styled.swal2-confirm
.
\
!
swal2-button-bg-green
:focus
{
box-shadow
:
0
0
0
0px
rgba
(
110
,
120
,
129
,
0.5
)
!important
;
box-shadow
:
0
0
0
0px
rgba
(
110
,
120
,
129
,
0.5
)
!important
;
}
}
.swal2-styled.swal2-cancel
.
\
!
swal2-button-bg-gray
{
.swal2-styled.swal2-cancel
.
\
!
swal2-button-bg-gray
{
background-color
:
#
B3B3B
3
!important
;
background-color
:
#
b3b3b
3
!important
;
border-radius
:
20px
!important
;
border-radius
:
20px
!important
;
}
}
.swal2-styled.swal2-cancel
.
\
!
swal2-button-bg-gray
:focus
{
.swal2-styled.swal2-cancel
.
\
!
swal2-button-bg-gray
:focus
{
box-shadow
:
0
0
0
3px
rgba
(
110
,
120
,
129
,
0.5
)
!important
;
box-shadow
:
0
0
0
3px
rgba
(
110
,
120
,
129
,
0.5
)
!important
;
}
}
.
\
!
w-80px
{
.
\
!
w-80px
{
width
:
80px
!important
;
width
:
80px
!important
;
}
}
.
\
!
h-80px
{
.
\
!
h-80px
{
height
:
80px
!important
;
height
:
80px
!important
;
}
}
.w-80px
{
.w-80px
{
width
:
80px
!important
;
width
:
80px
!important
;
}
}
.h-80px
{
.h-80px
{
height
:
80px
!important
;
height
:
80px
!important
;
}
}
.align-center
{
align-content
:
center
;
}
.align-start
{
align-content
:
start
;
}
.height-20px
{
height
:
20px
;
}
.pl-0
{
padding-left
:
0
;
}
.
\
!
pl-0
{
padding-left
:
0
!important
;
}
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