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
b2b90e96
Commit
b2b90e96
authored
Jan 29, 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
aa32b8bb
6986ab72
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
39 additions
and
33 deletions
+39
-33
login-page.component.ts
src/app/authentication/login-page/login-page.component.ts
+9
-10
edit-group-competencies.component.html
...group-competencies/edit-group-competencies.component.html
+2
-3
edit-group-indicators.html
...rriculum/edit-group-indicators/edit-group-indicators.html
+2
-3
edit-define-document-form.component.html
...ne-document-form/edit-define-document-form.component.html
+2
-3
competency-configuration.component.html
...ncy-configuration/competency-configuration.component.html
+12
-3
navservice.ts
src/app/shared/services/navservice.ts
+12
-11
No files found.
src/app/authentication/login-page/login-page.component.ts
View file @
b2b90e96
...
...
@@ -14,12 +14,12 @@ export class LoginPageComponent {
disabled
=
''
;
active
:
any
;
constructor
(@
Inject
(
DOCUMENT
)
constructor
(@
Inject
(
DOCUMENT
)
private
document
:
Document
,
private
elementRef
:
ElementRef
,
private
renderer
:
Renderer2
,
private
formBuilder
:
FormBuilder
,
private
router
:
Router
,
private
renderer
:
Renderer2
,
private
formBuilder
:
FormBuilder
,
private
router
:
Router
,
private
authservice
:
AuthService
,)
{
const
bodyElement
=
this
.
renderer
.
selectRootElement
(
'body'
,
true
);
this
.
renderer
.
setAttribute
(
bodyElement
,
'class'
,
'cover1 justify-center'
);
...
...
@@ -39,7 +39,7 @@ export class LoginPageComponent {
const
html
:
any
=
this
.
elementRef
.
nativeElement
.
ownerDocument
.
documentElement
;
html
.
removeAttribute
(
'data-header-styles'
,
'light'
);
//html.removeAttribute('data-nav-layout','vertical');
html
.
classList
.
add
(
'h-full'
,
'light'
);
if
(
localStorage
.
getItem
(
'synto-header-mode'
)
==
'dark'
)
{
...
...
@@ -66,7 +66,7 @@ export class LoginPageComponent {
this
.
authservice
.
loginWithEmail
(
this
.
email
,
this
.
password
)
.
then
(()
=>
{
this
.
router
.
navigate
([
'/
dashboard/sales
'
]);
this
.
router
.
navigate
([
'/
self-evaluation
'
]);
console
.
clear
();
})
.
catch
((
_error
:
any
)
=>
{
...
...
@@ -109,7 +109,7 @@ export class LoginPageComponent {
this
.
loginForm
.
controls
[
'username'
].
value
===
'spruko@admin.com'
&&
this
.
loginForm
.
controls
[
'password'
].
value
===
'sprukoadmin'
)
{
this
.
router
.
navigate
([
'/
dashboard/sales
'
]);
this
.
router
.
navigate
([
'/
self-evaluation
'
]);
}
else
{
this
.
error
=
'Please check email and passowrd'
;
}
...
...
@@ -130,8 +130,8 @@ export class LoginPageComponent {
const
html
:
any
=
this
.
elementRef
.
nativeElement
.
ownerDocument
.
documentElement
;
html
.
classList
.
remove
(
'h-full'
,
'dark'
);
}
const
authe
:
any
=
document
.
querySelector
(
'.h-full'
);
authe
.
removeAttribute
(
'class'
,
'h-full'
);
}
}
\ No newline at end of file
}
src/app/components/competency-assessment/competency-management/group-competencies/edit-group-competencies/edit-group-competencies.component.html
View file @
b2b90e96
...
...
@@ -120,7 +120,7 @@
<thead>
<tr>
<ng-container
*
ngFor=
"let item of ['รหัส
Competency','ชื่อ competency
','ระดับความหวัง','Action']; let f = first; let l = last; let i = index"
>
*
ngFor=
"let item of ['รหัส
สมรรถนะ','ชื่อสมรรถนะ
','ระดับความหวัง','Action']; let f = first; let l = last; let i = index"
>
<th
scope=
"col"
class=
"relative px-10px py-10px bg-soft-secondary text-primary"
[
class
.!
text-center
]="
f
||
l
||
item =
==
'ระดับความหวัง'"
>
<span
class=
"text-sm"
>
{{ item }}
</span>
...
...
@@ -429,4 +429,4 @@
</div>
</div>
</div>
</div>
\ No newline at end of file
</div>
src/app/components/competency-assessment/competency-management/indicators-and-curriculum/edit-group-indicators/edit-group-indicators.html
View file @
b2b90e96
...
...
@@ -56,7 +56,7 @@
<div
class=
"border-t border-gray-200 pt-10px grid grid-cols-1 space-y-6"
>
<div
class=
"grid grid-cols-11"
>
<div
class=
"space-y-2 col-span-2"
>
<label
class=
"ti-form-label"
>
รหัส
Competency
</label>
<label
class=
"ti-form-label"
>
รหัส
สมรรถนะ
</label>
<input
type=
"text"
class=
"ti-form-input bg-input-readonly"
readonly
>
</div>
<div
class=
"col-span-1"
></div>
...
...
@@ -520,4 +520,4 @@
</div>
</div>
</div>
</div>
\ No newline at end of file
</div>
src/app/components/competency-assessment/evaluation-cycle-manager/define-document-form/edit-define-document-form/edit-define-document-form.component.html
View file @
b2b90e96
...
...
@@ -269,7 +269,7 @@
<thead>
<tr>
<ng-container
*
ngFor=
"let item of ['รหัส
Competency','ชื่อ competency
','ระดับความหวัง','Action']; let f = first; let l = last; let i = index"
>
*
ngFor=
"let item of ['รหัส
สมรรถนะ','ชื่อสมรรถนะ
','ระดับความหวัง','Action']; let f = first; let l = last; let i = index"
>
<th
scope=
"col"
class=
"relative px-10px py-10px bg-soft-secondary text-primary"
[
class
.!
text-center
]="
f
||
l
||
item =
==
'ระดับความหวัง'"
>
...
...
@@ -593,4 +593,4 @@
</div>
</div>
</div>
</div>
\ No newline at end of file
</div>
src/app/components/competency-assessment/setting-competency/competency-configuration/competency-configuration.component.html
View file @
b2b90e96
...
...
@@ -15,7 +15,7 @@
</div>
</div>
</div>
<div
class=
"body-content"
>
<div
class=
"page"
>
<div
class=
"grid grid-cols-3 gap-6"
>
...
...
@@ -28,6 +28,16 @@
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input w-2/3 pr-10"
value=
"2567"
>
</div>
</div>
<div
class=
"grid grid-cols-3 gap-6 mt-10"
>
<div
class=
"col-span-1"
>
<label
for=
"hs-trailing-button-add-on-with-icon"
class=
"ti-form-label"
>
ระดับความคาดหวัง *
</label>
</div>
</div>
<div
class=
"grid grid-cols-3 gap-6"
>
<div
class=
"col-span-1"
>
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input w-2/3 pr-10"
value=
"8"
>
</div>
</div>
<label
for=
"hs-trailing-button-add-on-with-icon"
class=
"ti-form-label mt-10"
>
จัดการสมรรถนะกับกลุ่ม *
</label>
<div
class=
"box-body"
>
<div
class=
"grid grid-cols-6 flex gap-x-6"
>
...
...
@@ -69,4 +79,4 @@
</table>
</div>
</div>
</div>
\ No newline at end of file
</div>
src/app/shared/services/navservice.ts
View file @
b2b90e96
...
...
@@ -87,6 +87,17 @@ export class NavService implements OnDestroy {
MENUITEMS
:
Menu
[]
=
[
{
title
:
'การประเมินผล'
,
type
:
'sub'
,
selected
:
false
,
active
:
false
,
path
:
'/supervisor-evaluation'
,
children
:
[
{
path
:
'/self-evaluation'
,
title
:
'ประเมินตนเอง'
,
type
:
'link'
},
{
path
:
'/supervisor-evaluation'
,
title
:
'ประเมินโดยหัวหน้า'
,
type
:
'link'
},
],
},
{
title
:
'การจัดการข้อมูลองค์กร'
,
type
:
'sub'
,
selected
:
false
,
...
...
@@ -148,17 +159,7 @@ export class NavService implements OnDestroy {
],
},
{
title
:
'การประเมินผล'
,
type
:
'sub'
,
selected
:
false
,
active
:
false
,
path
:
'/supervisor-evaluation'
,
children
:
[
{
path
:
'/self-evaluation'
,
title
:
'ประเมินตนเอง'
,
type
:
'link'
},
{
path
:
'/supervisor-evaluation'
,
title
:
'ประเมินโดยหัวหน้า'
,
type
:
'link'
},
],
},
];
// Array
items
=
new
BehaviorSubject
<
Menu
[]
>
(
this
.
MENUITEMS
);
...
...
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