查询工单信息
<h2>查询工单信息</h2>
<h3>接口描述</h3>
<p>该接口用于查询工单的完整信息</p>
<h3>请求方式</h3>
<p>GET</p>
<h3>请求地址</h3>
<p><code>/nrl/api/workOrder/info</code></p>
<h3>请求参数</h3>
<ul>
<li><font color='red'>header需要带授权X-Token</font></li>
</ul>
<table>
<thead>
<tr>
<th>参数名</th>
<th>参数类型</th>
<th>是否必填</th>
<th>参数描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>workOrderNo</td>
<td>string</td>
<td>是</td>
<td>工单号</td>
</tr>
</tbody>
</table>
<h3>响应参数</h3>
<table>
<thead>
<tr>
<th>参数名</th>
<th>参数类型</th>
<th>参数描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>workOrderNo</td>
<td>string</td>
<td>工单号</td>
</tr>
<tr>
<td>status</td>
<td>string</td>
<td>工单状态(0:未提交,1:已提交)</td>
</tr>
<tr>
<td>roomId</td>
<td>int</td>
<td>机房ID</td>
</tr>
<tr>
<td>roomName</td>
<td>string</td>
<td>机房名称</td>
</tr>
<tr>
<td>roomImg</td>
<td>string</td>
<td>机房图片</td>
</tr>
<tr>
<td>creatorId</td>
<td>int</td>
<td>创建人ID</td>
</tr>
<tr>
<td>creatorName</td>
<td>int</td>
<td>创建人姓名</td>
</tr>
<tr>
<td>auditorId</td>
<td>int</td>
<td>审核人ID</td>
</tr>
<tr>
<td>auditorName</td>
<td>string</td>
<td>审核人姓名</td>
</tr>
<tr>
<td>auditorRole</td>
<td>int</td>
<td>审核人角色(1:管理员, 2:审核员,3:核查人员,4:审定员)</td>
</tr>
<tr>
<td>auditStatus</td>
<td>string</td>
<td>审核状态 (0:未审核,1:审核通过,2:审核不通过)</td>
</tr>
<tr>
<td>auditRemark</td>
<td>string</td>
<td>审核意见</td>
</tr>
<tr>
<td>points</td>
<td>array</td>
<td>信息点位</td>
</tr>
<tr>
<td>points.point</td>
<td>int</td>
<td>信息点位</td>
</tr>
<tr>
<td>points.name</td>
<td>string</td>
<td>点位名称</td>
</tr>
<tr>
<td>points.prompt</td>
<td>string</td>
<td>点位提示文字</td>
</tr>
<tr>
<td>points.location</td>
<td>string</td>
<td>点位位置</td>
</tr>
<tr>
<td>points.chkImgs</td>
<td>[]string</td>
<td>核查照片地址</td>
</tr>
<tr>
<td>points.chkStatus</td>
<td>string</td>
<td>核查状态(0:未核查,1:核查通过,2:核查不通过)</td>
</tr>
<tr>
<td>points.chkType</td>
<td>string</td>
<td>判别类型(【测试正常】、【判断符合】)</td>
</tr>
<tr>
<td>points.chkUserId</td>
<td>int</td>
<td>核查人ID</td>
</tr>
<tr>
<td>points.chkUserName</td>
<td>string</td>
<td>核查人姓名</td>
</tr>
<tr>
<td>points.chkTime</td>
<td>string</td>
<td>核查时间</td>
</tr>
<tr>
<td>points.remark</td>
<td>string</td>
<td>备注说明</td>
</tr>
</tbody>
</table>
<h3>响应示例</h3>
<pre><code class="language-json">{
&quot;code&quot;: 200,
&quot;message&quot;: &quot;操作成功&quot;,
&quot;data&quot;: {
&quot;workOrderNo&quot;: &quot;2023090611234501&quot;,
&quot;status&quot;: &quot;1&quot;,
&quot;roomId&quot;: 1,
&quot;roomName&quot;: &quot;测试机房&quot;,
&quot;roomImg&quot;: &quot;http://***.jpg&quot;,
&quot;creatorId&quot;: 1,
&quot;creatorName&quot;: &quot;核查员甲&quot;,
&quot;auditorId&quot;: 2,
&quot;auditorRole&quot;: 2,
&quot;auditorName&quot;: &quot;审核人乙&quot;,
&quot;auditStatus&quot;: &quot;0&quot;,
&quot;auditRemark&quot;: &quot;&quot;,
&quot;points&quot;: [
{
&quot;point&quot;: 1,
&quot;name&quot;: &quot;点位名称&quot;,
&quot;prompt&quot;: &quot;点位提示文字&quot;,
&quot;location&quot;: &quot;点位位置&quot;,
&quot;chkImgs&quot;: [&quot;http://nrl.oss-cn-shenzhen.aliyuncs.com/nrl/images/20200607/5b07ca8aN4e127d2f.jpg&quot;,&quot;http://nrl.oss-cn-shenzhen.aliyuncs.com/nrl/images/20200607/5b07ca8aN4e127d2f.jpg&quot;],
&quot;chkStatus&quot;: &quot;1&quot;,
&quot;chkType&quot;: &quot;【判断符合】&quot;,
&quot;chkUserId&quot;: 1,
&quot;chkUserName&quot;: &quot;核查人姓名&quot;,
&quot;chkTime&quot;: &quot;2023-09-07 12:32:43&quot;,
&quot;remark&quot;: &quot;审核通过&quot;
},
{
&quot;point&quot;: 2,
&quot;name&quot;: &quot;点位名称&quot;,
&quot;prompt&quot;: &quot;点位提示文字&quot;,
&quot;location&quot;: &quot;点位位置&quot;,
&quot;chkImgs&quot;: [&quot;http://nrl.oss-cn-shenzhen.aliyuncs.com/nrl/images/20200607/5b07ca8aN4e127d2f.jpg&quot;,&quot;http://nrl.oss-cn-shenzhen.aliyuncs.com/nrl/images/20200607/5b07ca8aN4e127d2f.jpg&quot;],
&quot;chkStatus&quot;: &quot;1&quot;,
&quot;chkType&quot;: &quot;【判断符合】&quot;,
&quot;chkUserId&quot;: 1,
&quot;chkUserName&quot;: &quot;核查人姓名&quot;,
&quot;chkTime&quot;: &quot;2023-09-07 12:32:43&quot;,
&quot;remark&quot;: &quot;审核通过&quot;
},
{
&quot;point&quot;: 3,
&quot;name&quot;: &quot;点位名称&quot;,
&quot;prompt&quot;: &quot;点位提示文字&quot;,
&quot;location&quot;: &quot;点位位置&quot;,
&quot;chkStatus&quot;: &quot;0&quot; // 该点位未核查
}
]
}
}</code></pre>
<h3>错误码</h3>
<table>
<thead>
<tr>
<th>错误码</th>
<th>错误信息</th>
</tr>
</thead>
<tbody>
<tr>
<td>500</td>
<td>操作失败</td>
</tr>
<tr>
<td>401</td>
<td>暂未登录或token已经过期</td>
</tr>
<tr>
<td>403</td>
<td>没有相关权限</td>
</tr>
<tr>
<td>404</td>
<td>参数检验失败</td>
</tr>
</tbody>
</table>