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

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">
<!--morning-off:오전 afternoon-off:오후 day-off:휴가 long-time:장기 leave-of-absence:휴직-->
<div>
<span class="work-status afternoon-off">오후</span>
<span class="name"> <span class="name">
<b>{{ userInfo | ucapTranslate: 'name' }}</b> <b>{{ userInfo | ucapTranslate: 'name' }}</b>
{{ userInfo | ucapTranslate: 'grade' }} {{ userInfo | ucapTranslate: 'grade' }}
</span> </span>
</div>
<span class="dept"> <span class="dept">
{{ userInfo | ucapTranslate: 'deptName' }} {{ userInfo | ucapTranslate: 'deptName' }}
</span> </span>

View File

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

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;
}
}