Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
myjob-manage
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
myjob-manage
Commits
b3348a7f
Commit
b3348a7f
authored
Jul 14, 2025
by
Natthaphat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
แก้ปฏิทินซ้อน Modal
parent
c4b09fef
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
1 deletions
+26
-1
excel-list.component.scss
...al/set-excel-reports/excel-list/excel-list.component.scss
+21
-0
excel-list.component.ts
...rtal/set-excel-reports/excel-list/excel-list.component.ts
+5
-1
No files found.
src/app/DPU/common/myportal/set-excel-reports/excel-list/excel-list.component.scss
View file @
b3348a7f
...
...
@@ -7,4 +7,24 @@
padding-bottom
:
0
.75rem
;
padding-left
:
1rem
;
padding-right
:
1rem
;
}
::ng-deep
[
ngbDatepickerDayView
]
.today
{
background-color
:
#e0f2fe
!
important
;
}
::ng-deep
[
ngbDatepickerDayView
]
.bg-primary
{
background-color
:
rgb
(
var
(
--
primary
))
!
important
;
color
:
#ffffff
!
important
;
}
/* ให้ datepicker popup ทะลุ modal ได้ */
::ng-deep
ngb-datepicker
,
::ng-deep
.ngb-datepicker-container
{
z-index
:
2000
!
important
;
}
/* เผื่อ modal มี overflow ซ่อนอยู่ */
::ng-deep
.ti-modal-content
{
overflow
:
visible
!
important
;
}
\ No newline at end of file
src/app/DPU/common/myportal/set-excel-reports/excel-list/excel-list.component.ts
View file @
b3348a7f
...
...
@@ -607,7 +607,7 @@ export class ExcelListComponent implements OnInit {
openModalData
(
data
:
any
)
{
this
.
searchModal
=
''
this
.
page
=
1
this
.
page
=
0
this
.
pageSize
=
10
this
.
valueDetail
=
data
.
valueDetail
.
map
((
x
:
any
)
=>
({
id
:
x
.
id
||
''
,
tdesc
:
x
.
tdesc
||
''
,
edesc
:
x
.
edesc
||
''
}))
this
.
keySelect
=
data
.
key
...
...
@@ -805,6 +805,10 @@ export class ExcelListComponent implements OnInit {
}).
subscribe
(
response
=>
{
this
.
dataList
=
response
.
excelData
as
any
this
.
loadingExcel
=
false
console
.
log
(
'🟢 dataList:'
,
this
.
dataList
);
// ตรวจสอบว่ามีข้อมูลไหม
console
.
log
(
'🟢 pivotStr:'
,
(
response
.
excelPerspective
as
any
).
pivotStr
);
// ตรวจสอบ layout ที่ส่งมา
console
.
log
(
'🟢 columns:'
,
this
.
pivotColumns
);
// ดูว่า columns ถูกเซ็ตหรือยัง
if
(
type
===
'grid'
)
{
this
.
modalRefgridModal
=
this
.
modal
.
open
(
this
.
gridModal
,
{
width
:
'1000px'
,
...
...
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