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
19035385
Commit
19035385
authored
Jul 15, 2025
by
Nattana Chaiyamat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
แก้ไข รายงาน Excel แก้ตัวส่งวันที่ yyyy-mm-dd
parent
d0a2c05c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
excel-report.component.ts
src/app/components/excel-report/excel-report.component.ts
+2
-2
No files found.
src/app/components/excel-report/excel-report.component.ts
View file @
19035385
...
@@ -243,7 +243,7 @@ export class ExcelReportComponent implements OnInit {
...
@@ -243,7 +243,7 @@ export class ExcelReportComponent implements OnInit {
}
else
if
(
item
.
type
==
'list'
||
item
.
type
==
'radio'
||
item
.
type
==
'text'
)
{
}
else
if
(
item
.
type
==
'list'
||
item
.
type
==
'radio'
||
item
.
type
==
'text'
)
{
body
[
`val
${
i
}
`
]
=
this
.
select
[
item
.
key
]
body
[
`val
${
i
}
`
]
=
this
.
select
[
item
.
key
]
}
else
if
(
item
.
type
==
'calendar'
)
{
}
else
if
(
item
.
type
==
'calendar'
)
{
body
[
`val
${
i
}
`
]
=
this
.
toDateStringOnly
(
this
.
select
[
item
.
key
])
.
split
(
'-'
).
reverse
().
join
(
'-'
)
body
[
`val
${
i
}
`
]
=
this
.
toDateStringOnly
(
this
.
select
[
item
.
key
])
}
}
});
});
forkJoin
({
forkJoin
({
...
@@ -295,7 +295,7 @@ export class ExcelReportComponent implements OnInit {
...
@@ -295,7 +295,7 @@ export class ExcelReportComponent implements OnInit {
}
else
if
(
item
.
type
==
'list'
||
item
.
type
==
'radio'
||
item
.
type
==
'text'
)
{
}
else
if
(
item
.
type
==
'list'
||
item
.
type
==
'radio'
||
item
.
type
==
'text'
)
{
return
"__"
+
item
.
key
+
"="
+
this
.
select
[
item
.
key
]
return
"__"
+
item
.
key
+
"="
+
this
.
select
[
item
.
key
]
}
else
if
(
item
.
type
==
'calendar'
)
{
}
else
if
(
item
.
type
==
'calendar'
)
{
return
"__"
+
item
.
key
+
"="
+
this
.
toDateStringOnly
(
this
.
select
[
item
.
key
])
.
split
(
'-'
).
reverse
().
join
(
'-'
)
return
"__"
+
item
.
key
+
"="
+
this
.
toDateStringOnly
(
this
.
select
[
item
.
key
])
}
}
return
""
return
""
}).
join
(
'|'
)
}).
join
(
'|'
)
...
...
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