This commit is contained in:
hufangzhou
2021-03-30 09:31:32 +08:00
parent f8c83e6ab7
commit 95c604cef6
3 changed files with 11 additions and 4 deletions
+9 -2
View File
@@ -258,7 +258,14 @@ class task extends control
}
$execution = $this->execution->getById($executionID);
$taskLink = $this->createLink('execution', 'browse', "executionID=$executionID&tab=task");
if($this->app->openApp == 'my')
{
$taskLink = $this->createLink('my', 'work', 'mode=task');
}
else
{
$taskLink = $this->createLink('execution', 'browse', "executionID=$executionID");
}
$storyLink = $this->session->storyList ? $this->session->storyList : $this->createLink('execution', 'story', "executionID=$executionID");
/* Set menu. */
@@ -279,7 +286,7 @@ class task extends control
/* Locate the browser. */
if(!empty($iframe)) $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => 'parent'));
$this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => $storyLink));
$this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => $taskLink));
}
/* Set Custom*/