图片权限管理选择框
<h5>简要描述</h5>
<ul>
<li>图片权限管理选择框</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>/VehiclePicManage/allUnits</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST</li>
</ul>
<h5>请求示例</h5>
<pre><code>unitType: 0</code></pre>
<h5>请求参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">unitType</td>
<td style="text-align: left;">否</td>
<td>int</td>
<td>单位类型(0:全部,1:当前用户的单位)默认是0</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
&quot;code&quot;: 200,
&quot;msg&quot;: &quot;成功&quot;,
&quot;data&quot;: [
{
&quot;name&quot;: &quot;组织机构&quot;,
&quot;id&quot;: &quot;00000000000000000000000000000000&quot;,
&quot;type&quot;: 0,
&quot;nodeList&quot;: [
{
&quot;name&quot;: &quot;sdlkjaskd&quot;,
&quot;id&quot;: &quot;2ee98b23809445a3ad309ca839282cf0&quot;,
&quot;type&quot;: 0
},
{
&quot;name&quot;: &quot;广东利通科技投资有限公司&quot;,
&quot;id&quot;: &quot;5523668b8745464b98eeced0c3720e81&quot;,
&quot;type&quot;: 0,
&quot;nodeList&quot;: [
{
&quot;name&quot;: &quot;广东利通科技投资有限公司智能交通研究院&quot;,
&quot;id&quot;: &quot;5996ca3bd389439a831c0c424d009eac&quot;,
&quot;type&quot;: 0,
&quot;nodeList&quot;: [
{
&quot;name&quot;: &quot;智慧收费研发部&quot;,
&quot;id&quot;: &quot;196a5333ca1046349db3de4e25e6dc37&quot;,
&quot;type&quot;: 0
},
{
&quot;name&quot;: &quot;数字交通研发部&quot;,
&quot;id&quot;: &quot;c681a8b95b3a4ed9a9c3b7276485524a&quot;,
&quot;type&quot;: 0,
&quot;nodeList&quot;: [
{
&quot;name&quot;: &quot;公共组件产品线&quot;,
&quot;id&quot;: &quot;178b42e4de694f5082f4a73039e9b56b&quot;,
&quot;type&quot;: 0
},
{
&quot;name&quot;: &quot;大数据应用产品线&quot;,
&quot;id&quot;: &quot;9278ebbab03242558137e19f74a9fb53&quot;,
&quot;type&quot;: 0
},
{
&quot;name&quot;: &quot;监控产品线&quot;,
&quot;id&quot;: &quot;d446e07cd59c427a83ac3a5e1379870b&quot;,
&quot;type&quot;: 0
}
]
},
{
&quot;name&quot;: &quot;测hi是&quot;,
&quot;id&quot;: &quot;608cd35bce9745ccbc4dd96baad736b1&quot;,
&quot;type&quot;: 1
}
]
},
{
&quot;name&quot;: &quot;广州新软计算机技术有限公司&quot;,
&quot;id&quot;: &quot;883339541743403faded953161575f88&quot;,
&quot;type&quot;: 0
},
{
&quot;name&quot;: &quot;广东东方思维科技有限公司&quot;,
&quot;id&quot;: &quot;a1384f530bf048848bcc8446f4901df3&quot;,
&quot;type&quot;: 0
},
{
&quot;name&quot;: &quot;广东新粤交通投资有限公司&quot;,
&quot;id&quot;: &quot;fb4dfce95c8d4ec9b09a54bc02c0a071&quot;,
&quot;type&quot;: 0
},
{
&quot;name&quot;: &quot;测试上级&quot;,
&quot;id&quot;: &quot;83fd637f084e4e1ca9ebcbd202b672f2&quot;,
&quot;type&quot;: 1
}
]
},
{
&quot;name&quot;: &quot;测试bug公司&quot;,
&quot;id&quot;: &quot;5dfe4297818a4d8e95eb16d53a02e850&quot;,
&quot;type&quot;: 0,
&quot;nodeList&quot;: [
{
&quot;name&quot;: &quot;憨憨&quot;,
&quot;id&quot;: &quot;63b6261b01e84451bfc68d85e407bad2&quot;,
&quot;type&quot;: 0
},
{
&quot;name&quot;: &quot;寄罗&quot;,
&quot;id&quot;: &quot;0a334dc1059b4f39bbe9cea749b24667&quot;,
&quot;type&quot;: 1
},
{
&quot;name&quot;: &quot;哦豁&quot;,
&quot;id&quot;: &quot;af18e61638f34c93a138b21e2b59bff0&quot;,
&quot;type&quot;: 1
},
{
&quot;name&quot;: &quot;哎呦喂&quot;,
&quot;id&quot;: &quot;b8e3b639bab24ad99da4e293402a8565&quot;,
&quot;type&quot;: 1
}
]
},
{
&quot;name&quot;: &quot;研究院&quot;,
&quot;id&quot;: &quot;9806baec4b3e4317b935d06aab5531d6&quot;,
&quot;type&quot;: 0
},
{
&quot;name&quot;: &quot;213123&quot;,
&quot;id&quot;: &quot;bb07a277862f4a46ad00971c65b46484&quot;,
&quot;type&quot;: 0
},
{
&quot;name&quot;: &quot;智慧收费研发部&quot;,
&quot;id&quot;: &quot;cb7d94459d3540a08c71743cb107357d&quot;,
&quot;type&quot;: 0
},
{
&quot;name&quot;: &quot;23232323&quot;,
&quot;id&quot;: &quot;fdc3bf9f48b44d84825af001f6f1ac9f&quot;,
&quot;type&quot;: 0,
&quot;nodeList&quot;: [
{
&quot;name&quot;: &quot;测试用部门&quot;,
&quot;id&quot;: &quot;f5484f59185049ddade2229bcbd67117&quot;,
&quot;type&quot;: 0
},
{
&quot;name&quot;: &quot;12345&quot;,
&quot;id&quot;: &quot;17cc291a4d4e4fdb8b9e219f801f4201&quot;,
&quot;type&quot;: 1
},
{
&quot;name&quot;: &quot;54321&quot;,
&quot;id&quot;: &quot;9de8bf63c3bd44d18a5b14f4cfa8d77e&quot;,
&quot;type&quot;: 1
}
]
},
{
&quot;name&quot;: &quot;超级管理员&quot;,
&quot;id&quot;: &quot;00000000222222222222222200000000&quot;,
&quot;type&quot;: 1
},
{
&quot;name&quot;: &quot;测试用户&quot;,
&quot;id&quot;: &quot;8a1f16bf14b64b0d939775bba87cb42a&quot;,
&quot;type&quot;: 1
},
{
&quot;name&quot;: &quot;收费员&quot;,
&quot;id&quot;: &quot;bf91325ae11947f5a90f45cd2aae0507&quot;,
&quot;type&quot;: 1
}
]
}
]
}</code></pre>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">name</td>
<td style="text-align: left;">string</td>
<td>用户名或者机构名</td>
</tr>
<tr>
<td style="text-align: left;">id</td>
<td style="text-align: left;">string</td>
<td>用户id或者机构id</td>
</tr>
<tr>
<td style="text-align: left;">type</td>
<td style="text-align: left;">int</td>
<td>类型(0是组织,1是用户)</td>
</tr>
<tr>
<td style="text-align: left;">nodeList</td>
<td style="text-align: left;">list</td>
<td>子节点</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>