public function treestructureAction()
 {
     $treeobj = new Officedefault_Model_officedefault();
     $branch = $treeobj->getBranch();
     $alloffice = $treeobj->fetchoffice();
     if (count($alloffice)) {
         $this->view->rootname = $alloffice[0]['name'];
     }
     $branchId = $treeobj->getBranchId();
     if ($branchId) {
         $this->view->branchId = $branchId[0]['id'];
     }
 }