index_search.html 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <fieldset>
  2. <legend>条件搜索</legend>
  3. <form class="layui-form layui-form-pane form-search" action="{:request()->url()}" onsubmit="return false" method="get" autocomplete="off">
  4. <div class="layui-form-item layui-inline">
  5. <label class="layui-form-label">微信标识</label>
  6. <div class="layui-input-inline">
  7. <input name="authorizer_appid" value="{$Think.get.authorizer_appid|default=''}" placeholder="请输入微信APPID" class="layui-input">
  8. </div>
  9. </div>
  10. <div class="layui-form-item layui-inline">
  11. <label class="layui-form-label">微信名称</label>
  12. <div class="layui-input-inline">
  13. <input name="nick_name" value="{$Think.get.nick_name|default=''}" placeholder="请输入微信名称" class="layui-input">
  14. </div>
  15. </div>
  16. <div class="layui-form-item layui-inline">
  17. <label class="layui-form-label">类型过滤</label>
  18. <div class="layui-input-inline">
  19. <select name="service_type" class="layui-select">
  20. <option value="">- 全部 -</option>
  21. {foreach ['0'=>'显示订阅号类型','2'=>'显示服务号类型','3'=>'显示小程序类型'] as $k=>$v}
  22. <!--{if $k.'' eq $Think.get.service_type}-->
  23. <option selected value="{$k}">{$v}</option>
  24. <!--{else}-->
  25. <option value="{$k}">{$v}</option>
  26. <!--{/if}-->
  27. {/foreach}
  28. </select>
  29. </div>
  30. </div>
  31. <div class="layui-form-item layui-inline">
  32. <label class="layui-form-label">使用状态</label>
  33. <div class="layui-input-inline">
  34. <select class="layui-select" name="status">
  35. {foreach [''=>'- 全部 -','0'=>'已禁用的账号','1'=>'使用中的账号'] as $k=>$v}
  36. {eq name='Think.get.status' value='$k.""'}
  37. <option selected value="{$k}">{$v}</option>
  38. {else}
  39. <option value="{$k}">{$v}</option>
  40. {/eq}
  41. {/foreach}
  42. </select>
  43. </div>
  44. </div>
  45. <div class="layui-form-item layui-inline">
  46. <label class="layui-form-label">注册公司</label>
  47. <div class="layui-input-inline">
  48. <input name="principal_name" value="{$Think.get.principal_name|default=''}" placeholder="请输入注册公司" class="layui-input">
  49. </div>
  50. </div>
  51. <div class="layui-form-item layui-inline">
  52. <label class="layui-form-label">授权时间</label>
  53. <div class="layui-input-inline">
  54. <input data-date-range name="create_at" value="{$Think.get.create_at|default=''}" placeholder="请选择授权时间" class="layui-input">
  55. </div>
  56. </div>
  57. <div class="layui-form-item layui-inline">
  58. <button class="layui-btn layui-btn-primary"><i class="layui-icon">&#xe615;</i> 搜 索</button>
  59. </div>
  60. </form>
  61. </fieldset>
  62. <script>
  63. window.form.render();
  64. </script>