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
24ede519
Commit
24ede519
authored
Nov 20, 2024
by
LAPTOP-CV4JFSHE\kantavee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
8906f1c4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
107 additions
and
5 deletions
+107
-5
dashboard.module.ts
src/app/components/dashboard/dashboard.module.ts
+2
-0
employee-group-unit.component.html
...on/employee-group-unit/employee-group-unit.component.html
+0
-0
employee-group-unit.component.scss
...on/employee-group-unit/employee-group-unit.component.scss
+59
-0
employee-group-unit.component.ts
...tion/employee-group-unit/employee-group-unit.component.ts
+18
-0
job-description.component.html
...components/job-description/job-description.component.html
+4
-4
styles.scss
src/styles.scss
+24
-1
No files found.
src/app/components/dashboard/dashboard.module.ts
View file @
24ede519
...
@@ -30,6 +30,7 @@ import { SubDepartmentTwoComponent } from '../company-registration/branch-busine
...
@@ -30,6 +30,7 @@ import { SubDepartmentTwoComponent } from '../company-registration/branch-busine
import
{
SubDepartmentFourComponent
}
from
'../company-registration/branch-business-unit/sub-department-four/sub-department-four.component'
;
import
{
SubDepartmentFourComponent
}
from
'../company-registration/branch-business-unit/sub-department-four/sub-department-four.component'
;
import
{
SectionRegistrationComponent
}
from
'../company-registration/branch-business-unit/section-registration/section-registration.component'
;
import
{
SectionRegistrationComponent
}
from
'../company-registration/branch-business-unit/section-registration/section-registration.component'
;
import
{
JobDescriptionComponent
}
from
'../job-description/job-description.component'
;
import
{
JobDescriptionComponent
}
from
'../job-description/job-description.component'
;
import
{
EmployeeGroupUnit
}
from
'../job-description/employee-group-unit/employee-group-unit.component'
;
@
NgModule
({
@
NgModule
({
declarations
:
[
declarations
:
[
SalesComponent
,
SalesComponent
,
...
@@ -56,6 +57,7 @@ import { JobDescriptionComponent } from '../job-description/job-description.comp
...
@@ -56,6 +57,7 @@ import { JobDescriptionComponent } from '../job-description/job-description.comp
SubDepartmentThreeComponent
,
SubDepartmentThreeComponent
,
SubDepartmentFourComponent
,
SubDepartmentFourComponent
,
JobDescriptionComponent
,
JobDescriptionComponent
,
EmployeeGroupUnit
,
],
],
imports
:
[
imports
:
[
CommonModule
,
CommonModule
,
...
...
src/app/components/job-description/employee-group-unit/employee-group-unit.component.html
0 → 100644
View file @
24ede519
This diff is collapsed.
Click to expand it.
src/app/components/job-description/employee-group-unit/employee-group-unit.component.scss
0 → 100644
View file @
24ede519
/* สไตล์ของแถบเมนู */
.nav-tabs
{
display
:
flex
;
width
:
100%
;
cursor
:
pointer
;
margin-bottom
:
10px
;
}
.nav-item
{
list-style
:
none
;
margin-right
:
10px
;
/* ช่องว่างระหว่างเมนู */
}
.nav-link
{
text-decoration
:
none
;
padding
:
10px
20px
;
display
:
inline-block
;
font-size
:
large
;
border-width
:
2px
2px
0px
2px
;
border-style
:
solid
;
border-color
:
#ccc
;
border-radius
:
5px
5px
0px
0px
;
}
.nav-link
:hover
{
background-color
:
#f0f0f0
;
/* เปลี่ยนสีเมื่อ hover */
}
.nav-link.active
{
color
:
#ffffff
;
/* สีตัวอักษรในสถานะ active */
font-size
:
large
;
border-bottom
:
3
.5px
solid
rgb
(
var
(
--
color-primary
));
/* เส้นใต้ */
background-color
:
rgb
(
var
(
--
color-primary
));
border-width
:
2px
2px
0px
2px
;
border-style
:
solid
;
border-color
:
rgb
(
var
(
--
color-primary
));
border-radius
:
5px
5px
0px
0px
;
}
.tab-content
{
margin-top
:
20px
;
}
.tab-pane.active
{
display
:
block
;
}
.nav-item-text
{
list-style
:
none
;
margin-right
:
10px
;
/* ช่องว่างระหว่างเมนู */
}
.nav-link-text
{
text-decoration
:
none
;
display
:
inline-block
;
font-size
:
large
;
color
:
#569bf5
;
border-bottom
:
3
.5px
solid
#569bf5
;
}
\ No newline at end of file
src/app/components/job-description/employee-group-unit/employee-group-unit.component.ts
0 → 100644
View file @
24ede519
import
{
Component
,
EventEmitter
,
Input
,
Output
}
from
'@angular/core'
;
@
Component
({
selector
:
'app-employee-group-unit'
,
templateUrl
:
'./employee-group-unit.component.html'
,
styleUrls
:
[
'./employee-group-unit.component.scss'
]
})
export
class
EmployeeGroupUnit
{
@
Input
()
pathTitle
=
[
'การจัดการข้อมูลองค์กร'
,
'ทะเบียนบริษัท'
,
'สาขาและหน่วยธุรกิจ'
]
@
Output
()
sendPathTitle
:
EventEmitter
<
string
[]
>
=
new
EventEmitter
<
string
[]
>
();
activeTab
:
string
=
'tab1'
;
// กำหนด tab เริ่มต้น
// ฟังก์ชันในการเปลี่ยนแท็บ
changeTab
(
tab
:
{
id
:
string
,
text
:
string
})
{
this
.
sendPathTitle
.
emit
([
'การจัดการข้อมูลองค์กร'
,
'ทะเบียนบริษัท'
,
'สาขาและหน่วยธุรกิจ'
,
tab
.
text
])
this
.
activeTab
=
tab
.
id
;
}
}
src/app/components/job-description/job-description.component.html
View file @
24ede519
...
@@ -17,12 +17,12 @@
...
@@ -17,12 +17,12 @@
</ul>
</ul>
<div
class=
"tab-content"
>
<div
class=
"tab-content"
>
<div
*
ngIf=
"activeTab === 'tab1'"
class=
"tab-pane"
>
<div
*
ngIf=
"activeTab === 'tab1'"
class=
"tab-pane"
>
<
p>
ทะเบียนบริษัท
</p
>
<
app-employee-group-unit></app-employee-group-unit
>
</div>
</div>
<div
*
ngIf=
"activeTab === 'tab2'"
class=
"tab-pane"
>
<div
*
ngIf=
"activeTab === 'tab2'"
class=
"tab-pane"
>
<div
class=
"mt-5"
>
</div>
<div
class=
"mt-5"
>
<app-branch-business-unit
[
pathTitle
]="
pathTitle
"
(
sendPathTitle
)="
pathTitle=
$event"
></app-branch-business-unit
>
</div
>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
src/styles.scss
View file @
24ede519
...
@@ -475,6 +475,29 @@ ngx-dropzone {
...
@@ -475,6 +475,29 @@ ngx-dropzone {
transition-duration
:
150ms
;
transition-duration
:
150ms
;
box-shadow
:
rgba
(
149
,
157
,
165
,
0
.2
)
0px
6px
24px
;
box-shadow
:
rgba
(
149
,
157
,
165
,
0
.2
)
0px
6px
24px
;
}
}
.button-red-light
{
min-width
:
5rem
;
background-color
:
#FEDDDE
;
--tw-text-opacity
:
1
;
color
:
#F23354
;
display
:
inline-flex
;
align-items
:
center
;
justify-content
:
center
;
border-radius
:
0
.25rem
;
border-width
:
1px
;
border-color
:
transparent
;
padding-top
:
0
.5rem
;
padding-bottom
:
0
.5rem
;
padding-left
:
0
.75rem
;
padding-right
:
0
.75rem
;
font-size
:
0
.875rem
;
line-height
:
1
.25rem
;
font-weight
:
400
;
transition-property
:
all
;
transition-timing-function
:
cubic-bezier
(
0
.4
,
0
,
0
.2
,
1
);
transition-duration
:
150ms
;
box-shadow
:
rgba
(
149
,
157
,
165
,
0
.2
)
0px
6px
24px
;
}
.shadow-gray-smoke
{
.shadow-gray-smoke
{
box-shadow
:
rgba
(
149
,
157
,
165
,
0
.2
)
0px
6px
24px
;
box-shadow
:
rgba
(
149
,
157
,
165
,
0
.2
)
0px
6px
24px
;
...
@@ -484,7 +507,7 @@ ngx-dropzone {
...
@@ -484,7 +507,7 @@ ngx-dropzone {
padding
:
10px
20px
;
/* เพิ่มระยะขอบ */
padding
:
10px
20px
;
/* เพิ่มระยะขอบ */
font-weight
:
bold
!
important
;
font-weight
:
bold
!
important
;
font-size
:
large
!
important
;
font-size
:
large
!
important
;
background-color
:
#
e6f0ff
;
/* พื้นหลังสำหรับ header */
background-color
:
#
E6F0FF
!
important
;
/* พื้นหลังสำหรับ header */
color
:
rgb
(
var
(
--
color-primary
));
color
:
rgb
(
var
(
--
color-primary
));
}
}
...
...
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