mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-15 05:12:49 +00:00
fix: 项目任务列表甘特图去掉'已完成'任务及样式优化
This commit is contained in:
parent
6368ee5c12
commit
2e7ff88be6
@ -135,7 +135,7 @@ export default {
|
||||
//
|
||||
let color = '#058ce4';
|
||||
if (taskData.complete_at) {
|
||||
color = '#c1c1c1';
|
||||
return;
|
||||
} else {
|
||||
// 等级颜色
|
||||
this.levelList.some(level => {
|
||||
@ -230,6 +230,7 @@ export default {
|
||||
} else {
|
||||
this.lists.some((task) => {
|
||||
if (task.id == item.id) {
|
||||
this.$set(task, 'time', item.backTime);
|
||||
return true;
|
||||
}
|
||||
})
|
||||
|
||||
@ -88,8 +88,8 @@
|
||||
<div class="project-gantt-item"
|
||||
:class="{active:projectGanttShow}"
|
||||
@click="projectGanttShow=!projectGanttShow">
|
||||
<Icon type="ios-paper-outline" size="26" />
|
||||
{{ $L('甘特图') }}
|
||||
<Icon type="ios-paper-outline" size="26"/>
|
||||
<label class="gantt-name">{{ $L('甘特图') }}</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -78,7 +78,7 @@
|
||||
.item-title {
|
||||
flex: 1;
|
||||
padding-right: 12px;
|
||||
cursor: default;
|
||||
cursor: pointer;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
@ -238,6 +238,7 @@
|
||||
white-space: nowrap;
|
||||
margin-left: 4px;
|
||||
margin-right: 10px;
|
||||
cursor:pointer;
|
||||
}
|
||||
.timeline-resizer {
|
||||
height: 22px;
|
||||
|
||||
@ -240,16 +240,25 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
.project-gantt-item{
|
||||
padding-left:5px;
|
||||
&.active{
|
||||
|
||||
.project-gantt-item {
|
||||
padding-left: 5px;
|
||||
display: flex;
|
||||
|
||||
&.active {
|
||||
color: $primary-color;
|
||||
}
|
||||
.force-right{
|
||||
&.act{
|
||||
|
||||
.force-right {
|
||||
&.act {
|
||||
color: #2A53FF;
|
||||
}
|
||||
}
|
||||
|
||||
.gantt-name {
|
||||
font-size: 13px;
|
||||
padding-top: 6%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user