新增任务信息接口
# 新增任务
### 路径
| | |
| ------ | -------------------------------- |
| url | [api/taskInfo/addTaskInfoForNotify] |
| method | POST |
### 参数
| name | type | 是否必要 | 描述 |
| ------------------ | ------- | --------- | ---------------------- | ------------- |
| taskName | String| Y | 任务名称 | 1-人员 2-企业 |
| taskDesc| String | Y | 任务描述 | - |
| endTime| Date | Y | 结束时间 | - |
| executiveType| String | Y | 执行成员类型 1.组织 2.个人 | - |
| topEndOrgId| String| Y | 执行成员层级id | - |
| executorOverallForAddVOList| list| Y | 执行成员信息 | - |
| executorOrgLevelId| String | Y | 执行成员层级id | - |
| executorLevelName| String | Y | 执行成员成绩名称 | - |
| all| boolean| Y | 执行成员是否是层级所有人 | - |
| taskLevel| Integer| Y | 任务级别 0 一般 1 重要 | - |
| remindTypeList| Integer| Y | 提醒类型 2 邮件提醒 | - |
| taskExpirationRemindVOS| list| Y | 到期提醒列表 | - |
| taskInfoFileList| String | Y | 任务附件信息 | - |
| taskType| String | Y | 任务类型 3 督办落实 | - |
| taskTypeNew| String | Y | 1.学习任务 2督办落实 | - |
| remark| String | Y | 备注 | - |
| departmentType| String | Y | 部门类型1:行政部门 2:职能部门 | - |
### 传参示例
```javascript
{
"taskName":"这是一个立即执行的个人任务",
"taskDesc":"憨憨每天都在学习",
"startTime":"2020-06-12",
"endTime":"2020-06-30",
"executiveType":2,
"topEndOrgId":201,
"executorOverallForAddVOList":[
{
"orgId":"1",
"orgLevelId":109,
"orgCode":"1",
"levelInternalId":60,
"executorUserVOList":[
{
"executorId":201,
"executorName":"陈佳",
"orgId":1,
"orgName":"中央维稳办"
}
]
}
],
"executorOrgLevelId":109,
"executorLevelName":"中央维稳办",
"all":false,
"taskLevel":0,
"remindTypeList":[
3
],
"expirationRemind":1,
"taskExpirationRemindVOS":[
{
"aheadDays":1,
"remindMoment":"08:30"
}
],
"taskInfoFileList":[
{
"fileId":"278"
}
],
"taskType":3,
"taskTypeNew":"2",
"remark":"",
"departmentType":1
}
```
### 返回示例
```javascript
{
"success": true,
"data": true,
"errorCode": "",
"msg": ""
}
```