batchsave.php 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: xiaofeng
  5. * Date: 2018/3/14
  6. * Time: 下午3:24
  7. */
  8. use backend\assets\AppAsset;
  9. AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/housebatchsave.js");
  10. ?>
  11. <style>
  12. .layui-table-view .layui-form-switch {right:15px;}
  13. .layui-form-switch {height:18px;line-height:18px;padding:0 4px;}
  14. .layui-form-switch i {top:1px;left:2px}
  15. .layui-form-onswitch i {left:32px;}
  16. .layui-table-page .layui-laypage {float:right;margin-right:1%;}
  17. .layui-table-view .layui-form-switch{right:0px}
  18. </style>
  19. <form class="layui-form">
  20. <blockquote class="layui-elem-quote quoteBox demoTable">
  21. <div class="layui-inline">
  22. <a class="layui-btn layui-btn-normal " data-type="saveData">批量操作</a>
  23. </div>
  24. <span>区域:</span>
  25. <div class="layui-input-inline">
  26. <select name="province" lay-filter="province" class="province" lay-search="">
  27. <option value="">请选择省</option>
  28. </select>
  29. </div>
  30. <div class="layui-input-inline">
  31. <select name="city" lay-filter="city" lay-search="">
  32. <option value="">请选择市</option>
  33. </select>
  34. </div>
  35. <span>状态:</span>
  36. <div class="layui-input-inline">
  37. <select name="show" lay-filter="show" lay-search="">
  38. <option value="">请选择楼盘状态</option>
  39. <?php foreach (Yii::$app->params['house_view'] as $key=>$val){ ?>
  40. <option value="<?= $key ?>"><?= $val ?></option>
  41. <?php } ?>
  42. </select>
  43. </div>
  44. <span>时间:</span>
  45. <div class="layui-input-inline" >
  46. <input type="text" name="start_time" id="date1" placeholder="开始时间" autocomplete="off" class="layui-input" >
  47. </div>
  48. -
  49. <div class="layui-input-inline" >
  50. <input type="text" name="end_time" id="date2" placeholder="结束时间" autocomplete="off" class="layui-input" >
  51. </div>
  52. <!-- <div class="layui-input-inline">-->
  53. <!-- <select name="input_sort">-->
  54. <!-- <option value="" selected="">排序方式</option>-->
  55. <!-- <option value="click" >按点击数</option>-->
  56. <!-- </select>-->
  57. <!-- </div>-->
  58. <div class="layui-inline">
  59. <!-- <a class="layui-btn search_btn wu_search_btn" data-type="reload">上架</a>-->
  60. <!-- <a class="layui-btn search_btn wu_search_btn" data-type="xia">下架</a>-->
  61. <button class="layui-btn layui-btn-normal" lay-submit="xia" lay-filter="xia" >下架</button>
  62. </div>
  63. <!-- <div class="layui-form-item xm_zjzx_Submit">-->
  64. <!-- <button class="layui-btn layui-btn-normal" lay-submit="" lay-filter="tijiao" >提交</button>-->
  65. <!-- </div>-->
  66. </blockquote>
  67. </form>