|
@@ -0,0 +1,161 @@
|
|
|
|
+<!DOCTYPE html>
|
|
|
|
+<html>
|
|
|
|
+ <head>
|
|
|
|
+ <meta charset="UTF-8">
|
|
|
|
+ <title></title>
|
|
|
|
+ <#include "/base/list_base.ftl">
|
|
|
|
+ <style>
|
|
|
|
+ *{padding: 0;margin: 0;}
|
|
|
|
+ .my-input{border: 1px solid rgba(0,0,0,.1);padding: 1px 5px;height: 32px;margin-right: 10px;}
|
|
|
|
+ /*.my-input::-webkit-input-placeholder,.my-select{color: #dcdcdc;}*/
|
|
|
|
+ .my-select{border: 1px solid rgba(0,0,0,.1);padding:6px 50px 6px 15px;height: 34px;margin: 0 10px; -webkit-appearance:none;appearance:none;background: url(${path}/common/images/pts/select-1.png) right center no-repeat;background-size:auto 100%;}
|
|
|
|
+ .my-btn-search{border: 1px solid #32a3d8;padding: 1px 25px;height: 32px;background-color: #32a3d8;color: #fff;}
|
|
|
|
+ .barcodeImg{margin:10px 0px}
|
|
|
|
+ .table-bg thead th{background-color: #e2f6ff;}
|
|
|
|
+ input[type=radio]{-webkit-appearance:none;appearance:none;background: url(${path}/common/images/pts/radio-1.png) center center no-repeat;background-size:auto 100%;width: 20px;height: 20px;margin-right: 10px;}
|
|
|
|
+ input[type=radio]:checked{-webkit-appearance:none;appearance:none;background: url(${path}/common/images/pts/radio-2.png) center center no-repeat;background-size:auto 100%;width: 20px;height: 20px;margin-right: 10px;}
|
|
|
|
+ </style>
|
|
|
|
+ </head>
|
|
|
|
+ <body>
|
|
|
|
+ <nav class="breadcrumb"><i class="Hui-iconfont"></i> 首页
|
|
|
|
+ <span class="c-gray en">></span> 客户信息管理
|
|
|
|
+ <span class="c-gray en">></span> 客户信息列表
|
|
|
|
+ <a class="btn radius r" style="line-height:1.6em;margin-top:3px;background: #32a3d8;color: #fff;border:1px solid #32a3d8;" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont"></i></a>
|
|
|
|
+ </nav>
|
|
|
|
+ <div class="text-c" style="margin-top: 20px;">
|
|
|
|
+ <form action="${path}/admin/customerBasic/listCustomerBasic" method="post">
|
|
|
|
+ <select class="my-select" name="isLookAll">
|
|
|
|
+ <#if isLookAll??>
|
|
|
|
+ <option value ="1" <#if isLookAll == 1>selected</#if>>查看全部客户</option>
|
|
|
|
+ <option value ="2" <#if isLookAll == 2>selected</#if>>只看我的客户</option>
|
|
|
|
+ <#else >
|
|
|
|
+ <option value ="1">查看全部客户</option>
|
|
|
|
+ <option value ="2">只看我的客户</option>
|
|
|
|
+ </#if>
|
|
|
|
+ </select>
|
|
|
|
+ <select class="my-select" name="customerType">
|
|
|
|
+ <option value ="">所有客户类型</option>
|
|
|
|
+ <#if customerType??>
|
|
|
|
+ <option value ="1" <#if customerType == 1>selected</#if>>个人</option>
|
|
|
|
+ <option value ="2" <#if customerType == 2>selected</#if>>企业</option>
|
|
|
|
+ <#else >
|
|
|
|
+ <option value ="1">个人</option>
|
|
|
|
+ <option value ="2">企业</option>
|
|
|
|
+ </#if>
|
|
|
|
+ </select>
|
|
|
|
+ <select class="my-select" name="cooperativeState">
|
|
|
|
+ <option value ="1">合作状态</option>
|
|
|
|
+ <#if cooperativeState??>
|
|
|
|
+ <option value ="1" <#if cooperativeState == 1>selected</#if>>意向合作</option>
|
|
|
|
+ <option value ="2" <#if cooperativeState == 2>selected</#if>>已经合作</option>
|
|
|
|
+ <option value ="3" <#if cooperativeState == 3>selected</#if>>停止合作</option>
|
|
|
|
+ <#else >
|
|
|
|
+ <option value ="1">意向合作</option>
|
|
|
|
+ <option value ="2">已经合作</option>
|
|
|
|
+ <option value ="3">停止合作</option>
|
|
|
|
+ </#if>
|
|
|
|
+ </select>
|
|
|
|
+ <input class="my-input" type="text" name="customerName" value="${customerName!''}" placeholder="请输入客户名称"/>
|
|
|
|
+ <input class="my-input" type="text" name="contactPhone" value="${contactPhone!''}" placeholder="请输入客户电话"/>
|
|
|
|
+ <input class="my-input" type="text" name="contactEmail" value="${contactEmail!''}" placeholder="请输入客户邮箱"/>
|
|
|
|
+ <button type="submit" style="cursor:pointer; " class="my-btn-search">搜索</button>
|
|
|
|
+ </form>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mt-20" style="margin: 20px;">
|
|
|
|
+ <table class="table table-border table-bordered table-bg table-hover table-sort">
|
|
|
|
+ <thead>
|
|
|
|
+ <tr class="text-c">
|
|
|
|
+ <th width="100">状态</th>
|
|
|
|
+ <th width="100">合作状态</th>
|
|
|
|
+ <th width="100">业务员</th>
|
|
|
|
+ <th width="100">客户类型</th>
|
|
|
|
+ <th width="100">客户名称</th>
|
|
|
|
+ <th width="50">客户行业</th>
|
|
|
|
+ <th width="40">所在区域</th>
|
|
|
|
+ <th width="40">备注信息</th>
|
|
|
|
+ <th width="40">添加日期</th>
|
|
|
|
+ <th width="150">操作</th>
|
|
|
|
+ </tr>
|
|
|
|
+ </thead>
|
|
|
|
+ <tbody id="listid">
|
|
|
|
+ <#if page.dataList?? && (page.dataList?size > 0) >
|
|
|
|
+ <#list page.dataList as list>
|
|
|
|
+ <tr>
|
|
|
|
+ <td class="text-c" width="100">
|
|
|
|
+ <#if list.customerStatus == 1>
|
|
|
|
+ 已删除
|
|
|
|
+ </#if>
|
|
|
|
+ <#if list.customerStatus == 2>
|
|
|
|
+ 正常
|
|
|
|
+ </#if>
|
|
|
|
+ </td>
|
|
|
|
+ <td class="text-c" width="100">
|
|
|
|
+ <#if list.cooperativeState == 1>
|
|
|
|
+ 意向合作
|
|
|
|
+ </#if>
|
|
|
|
+ <#if list.cooperativeState == 2>
|
|
|
|
+ 已经合作
|
|
|
|
+ </#if>
|
|
|
|
+ <#if list.cooperativeState == 3>
|
|
|
|
+ 停止合作
|
|
|
|
+ </#if>
|
|
|
|
+ </td>
|
|
|
|
+ <td class="text-c" width="100">${list.adminName!''}</td>
|
|
|
|
+ <td class="text-c" width="100">
|
|
|
|
+ <#if list.customerType == 1>
|
|
|
|
+ 个人
|
|
|
|
+ </#if>
|
|
|
|
+ <#if list.customerType == 2>
|
|
|
|
+ 企业
|
|
|
|
+ </#if>
|
|
|
|
+ </td>
|
|
|
|
+ <td class="text-c" width="100">
|
|
|
|
+ ${list.customerName!''}
|
|
|
|
+ </td>
|
|
|
|
+ <td class="text-c" width="100">
|
|
|
|
+ ${list.customerIndustry!''}
|
|
|
|
+ </td>
|
|
|
|
+ <td class="text-c" width="100">
|
|
|
|
+ ${list.provinceName!''}-${list.cityName!''}
|
|
|
|
+ </td>
|
|
|
|
+ <td class="text-c" width="50">${list.customerRemarks!''}</td>
|
|
|
|
+ <td class="text-c" width="100">${(list.createDate?string("yyyy-MM-dd"))!''}</td>
|
|
|
|
+ <!-- 遍历操作 -->
|
|
|
|
+ <td class="td-manage text-c">
|
|
|
|
+ <a onclick="machineLogs(${list.machineId});" title="生产流程" href="javascript:;" class="ml-5" style="text-decoration:none"><i class="Hui-iconfont"></i></a>
|
|
|
|
+ <#--<a onclick="print('${list.machineBarcode }','${list.machineQrcode }','${list.machineId }','${list.machineProduceType }')" title="打印" href="javascript:;" class="ml-5" style="text-decoration:none"><i class="Hui-iconfont"></i></a>-->
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ </#list>
|
|
|
|
+ <#else>
|
|
|
|
+ <tr><td id="noMachineTr" colspan="11" class="td-manage text-c" >暂时没有机器,请添加!</td></tr>
|
|
|
|
+ </#if>
|
|
|
|
+ </tbody>
|
|
|
|
+ </table>
|
|
|
|
+ </div>
|
|
|
|
+ <#include "/base/page_util.ftl">
|
|
|
|
+
|
|
|
|
+ <#--jquery.PrintArea 2.4-->
|
|
|
|
+ <script type="text/javascript" src="${path}/common/lib/jquery.PrintArea/jquery.PrintArea.js"></script>
|
|
|
|
+ <script type="text/javascript" src="${path}/common/lib/jquery/1.9.1/jquery-barcode.js"></script>
|
|
|
|
+
|
|
|
|
+ <script type="text/javascript">
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ /*批量添加机器*/
|
|
|
|
+ function batch_add_machine(title,url,w,h){
|
|
|
|
+ layer_show(title,url,w,h);
|
|
|
|
+ }
|
|
|
|
+ /*批量添加机器*/
|
|
|
|
+ function add_renovationmachine(title,url,w,h){
|
|
|
|
+ layer_show(title,url,w,h);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ </script>
|
|
|
|
+ </body>
|
|
|
|
+</html>
|