Merge branch dev/bug-63548 of zentao/zentaopms (#9941)

This commit is contained in:
刘刚
2025-06-26 10:44:49 +08:00
committed by Gitfox
+6 -2
View File
@@ -76,8 +76,12 @@ $hiddenTeam = $task->mode != '' ? '' : 'hidden';
$disabledEstStarted = $project && $project->taskDateLimit == 'limit' && !empty($parentTask) && helper::isZeroDate($parentTask->estStarted);
$disabledDeadline = $project && $project->taskDateLimit == 'limit' && !empty($parentTask) && helper::isZeroDate($parentTask->deadline);
$execution->canStartExecution = $this->loadModel('execution')->checkStageStatus($execution->id, 'start');
$task->executionInfo = $execution;
/* 检查是否可以开始执行。*/
if($this->config->edition == 'ipd')
{
$execution->canStartExecution = $this->loadModel('execution')->checkStageStatus($execution->id, 'start');
$task->executionInfo = $execution;
}
if($task->status == 'wait') unset($statusOptions['pause']);