>[warning] 使用前必須引入**Organization**模型
use app\common\model\sys\Organization as OrgModel;
#### getAllChildIds()-獲取指定的組織機構節點下的所有的子組織機構節點的編號
>[info] getAllChildIds($orgId,&$res=array()){}
### 參數
* orgId:組織機構編號
* res:輸出參數,結果集
>[success]示例代碼
```php
$this->model = new OrgModel;
$ids ='';//組織結構編號
$arrIds =array();
if($ids){
$this->model->getAllChildIds($ids,$arrIds);
}
```
- 空白目錄
- 簡介
- 前端
- 組件
- 文件上傳
- 用戶選擇
- 組織機構選擇
- 角色崗位選擇
- 崗位選擇
- 用戶組選擇
- 高拍儀上傳
- 公共類庫
- 組織機構
- bindToOrg
- bindusertoremote
- getAncestors
- getAllChildIds
- getByOrgId
- getByThirdAppPkId
- getChilds
- getChildsCount
- getMasterOrg
- getOrgUserById
- getOrgUser
- getOrgRoleData
- getOrgRoleQuota
- getOrgRoleUserCount
- getParents
- getPosteritys
- getTreeArray
- getUserOrgs
- getUserOrgCount
- getUserOrgRoleInfo
- hasChild
- hasMasterOrg
- hasBind
- isOrgUser
- updateOrg
- 用戶管理
- getAuthorInfo
- getByDuty
- getByGroup
- getByMobile
- getByOrg
- getByUserId
- getByUserName
- getByRole
- getByToken
- getByThirdUserId
- getUserOrgs
- getUserRoles
- getUserList
- 統一待辦
- createTodo
- createHandle
- createRead
- removeTodo
- getTodoList
- setReaded