12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- {Template header}
- <body>
- <div class="warp">
- <div class="fixed">
- <ul class="search">
- <li>店铺名称:<select name="shop" class="select" style="width:180px;">
- <option value="">请选择</option>
- {loop usershop() as $val}
- <option value="{$val['id']}">{$val['shopname']}</option>{/loop}</select></li>
- <li>电话号码:<input value="" name="numphone" type="text" ></li>
- <li>客户名称:<input value="" name="name" type="text" ></li>
- <li>客户邮箱:<input value="" name="email" type="text" style="width:200px;"></li>
- <li>客户地址:<input value="" name="address" type="text" style="width:300px;"></li>
- <li>查找条件:<select name="xtime" class="select">
- <option value="">不使用时间</option>
- <option value="1">使用时间</option></select></li>
- <li>客户分类时间:<input id="timetk" value="2019-1-01 00:00" name="timetk" type="text" onClick="laydate({istime: true,format:'YYYY-MM-DD hh:mm'})">
- 至 <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>
- <li><span>确 定</span></li>
- </ul>
- <div class="control">
- <a href="javascript:void(0);" class="check">删 除</a>
- <a href="javascript:void(0);" class="bankdown">下载黑名单</a>
- </div>
- <table class="datatitle data" border="0" style="border-collapse:collapse;">
- <tr>
- <td><label onClick="swapCheck()"><input name="checkbox" type="checkbox" class="regular-checkbox"></label></td>
- <td>所属店铺</td>
- <td>客户来源</td>
- <td>客户名称</td>
- <td>邮箱</td>
- <td>地址</td>
- <td>电话</td>
- <td>备注</td>
- <td>列入时间</td>
- <td>操作</td>
- </tr>
- </table>
- </div>
- <table class="datatext data" border="0" style="border-collapse:collapse;">
- </table>
- <div class="bomf"></div>
- </div>
- <script>
- var dataurl = "/customertt/black/";var fdataurl = "/customertt";
- var editurl = "/customertt/edit/";
- var editdj = 4;
- var editt = "客户管理 - 修改";
- var customon = 1;
- function custom(){
- $(".data tr").each(function() {
- $(this).find('td:eq(2)').css("width","5%");
- $(this).find('td:eq(7)').css("width","25%");
- $(this).find('td:eq(9)').css("width","5%");
- });}
- $(".bankdown").click(function() {
- var f = "";
- $(".select").each(function() {
- f = f + $(this).attr("name") + "=" + $(this).children("option:selected").val() + "&";
- });
- $("input:text").each(function() {
- f = f + $(this).attr("name") + "=" + $(this).val() + "&";
- });
- var a = '';
- $(".datatext input[name='check']:checked").each(function() {
- a = a+$(this).val()+'|';
- });
- f = f + "id=" + a;
- window.location.href = "/customertt/bankdown?bankdown=1&type=2&"+f;
- });
- </script>
- <script type="text/javascript" src="{$theme}js/laydate.js"></script>
- {Template footer}
|