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
f00f0e06
Commit
f00f0e06
authored
Feb 22, 2025
by
Nattana Chaiyamat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
import upload
parent
0da98657
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
10 additions
and
10 deletions
+10
-10
group-competencies.component.ts
...gement/group-competencies/group-competencies.component.ts
+2
-2
edit-group-indicators.component.ts
.../edit-group-indicators/edit-group-indicators.component.ts
+2
-2
set-approvers.component.ts
...tency-management/set-approvers/set-approvers.component.ts
+2
-2
development-course.component.ts
...ration/development-course/development-course.component.ts
+2
-2
assessment-tool.component.ts
...ool-register/assessment-tool/assessment-tool.component.ts
+2
-2
IMPORT_COMPETENCY_ASSESSMENT.xlsx
src/assets/template/IMPORT_COMPETENCY_ASSESSMENT.xlsx
+0
-0
IMPORT_COMPETENCY_COURSE.xlsx
src/assets/template/IMPORT_COMPETENCY_COURSE.xlsx
+0
-0
IMPORT_COMPETENCY_GROUP_APPROVE.xlsx
src/assets/template/IMPORT_COMPETENCY_GROUP_APPROVE.xlsx
+0
-0
IMPORT_COMPETENCY_GROUP_ASSESSMENT.xlsx
src/assets/template/IMPORT_COMPETENCY_GROUP_ASSESSMENT.xlsx
+0
-0
IMPORT_COMPETENCY_INDICATORS.xlsx
src/assets/template/IMPORT_COMPETENCY_INDICATORS.xlsx
+0
-0
No files found.
src/app/components/competency-assessment/competency-management/group-competencies/group-competencies.component.ts
View file @
f00f0e06
...
...
@@ -54,7 +54,7 @@ export class GroupCompetenciesComponent {
const
formData
=
new
FormData
();
formData
.
append
(
'file'
,
this
.
selectedFile
);
this
.
dataLoading
=
true
this
.
fileService
.
uploadExcel
(
formData
,
''
).
subscribe
({
this
.
fileService
.
uploadExcel
(
formData
,
'
COMPETENCY_GROUP_ASSESSMENT
'
).
subscribe
({
next
:
response
=>
{
if
(
response
.
success
)
{
this
.
showAlert
(
response
.
message
,
'success'
)
...
...
@@ -73,7 +73,7 @@ export class GroupCompetenciesComponent {
}
downloadFile
()
{
const
fileName
=
'.xlsx'
const
fileName
=
'
IMPORT_COMPETENCY_GROUP_ASSESSMENT
.xlsx'
this
.
fileService
.
downloadTemplate
(
fileName
).
subscribe
({
next
:
response
=>
{
const
url
=
window
.
URL
.
createObjectURL
(
response
);
...
...
src/app/components/competency-assessment/competency-management/indicators-and-curriculum/edit-group-indicators/edit-group-indicators.component.ts
View file @
f00f0e06
...
...
@@ -89,7 +89,7 @@ export class EditGroupIndicators implements OnInit {
const
formData
=
new
FormData
();
formData
.
append
(
'file'
,
this
.
selectedFile
);
this
.
dataLoading
=
true
this
.
fileService
.
uploadExcel
(
formData
,
''
).
subscribe
({
this
.
fileService
.
uploadExcel
(
formData
,
'
COMPETENCY_INDICATORS_COURSES
'
).
subscribe
({
next
:
response
=>
{
if
(
response
.
success
)
{
this
.
showAlert
(
response
.
message
,
'success'
)
...
...
@@ -108,7 +108,7 @@ export class EditGroupIndicators implements OnInit {
}
downloadFile
()
{
const
fileName
=
'.xlsx'
const
fileName
=
'
IMPORT_COMPETENCY_INDICATORS
.xlsx'
this
.
fileService
.
downloadTemplate
(
fileName
).
subscribe
({
next
:
response
=>
{
const
url
=
window
.
URL
.
createObjectURL
(
response
);
...
...
src/app/components/competency-assessment/competency-management/set-approvers/set-approvers.component.ts
View file @
f00f0e06
...
...
@@ -62,7 +62,7 @@ export class SetApproversComponent {
const
formData
=
new
FormData
();
formData
.
append
(
'file'
,
this
.
selectedFile
);
this
.
groupapprove_listLoading
=
true
this
.
fileService
.
uploadExcel
(
formData
,
''
).
subscribe
({
this
.
fileService
.
uploadExcel
(
formData
,
'
COMPETENCY_GROUP_APPROVE
'
).
subscribe
({
next
:
response
=>
{
if
(
response
.
success
)
{
this
.
showAlert
(
response
.
message
,
'success'
)
...
...
@@ -80,7 +80,7 @@ export class SetApproversComponent {
})
}
downloadFile
()
{
const
fileName
=
'.xlsx'
const
fileName
=
'
IMPORT_COMPETENCY_GROUP_APPROVE
.xlsx'
this
.
fileService
.
downloadTemplate
(
fileName
).
subscribe
({
next
:
response
=>
{
const
url
=
window
.
URL
.
createObjectURL
(
response
);
...
...
src/app/components/competency-assessment/course-registration/development-course/development-course.component.ts
View file @
f00f0e06
...
...
@@ -42,7 +42,7 @@ export class DevelopmentCourseComponent {
const
formData
=
new
FormData
();
formData
.
append
(
'file'
,
this
.
selectedFile
);
this
.
competencyCourse
.
loading
=
true
this
.
fileService
.
uploadExcel
(
formData
,
''
).
subscribe
({
this
.
fileService
.
uploadExcel
(
formData
,
'
COMPETENCY_COURSE
'
).
subscribe
({
next
:
response
=>
{
if
(
response
.
success
)
{
this
.
showAlert
(
response
.
message
,
'success'
)
...
...
@@ -60,7 +60,7 @@ export class DevelopmentCourseComponent {
})
}
downloadFile
()
{
const
fileName
=
'.xlsx'
const
fileName
=
'
IMPORT_COMPETENCY_COURSE
.xlsx'
this
.
fileService
.
downloadTemplate
(
fileName
).
subscribe
({
next
:
response
=>
{
const
url
=
window
.
URL
.
createObjectURL
(
response
);
...
...
src/app/components/competency-assessment/tool-register/assessment-tool/assessment-tool.component.ts
View file @
f00f0e06
...
...
@@ -48,7 +48,7 @@ export class AssessmentToolComponent {
const
formData
=
new
FormData
();
formData
.
append
(
'file'
,
this
.
selectedFile
);
this
.
assessment
.
loading
=
true
this
.
fileService
.
uploadExcel
(
formData
,
''
).
subscribe
({
this
.
fileService
.
uploadExcel
(
formData
,
'
COMPETENCY_ASSESSMENT
'
).
subscribe
({
next
:
response
=>
{
if
(
response
.
success
)
{
this
.
showAlert
(
response
.
message
,
'success'
)
...
...
@@ -66,7 +66,7 @@ export class AssessmentToolComponent {
})
}
downloadFile
()
{
const
fileName
=
'.xlsx'
const
fileName
=
'
IMPORT_COMPETENCY_ASSESSMENT
.xlsx'
this
.
fileService
.
downloadTemplate
(
fileName
).
subscribe
({
next
:
response
=>
{
const
url
=
window
.
URL
.
createObjectURL
(
response
);
...
...
src/assets/template/IMPORT_COMPETENCY_ASSESSMENT.xlsx
0 → 100644
View file @
f00f0e06
File added
src/assets/template/IMPORT_COMPETENCY_COURSE.xlsx
0 → 100644
View file @
f00f0e06
File added
src/assets/template/IMPORT_COMPETENCY_GROUP_APPROVE.xlsx
0 → 100644
View file @
f00f0e06
File added
src/assets/template/IMPORT_COMPETENCY_GROUP_ASSESSMENT.xlsx
0 → 100644
View file @
f00f0e06
File added
src/assets/template/IMPORT_COMPETENCY_INDICATORS.xlsx
0 → 100644
View file @
f00f0e06
File added
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