+ Add setAppObjectID of program.

This commit is contained in:
zhujinyong
2021-03-17 11:39:32 +08:00
parent a2cbb0e242
commit 9f512843af
+3
View File
@@ -102,6 +102,7 @@ class program extends control
if(empty($program) || $program->type != 'program') die(js::error($this->lang->notFound) . js::locate('back'));
$this->lang->program->switcherMenu = $this->program->getSwitcher($programID, true);
commonModel::setAppObjectID('program', $programID);
/* Load pager and get tasks. */
$this->app->loadClass('pager', $static = true);
@@ -395,6 +396,7 @@ class program extends control
$this->app->session->set('projectList', $this->app->getURI(true));
$this->lang->program->switcherMenu = $this->program->getSwitcher($programID, true);
commonModel::setAppObjectID('program', $programID);
$this->loadModel('datatable');
@@ -435,6 +437,7 @@ class program extends control
public function stakeholder($programID = 0, $orderBy = 't1.id_desc', $recTotal = 0, $recPerPage = 15, $pageID = 1)
{
$this->lang->program->switcherMenu = $this->program->getSwitcher($programID, true);
commonModel::setAppObjectID('program', $programID);
/* Load pager and get tasks. */
$this->app->loadClass('pager', $static = true);