* [refac,done,0.2h] fix fieldList error.

This commit is contained in:
tianshujie
2024-11-26 16:20:33 +08:00
committed by 刘梦艺
parent 1410c24df9
commit 52f72f56c8
+1 -2
View File
@@ -71,14 +71,13 @@ if(!$this->cookie->showStage && !$this->cookie->showTask)
}
if(!$project->hasProduct) unset($fieldList['productName']);
$config->project->execution->dtable->fieldList = $fieldList;
$fieldList = $this->loadModel('datatable')->getSetting('project', 'execution');
$fieldList['name']['name'] = 'nameCol';
$fieldList['actions']['width'] = '160';
foreach(array_keys($fieldList['actions']['actionsMap']) as $actionKey) unset($fieldList['actions']['actionsMap'][$actionKey]['text']);
$config->project->execution->dtable->fieldList = $fieldList;
$executions = $this->execution->generateRow($executionStats, $users, $avatarList);
/* zin: Define the feature bar on main menu. */