{
	"info": {
		"_postman_id": "b9bb8aa2-f4a2-42b3-bf9b-1ebed5915b6b",
		"name": "工作流activiti",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
	},
	"item": [
		{
			"name": "用户和组",
			"item": [
				{
					"name": "组",
					"item": [
						{
							"name": "(新增|更新)组",
							"request": {
								"method": "POST",
								"header": [],
								"body": {
									"mode": "raw",
									"raw": "{\r\n  \"deptId\": 2,\r\n  \"deptName\": \"研发部\"\r\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{address}}/definition/group",
									"host": [
										"{{address}}"
									],
									"path": [
										"definition",
										"group"
									]
								}
							},
							"response": [
								{
									"name": "(新增|更新)组",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\r\n  \"deptId\": 2,//部门id\r\n  \"deptName\": \"研发部\"//部门名称\r\n}",
											"options": {
												"raw": {
													"language": "json"
												}
											}
										},
										"url": {
											"raw": "{{address}}/definition/group",
											"host": [
												"{{address}}"
											],
											"path": [
												"definition",
												"group"
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json;charset=UTF-8"
										},
										{
											"key": "Transfer-Encoding",
											"value": "chunked"
										},
										{
											"key": "Date",
											"value": "Mon, 01 Mar 2021 08:09:45 GMT"
										}
									],
									"cookie": [],
									"body": "{\n    \"msg\": \"操作成功\",\n    \"code\": 200\n}"
								}
							]
						},
						{
							"name": "查看组列表",
							"request": {
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{address}}/service/model/group",
									"host": [
										"{{address}}"
									],
									"path": [
										"service",
										"model",
										"group"
									]
								}
							},
							"response": []
						},
						{
							"name": "删除组",
							"request": {
								"method": "DELETE",
								"header": [],
								"url": {
									"raw": "{{address}}/definition/group?id=1",
									"host": [
										"{{address}}"
									],
									"path": [
										"definition",
										"group"
									],
									"query": [
										{
											"key": "id",
											"value": "1",
											"description": "组id"
										}
									]
								}
							},
							"response": []
						}
					]
				},
				{
					"name": "用户",
					"item": [
						{
							"name": "(新增|更新)用户",
							"request": {
								"method": "POST",
								"header": [],
								"body": {
									"mode": "raw",
									"raw": "{\r\n  \"userId\": 1,\r\n  \"deptId\": null,\r\n  \"userName\": \"zdd\"\r\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{address}}/definition/user",
									"host": [
										"{{address}}"
									],
									"path": [
										"definition",
										"user"
									]
								}
							},
							"response": [
								{
									"name": "(新增|更新)用户",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\r\n  \"userId\": 1,//用户id\r\n  \"deptId\": null,//组id\r\n  \"userName\": \"zdd\"//用户名\r\n}",
											"options": {
												"raw": {
													"language": "json"
												}
											}
										},
										"url": {
											"raw": "{{address}}/definition/user",
											"host": [
												"{{address}}"
											],
											"path": [
												"definition",
												"user"
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json;charset=UTF-8"
										},
										{
											"key": "Transfer-Encoding",
											"value": "chunked"
										},
										{
											"key": "Date",
											"value": "Mon, 01 Mar 2021 08:14:33 GMT"
										}
									],
									"cookie": [],
									"body": "{\n    \"msg\": \"操作成功\",\n    \"code\": 200\n}"
								}
							]
						},
						{
							"name": "查看用户列表",
							"request": {
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{address}}/service/model/user",
									"host": [
										"{{address}}"
									],
									"path": [
										"service",
										"model",
										"user"
									]
								}
							},
							"response": []
						},
						{
							"name": "删除用户",
							"request": {
								"method": "DELETE",
								"header": [],
								"url": {
									"raw": "{{address}}/definition/user?id=1",
									"host": [
										"{{address}}"
									],
									"path": [
										"definition",
										"user"
									],
									"query": [
										{
											"key": "id",
											"value": "1",
											"description": "用户id"
										}
									]
								}
							},
							"response": []
						}
					]
				}
			]
		},
		{
			"name": "表单",
			"item": [
				{
					"name": "表单列表",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{address}}/formdata/list?pageNum=1&pageSize=10",
							"host": [
								"{{address}}"
							],
							"path": [
								"formdata",
								"list"
							],
							"query": [
								{
									"key": "pageNum",
									"value": "1",
									"description": "页码"
								},
								{
									"key": "pageSize",
									"value": "10",
									"description": "每页显示数"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "新增表单",
					"request": {
						"method": "PUT",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{   \r\n    \"userId\":\"1\",\r\n    \"modelKey\":\"1\",\r\n    \"modelVersion\":\"1\",\r\n    \"modulId\":\"1\",\r\n    \"fName\":\"1\",\r\n    \"fKey\":\"1\",\r\n    \"fVersion\":\"1\",\r\n    \"jsonData\":\"{\\\"formDesc\\\":{\\\"hrStatus\\\":{\\\"options\\\":[{\\\"text\\\":\\\"不同意\\\",\\\"value\\\":0},{\\\"text\\\":\\\"同意\\\",\\\"value\\\":1}],\\\"label\\\":\\\"状态\\\",\\\"type\\\":\\\"select\\\",\\\"required\\\":true},\\\"remark\\\":{\\\"label\\\":\\\"备注\\\",\\\"type\\\":\\\"textarea\\\",\\\"attrs\\\":{\\\"rows\\\":1},\\\"required\\\":true}}}\",\r\n    \"status\":1\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{address}}/formdata",
							"host": [
								"{{address}}"
							],
							"path": [
								"formdata"
							]
						}
					},
					"response": [
						{
							"name": "新增表单",
							"originalRequest": {
								"method": "PUT",
								"header": [],
								"body": {
									"mode": "raw",
									"raw": "{   \r\n    \"userId\":\"1\",//创建人\r\n    \"modelKey\":\"1\",//流程key\r\n    \"modelVersion\":\"1\",//流程版本号(保持一致和表单版本号)\r\n    \"modulId\":\"1\",//任务key\r\n    \"fName\":\"1\",//表单名称\r\n    \"fKey\":\"1\",//表单key\r\n    \"fVersion\":\"1\",//表单版本号(保持一致和流程版本号)\r\n    \"jsonData\":\"{\\\"formDesc\\\":{\\\"hrStatus\\\":{\\\"options\\\":[{\\\"text\\\":\\\"不同意\\\",\\\"value\\\":0},{\\\"text\\\":\\\"同意\\\",\\\"value\\\":1}],\\\"label\\\":\\\"状态\\\",\\\"type\\\":\\\"select\\\",\\\"required\\\":true},\\\"remark\\\":{\\\"label\\\":\\\"备注\\\",\\\"type\\\":\\\"textarea\\\",\\\"attrs\\\":{\\\"rows\\\":1},\\\"required\\\":true}}}\",\r\n    \"status\":1\r\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{address}}/formdata",
									"host": [
										"{{address}}"
									],
									"path": [
										"formdata"
									]
								}
							},
							"_postman_previewlanguage": null,
							"header": null,
							"cookie": [],
							"body": null
						}
					]
				},
				{
					"name": "更新表单",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"fId\":105,\r\n    \"modelKey\":\"assets_scrap\",\r\n    \"modelVersion\":1,\r\n    \"modulId\":\"hrTask\",\r\n    \"fName\":\"报废审批\",\r\n    \"fKey\":\"hr_form\",\r\n    \"fVersion\":1,\r\n   \"jsonData\":\"{\\\"formDesc\\\":{\\\"hrStatus\\\":{\\\"options\\\":[{\\\"text\\\":\\\"不同意\\\",\\\"value\\\":0},{\\\"text\\\":\\\"同意\\\",\\\"value\\\":1}],\\\"label\\\":\\\"状态\\\",\\\"type\\\":\\\"select\\\",\\\"required\\\":true},\\\"remark\\\":{\\\"label\\\":\\\"备注\\\",\\\"type\\\":\\\"textarea\\\",\\\"attrs\\\":{\\\"rows\\\":1},\\\"required\\\":true}}}\",\r\n    \"status\":1,\r\n    \"createBy\":\"1\",\r\n    \"createTime\":\"2020-07-31T06:16:14.000+0000\",\r\n    \"updateBy\":null,\r\n    \"updateTime\":\"2020-07-31T06:16:14.000+0000\"\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{address}}/formdata",
							"host": [
								"{{address}}"
							],
							"path": [
								"formdata"
							]
						}
					},
					"response": [
						{
							"name": "更新表单",
							"originalRequest": {
								"method": "POST",
								"header": [],
								"body": {
									"mode": "raw",
									"raw": "{\r\n    \"fId\":105,//id\r\n    \"modelKey\":\"assets_scrap\",//流程key\r\n    \"modelVersion\":1,//流程版本\r\n    \"modulId\":\"hrTask\",//任务id\r\n    \"fName\":\"报废审批\",//表单名称\r\n    \"fKey\":\"hr_form\",//表单key\r\n    \"fVersion\":1,//表单版本号\r\n   \"jsonData\":\"{\\\"formDesc\\\":{\\\"hrStatus\\\":{\\\"options\\\":[{\\\"text\\\":\\\"不同意\\\",\\\"value\\\":0},{\\\"text\\\":\\\"同意\\\",\\\"value\\\":1}],\\\"label\\\":\\\"状态\\\",\\\"type\\\":\\\"select\\\",\\\"required\\\":true},\\\"remark\\\":{\\\"label\\\":\\\"备注\\\",\\\"type\\\":\\\"textarea\\\",\\\"attrs\\\":{\\\"rows\\\":1},\\\"required\\\":true}}}\",\r\n    \"status\":1,\r\n    \"createBy\":\"1\",\r\n    \"createTime\":\"2020-07-31T06:16:14.000+0000\",\r\n    \"updateBy\":null,\r\n    \"updateTime\":\"2020-07-31T06:16:14.000+0000\"\r\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{address}}/formdata",
									"host": [
										"{{address}}"
									],
									"path": [
										"formdata"
									]
								}
							},
							"_postman_previewlanguage": null,
							"header": null,
							"cookie": [],
							"body": null
						}
					]
				},
				{
					"name": "删除表单",
					"request": {
						"method": "DELETE",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "[\"113\",\"114\"]",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{address}}/formdata",
							"host": [
								"{{address}}"
							],
							"path": [
								"formdata"
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "发布的流程",
			"item": [
				{
					"name": "流程列表",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{address}}/definition/list?pageNum=1&pageSize=10&title=",
							"host": [
								"{{address}}"
							],
							"path": [
								"definition",
								"list"
							],
							"query": [
								{
									"key": "pageNum",
									"value": "1"
								},
								{
									"key": "pageSize",
									"value": "10"
								},
								{
									"key": "title",
									"value": "",
									"description": "流程名称"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "查看发布的流程图",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{address}}/leaveNew/read-activiti?processDefinitionKey=assets_fault&version=1&t=0.8140752176705504",
							"host": [
								"{{address}}"
							],
							"path": [
								"leaveNew",
								"read-activiti"
							],
							"query": [
								{
									"key": "processDefinitionKey",
									"value": "assets_fault",
									"description": "流程图名称"
								},
								{
									"key": "version",
									"value": "1",
									"description": "版本号"
								},
								{
									"key": "t",
									"value": "0.8140752176705504",
									"description": "时间戳"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "删除已发布的流程图",
					"request": {
						"method": "DELETE",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "[\"19\"]",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{address}}/definition",
							"host": [
								"{{address}}"
							],
							"path": [
								"definition"
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "运行中的流程",
			"item": [
				{
					"name": "流程转办",
					"item": [
						{
							"name": "获取当前流程任务集合",
							"request": {
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{address}}/processInstance/listTask?processInstanceId=42501",
									"host": [
										"{{address}}"
									],
									"path": [
										"processInstance",
										"listTask"
									],
									"query": [
										{
											"key": "processInstanceId",
											"value": "42501",
											"description": "运行中的流程id"
										}
									]
								}
							},
							"response": []
						},
						{
							"name": "获取处理人集合",
							"request": {
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{address}}/processInstance/listUser",
									"host": [
										"{{address}}"
									],
									"path": [
										"processInstance",
										"listUser"
									]
								}
							},
							"response": []
						},
						{
							"name": "流程转办",
							"request": {
								"method": "POST",
								"header": [],
								"url": {
									"raw": "{{address}}/processInstance/transToOffice?taskId=42523&userId=1",
									"host": [
										"{{address}}"
									],
									"path": [
										"processInstance",
										"transToOffice"
									],
									"query": [
										{
											"key": "taskId",
											"value": "42523",
											"description": "任务id"
										},
										{
											"key": "userId",
											"value": "1",
											"description": "接手人"
										}
									]
								}
							},
							"response": []
						}
					]
				},
				{
					"name": "查看已经开始的流程列表",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{address}}/processInstance/list?pageNum=1&pageSize=10",
							"host": [
								"{{address}}"
							],
							"path": [
								"processInstance",
								"list"
							],
							"query": [
								{
									"key": "pageNum",
									"value": "1"
								},
								{
									"key": "pageSize",
									"value": "10"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "流程挂起",
					"request": {
						"method": "POST",
						"header": [],
						"url": {
							"raw": "{{address}}/processInstance/suspend?processInstanceId=11111&status=1",
							"host": [
								"{{address}}"
							],
							"path": [
								"processInstance",
								"suspend"
							],
							"query": [
								{
									"key": "processInstanceId",
									"value": "11111",
									"description": "运行中的流程id"
								},
								{
									"key": "status",
									"value": "1",
									"description": "0 激活 1挂起"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "流程进度查看",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{address}}/leaveNew/read-resource?processInstanceId=42501&t=0.357528171605205",
							"host": [
								"{{address}}"
							],
							"path": [
								"leaveNew",
								"read-resource"
							],
							"query": [
								{
									"key": "processInstanceId",
									"value": "42501",
									"description": "流程id"
								},
								{
									"key": "t",
									"value": "0.357528171605205",
									"description": "时间戳"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "删除流程实例",
					"request": {
						"method": "DELETE",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "[\"100001\"]",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{address}}/processInstance",
							"host": [
								"{{address}}"
							],
							"path": [
								"processInstance"
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "发起流程",
			"item": [
				{
					"name": "发起流程",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{ \r\n  \"userId\":\"1\",\r\n  \"processId\": \"assets_fault:1:2504\",\r\n  \"formId\": 1,\r\n  \"formKey\": \"assets_fault\",\r\n  \"dataMap\":{}\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{address}}/processInstance/commit",
							"host": [
								"{{address}}"
							],
							"path": [
								"processInstance",
								"commit"
							]
						}
					},
					"response": [
						{
							"name": "发起流程",
							"originalRequest": {
								"method": "POST",
								"header": [],
								"body": {
									"mode": "raw",
									"raw": "{ \r\n  \"userId\":\"1\",//发起人id\r\n  \"processId\": \"assets_fault:1:2504\",//已发布的流程id\r\n  \"formId\": 1,//表单id\r\n  \"formKey\": \"assets_fault\",//表单key\r\n  \"dataMap\":{}//提交的参数\r\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{address}}/processInstance/commit",
									"host": [
										"{{address}}"
									],
									"path": [
										"processInstance",
										"commit"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json;charset=UTF-8"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Date",
									"value": "Mon, 01 Mar 2021 09:16:22 GMT"
								}
							],
							"cookie": [],
							"body": "{\n    \"code\": 200,\n    \"msg\": null,\n    \"data\": \"22501\"\n}"
						}
					]
				}
			]
		},
		{
			"name": "待办|已办",
			"item": [
				{
					"name": "待办",
					"item": [
						{
							"name": "待办列表",
							"request": {
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{address}}/leaveNew/taskList?pageNum=1&pageSize=10&processDefinitionName=&userId=1",
									"host": [
										"{{address}}"
									],
									"path": [
										"leaveNew",
										"taskList"
									],
									"query": [
										{
											"key": "pageNum",
											"value": "1"
										},
										{
											"key": "pageSize",
											"value": "10"
										},
										{
											"key": "processDefinitionName",
											"value": "",
											"description": "流程名称"
										},
										{
											"key": "userId",
											"value": "1",
											"description": "代办人id"
										}
									]
								}
							},
							"response": []
						},
						{
							"name": "根据流程id获取到提交的表单信息",
							"request": {
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{address}}/leaveNew/taskFormData?modelKey=assets_fault&modelVersion=1&formKey=hr_form",
									"host": [
										"{{address}}"
									],
									"path": [
										"leaveNew",
										"taskFormData"
									],
									"query": [
										{
											"key": "modelKey",
											"value": "assets_fault",
											"description": "流程key"
										},
										{
											"key": "modelVersion",
											"value": "1",
											"description": "流程版本"
										},
										{
											"key": "formKey",
											"value": "hr_form",
											"description": "表单key"
										}
									]
								}
							},
							"response": []
						},
						{
							"name": "获取提交表单模板",
							"request": {
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{address}}/leaveNew/taskFormData?modelKey=assets_fault&modelVersion=1&formKey=hr_form",
									"host": [
										"{{address}}"
									],
									"path": [
										"leaveNew",
										"taskFormData"
									],
									"query": [
										{
											"key": "modelKey",
											"value": "assets_fault",
											"description": "流程key"
										},
										{
											"key": "modelVersion",
											"value": "1",
											"description": "流程版本"
										},
										{
											"key": "formKey",
											"value": "hr_form",
											"description": "表单key"
										}
									]
								}
							},
							"response": []
						},
						{
							"name": "审核数据",
							"request": {
								"method": "POST",
								"header": [],
								"body": {
									"mode": "raw",
									"raw": "{   \r\n    \"user\":{\r\n        \"userId\":1,\r\n        \"userName\":\"admin\",\r\n        \"dept\":{\r\n            \"deptName\":\"研发部\"\r\n        }\r\n    },\r\n    \"taskId\":\"15017\",\r\n    \"myFormDataActiviti\":{\r\n        \"modelKey\":\"assets_fault\",\r\n        \"modelVersion\":1,\r\n        \"modulId\":\"hrTask\",\r\n        \"fName\":\"报废审批\",\r\n        \"fKey\":\"hr_form\",\r\n        \"fVersion\":1,\r\n\t\t\"jsonData\":\"{\\\"formDesc\\\":{\\\"hrStatus\\\":{\\\"options\\\":[{\\\"text\\\":\\\"不同意\\\",\\\"value\\\":0},{\\\"text\\\":\\\"同意\\\",\\\"value\\\":1}],\\\"label\\\":\\\"状态\\\",\\\"type\\\":\\\"select\\\",\\\"required\\\":true},\\\"remark\\\":{\\\"label\\\":\\\"备注\\\",\\\"type\\\":\\\"textarea\\\",\\\"attrs\\\":{\\\"rows\\\":1},\\\"required\\\":true}},\\\"rules\\\":{},\\\"formData\\\":{\\\"hrStatus\\\":1,\\\"remark\\\":\\\"111\\\"}}\",\r\n        \"status\":1,\r\n        \"createBy\":\"1\",\r\n        \"createTime\":\"2020-07-31T06:16:14.000+0000\",\r\n        \"updateBy\":null,\r\n        \"updateTime\":\"2020-07-31T06:16:14.000+0000\",\r\n        \"instanceId\":\"55091\",\r\n        \"processDefinitionName\":\"报障申请流程\",\r\n        \"taskName\":\"人事审批\",\r\n        \"workNum\":\"BF-20210112-000006\",\r\n        \"title\":\"dddddddssss-报废工单\",\r\n        \"creatUserName\":\"超级管理员\",\r\n        \"creatDeptName\":\"贵阳银行总行\",\r\n        \"creatFormTime\":\"2021-01-12T07:31:18.000+0000\"\r\n    }\r\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{address}}/leaveNew/taskCommit",
									"host": [
										"{{address}}"
									],
									"path": [
										"leaveNew",
										"taskCommit"
									]
								}
							},
							"response": [
								{
									"name": "审核数据",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{   \r\n    \"user\":{\r\n        \"userId\":1,//提交人id\r\n        \"userName\":\"admin\",//提交人名称\r\n        \"dept\":{\r\n            \"deptName\":\"研发部\"//部门名称\r\n        }\r\n    },\r\n    \"taskId\":\"15017\",//任务id\r\n    \"myFormDataActiviti\":{//表单数据(根据流程获取表单模型并填充数据)\r\n        \"modelKey\":\"assets_fault\",\r\n        \"modelVersion\":1,\r\n        \"modulId\":\"hrTask\",\r\n        \"fName\":\"报废审批\",\r\n        \"fKey\":\"hr_form\",\r\n        \"fVersion\":1,\r\n\t\t\"jsonData\":\"{\\\"formDesc\\\":{\\\"hrStatus\\\":{\\\"options\\\":[{\\\"text\\\":\\\"不同意\\\",\\\"value\\\":0},{\\\"text\\\":\\\"同意\\\",\\\"value\\\":1}],\\\"label\\\":\\\"状态\\\",\\\"type\\\":\\\"select\\\",\\\"required\\\":true},\\\"remark\\\":{\\\"label\\\":\\\"备注\\\",\\\"type\\\":\\\"textarea\\\",\\\"attrs\\\":{\\\"rows\\\":1},\\\"required\\\":true}},\\\"rules\\\":{},\\\"formData\\\":{\\\"hrStatus\\\":1,//填充值(必填) \\\"remark\\\":\\\"111\\\"}}\",\r\n        \"status\":1,//是否可用 0 不可用 1 可用\r\n        \"createBy\":\"1\",//处理人id\r\n        \"createTime\":\"2020-07-31T06:16:14.000+0000\",\r\n        \"updateBy\":null,\r\n        \"updateTime\":\"2020-07-31T06:16:14.000+0000\",\r\n        \"instanceId\":\"55091\",//运行中的流程id\r\n        \"processDefinitionName\":\"报障申请流程\",//流程名称\r\n        \"taskName\":\"人事审批\",//任务名称\r\n        \"workNum\":\"BF-20210112-000006\",//工地编码\r\n        \"title\":\"dddddddssss-报废工单\",//工单名称\r\n        \"creatUserName\":\"超级管理员\",//处理人名称\r\n        \"creatDeptName\":\"贵阳银行总行\",//处理人组名称\r\n        \"creatFormTime\":\"2021-01-12T07:31:18.000+0000\"//表单提交时间\r\n    }\r\n}",
											"options": {
												"raw": {
													"language": "json"
												}
											}
										},
										"url": {
											"raw": "{{address}}/leaveNew/taskCommit",
											"host": [
												"{{address}}"
											],
											"path": [
												"leaveNew",
												"taskCommit"
											]
										}
									},
									"_postman_previewlanguage": null,
									"header": null,
									"cookie": [],
									"body": null
								}
							]
						},
						{
							"name": "进度查看",
							"request": {
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{address}}/leaveNew/read-resource?processInstanceId=15001&t=0.5138637912911199",
									"host": [
										"{{address}}"
									],
									"path": [
										"leaveNew",
										"read-resource"
									],
									"query": [
										{
											"key": "processInstanceId",
											"value": "15001",
											"description": "运行中的流程id"
										},
										{
											"key": "t",
											"value": "0.5138637912911199",
											"description": "时间戳"
										}
									]
								}
							},
							"response": []
						}
					]
				},
				{
					"name": "已办",
					"item": [
						{
							"name": "已办列表",
							"request": {
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{address}}/leaveNew/taskDoneList?pageNum=1&pageSize=10&processDefinitionName=&userId=1",
									"host": [
										"{{address}}"
									],
									"path": [
										"leaveNew",
										"taskDoneList"
									],
									"query": [
										{
											"key": "pageNum",
											"value": "1"
										},
										{
											"key": "pageSize",
											"value": "10"
										},
										{
											"key": "processDefinitionName",
											"value": "",
											"description": "流程名称"
										},
										{
											"key": "userId",
											"value": "1",
											"description": "处理人id"
										}
									]
								}
							},
							"response": []
						},
						{
							"name": "进度查看",
							"request": {
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{address}}/leaveNew/read-resource?processInstanceId=15001&t=0.5138637912911199",
									"host": [
										"{{address}}"
									],
									"path": [
										"leaveNew",
										"read-resource"
									],
									"query": [
										{
											"key": "processInstanceId",
											"value": "15001",
											"description": "运行中的流程id"
										},
										{
											"key": "t",
											"value": "0.5138637912911199",
											"description": "时间戳"
										}
									]
								}
							},
							"response": []
						}
					]
				}
			]
		},
		{
			"name": "一次流程提交",
			"item": [
				{
					"name": "流程列表",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{address}}/definition/list?pageNum=1&pageSize=10&title=&beginTime=&endTime=",
							"host": [
								"{{address}}"
							],
							"path": [
								"definition",
								"list"
							],
							"query": [
								{
									"key": "pageNum",
									"value": "1"
								},
								{
									"key": "pageSize",
									"value": "10"
								},
								{
									"key": "title",
									"value": ""
								},
								{
									"key": "beginTime",
									"value": ""
								},
								{
									"key": "endTime",
									"value": ""
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "表单列表",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{address}}/formdata/list?pageNum=1&pageSize=10&beginTime=&endTime=",
							"host": [
								"{{address}}"
							],
							"path": [
								"formdata",
								"list"
							],
							"query": [
								{
									"key": "pageNum",
									"value": "1"
								},
								{
									"key": "pageSize",
									"value": "10"
								},
								{
									"key": "beginTime",
									"value": ""
								},
								{
									"key": "endTime",
									"value": ""
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "发起流程",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{ \r\n  \"userId\":\"1\",\r\n  \"processId\": \"assets_fault:1:2504\",\r\n  \"formId\": 1,\r\n  \"formKey\": \"assets_fault\",\r\n  \"dataMap\":{}\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{address}}/processInstance/commit",
							"host": [
								"{{address}}"
							],
							"path": [
								"processInstance",
								"commit"
							]
						}
					},
					"response": []
				},
				{
					"name": "待办列表",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{address}}/leaveNew/taskList?pageNum=1&pageSize=10&processDefinitionName=&userId=1",
							"host": [
								"{{address}}"
							],
							"path": [
								"leaveNew",
								"taskList"
							],
							"query": [
								{
									"key": "pageNum",
									"value": "1"
								},
								{
									"key": "pageSize",
									"value": "10"
								},
								{
									"key": "processDefinitionName",
									"value": ""
								},
								{
									"key": "userId",
									"value": "1"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "根据流程id获取到提交的表单信息",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{address}}/leaveNew/taskFormData?modelKey=assets_fault&formKey=hr_form&modelVersion=1",
							"host": [
								"{{address}}"
							],
							"path": [
								"leaveNew",
								"taskFormData"
							],
							"query": [
								{
									"key": "modelKey",
									"value": "assets_fault"
								},
								{
									"key": "formKey",
									"value": "hr_form"
								},
								{
									"key": "modelVersion",
									"value": "1"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "审核数据",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{   \r\n    \"user\":{\r\n        \"userId\":1,\r\n        \"userName\":\"admin\",\r\n        \"dept\":{\r\n            \"deptName\":\"研发部\"\r\n        }\r\n    },\r\n    \"taskId\":\"15017\",\r\n    \"myFormDataActiviti\":{\r\n        \"modelKey\":\"assets_fault\",\r\n        \"modelVersion\":1,\r\n        \"modulId\":\"hrTask\",\r\n        \"fName\":\"报废审批\",\r\n        \"fKey\":\"hr_form\",\r\n        \"fVersion\":1,\r\n\t\t\"jsonData\":\"{\\\"formDesc\\\":{\\\"hrStatus\\\":{\\\"options\\\":[{\\\"text\\\":\\\"不同意\\\",\\\"value\\\":0},{\\\"text\\\":\\\"同意\\\",\\\"value\\\":1}],\\\"label\\\":\\\"状态\\\",\\\"type\\\":\\\"select\\\",\\\"required\\\":true},\\\"remark\\\":{\\\"label\\\":\\\"备注\\\",\\\"type\\\":\\\"textarea\\\",\\\"attrs\\\":{\\\"rows\\\":1},\\\"required\\\":true}},\\\"rules\\\":{},\\\"formData\\\":{\\\"hrStatus\\\":1,\\\"remark\\\":\\\"111\\\"}}\",\r\n        \"status\":1,\r\n        \"createBy\":\"1\",\r\n        \"createTime\":\"2020-07-31T06:16:14.000+0000\",\r\n        \"updateBy\":null,\r\n        \"updateTime\":\"2020-07-31T06:16:14.000+0000\",\r\n        \"instanceId\":\"55091\",\r\n        \"processDefinitionName\":\"报障申请流程\",\r\n        \"taskName\":\"人事审批\",\r\n        \"workNum\":\"BF-20210112-000006\",\r\n        \"title\":\"dddddddssss-报废工单\",\r\n        \"creatUserName\":\"超级管理员\",\r\n        \"creatDeptName\":\"贵阳银行总行\",\r\n        \"creatFormTime\":\"2021-01-12T07:31:18.000+0000\"\r\n    }\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{address}}/leaveNew/taskCommit",
							"host": [
								"{{address}}"
							],
							"path": [
								"leaveNew",
								"taskCommit"
							]
						}
					},
					"response": []
				},
				{
					"name": "查看已经开始的流程列表",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{address}}/processInstance/list?pageNum=1&pageSize=10",
							"host": [
								"{{address}}"
							],
							"path": [
								"processInstance",
								"list"
							],
							"query": [
								{
									"key": "pageNum",
									"value": "1"
								},
								{
									"key": "pageSize",
									"value": "10"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "进度查看",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{address}}/leaveNew/read-resource?processInstanceId=15001&t=0.5138637912911199",
							"host": [
								"{{address}}"
							],
							"path": [
								"leaveNew",
								"read-resource"
							],
							"query": [
								{
									"key": "processInstanceId",
									"value": "15001",
									"description": "运行中的流程id"
								},
								{
									"key": "t",
									"value": "0.5138637912911199",
									"description": "时间戳"
								}
							]
						}
					},
					"response": []
				}
			]
		}
	],
	"event": [
		{
			"listen": "prerequest",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		},
		{
			"listen": "test",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		}
	],
	"variable": [
		{
			"key": "address",
			"value": ""
		}
	]
}