和利生产管理系统

和利生产管理系统


多选搜索框——添加全部按钮

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>多选搜索框——添加全部按钮</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://hlsc.xcuration.cn:7000/servlet/doserverdata</code></li> </ul> <h5>请求方式</h5> <ul> <li>POST </li> </ul> <h5>参数</h5> <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;">method</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>接口名称</td> </tr> <tr> <td style="text-align: left;">params</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>业务参数</td> </tr> <tr> <td style="text-align: left;">params-tableid</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>表单id</td> </tr> <tr> <td style="text-align: left;">params-userid</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>用户id</td> </tr> <tr> <td style="text-align: left;">params-searcharr</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>搜索框集合</td> </tr> </tbody> </table> <h5>请求示例</h5> <pre><code>注:格式跟列表搜索差不多 { &amp;quot;method&amp;quot;: &amp;quot;wxbq_searchaddall&amp;quot;, &amp;quot;params&amp;quot;: { &amp;quot;tableid&amp;quot;: &amp;quot;22677&amp;quot;, &amp;quot;userid&amp;quot;: &amp;quot;893&amp;quot;, &amp;quot;searcharr&amp;quot;: [{ &amp;quot;id&amp;quot;: &amp;quot;字段id&amp;quot;, &amp;quot;value&amp;quot;: &amp;quot;值&amp;quot; }, { &amp;quot;id&amp;quot;: &amp;quot;字段id&amp;quot;, &amp;quot;value&amp;quot;: &amp;quot;值&amp;quot; }] } }</code></pre> <h5>返回示例</h5> <pre><code>{ &amp;quot;succeed&amp;quot;: 0, &amp;quot;code&amp;quot;: 200, &amp;quot;value&amp;quot;: &amp;quot;ok&amp;quot;, &amp;quot;msg&amp;quot;: { &amp;quot;sql&amp;quot;: &amp;quot;in(select * from ......)&amp;quot;, &amp;quot;remark&amp;quot;: &amp;quot;可用=是&amp;quot; } }</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;">succeed</td> <td style="text-align: left;">int</td> <td>状态:0成功,1失败</td> </tr> <tr> <td style="text-align: left;">code</td> <td style="text-align: left;">int</td> <td>结果码:成功默认200</td> </tr> <tr> <td style="text-align: left;">value</td> <td style="text-align: left;">string</td> <td>值:成功默认ok</td> </tr> <tr> <td style="text-align: left;">msg</td> <td style="text-align: left;">string</td> <td>结果内容</td> </tr> </tbody> </table>

页面列表

ITEM_HTML