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"></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> </Row>
<TaskRow v-if="projectParameter('showCompleted')" :list="completedList" open-key="completed" @command="dropTask" @on-priority="addTaskOpen" showCompleteAt/> <TaskRow v-if="projectParameter('showCompleted')" :list="completedList" open-key="completed" @command="dropTask" @on-priority="addTaskOpen" showCompleteAt/>
</div> </div>

View File

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

View File

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

View File

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