...
|
...
|
@@ -39,10 +39,10 @@ func (t *TaskItem) GenStatusDescript() { |
|
|
if domain.TaskState(t.Status) == domain.TaskStop {
|
|
|
statusNamed = "已停止"
|
|
|
}
|
|
|
if t.CurrentStage.Id == 0 && t.LastStage.PlanCompletedAt < t.LastStage.RealCompletedAt {
|
|
|
if t.LastStage.Id > 0 && t.CurrentStage.Id == 0 && t.LastStage.PlanCompletedAt < t.LastStage.RealCompletedAt {
|
|
|
statusNamed = "逾期完成"
|
|
|
}
|
|
|
if t.CurrentStage.Id == 0 && t.LastStage.PlanCompletedAt >= t.LastStage.RealCompletedAt {
|
|
|
if t.LastStage.Id > 0 && t.CurrentStage.Id == 0 && t.LastStage.PlanCompletedAt >= t.LastStage.RealCompletedAt {
|
|
|
statusNamed = "如期完成"
|
|
|
}
|
|
|
|
...
|
...
|
|