查看任务详情(我的任务模块)
<p><strong>简要描述:</strong> </p>
<ul>
<li>查看任务详情(我的任务模块)</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>{{address}}/admin/workflowTask/getTaskDetail</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>GET </li>
</ul>
<p><strong>参数:</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">taskId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>任务id</td>
</tr>
<tr>
<td style="text-align: left;">userId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>用户id</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"code": 0,
"data": {
"id": 13,
"taskState": 1,
"taskStateName": "待认领",
"resourcePlatformName": "数据大脑",
"taskContent": "工作流内容",
"taskName": "任务名称lwt",
"taskNodeList": [
{
"alive": true,
"nodeName": "创建任务",
"nodeRemark": [
"数据大脑",
"2019-01-17 20:46:49"
]
},
{
"alive": false,
"nodeName": "待认领",
"nodeRemark": [
"XXX2"
]
},
{
"alive": false,
"nodeName": "待认领",
"nodeRemark": [
"XXX2",
"XXX3"
]
},
{
"alive": false,
"nodeName": "未完结"
}
],
"noticePeopleList": [
{
"headerUrl": "",
"name": "管理员"
}
],
"buttonList": [
"claim"// "claim","认领","resolve","解决","via","通过","reject","驳回"
]
},
"msg": "success"
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>