* [bug#55370,doing,1h] reset account items.

This commit is contained in:
tianshujie
2025-01-14 14:11:13 +08:00
committed by 曹延义
parent c93465cc28
commit e47ad6bd57
3 changed files with 37 additions and 21 deletions
+6 -1
View File
@@ -2247,9 +2247,14 @@ class execution extends control
if($execution->type == 'kanban') $this->lang->execution->copyTeamTitle = str_replace($this->lang->execution->common, $this->lang->execution->kanban, $this->lang->execution->copyTeamTitle);
$users = $this->loadModel('user')->getPairs('noclosed|nodeleted|devfirst', $appendUsers);
$userItems = array();
foreach($users as $account => $realName) $userItems[$account] = array('value' => $account, 'text' => $realName, 'keys' => $account, 'disabled' => false);
$this->view->title = $this->lang->execution->manageMembers . $this->lang->hyphen . $execution->name;
$this->view->execution = $execution;
$this->view->users = $this->loadModel('user')->getPairs('noclosed|nodeleted|devfirst', $appendUsers);
$this->view->users = $users;
$this->view->userItems = $userItems;
$this->view->roles = $this->user->getUserRoles(array_keys($this->view->users));
$this->view->dept = $dept;
$this->view->depts = $this->dept->getOptionMenu();