>[warning] 使用前必須引入**Todo**模型
use app\common\model\sys\Todo as TodoModel;
#### createRead()-創建閱辦
>[info] createRead($data=array()){}
### 參數
* data:閱辦數據
* moduleno:模塊編號
* sano:單據編號
* title:單據標題
* table:關聯的數據表的名稱
* reader_id:閱辦用戶,支持數組或半角逗號分割的多個用戶
```php
$data =array(
'sano' =>'DEMO201900001',
'moduleno' =>'DEMO',
'table' =>'db_demo',
'title' =>'這是一個標題',
'reader_id' =>'1,84,106'
);
```
>[success]返回值 array
### error
```php
array(
'code' => 0,
'msg' => '提示信息'
)
```
### success
```php
array(
'code' => 1,
'msg' => 'success'
)
```
- 空白目錄
- 簡介
- 前端
- 組件
- 文件上傳
- 用戶選擇
- 組織機構選擇
- 角色崗位選擇
- 崗位選擇
- 用戶組選擇
- 高拍儀上傳
- 公共類庫
- 組織機構
- 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