This commit is contained in:
guotao@cnezsoft.com
2011-03-13 01:12:43 +00:00
parent d7ede5d7c9
commit fbfa7ec422
2 changed files with 69 additions and 1 deletions
+6 -1
View File
@@ -180,9 +180,14 @@ class user extends control
/* Set menu. */
$this->user->setMenu($this->user->getPairs('noempty|noclosed'), $account);
$user = $this->user->getById($account);
$deptPath = $this->dept->getParents($user->dept);
$this->view->header = $header;
$this->view->position = $position;
$this->view->user = $this->user->getById($account);
$this->view->user = $user;
$this->view->deptPath = $deptPath;
$this->display();
}