本帖最后由 剁椒鱼头. 于 2021-8-10 15:38 编辑
{
"errcode":0,
"errmsg":"ok",
"process_instance":{
"form_component_values":[
{
"component_type":"TextField",
"name":"申请人",
"id":"TextField-IZRW7H7H",
"value":"姚丽"
},
{
"component_type":"TextField",
"name":"申请部门/项目",
"id":"TextField-K4V54FCQ",
"value":"锦绣佳苑"
},
{
"component_type":"DDSelectField",
"name":"报销类别",
"ext_value":"{\"label\":\"网络通讯费\",\"key\":\"option_CC1JR0F9P1S8\"}",
"id":"DDSelectField-IZRW7H7G",
"value":"网络通讯费"
},
{
"component_type":"RecipientAccountField",
"name":"收款账户",
"ext_value":"{\"identityType\":\"DINGTALK_ACCOUNT\",\"name\":\"姚丽\",\"id\":\"1\",\"jobNumber\":\"\",\"isSelf\":\"1\"}",
"id":"RecipientAccountField-Z77WVMDW",
"value":"姚丽"
},
{
"component_type":"TableField",
"name":"报销明细",
"ext_value":"{\"statValue\":[{\"id\":\"报销金额(元)\",\"label\":\"总报销金额(元)\",\"upper\":\"壹佰贰拾元整\",\"num\":\"120\"}],\"componentName\":\"TableField\"}",
"id":"TableField-MINGXI",
"value":"[{\"rowValue\":[{\"componentType\":\"CalculateField\",\"bizAlias\":\"payCalculateField\",\"label\":\"报销金额(元)\",\"value\":\"120\",\"key\":\"报销金额(元)\"},{\"componentType\":\"TextareaField\",\"label\":\"备注\",\"value\":\"管家手机话费\",\"key\":\"TextareaField-IZRWNO36\"}]}]"
},
{
"component_type":"DDPhotoField",
"name":"纸质档拍照",
"id":"图片",
"value":"[\"https://static.dingtalk.com/media/lADPDg7mRFc1NE3NBQDNA8A_960_1280.jpg\",\"https://static.dingtalk.com/media/lADPDh0cPupTSYfNBQDNA8A_960_1280.jpg\"]"
},
{
"component_type":"DDAttachment",
"name":"电子档文件",
"id":"DDAttachment-J4G9OXE8",
"value":"null"
}
],
"create_time":"2021-07-02 18:07:39",
"attached_process_instance_ids":[],
"cc_userids":[
"054546545938364359",
"186433261026061499",
"03543546271156210076"
],
"originator_dept_name":"锦绣佳苑-管理部",
"originator_userid":"1829600766733091",
"title":"姚丽提交的日常费用报销审请单",
"finish_time":"2021-07-06 16:31:48",
"result":"agree",
"originator_dept_id":"490481745",
"business_id":"202107021807000387624",
"tasks":[
{
"task_status":"COMPLETED",
"create_time":"2021-07-04 14:19:16",
"activity_id":"8994_8d55",
"task_result":"AGREE",
"userid":"4636091132426498",
"finish_time":"2021-07-06 14:49:13",
"taskid":"69295732664",
"url":"aflow.dingtalk.com?procInsId=8c943e79-9513-4bb3-b455-06bd082460f3&taskId=69295732664&businessId=202107021807000387624"
},
{
"task_status":"COMPLETED",
"create_time":"2021-07-02 18:07:39",
"activity_id":"8290_521a",
"task_result":"AGREE",
"userid":"1829600766733091",
"finish_time":"2021-07-02 18:09:45",
"taskid":"69334498594",
"url":"aflow.dingtalk.com?procInsId=8c943e79-9513-4bb3-b455-06bd082460f3&taskId=69334498594&businessId=202107021807000387624"
},
{
"task_status":"COMPLETED",
"create_time":"2021-07-06 14:54:18",
"activity_id":"5a17_9207",
"task_result":"AGREE",
"userid":"666924291146782",
"finish_time":"2021-07-06 16:31:48",
"taskid":"69362953121",
"url":"aflow.dingtalk.com?procInsId=8c943e79-9513-4bb3-b455-06bd082460f3&taskId=69362953121&businessId=202107021807000387624"
},
{
"task_status":"COMPLETED",
"create_time":"2021-07-02 18:09:45",
"activity_id":"4cec_7204",
"task_result":"AGREE",
"userid":"08501025141143870",
"finish_time":"2021-07-02 23:18:04",
"taskid":"69371015949",
"url":"aflow.dingtalk.com?procInsId=8c943e79-9513-4bb3-b455-06bd082460f3&taskId=69371015949&businessId=202107021807000387624"
},
{
"task_status":"COMPLETED",
"create_time":"2021-07-02 23:18:04",
"activity_id":"f2b2_b65d",
"task_result":"AGREE",
"userid":"185033071426033450",
"finish_time":"2021-07-04 14:19:16",
"taskid":"69373907064",
"url":"aflow.dingtalk.com?procInsId=8c943e79-9513-4bb3-b455-06bd082460f3&taskId=69373907064&businessId=202107021807000387624"
},
{
"task_status":"COMPLETED",
"create_time":"2021-07-06 14:49:13",
"activity_id":"99a1_97fa",
"task_result":"AGREE",
"userid":"0105446247783290",
"finish_time":"2021-07-06 14:54:18",
"taskid":"69419063523",
"url":"aflow.dingtalk.com?procInsId=8c943e79-9513-4bb3-b455-06bd082460f3&taskId=69419063523&businessId=202107021807000387624"
}
],
"biz_action":"NONE",
"operation_records":[
{
"date":"2021-07-02 18:07:38",
"operation_type":"START_PROCESS_INSTANCE",
"operation_result":"NONE",
"userid":"1829600766733091"
},
{
"date":"2021-07-02 18:09:45",
"operation_type":"EXECUTE_TASK_NORMAL",
"operation_result":"AGREE",
"remark":"属实",
"userid":"1829600766733091"
},
{
"date":"2021-07-02 23:18:03",
"operation_type":"EXECUTE_TASK_NORMAL",
"operation_result":"AGREE",
"remark":"",
"userid":"08501025141143870"
},
{
"date":"2021-07-04 14:19:15",
"operation_type":"EXECUTE_TASK_NORMAL",
"operation_result":"AGREE",
"remark":"",
"userid":"185033071426033450"
},
{
"date":"2021-07-06 14:49:12",
"operation_type":"EXECUTE_TASK_NORMAL",
"operation_result":"AGREE",
"remark":"",
"userid":"4636091132426498"
},
{
"date":"2021-07-06 14:54:18",
"operation_type":"EXECUTE_TASK_NORMAL",
"operation_result":"AGREE",
"remark":"",
"userid":"0105446247783290"
},
{
"date":"2021-07-06 16:31:47",
"operation_type":"EXECUTE_TASK_NORMAL",
"operation_result":"AGREE",
"remark":"",
"userid":"666924291146782"
},
{
"date":"2021-07-06 16:31:47",
"operation_type":"PROCESS_CC",
"operation_result":"NONE",
"remark":"",
"userid":"1829600766733091"
}
],
"status":"COMPLETED"
},
"request_id":"8a6k9lxvosyu"
}
这样一个json集 怎么解析到result 跟 status
其他数据都没有问题 就这一层集看不出来 也获取不出来 麻烦各位大佬给个解决方案
|