Merge branch 'sprint/215_liumengyi_25230' into 'master'

* Fix bug #25230, #25200,#24929.

See merge request easycorp/zentaopms!4579
This commit is contained in:
孙广明
2022-07-15 06:17:32 +00:00
3 changed files with 7 additions and 1 deletions
+4
View File
@@ -639,6 +639,10 @@ class projectModel extends model
{
$link = helper::createLink($module, $method, "projectID=%s");
}
elseif($module == 'programplan')
{
$link = helper::createLink('project', 'execution', "type=all&projectID=%s");
}
}
return $link;
+1 -1
View File
@@ -303,7 +303,7 @@ function setLane(regionID)
/* Get select of stories.*/
function setStories(moduleID, executionID)
{
link = createLink('story', 'ajaxGetExecutionStories', 'executionID=' + executionID + '&productID=0&branch=all&moduleID=' + moduleID + '&storyID=0&number=&type=full&status=unclosed');
link = createLink('story', 'ajaxGetExecutionStories', 'executionID=' + executionID + '&productID=0&branch=all&moduleID=' + moduleID + '&storyID=0&number=&type=full&status=active');
$.get(link, function(stories)
{
var storyID = $('#story').val();
+2
View File
@@ -1804,6 +1804,8 @@ class taskModel extends model
$data->assignedDate = $now;
$data->finishedBy = $this->app->user->account;
$data->finishedDate = $now;
$this->action->create('task', $taskID, 'Finished');
}
elseif($task->status == 'wait')
{