Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
BookingMyHrManagement
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
Chanachai
BookingMyHrManagement
Commits
8963d880
Commit
8963d880
authored
Mar 16, 2025
by
Ooh-Ao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vvbvb
parent
c68cef85
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
224 additions
and
1 deletions
+224
-1
common.module.ts
Web-Manage/src/app/DPU/common/common.module.ts
+5
-0
company-manage.component.html
...p/DPU/common/company-manage/company-manage.component.html
+1
-1
project-detail.component.html
...mpany-manage/project-detail/project-detail.component.html
+0
-0
project-detail.component.scss
...mpany-manage/project-detail/project-detail.component.scss
+0
-0
project-detail.component.ts
...company-manage/project-detail/project-detail.component.ts
+218
-0
No files found.
Web-Manage/src/app/DPU/common/common.module.ts
View file @
8963d880
...
...
@@ -20,6 +20,11 @@ export const admin: Routes = [
import
(
'./company-manage/company-manage.component'
).
then
((
m
)
=>
m
.
CompanyManageComponent
),
},
{
path
:
'manage-companys/:projectId'
,
loadComponent
:
()
=>
import
(
'./company-manage/project-detail/project-detail.component'
).
then
((
m
)
=>
m
.
ProjectDetailComponent
),
},
{
path
:
'admin-manage'
,
loadComponent
:
()
=>
import
(
'./admin-manage/admin-manage.component'
).
then
((
m
)
=>
m
.
AdminManageComponent
),
...
...
Web-Manage/src/app/DPU/common/company-manage/company-manage.component.html
View file @
8963d880
...
...
@@ -75,7 +75,7 @@
<i
class=
"fe fe-more-vertical"
></i>
</a>
<ul
class=
"hs-dropdown-menu ti-dropdown-menu hidden"
>
<li><a
class=
"ti-dropdown-item"
><i
<li><a
class=
"ti-dropdown-item"
routerLink=
"/admin/manage-companys/{{item.projectId}}"
><i
class=
"ri-eye-line align-middle me-1 inline-flex"
></i>
View
</a></li>
<li><a
class=
"ti-dropdown-item"
(
click
)="
view
(
item
)"
data-hs-overlay=
"#modal-detail"
><i
class=
"ri-edit-line align-middle me-1 inline-flex"
></i>
Edit
</a></li>
...
...
Web-Manage/src/app/DPU/common/company-manage/project-detail/project-detail.component.html
0 → 100644
View file @
8963d880
This diff is collapsed.
Click to expand it.
Web-Manage/src/app/DPU/common/company-manage/project-detail/project-detail.component.scss
0 → 100644
View file @
8963d880
Web-Manage/src/app/DPU/common/company-manage/project-detail/project-detail.component.ts
0 → 100644
View file @
8963d880
import
{
Component
}
from
'@angular/core'
;
import
{
CommonModule
}
from
'@angular/common'
;
import
{
NgApexchartsModule
}
from
'ng-apexcharts'
;
import
{
CountUpModule
}
from
'ngx-countup'
;
import
{
SharedModule
}
from
'../../../../shared/shared.module'
;
const
DATA
=
[
{
img
:
"./assets/images/faces/11.jpg"
,
name
:
'ชนะชัย โอดพิมพ์'
,
mail
:
'jsontaylor2416@gmail.com'
,
id
:
'#SPK12032901'
,
issueDate
:
'25,Nov 2022'
,
price
:
'$212.45'
,
bg
:
'success/10'
,
text
:
'success'
,
status
:
'Paid'
,
dueDate
:
'25,Dec 2022'
},
{
img
:
"./assets/images/faces/7.jpg"
,
name
:
'Suzika Stallone'
,
mail
:
'suzikastallone3214@gmail.com'
,
id
:
'#SPK12032912'
,
issueDate
:
'13,Nov 2022'
,
price
:
'$512.99'
,
bg
:
'warning/10'
,
text
:
'warning'
,
status
:
'Pending'
,
dueDate
:
'13,Dec 2022'
},
{
img
:
"./assets/images/faces/15.jpg"
,
name
:
'Roman Killon'
,
mail
:
'romankillon143@gmail.com'
,
id
:
'#SPK12032945'
,
issueDate
:
'30,Nov 2022'
,
price
:
'$2199.49'
,
bg
:
'danger/10'
,
text
:
'danger'
,
status
:
'Overdue'
,
dueDate
:
'30,Dec 2022'
},
{
img
:
"./assets/images/faces/12.jpg"
,
name
:
'Charlie Davieson'
,
mail
:
'charliedavieson@gmail.com'
,
id
:
'#SPK12032922'
,
issueDate
:
'18,Nov 2022'
,
price
:
' $1569.99'
,
bg
:
'success/10'
,
text
:
'success'
,
status
:
'Paid'
,
dueDate
:
'18,Dec 2022'
},
{
img
:
"./assets/images/faces/4.jpg"
,
name
:
'Selena Deoyl'
,
mail
:
'selenadeoyl114@gmail.com'
,
id
:
'#SPK12032932'
,
issueDate
:
'18,Nov 2022'
,
price
:
' $4,873.99'
,
bg
:
'primary/10'
,
text
:
'primary'
,
status
:
'Due By 1 Day'
,
dueDate
:
'18,Dec 2022'
},
{
img
:
"./assets/images/faces/7.jpg"
,
name
:
'Kiara Advensh'
,
mail
:
'kiaraadvensh87@gmail.com'
,
id
:
'#SPK12032978'
,
issueDate
:
'02,Nov 2022'
,
price
:
' $1923.99'
,
bg
:
'success/10'
,
text
:
'success'
,
status
:
'Paid'
,
dueDate
:
'18,Dec 2022'
},
{
img
:
"./assets/images/faces/9.jpg"
,
name
:
'Joseph Samurai'
,
mail
:
'josephsamurai@gmail.com'
,
id
:
'#SPK12032919'
,
issueDate
:
'15,Nov 2022'
,
price
:
'$1,623.99'
,
bg
:
'success/10'
,
text
:
'success'
,
status
:
'Paid'
,
dueDate
:
'15,Dec 2022'
},
{
img
:
"./assets/images/faces/13.jpg"
,
name
:
'Kevin Powell'
,
mail
:
'kevinpowell@gmail.com'
,
id
:
'#SPK12032931'
,
issueDate
:
'21,Nov 2022'
,
price
:
' $3,423.99'
,
bg
:
'warning/10'
,
text
:
'warning'
,
status
:
'Pending'
,
dueDate
:
'21,Dec 2022'
},
{
img
:
"./assets/images/faces/8.jpg"
,
name
:
'Darla Jung'
,
mail
:
'darlajung555&@gmail.com'
,
id
:
'#SPK12032958'
,
issueDate
:
'15,Oct 2022'
,
price
:
' $2,982.99'
,
bg
:
'success/10'
,
text
:
'success'
,
status
:
'Paid'
,
dueDate
:
'15,Nov 2022'
}
]
@
Component
({
selector
:
'app-project-detail'
,
standalone
:
true
,
imports
:
[
SharedModule
,
NgApexchartsModule
,
CountUpModule
,
CommonModule
],
templateUrl
:
'./project-detail.component.html'
,
styleUrl
:
'./project-detail.component.scss'
})
export
class
ProjectDetailComponent
{
click
(
id
:
string
)
{
const
data
=
this
.
invoices
.
filter
((
x
:
{
id
:
string
})
=>
{
return
x
.
id
!=
id
;
})
this
.
invoices
=
data
;
}
invoices
=
DATA
;
chartOptions
:
any
constructor
()
{
this
.
chartOptions
=
{
series
:
[
{
name
:
'Total'
,
data
:
[
76
,
85
,
101
,
98
,
87
,
105
],
},
{
name
:
'Paid'
,
data
:
[
35
,
41
,
36
,
26
,
45
,
48
],
},
{
name
:
'Pending'
,
data
:
[
44
,
55
,
57
,
56
,
61
,
58
],
},
{
name
:
'Overdue'
,
data
:
[
13
,
27
,
31
,
29
,
35
,
25
],
},
],
chart
:
{
type
:
'bar'
,
height
:
210
,
stacked
:
true
,
},
plotOptions
:
{
bar
:
{
horizontal
:
false
,
columnWidth
:
'25%'
,
endingShape
:
'rounded'
,
},
},
grid
:
{
borderColor
:
'#f2f5f7'
,
},
dataLabels
:
{
enabled
:
false
,
},
colors
:
[
'#4b9bfa'
,
'#28d193'
,
'#ffbe14'
,
'#f3f6f8'
],
stroke
:
{
show
:
true
,
colors
:
[
'transparent'
],
},
xaxis
:
{
categories
:
[
'Jun'
,
'Jul'
,
'Aug'
,
'Sep'
,
'Oct'
,
'Nov'
],
labels
:
{
show
:
true
,
style
:
{
colors
:
'#8c9097'
,
fontSize
:
'11px'
,
fontWeight
:
600
,
cssClass
:
'apexcharts-xaxis-label'
,
},
},
},
yaxis
:
{
title
:
{
style
:
{
color
:
'#8c9097'
,
},
},
labels
:
{
show
:
true
,
style
:
{
colors
:
'#8c9097'
,
fontSize
:
'11px'
,
fontWeight
:
600
,
cssClass
:
'apexcharts-xaxis-label'
,
},
},
},
fill
:
{
opacity
:
1
,
},
tooltip
:
{
y
:
{
formatter
:
function
(
val
:
string
)
{
return
'$ '
+
val
+
' thousands'
;
},
},
},
};
}
}
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