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
0617e985
Commit
0617e985
authored
Jul 14, 2025
by
Natthaphat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
เพิ่มเมนู เปิด-ปิด การใช้รายงาน Excel
parent
115771a8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
46 additions
and
3 deletions
+46
-3
common.module.ts
src/app/DPU/common/common.module.ts
+5
-0
excel-list.component.html
...al/set-excel-reports/excel-list/excel-list.component.html
+10
-2
excel-report-toggle.component.html
...ts/excel-report-toggle/excel-report-toggle.component.html
+0
-0
excel-report-toggle.component.scss
...ts/excel-report-toggle/excel-report-toggle.component.scss
+30
-0
excel-report-toggle.component.ts
...orts/excel-report-toggle/excel-report-toggle.component.ts
+0
-0
nav.service.ts
src/app/shared/services/nav.service.ts
+1
-1
No files found.
src/app/DPU/common/common.module.ts
View file @
0617e985
...
...
@@ -123,6 +123,11 @@ export const admin: Routes = [
loadComponent
:
()
=>
import
(
'./myportal/datasource-table/datasource-table.component'
).
then
((
m
)
=>
m
.
DatasourceTableComponent
),
},
{
path
:
'excel-report-toggle'
,
loadComponent
:
()
=>
import
(
'./myportal/set-excel-reports/excel-report-toggle/excel-report-toggle.component'
).
then
((
m
)
=>
m
.
ExcelReportToggleComponent
),
},
//////////////emp/////////////////
{
path
:
'emp/department'
,
...
...
src/app/DPU/common/myportal/set-excel-reports/excel-list/excel-list.component.html
View file @
0617e985
...
...
@@ -217,6 +217,14 @@
</div>
<div
class=
"box-footer"
>
<div
class=
"flex items-center flex-wrap overflow-auto"
*
ngIf=
"template.filter.length > 0"
>
<div
class=
"d-flex justify-content-end p-2"
>
<select
class=
"custom-select m-r-5 border-color-gray-full-focus"
style=
"width: auto"
[(
ngModel
)]="
pageSize
"
(
ngModelChange
)="
page
"
>
<option
*
ngFor=
"let item of [10,50,100]"
[
ngValue
]="
item
"
>
{{"รายการต่อหน้า"}}: {{item}}
</option>
</select>
</div>
<div
class=
"mb-2 sm:mb-0"
>
<div>
{{'Showing' | translate}} {{template.filter.length}} {{'entries'
...
...
@@ -801,7 +809,7 @@
ngbDatepicker
#
d1=
"ngbDatepicker"
[(
ngModel
)]="
select
[
item
.
key
]"
readonly
(
click
)="
d1
.
toggle
()"
(
ngModelChange
)="
formatNgbDate
(
item
.
key
,
select
[
item
.
key
])"
#
c1=
"ngModel"
(
change
)="
validateDate
(
c1
)"
>
#
c1=
"ngModel"
(
change
)="
validateDate
(
c1
)"
container=
"body"
>
<!-- Calendar Button -->
<button
type=
"button"
...
...
@@ -943,7 +951,7 @@
<div
class=
"flex items-center flex-wrap overflow-auto"
*
ngIf=
"valueDetailFilter().length > 0"
>
<div
class=
"d-flex justify-content-end p-2"
>
<select
class=
"custom-select m-r-5 border-color-gray-full-focus"
style=
"width: auto"
[(
ngModel
)]="
pageSizeModal
"
(
ngModelChange
)="
pageModal
=
1
"
>
[(
ngModel
)]="
pageSizeModal
"
(
ngModelChange
)="
pageModal
"
>
<option
*
ngFor=
"let item of [10,50,100]"
[
ngValue
]="
item
"
>
{{"Items per page"}}: {{item}}
</option>
...
...
src/app/DPU/common/myportal/set-excel-reports/excel-report-toggle/excel-report-toggle.component.html
0 → 100644
View file @
0617e985
This diff is collapsed.
Click to expand it.
src/app/DPU/common/myportal/set-excel-reports/excel-report-toggle/excel-report-toggle.component.scss
0 → 100644
View file @
0617e985
.ti-modal-header
{
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
border-bottom-width
:
1px
;
padding-top
:
0
.75rem
;
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
;
}
src/app/DPU/common/myportal/set-excel-reports/excel-report-toggle/excel-report-toggle.component.ts
0 → 100644
View file @
0617e985
This diff is collapsed.
Click to expand it.
src/app/shared/services/nav.service.ts
View file @
0617e985
...
...
@@ -145,7 +145,7 @@ export class NavService implements OnDestroy {
type
:
'sub'
,
children
:
[
{
path
:
'/admin/excel-list'
,
title
:
'เพิ่มรายงาน Excel'
,
type
:
'link'
},
{
path
:
'/admin/
member-manag
e'
,
title
:
'เปิด-ปิด การใช้รายงาน Excel'
,
type
:
'link'
}
{
path
:
'/admin/
excel-report-toggl
e'
,
title
:
'เปิด-ปิด การใช้รายงาน Excel'
,
type
:
'link'
}
],
},
{
...
...
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