customertt_black.html 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. {Template header}
  2. <body>
  3. <div class="warp">
  4. <div class="fixed">
  5. <ul class="search">
  6. <li>店铺名称:<select name="shop" class="select" style="width:180px;">
  7. <option value="">请选择</option>
  8. {loop usershop() as $val}
  9. <option value="{$val['id']}">{$val['shopname']}</option>{/loop}</select></li>
  10. <li>电话号码:<input value="" name="numphone" type="text" ></li>
  11. <li>客户名称:<input value="" name="name" type="text" ></li>
  12. <li>客户邮箱:<input value="" name="email" type="text" style="width:200px;"></li>
  13. <li>客户地址:<input value="" name="address" type="text" style="width:300px;"></li>
  14. <li>查找条件:<select name="xtime" class="select">
  15. <option value="">不使用时间</option>
  16. <option value="1">使用时间</option></select></li>
  17. <li>客户分类时间:<input id="timetk" value="2019-1-01 00:00" name="timetk" type="text" onClick="laydate({istime: true,format:'YYYY-MM-DD hh:mm'})">
  18. 至&nbsp;&nbsp;&nbsp;&nbsp; <input id="timetj" value="{date('Y-m-d 00:00',time()+24*3600)}" name="timetj" type="text" onClick="laydate({istime: true,format:'YYYY-MM-DD hh:mm'})"></li>
  19. <li><span>确 定</span></li>
  20. </ul>
  21. <div class="control">
  22. <a href="javascript:void(0);" class="check">删 除</a>
  23. <a href="javascript:void(0);" class="bankdown">下载黑名单</a>
  24. </div>
  25. <table class="datatitle data" border="0" style="border-collapse:collapse;">
  26. <tr>
  27. <td><label onClick="swapCheck()"><input name="checkbox" type="checkbox" class="regular-checkbox"></label></td>
  28. <td>所属店铺</td>
  29. <td>客户来源</td>
  30. <td>客户名称</td>
  31. <td>邮箱</td>
  32. <td>地址</td>
  33. <td>电话</td>
  34. <td>备注</td>
  35. <td>列入时间</td>
  36. <td>操作</td>
  37. </tr>
  38. </table>
  39. </div>
  40. <table class="datatext data" border="0" style="border-collapse:collapse;">
  41. </table>
  42. <div class="bomf"></div>
  43. </div>
  44. <script>
  45. var dataurl = "/customertt/black/";var fdataurl = "/customertt";
  46. var editurl = "/customertt/edit/";
  47. var editdj = 4;
  48. var editt = "客户管理 - 修改";
  49. var customon = 1;
  50. function custom(){
  51. $(".data tr").each(function() {
  52. $(this).find('td:eq(2)').css("width","5%");
  53. $(this).find('td:eq(7)').css("width","25%");
  54. $(this).find('td:eq(9)').css("width","5%");
  55. });}
  56. $(".bankdown").click(function() {
  57. var f = "";
  58. $(".select").each(function() {
  59. f = f + $(this).attr("name") + "=" + $(this).children("option:selected").val() + "&";
  60. });
  61. $("input:text").each(function() {
  62. f = f + $(this).attr("name") + "=" + $(this).val() + "&";
  63. });
  64. var a = '';
  65. $(".datatext input[name='check']:checked").each(function() {
  66. a = a+$(this).val()+'|';
  67. });
  68. f = f + "id=" + a;
  69. window.location.href = "/customertt/bankdown?bankdown=1&type=2&"+f;
  70. });
  71. </script>
  72. <script type="text/javascript" src="{$theme}js/laydate.js"></script>
  73. {Template footer}