* Add execution kanban list.

This commit is contained in:
孙广明
2022-01-11 11:17:41 +08:00
parent 9f778e38b5
commit 54fc83b0fc
13 changed files with 186 additions and 13 deletions
+2 -2
View File
@@ -632,7 +632,7 @@ class projectModel extends model
/**
* Get project pairs by model and project.
*
* @param string $model all|scrum|waterfall
* @param string $model all|scrum|waterfall|kanban
* @param int $programID
* @access public
* @return array
@@ -1776,7 +1776,7 @@ class projectModel extends model
$type = 'project';
if($this->config->systemMode == 'new')
{
if($project->type == 'sprint' or $project->type == 'stage') $type = 'execution';
if($project->type == 'sprint' or $project->type == 'stage' or $project->type == 'kanban') $type = 'execution';
}
$members = $this->dao->select("t1.account, if(t2.deleted='0', t2.realname, t1.account) as realname")->from(TABLE_TEAM)->alias('t1')