그룹리스트, 조직도 리스트- 휴가자 정보제공

This commit is contained in:
khk 2020-01-03 18:11:11 +09:00
parent 4ed2fd0dd3
commit 6542f08f35
3 changed files with 49 additions and 13 deletions

View File

@ -23,10 +23,14 @@
</dt> </dt>
<dd class="info"> <dd class="info">
<div class="detail"> <div class="detail">
<span class="name"> <!--morning-off:오전 afternoon-off:오후 day-off:휴가 long-time:장기 leave-of-absence:휴직-->
<b>{{ userInfo | ucapTranslate: 'name' }}</b> <div>
{{ userInfo | ucapTranslate: 'grade' }} <span class="work-status afternoon-off">오후</span>
</span> <span class="name">
<b>{{ userInfo | ucapTranslate: 'name' }}</b>
{{ userInfo | ucapTranslate: 'grade' }}
</span>
</div>
<span class="dept"> <span class="dept">
{{ userInfo | ucapTranslate: 'deptName' }} {{ userInfo | ucapTranslate: 'deptName' }}
</span> </span>

View File

@ -93,15 +93,29 @@ $thumbnail-msize: 40px;
padding: 0; padding: 0;
width: calc(100% - 50px); width: calc(100% - 50px);
.detail { .detail {
flex-flow: column; div {
.name { display: flex;
font-size: 13px; flex-flow: row;
margin-bottom: 2px; .work-status {
color: $font-dark; margin-right: 4px;
@include ellipsis(1); border-radius: 4px;
b { padding: 0 6px;
font-size: 16px; color: #ffffff;
font-weight: 600; font-size: 12px;
width: 40px;
justify-items: center;
height: 100%;
}
.name {
font-size: 13px;
margin-bottom: 2px;
color: $font-dark;
width: calc(100% - 40px);
@include ellipsis(1);
b {
font-size: 16px;
font-weight: 600;
}
} }
} }
.dept { .dept {

View File

@ -23,3 +23,21 @@
background-color: #f0c10a; background-color: #f0c10a;
} }
} }
.work-status {
&.morning-off {
background-color: #11845d;
}
&.afternoon-off {
background-color: #875acb;
}
&.day-off {
background-color: #2b98eb;
}
&.long-time {
background-color: #c72f20;
}
&.leave-of-absence {
background-color: #e7853e;
}
}