Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
myAppraisal
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
angular
myAppraisal
Commits
8a0f2a39
Commit
8a0f2a39
authored
Feb 19, 2025
by
Nattana Chaiyamat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ทะเบียนหลักสูตร
parent
cec1bf1a
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
22 additions
and
16 deletions
+22
-16
manage-user.component.html
...s/account-settings/manage-user/manage-user.component.html
+2
-1
course-registration.component.html
...nt/course-registration/course-registration.component.html
+4
-4
development-course.component.html
...tion/development-course/development-course.component.html
+0
-0
development-course.component.ts
...ration/development-course/development-course.component.ts
+0
-0
competency-course.model.ts
src/app/shared/model/competency-course.model.ts
+10
-7
competencycourse.service.ts
src/app/shared/services/competencycourse.service.ts
+6
-4
No files found.
src/app/components/company-components/account-settings/manage-user/manage-user.component.html
View file @
8a0f2a39
...
...
@@ -62,7 +62,8 @@
<td>
{{item.data.employee.lname}}
</td>
<td
class=
"text-center"
>
{{item.data.status=='0'?'ไม่ใช้งาน':'ใช้งาน'}}
</td>
<td
class=
"flex justify-center"
>
<i
class=
"ti ti-edit cursor-pointer i-gray fs-l px-1"
(
click
)="
selectUser
(
item
.
data
)"
<i
class=
"ti ti-edit cursor-pointer i-gray fs-l px-1"
(
click
)="
changePassword=
false;selectUser(item.data)"
data-hs-overlay=
"#manage-user-modal"
></i>
</td>
</tr>
...
...
src/app/components/competency-assessment/course-registration/course-registration.component.html
View file @
8a0f2a39
...
...
@@ -10,15 +10,15 @@
<nav
class=
"-mb-0.5 flex space-x-6 rtl:space-x-reverse"
>
<a
class=
"text-base font-medium hs-tab-active:border-secondary hs-tab-active:text-secondary pb-3 inline-flex items-center gap-2 border-b-[3px] border-transparent whitespace-nowrap text-gray-500 dark:text-white/70 hover:text-secondary active"
href=
"javascript:void(0);"
id=
"underline-item-1"
data-hs-tab=
"#underline-1"
aria-controls=
"underline-1"
(
click
)="
pathTitle =
['การประเมินสมรรถนะ','ทะเบียนหลักสูตร','หลักสูตรการพัฒนา']"
>
aria-controls=
"underline-1"
(
click
)="
pathTitle =
['การประเมินสมรรถนะ','ทะเบียนหลักสูตร','หลักสูตรการพัฒนา']"
>
หลักสูตรการพัฒนา
</a>
</nav>
</div>
<div
class=
"mt-3 px-
3
rem !-mt-3 pt-50px"
>
<div
class=
"mt-3 px-
2
rem !-mt-3 pt-50px"
>
<div
id=
"underline-1"
role=
"tabpanel"
aria-labelledby=
"underline-item-1"
>
<app-development-course
[
pathTitle
]="
pathTitle
"
(
sendPathTitle
)="
pathTitle=
$event"
></app-development-course>
<app-development-course></app-development-course>
</div>
</div>
</div>
...
...
src/app/components/competency-assessment/course-registration/development-course/development-course.component.html
View file @
8a0f2a39
This diff is collapsed.
Click to expand it.
src/app/components/competency-assessment/course-registration/development-course/development-course.component.ts
View file @
8a0f2a39
This diff is collapsed.
Click to expand it.
src/app/shared/model/competency-course.model.ts
View file @
8a0f2a39
...
...
@@ -5,6 +5,7 @@ export interface CompetencyCourseModel {
tdesc
:
string
courseDetail
:
string
courseTopic
:
string
courseLinkMylearn
:
string
}
export
class
MyCompetencyCourseModel
implements
CompetencyCourseModel
{
competencyCourseId
:
string
...
...
@@ -13,13 +14,15 @@ export class MyCompetencyCourseModel implements CompetencyCourseModel {
tdesc
:
string
courseDetail
:
string
courseTopic
:
string
constructor
(
data
:
Partial
<
CompetencyCourseModel
>
)
{
this
.
competencyCourseId
=
data
.
competencyCourseId
||
""
this
.
tdesc
=
data
.
tdesc
||
""
this
.
edesc
=
data
.
edesc
||
""
this
.
companyId
=
data
.
companyId
||
""
this
.
courseDetail
=
data
.
courseDetail
||
""
this
.
courseTopic
=
data
.
courseTopic
||
""
courseLinkMylearn
:
string
constructor
(
data
?:
Partial
<
CompetencyCourseModel
>
)
{
this
.
competencyCourseId
=
data
?.
competencyCourseId
||
""
this
.
tdesc
=
data
?.
tdesc
||
""
this
.
edesc
=
data
?.
edesc
||
""
this
.
companyId
=
data
?.
companyId
||
""
this
.
courseDetail
=
data
?.
courseDetail
||
""
this
.
courseTopic
=
data
?.
courseTopic
||
""
this
.
courseLinkMylearn
=
data
?.
courseLinkMylearn
||
""
}
}
src/app/shared/services/competencycourse.service.ts
View file @
8a0f2a39
...
...
@@ -3,6 +3,7 @@ import { Injectable } from '@angular/core';
import
{
Observable
}
from
'rxjs'
;
import
{
environment
}
from
'src/environments/environment'
;
import
{
CompetencycourseModel
}
from
'../model/competencycourse.model'
;
import
{
AlertModel
}
from
'../model/alert.model'
;
@
Injectable
({
providedIn
:
'root'
})
...
...
@@ -17,16 +18,16 @@ export class CompetencycourseService {
getList
():
Observable
<
CompetencycourseModel
[]
>
{
return
this
.
http
.
get
<
CompetencycourseModel
[]
>
(
this
.
urlApi
+
"/lists"
)
}
post
(
body
:
CompetencycourseModel
)
{
return
this
.
http
.
post
(
this
.
urlApi
,
body
)
post
(
body
:
CompetencycourseModel
)
:
Observable
<
AlertModel
>
{
return
this
.
http
.
post
<
AlertModel
>
(
this
.
urlApi
,
body
)
}
delete
(
body
:
CompetencycourseModel
)
{
delete
(
body
:
CompetencycourseModel
)
:
Observable
<
AlertModel
>
{
const
options
=
{
headers
:
new
HttpHeaders
({
"Content-Type"
:
"application/json"
,
}),
body
:
body
};
return
this
.
http
.
delete
(
this
.
urlApi
,
options
)
return
this
.
http
.
delete
<
AlertModel
>
(
this
.
urlApi
,
options
)
}
}
\ No newline at end of file
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