This commit is contained in:
kuaifan 2022-01-08 00:23:34 +08:00
parent 2e75e6ffb6
commit bf6f8de7fa
4 changed files with 6 additions and 3 deletions

View File

@ -328,7 +328,7 @@
<Col span="3"></Col>
<Col span="3"></Col>
<Col span="3"></Col>
<Col span="3">{{$L('完成时间')}}</Col>
<Col span="3">{{projectData.task_num > 0 && projectParameter('showCompleted') ? $L('完成时间') : ''}}</Col>
</Row>
<TaskRow v-if="projectParameter('showCompleted')" :list="completedList" open-key="completed" @command="dropTask" @on-priority="addTaskOpen" showCompleteAt/>
</div>

View File

@ -110,7 +110,7 @@
<Col span="3" class="row-user">
<ul @click="openTask(item)">
<li v-for="(user, keyu) in ownerUser(item.task_user)" :key="keyu" v-if="keyu < 3">
<UserAvatar :userid="user.userid" size="32" :borderWitdh="2" :borderColor="item.color"/>
<UserAvatar :userid="user.userid" size="32" :borderWitdh="2" :borderColor="item.color" :showName="ownerUser(item.task_user).length === 1"/>
</li>
<li v-if="ownerUser(item.task_user).length === 0" class="no-owner">
<Button type="primary" size="small" @click.stop="openTask(item, true)">{{$L('领取任务')}}</Button>

View File

@ -38,7 +38,7 @@
}
}
.avatar-name {
padding-left: 8px;
padding-left: 6px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;

View File

@ -758,7 +758,9 @@
white-space: nowrap;
display: flex;
align-items: center;
cursor: pointer;
> li {
max-width: 100%;
list-style: none;
display: inline-block;
margin-left: -6px;
@ -778,6 +780,7 @@
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
cursor: pointer;
&.overdue,
&.today {
color: #ffffff;