This commit is contained in:
tanghucheng
2024-01-18 17:46:37 +08:00
parent aec6f8e536
commit 7b9dfd83f4
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -5488,6 +5488,7 @@ class executionModel extends model
{
$canStart = $execution->status == 'wait' ? $execution->ipdStage['canStart'] : 1;
if($execution->status == 'close') $canStart = false;
if($project->parallel) $canStart = true;
$task->ipdStage = new stdclass();
$task->ipdStage->canStart = $canStart;
$task->ipdStage->taskStartTip = sprintf($this->lang->execution->disabledTip->taskStartTip, $this->lang->stage->ipdTypeList[$execution->ipdStage['preAttribute']], $this->lang->stage->ipdTypeList[$execution->attribute]);