* fix UI of tree edit view.

This commit is contained in:
Catouse
2016-04-27 16:32:03 +08:00
parent c281641e65
commit 281173aefe
4 changed files with 69 additions and 15 deletions
+4
View File
@@ -37,6 +37,10 @@ class dept extends control
$parentDepts = $this->dept->getParents($deptID);
$this->view->title = $this->lang->dept->manage . $this->lang->colon . $this->app->company->name;
$this->view->position[] = $this->lang->dept->manage;
$this->view->deptID = $deptID;
$this->view->depts = $this->dept->getTreeMenu($rootDeptID = 0, array('deptmodel', 'createManageLink'));
$this->view->parentDepts = $parentDepts;
$this->view->sons = $this->dept->getSons($deptID);
$this->view->tree = $this->dept->getFullTree(0);
$this->display();
}