资产维修首页接口
<p><strong>简要描述:</strong> </p>
<ul>
<li>进入资产维修首页需要调用的接口</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li>测试环境:<code>http://192.168.0.104:7280/RichOA/a/assetmanager/IAssetrepair/getAssetManageData</code></li>
<li>正式环境:<code>http://oa.richx.cn/a/assetmanager/IAssetrepair/getAssetManageData</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </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;">apiKey</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td></td>
</tr>
<tr>
<td style="text-align: left;">schoolId</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>{
&quot;ResponseObject&quot;: {
&quot;assetTypeList&quot;: [
{
&quot;assetTypeList&quot;: [
{
&quot;id&quot;: &quot;acc506ea61174951ba4f06742e9c03aa&quot;,
&quot;name&quot;: &quot;空调&quot;
},
{
&quot;id&quot;: &quot;38311d765d5a11e7929500155d00fd03&quot;,
&quot;name&quot;: &quot;电脑&quot;
},
{
&quot;id&quot;: &quot;6d782edf6d844c599f784a90dbad23f6&quot;,
&quot;name&quot;: &quot;复印机&quot;
},
{
&quot;id&quot;: &quot;b110bb0166164f62806e99b030d324df&quot;,
&quot;name&quot;: &quot;打印机&quot;
}
],
&quot;id&quot;: &quot;26b1867b5d5a11e7929500155d00fd03&quot;,
&quot;name&quot;: &quot;通用设备&quot;
},
{
&quot;assetTypeList&quot;: [
{
&quot;id&quot;: &quot;49c2b7f05fb211e7ad9800155d00fd03&quot;,
&quot;name&quot;: &quot;房屋&quot;
},
{
&quot;id&quot;: &quot;ae1f0596e14e4b00af5f558a591fa9f3&quot;,
&quot;name&quot;: &quot;复式建筑&quot;
},
{
&quot;id&quot;: &quot;07cfb7f00fc54be09f4d9cd9d07120b9&quot;,
&quot;name&quot;: &quot;构筑物&quot;
}
],
&quot;id&quot;: &quot;33f4453a5d5a11e7929500155d00fd03&quot;,
&quot;name&quot;: &quot;房屋及构筑物&quot;
},
{
&quot;assetTypeList&quot;: [
{
&quot;id&quot;: &quot;13553efe3d38423eb465664120268485&quot;,
&quot;name&quot;: &quot;6&quot;
},
{
&quot;id&quot;: &quot;27e1fa254b6b4a3c85180f0a23bcab7d&quot;,
&quot;name&quot;: &quot;3&quot;
},
{
&quot;id&quot;: &quot;3a093f1a77944f538d0a161d345adda1&quot;,
&quot;name&quot;: &quot;2&quot;
},
{
&quot;id&quot;: &quot;5ac53500a0874550be5163acaa61280a&quot;,
&quot;name&quot;: &quot;4&quot;
},
{
&quot;id&quot;: &quot;5f6e5e62fcce40e39f69e68cb72adb5d&quot;,
&quot;name&quot;: &quot;11&quot;
},
{
&quot;id&quot;: &quot;e98f0b2b136548eaa4c5452f64fcf884&quot;,
&quot;name&quot;: &quot;3&quot;
}
],
&quot;id&quot;: &quot;fe5267ab0dbc443a8eadc015b80b9b70&quot;,
&quot;name&quot;: &quot;3&quot;
},
{
&quot;assetTypeList&quot;: [],
&quot;id&quot;: &quot;b067e6ca7c69415e9899b753c1169422&quot;,
&quot;name&quot;: &quot;4&quot;
},
{
&quot;assetTypeList&quot;: [],
&quot;id&quot;: &quot;04d66d5fb003414caced7928be05b686&quot;,
&quot;name&quot;: &quot;2&quot;
},
{
&quot;assetTypeList&quot;: [
{
&quot;id&quot;: &quot;5065a994e8964d6f8b9e179fb388307a&quot;,
&quot;name&quot;: &quot;足球&quot;
},
{
&quot;id&quot;: &quot;7751fb53f1d948d6b28d387487077e40&quot;,
&quot;name&quot;: &quot;乒乓球&quot;
},
{
&quot;id&quot;: &quot;d521da1402854295a8fd90f5dd921b76&quot;,
&quot;name&quot;: &quot;羽毛球&quot;
},
{
&quot;id&quot;: &quot;da9ddc4304b04c35a9c9b59ac2514c0c&quot;,
&quot;name&quot;: &quot;篮球&quot;
}
],
&quot;id&quot;: &quot;4aa267c395de4ebebf6e8bb7c01c2960&quot;,
&quot;name&quot;: &quot;体育器材&quot;
}
],
&quot;departmentList&quot;: [
{
&quot;id&quot;: &quot;3&quot;,
&quot;isNewRecord&quot;: false,
&quot;client&quot;: 0,
&quot;sort&quot;: 30,
&quot;departmentName&quot;: &quot;九年级组&quot;,
&quot;updateTime&quot;: &quot;2017-11-23 20:11:03&quot;,
&quot;createTime&quot;: &quot;2017-08-18 15:32:06&quot;,
&quot;code&quot;: &quot;2009&quot;,
&quot;user&quot;: {
&quot;isNewRecord&quot;: true,
&quot;client&quot;: 0,
&quot;userId&quot;: &quot;87966&quot;,
&quot;state&quot;: &quot;0&quot;,
&quot;realName&quot;: &quot;小李&quot;,
&quot;superAdmin&quot;: false,
&quot;roleNames&quot;: &quot;&quot;,
&quot;admin&quot;: false
},
&quot;isAttendance&quot;: &quot;0&quot;,
&quot;isRepair&quot;: &quot;0&quot;,
&quot;schoolZone&quot;: &quot;eastZone&quot;,
&quot;schoolZoneName&quot;: &quot;东校区&quot;,
&quot;userList&quot;: [
{
&quot;isNewRecord&quot;: true,
&quot;client&quot;: 0,
&quot;userId&quot;: &quot;87966&quot;,
&quot;state&quot;: &quot;0&quot;,
&quot;bindPhone&quot;: &quot;15605526123&quot;,
&quot;userDetail&quot;: {
&quot;isNewRecord&quot;: true,
&quot;client&quot;: 0,
&quot;realName&quot;: &quot;小李&quot;,
&quot;code&quot;: &quot;RICH1001&quot;,
&quot;headImg&quot;: &quot;http://img-avatar.richx.cn/head/avatar_default.png&quot;
},
&quot;realName&quot;: &quot;小李&quot;,
&quot;superAdmin&quot;: false,
&quot;roleNames&quot;: &quot;&quot;,
&quot;admin&quot;: false
}
],
&quot;parentId&quot;: &quot;0&quot;
},
{
&quot;id&quot;: &quot;132&quot;,
&quot;isNewRecord&quot;: false,
&quot;client&quot;: 0,
&quot;sort&quot;: 30,
&quot;departmentName&quot;: &quot;维修部&quot;,
&quot;updateTime&quot;: &quot;2017-11-21 09:53:49&quot;,
&quot;createTime&quot;: &quot;2017-11-21 09:53:49&quot;,
&quot;code&quot;: &quot;repair&quot;,
&quot;isAttendance&quot;: &quot;0&quot;,
&quot;isRepair&quot;: &quot;0&quot;,
&quot;schoolZone&quot;: &quot;eastZone&quot;,
&quot;schoolZoneName&quot;: &quot;东校区&quot;,
&quot;userList&quot;: [
{
&quot;isNewRecord&quot;: true,
&quot;client&quot;: 0,
&quot;userId&quot;: &quot;310&quot;,
&quot;state&quot;: &quot;0&quot;,
&quot;bindPhone&quot;: &quot;13851580154&quot;,
&quot;userDetail&quot;: {
&quot;isNewRecord&quot;: true,
&quot;client&quot;: 0,
&quot;realName&quot;: &quot;盛银江&quot;,
&quot;code&quot;: &quot;000004&quot;,
&quot;headImg&quot;: &quot;http://img-avatar.richx.cn/user/310/a1501149305641-351570159.jpg&quot;
},
&quot;realName&quot;: &quot;盛银江&quot;,
&quot;superAdmin&quot;: false,
&quot;roleNames&quot;: &quot;&quot;,
&quot;admin&quot;: false
}
],
&quot;parentId&quot;: &quot;0&quot;
}
],
&quot;zoneList&quot;: [
{
&quot;isNewRecord&quot;: true,
&quot;client&quot;: 0,
&quot;value&quot;: &quot;eastZone&quot;,
&quot;label&quot;: &quot;东校区&quot;
},
{
&quot;isNewRecord&quot;: true,
&quot;client&quot;: 0,
&quot;value&quot;: &quot;westZone&quot;,
&quot;label&quot;: &quot;西校区&quot;
}
]
},
&quot;ResponseCode&quot;: 0,
&quot;ResponseResult&quot;: &quot;数据获取成功&quot;
}</code></pre>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>