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
8c5761c6
Commit
8c5761c6
authored
Feb 20, 2025
by
Nakarin Luankla
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'DEV' of
https://mygit.myhr.co.th/angular/myAppraisal
into DEV
parents
6100fdf8
c040ed26
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
14 deletions
+3
-14
competency-topic.component.html
...stration/competency-topic/competency-topic.component.html
+1
-1
competency-topic.component.ts
...gistration/competency-topic/competency-topic.component.ts
+1
-12
name-registration.component.html
...ssment/name-registration/name-registration.component.html
+1
-1
No files found.
src/app/components/competency-assessment/name-registration/competency-topic/competency-topic.component.html
View file @
8c5761c6
...
...
@@ -164,7 +164,7 @@
<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'?'เพิ่มหัวข้อสมรรถนะ':'แก้ไข
ประเภท
สมรรถนะ'}}
{{modalStatus=='add'?'เพิ่มหัวข้อสมรรถนะ':'แก้ไข
หัวข้อ
สมรรถนะ'}}
</h3>
<div
class=
"flex justify-end"
>
<button
type=
"button"
class=
"hs-dropdown-toggle ti-modal-clode-btn text-danger"
...
...
src/app/components/competency-assessment/name-registration/competency-topic/competency-topic.component.ts
View file @
8c5761c6
...
...
@@ -28,17 +28,6 @@ export interface DataModel2 {
styleUrls
:
[
'./competency-topic.component.scss'
]
})
export
class
CompetencyTopic
{
@
Input
()
pathTitle
=
[
'การประเมินสมรรถนะ'
,
'ทะเบียนกำหนดชื่อ'
,
'หัวข้อสมรรถนะ'
];
@
Output
()
sendPathTitle
:
EventEmitter
<
string
[]
>
=
new
EventEmitter
<
string
[]
>
();
activeTab
:
string
=
'tab1'
;
// กำหนด tab เริ่มต้น
// ฟังก์ชันในการเปลี่ยนแท็บ
changeTab
(
tab
:
{
id
:
string
,
text
:
string
})
{
this
.
sendPathTitle
.
emit
([
'การประเมินสมรรถนะ'
,
'ตั้งค่าผู้ใช้งาน'
,
tab
.
text
]);
this
.
activeTab
=
tab
.
id
;
}
currentPage
=
1
page
=
Array
.
from
({
length
:
1
},
(
_
,
i
)
=>
i
+
1
);
search
=
""
...
...
@@ -248,7 +237,7 @@ export class CompetencyTopic {
const
body
=
new
MyCompetencytopicModel
({
competencyTopicId
:
this
.
dataSelect
.
id
,
tdesc
:
this
.
dataSelect
.
name
,
edesc
:
this
.
dataSelect
.
edesc
,
competencyDetail
:
this
.
dataSelect
.
definition
,
competencyType
:
new
MyCompetencytypeModel
({
competencyTypeId
:
this
.
dataSelect
.
type
.
id
,
tdesc
:
this
.
dataSelect
.
type
.
name
,
edesc
:
this
.
dataSelect
.
type
.
edesc
,
shortName
:
this
.
dataSelect
.
type
.
code
,
expectationLevel
:
this
.
dataSelect
.
type
.
level
}),
competencyFiles
:
competencyFiles
||
""
competencyFiles
:
competencyFiles
||
((
this
.
examFileName
==
this
.
dataSelect
.
file
)
?
this
.
dataSelect
.
file
:
''
)
})
this
.
dataLoading
=
true
this
.
competencytopicService
.
post
(
body
).
subscribe
({
...
...
src/app/components/competency-assessment/name-registration/name-registration.component.html
View file @
8c5761c6
...
...
@@ -28,7 +28,7 @@
</div>
<div
*
ngIf=
"currentPage == 2"
id=
"underline-2"
class=
"hidden"
role=
"tabpanel"
aria-labelledby=
"underline-item-2"
>
<app-competency-topic
[
pathTitle
]="
pathTitle
"
(
sendPathTitle
)="
pathTitle=
$event"
></app-competency-topic>
<app-competency-topic></app-competency-topic>
</div>
</div>
</div>
...
...
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