* Finish task #41555.

This commit is contained in:
tianshujie98
2021-08-18 15:10:18 +08:00
parent 9d619b3c6f
commit 8153dbc094
2 changed files with 2 additions and 3 deletions
-2
View File
@@ -25,8 +25,6 @@ $config->execution->customBatchEditFields = 'days,type,teamname,status,desc,PO,Q
$config->execution->custom = new stdclass();
$config->execution->custom->batchEditFields = 'days,status,PM';
$config->execution->skipCreate = array('computeburn', 'ajaxgetdropmenu', 'executionkanban', 'ajaxgetteammembers');
$config->execution->editor = new stdclass();
$config->execution->editor->create = array('id' => 'desc', 'tools' => 'simpleTools');
$config->execution->editor->edit = array('id' => 'desc', 'tools' => 'simpleTools');
+2 -1
View File
@@ -41,7 +41,8 @@ class execution extends control
$this->loadModel('project');
$this->executions = $this->execution->getPairs(0, 'all', 'nocode');
if(!in_array($this->methodName, $this->config->execution->skipCreate) and $this->app->openApp == 'execution')
$skipCreateStep = array('computeburn', 'ajaxgetdropmenu', 'executionkanban', 'ajaxgetteammembers');
if(!in_array($this->methodName, $skipCreateStep) and $this->app->openApp == 'execution')
{
if(!$this->executions and $this->methodName != 'index' and $this->methodName != 'create' and $this->app->getViewType() != 'mhtml') $this->locate($this->createLink('execution', 'create'));
}