taskVoJson | string | √ | 11 | 请求入参方式application/x-www-form-urlencoded | {
"executors": [
],
"taskDeps": [
87846,
87847
],
"taskName": "任务参数",
"inspectorIds": [
512174639
],
"ccpersonIds": [
512535874
],
"executorSelectType": 4,
"importance": 0,
"remark": "任务描述",
"richRemark": "",
"startTime": "2024-11-28 00:00:00",
"endTime": "2024-11-29 23:59:59",
"attachments": [
{
"attachNames": "",
"attachmentUrls": ""
}
],
"executionDetails": [
{
"remark": "明细222",
"urlList": [
],
"id": 53597,
"deleted": 0,
"attachLimit": 2,
"attachMaxLimit": 50,
"notifyType": 0,
"sort": 1
},
{
"remark": "明细1",
"urlList": [
],
"attachLimit": 1,
"attachMaxLimit": 50,
"notifyType": 0,
"appointNotifyTimes":"",
"pointInTimes":"",
"sort": 1
,
"deleted": 1
},
{
"remark": "明细2",
"urlList": [
"g"
],
"attachLimit": 2,
"attachMaxLimit": 50,
"notifyType": 0,
"sort": 2
}
],
"isExecutionDetail": 1,
"enableAI": false,
"AIModel": "",
"thirdPartyId": null,
"lableId": "17261",
"attachLimit": 1,
"attachMaxLimit": 50,
"enableDetailComment": false,
"enableRealtimeShooting": true,
"notifies": [
{
"notifyType": 1,
"duration": 30
}
],
"startOfNotifies": [
{
"notifyType": -1,
"duration": 30,
"notifyObjects": "1,2,3,0"
}
],
"expireNotify": {
"remindInspector": false,
"remindCc": true,
"appointUsers":""
},
"isConfigure": 1,
"enableReject": 1,
"taskAttach": [
{
"url": "hpg",
"isPicture": 1,
"isVideo": 0
}
],
"taskId": 87172
} |
executionDetails | string | √ | 0 | 集合格式 | [ // 执行明细 { // 1、修改明细id必传,deleted= 0 "remark": "明细222", "urlList": [ "https://ovopark-oss-dev.oss-cn-hangzhou.aliyuncs.com/oa-task/1084/web/2024/11/27/e6ivwRE0PoiDAFW.png" ], "id": 53597, "deleted": 0, "attachLimit": 2, "attachMaxLimit": 50, "notifyType": 0, "sort": 1 } { // 2、删除明细 "remark": "明细1", // 明细描述 "urlList": [ // 明细图片地址URL "https://ovopark-oss-dev.oss-cn-hangzhou.aliyuncs.com/oa-task/1084/web/2024/11/27/9QBuqAKIuwStZuV.png", "https://ovopark-oss-dev.oss-cn-hangzhou.aliyuncs.com/oa-task/1084/web/2024/11/27/6y6O40YTC0UEwC2.jpg" ], "attachLimit": 1, // 上传最小数量 "attachMaxLimit": 50,// 最大上传数量 "notifyType": 0, //通知类型,0 不提醒,1每天按照时间点提醒 取pointInTimes 2 指定时间提醒 取appointNotifyTimes "appointNotifyTimes":"",//指定时间,String 格式(yyyy-MM-dd HH:mm:ss),多个英文逗号分隔(目前支持一个即可) "pointInTimes":"",//指定时间点,String 格式(HH:mm:ss),多个英文逗号分隔(目前支持一个即可) "sort": 1// 明细排序, "id": 53596, // 修改明细对应的ID "deleted": 1, // 是否删除 }, { // 3、新增明细,id 和deleted不需要 "remark": "明细2", "urlList": [ "https://ovopark-oss-dev.oss-cn-hangzhou.aliyuncs.com/oa-task/1084/web/2024/11/27/e6ivwRE0PoiDAFW.png" ], "attachLimit": 2, "attachMaxLimit": 50, "notifyType": 0, "sort": 2 } ] |
notifies | int | × | 0 | // 到期前提醒 | [ // 到期前提醒 { "notifyType": 1,// 通知类型,1:分钟前,2:小时前,3 天 "duration": 30 //具体时长,分钟或者小时、天 } ], "startOfNotifies": [ // 开始前提醒 { "notifyType": -1,// 开始前通知类型,-1:分钟前,-2:小时前,-3 天 "duration": 30,//具体时长,分钟或者小时、天 "notifyObjects": "1,2,3,0" //通知对象 0 创建人,1执行人 2 审核人 3 抄送人 ,多个英文逗号分隔 } ], "expireNotify": { // 到期后未执行情况提醒。 overdueTaskDefaultClose=0 可配置生效 "remindInspector": false, // 提醒审核人 "remindCc": true, // 提醒抄送人 "appointUsers":"[{"userId":512504938,"userName":"geyang"},{"userId":512520033,"userName":"geyangcs"}]" // 提醒指定人,需要用户ID,用户名。限制任务20人 }, "isConfigure": 1,// 是否要上传照片/视频 "enableReject": 1, "taskAttach": [ // 任务图片/视频 { "url": "https://ovopark-oss-dev.oss-cn-hangzhou.aliyuncs.com/oa-task/1084/web/2024/11/27/SC7XjAQkJVEe2qs.jpg", // 图片地址URL "isPicture": 1, //图片1 "isVideo": 0 // 视频1 } ] |