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
4bbdbad5
Commit
4bbdbad5
authored
Feb 20, 2025
by
Nattana Chaiyamat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
นำเข้าข้อมูลบริษัท
parent
8c5761c6
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
sub-employee-registration.component.ts
...loyee-registration/sub-employee-registration.component.ts
+2
-2
IMPORT_COMPETENCY_TOPIC.xlsx
src/assets/template/IMPORT_COMPETENCY_TOPIC.xlsx
+0
-0
IMPORT_MEMPLOYEE.xlsx
src/assets/template/IMPORT_MEMPLOYEE.xlsx
+0
-0
No files found.
src/app/components/company-components/employee-registration/sub-employee-registration/sub-employee-registration.component.ts
View file @
4bbdbad5
...
@@ -98,7 +98,7 @@ export class SubEmployeeRegistrationComponent {
...
@@ -98,7 +98,7 @@ export class SubEmployeeRegistrationComponent {
const
formData
=
new
FormData
();
const
formData
=
new
FormData
();
formData
.
append
(
'file'
,
this
.
selectedFile
);
formData
.
append
(
'file'
,
this
.
selectedFile
);
this
.
employee
.
loading
=
true
this
.
employee
.
loading
=
true
this
.
fileService
.
uploadExcel
(
formData
,
''
).
subscribe
({
this
.
fileService
.
uploadExcel
(
formData
,
'
memployee
'
).
subscribe
({
next
:
response
=>
{
next
:
response
=>
{
if
(
response
.
success
)
{
if
(
response
.
success
)
{
this
.
showAlert
(
response
.
message
,
'success'
)
this
.
showAlert
(
response
.
message
,
'success'
)
...
@@ -116,7 +116,7 @@ export class SubEmployeeRegistrationComponent {
...
@@ -116,7 +116,7 @@ export class SubEmployeeRegistrationComponent {
})
})
}
}
downloadFile
()
{
downloadFile
()
{
const
fileName
=
'.xlsx'
const
fileName
=
'
IMPORT_MEMPLOYEE
.xlsx'
this
.
fileService
.
downloadTemplate
(
fileName
).
subscribe
({
this
.
fileService
.
downloadTemplate
(
fileName
).
subscribe
({
next
:
response
=>
{
next
:
response
=>
{
const
url
=
window
.
URL
.
createObjectURL
(
response
);
const
url
=
window
.
URL
.
createObjectURL
(
response
);
...
...
src/assets/template/IMPORT_COMPETENCY_TOPIC.xlsx
View file @
4bbdbad5
No preview for this file type
src/assets/template/IMPORT_MEMPLOYEE.xlsx
0 → 100644
View file @
4bbdbad5
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