* [bug#52568,done,1h] Add vision for compatibling with viewing drill data.

This commit is contained in:
daitingting
2024-07-17 17:51:15 +08:00
committed by 綦新志
parent 64adbc1a74
commit 84a42e2a20
3 changed files with 7 additions and 6 deletions
+2 -2
View File
@@ -889,9 +889,9 @@ class taskZen extends task
* @access protected
* @return void
*/
protected function commonAction(int $taskID): void
protected function commonAction(int $taskID, string $vision = ''): void
{
$this->view->task = $this->task->getByID($taskID);
$this->view->task = $this->task->getByID($taskID, true, $vision);
$this->view->execution = $this->execution->getByID($this->view->task->execution);
$this->view->members = $this->loadModel('user')->getTeamMemberPairs($this->view->execution->id, 'execution','nodeleted');
$this->view->actions = $this->loadModel('action')->getList('task', $taskID);