agent_check_first.html 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <form class="form-horizontal form-validate" action="{:U('community/agent_check_first')}" method="post" enctype="multipart/form-data">
  2. <input type='hidden' name='id' value='{$id}' />
  3. <div class="modal-dialog" >
  4. <div class="modal-content" style="width:300px;text-align:center;margin-left: 200px;" >
  5. <div class="modal-header">
  6. <button data-dismiss="modal" class="close" type="button">×</button>
  7. <h4 class="modal-title">团长申请</h4>
  8. </div>
  9. <div class="modal-body">
  10. 确认该会员的团长申请
  11. </div>
  12. <div class="modal-footer">
  13. <input type="hidden" id="sb_type" name="cansub" value="1" />
  14. <button class="btn btn-primary" type="submit" data-value="1" name="cansub">确定</button>
  15. <button data-dismiss="modal" class="btn btn-default" type="button">取消</button>
  16. </div>
  17. </div>
  18. </div>
  19. </form>
  20. <script>
  21. //没有选中时间段不能导出
  22. $(function () {
  23. $('.btn-primary').click(function () {
  24. var e = $(this).attr('data-value');
  25. $('#sb_type').val(e);
  26. })
  27. })
  28. </script>