开发者社区> 问答> 正文

钉钉OA创建审批TableField 类型 创建一直报 “创建审批实例系统异常”

请求参数为

{
    "deptId": 48449665,
    "formComponentValues": [
        {
            "details": [
                {
                    "name": "出差地点",
                    "value": "长沙"
                },
                {
                    "name": "[\"开始时间\",\"结束时间\"]",
                    "value": "[\"2024-12-28\",\"2024-12-30\"]"
                }
            ],
            "name": "行程明细",
            "value": "[{\"name\":\"出差地点\",\"value\":\"长沙\"},{\"name\":\"[\\\"开始时间\\\",\\\"结束时间\\\"]\",\"value\":\"[\\\"2024-12-28\\\",\\\"2024-12-30\\\"]\"}]"
        },
        {
            "name": "出差事由",
            "value": "出差事由测试"
        }
    ],
    "originatorUserId": "2254610831851554",
    "processCode": "PROC-650A071B-C217-4756-8F51-2C62E73D22EA",
    "targetSelectActioners": [
        {
            "actionerKey": "f002_6f21",
            "actionerUserIds": [
                "010738286769838537"
            ]
        }
    ]
}

模板参数


{
    "result": {
        "creatorUserId": "bpms_system",
        "gmtModified": "2024-12-09T14:06Z",
        "formUuid": "FORM-CFF44BF0-6DDD-46D3-822D-ECA070FE788D",
        "ownerIdType": "orgId",
        "formCode": "PROC-650A071B-C217-4756-8F51-2C62E73D22EA",
        "icon": "https://img.alicdn.com/imgextra/i3/O1CN011JkyFi29g1Ov9ZBPB_!!6000000008096-0-tps-480-480.jpg",
        "memo": "适用于出差申请,精确汇总至考勤报表",
        "engineType": 0,
        "gmtCreate": "2017-07-08T13:19Z",
        "schemaContent": {
            "icon": "trip",
            "title": "出差",
            "items": [
                {
                    "children": [
                        {
                            "componentName": "TextField",
                            "props": {
                                "id": "出差地点",
                                "label": "出差地点",
                                "required": true
                            }
                        },
                        {
                            "componentName": "DDBusinessField",
                            "props": {
                                "id": "DDBusinessField-J2BWQFAF",
                                "label": "[\"开始时间\",\"结束时间\"]",
                                "required": true
                            }
                        }
                    ],
                    "componentName": "TableField",
                    "props": {
                        "staffStatusEnabled": false,
                        "holidayOptions": [],
                        "statField": [],
                        "id": "TableField-MINGXI",
                        "label": "行程明细",
                        "push": {},
                        "actionName": "增加行程明细"
                    }
                },
                {
                    "componentName": "TextareaField",
                    "props": {
                        "staffStatusEnabled": false,
                        "holidayOptions": [],
                        "id": "出差事由",
                        "label": "出差事由",
                        "placeholder": "请输入出差事由",
                        "required": false,
                        "push": {}
                    }
                },
                {
                    "componentName": "DDPhotoField",
                    "props": {
                        "staffStatusEnabled": false,
                        "holidayOptions": [],
                        "id": "图片",
                        "label": "图片",
                        "push": {}
                    }
                }
            ]
        },
        "appUuid": "ding85c92b509e9ffcb235c2f4657eb6378f",
        "appType": 0,
        "visibleRange": "PRIVATE",
        "listOrder": 2,
        "name": "出差",
        "status": "PUBLISHED",
        "procType": "inner"
    }
}

展开
收起
lekcivj6stgew 2024-12-27 13:38:55 14 0
1 条回答
写回答
取消 提交回答
  • 能够确定的是 TableField 异常是因为,单独测试了接口,能够正常请求

    2024-12-27 14:03:53
    赞同 16 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
使命必达:钉钉企业级消息服务的机遇与挑战 立即下载
钉钉小程序——为工作方式插上翅膀 立即下载
《云市场-心选OA解决方案》 立即下载