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
26ab1f84
Commit
26ab1f84
authored
Nov 21, 2024
by
Natthaphat Pankiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Position
parent
24ede519
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
184 additions
and
4 deletions
+184
-4
sub-department-two.component copy.html
...sub-department-two/sub-department-two.component copy.html
+0
-0
sub-department-two.component copy.scss
...sub-department-two/sub-department-two.component copy.scss
+60
-0
sub-department-two.component copy.ts
...t/sub-department-two/sub-department-two.component copy.ts
+17
-0
dashboard.module.ts
src/app/components/dashboard/dashboard.module.ts
+2
-2
job-description.component.html
...components/job-description/job-description.component.html
+3
-2
position-unit.component.html
...nts/job-description/position/position-unit.component.html
+0
-0
position-unit.component.scss
...nts/job-description/position/position-unit.component.scss
+60
-0
position-unit.component.ts
...nents/job-description/position/position-unit.component.ts
+18
-0
styles.scss
src/styles.scss
+24
-0
No files found.
src/app/components/company-registration/branch-business-unit/sub-department-two/sub-department-two.component copy.html
0 → 100644
View file @
26ab1f84
This diff is collapsed.
Click to expand it.
src/app/components/company-registration/branch-business-unit/sub-department-two/sub-department-two.component copy.scss
0 → 100644
View file @
26ab1f84
/* สไตล์ของแถบเมนู */
.nav-tabs
{
display
:
flex
;
border-bottom
:
2px
solid
#ccc
;
/* เส้นใต้ */
width
:
100%
;
cursor
:
pointer
;
}
.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/company-registration/branch-business-unit/sub-department-two/sub-department-two.component copy.ts
0 → 100644
View file @
26ab1f84
import
{
Component
}
from
'@angular/core'
;
@
Component
({
selector
:
'app-sub-department-two'
,
templateUrl
:
'./sub-department-two.component.html'
,
styleUrls
:
[
'./sub-department-two.component.scss'
]
})
export
class
SubDepartmentTwoComponent
{
pathTitle
=
[
'การจัดการข้อมูลองค์กร'
,
'ทะเบียนบริษัท'
,
'ทะเบียนบริษัท'
]
activeTab
:
string
=
'tab1'
;
// ฟังก์ชันในการเปลี่ยนแท็บ
changeTab
(
tab
:
{
id
:
string
,
text
:
string
})
{
this
.
pathTitle
=
[
'การจัดการข้อมูลองค์กร'
,
'ทะเบียนบริษัท'
,
tab
.
text
]
this
.
activeTab
=
tab
.
id
}
}
src/app/components/dashboard/dashboard.module.ts
View file @
26ab1f84
...
...
@@ -30,7 +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
{
SectionRegistrationComponent
}
from
'../company-registration/branch-business-unit/section-registration/section-registration.component'
;
import
{
JobDescriptionComponent
}
from
'../job-description/job-description.component'
;
import
{
EmployeeGroupUnit
}
from
'../job-description/employee-group-unit/employee-group
-unit.component'
;
import
{
PositionUnitComponent
}
from
'../job-description/position/position
-unit.component'
;
@
NgModule
({
declarations
:
[
SalesComponent
,
...
...
@@ -57,7 +57,7 @@ import { EmployeeGroupUnit } from '../job-description/employee-group-unit/employ
SubDepartmentThreeComponent
,
SubDepartmentFourComponent
,
JobDescriptionComponent
,
EmployeeGroupUnit
,
PositionUnitComponent
],
imports
:
[
CommonModule
,
...
...
src/app/components/job-description/job-description.component.html
View file @
26ab1f84
...
...
@@ -17,11 +17,12 @@
</ul>
<div
class=
"tab-content"
>
<div
*
ngIf=
"activeTab === 'tab1'"
class=
"tab-pane"
>
<app-employee-group-unit></app-employee-group-unit>
</div>
<div
*
ngIf=
"activeTab === 'tab2'"
class=
"tab-pane"
>
<div
class=
"mt-5"
>
<app-position-unit
[
pathTitle
]="
pathTitle
"
(
sendPathTitle
)="
pathTitle=
$event"
></app-position-unit>
</div>
</div>
</div>
...
...
src/app/components/job-description/position/position-unit.component.html
0 → 100644
View file @
26ab1f84
This diff is collapsed.
Click to expand it.
src/app/components/job-description/position/position-unit.component.scss
0 → 100644
View file @
26ab1f84
/* สไตล์ของแถบเมนู */
.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/position/position-unit.component.ts
0 → 100644
View file @
26ab1f84
import
{
Component
,
EventEmitter
,
Input
,
Output
}
from
'@angular/core'
;
@
Component
({
selector
:
'app-position-unit'
,
templateUrl
:
'./position-unit.component.html'
,
styleUrls
:
[
'./position-unit.component.scss'
]
})
export
class
PositionUnitComponent
{
@
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/styles.scss
View file @
26ab1f84
...
...
@@ -499,6 +499,30 @@ ngx-dropzone {
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
{
box-shadow
:
rgba
(
149
,
157
,
165
,
0
.2
)
0px
6px
24px
;
}
...
...
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