|
@@ -30,35 +30,74 @@
|
|
|
</nav>
|
|
|
<div class="page-container">
|
|
|
<div class="text-c">
|
|
|
- <form action="${path}/admin/customer/_customer_list" method="post">
|
|
|
- <button type="button" style="cursor:pointer; float: left;" class="my-btn-search" onclick="toAddCustomer();">增加Customer</button>
|
|
|
- <#--<select class="my-select" name="produceId" style="height: 36px;width: 150px">
|
|
|
- <option value ="">所有产品</option>
|
|
|
- <#if produceList?? && (produceList?size > 0) >
|
|
|
- <#list produceList as produce>
|
|
|
- <option value ="${produce.produceId!}" <#if produceId??><#if produceId ==produce.produceId >selected="selected"</#if></#if>>${produce.produceName!}</option>
|
|
|
+ <form action="${path}/admin/customer/select_customer_list" method="post">
|
|
|
+ <button type="button" style="cursor:pointer; float: left;" class="my-btn-search" onclick="toAddCustomer();">新建客诉</button>
|
|
|
+ <input type="text" class="my-input" style="width:100px;margin-right: 0px;" value="${customerId!}" placeholder="客户问题" id="customerId" name="customerId">
|
|
|
+ <input type="text" class="my-input" style="width:100px;margin-right: 0px;" value="${customerId!}" placeholder="客户电话号码" id="customerId" name="customerId">
|
|
|
+ <input type="text" class="my-input" style="width:100px;margin-right: 0px;" value="${customerId!}" placeholder="请输入问题描述" id="customerId" name="customerId">
|
|
|
+ <select class="my-select" name="customerSource" id="customerSource" style="height: 36px;width: 100px;margin: 0px;padding: 6px 10px 6px 15px;">
|
|
|
+ <option value="">来源</option>
|
|
|
+ <option value="1" <#if customerInfo.customerSourceType??><#if customerInfo.customerSourceType == "1" >selected="selected"</#if></#if>>400电话</option>
|
|
|
+ <option value="2" <#if customerInfo.customerSourceType??><#if customerInfo.customerSourceType == "2" >selected="selected"</#if></#if>>微信公众号</option>
|
|
|
+ <option value="3" <#if customerInfo.customerSourceType??><#if customerInfo.customerSourceType == "3" >selected="selected"</#if></#if>>其他</option>
|
|
|
+ </select>
|
|
|
+ <select class="my-select" name="typeId" id="typeId" style="height: 36px;width: 100px;margin: 0px;padding: 6px 10px 6px 15px;">
|
|
|
+ <option value ="">客诉产品</option>
|
|
|
+ <#if typeList?? && (typeList?size > 0) >
|
|
|
+ <#list typeList as type>
|
|
|
+ <option value ="${type.typeId!}" <#if customerInfo.typeId??><#if customerInfo.typeId ==type.typeId >selected="selected"</#if></#if>>${type.typeName!}</option>
|
|
|
</#list>
|
|
|
</#if>
|
|
|
- </select>-->
|
|
|
- <#-- <input type="text" class="my-input" style="width:150px" value="${customerId!}" placeholder="Customer单编号" id="customerId" name="customerId">-->
|
|
|
+ </select>
|
|
|
+ <select class="my-select" name="produceId" style="height: 36px;width: 100px;margin: 0px;padding: 6px 10px 6px 15px;">
|
|
|
+ <option value ="">客诉类型</option>
|
|
|
+ <#if complaintTypeList?? && (complaintTypeList?size > 0) >
|
|
|
+ <#list complaintTypeList as complaint>
|
|
|
+ <option value ="${complaint.complaintId!}" <#if customerInfo.adminId??><#if customerInfo.adminId ==admin.adminId >selected="selected"</#if></#if>>${complaint.complaintClassName!}</option>
|
|
|
+ </#list>
|
|
|
+ </#if>
|
|
|
+ <#--<#if typeList?? && (typeList?size > 0) >
|
|
|
+ <#list typeList as type>
|
|
|
+ <option value ="${type.produceId!}" <#if produceId??><#if produceId ==produce.produceId >selected="selected"</#if></#if>>${produce.produceName!}</option>
|
|
|
+ </#list>
|
|
|
+ </#if>-->
|
|
|
+ </select>
|
|
|
+ <select class="my-select" name="customerIsVisit" style="height: 36px;width: 100px;margin: 0px;padding: 6px 10px 6px 15px;">
|
|
|
+ <option value ="">是否需要回访</option>
|
|
|
+ <option value ="1" <#if customerInfo.customerIsVisit??><#if customerInfo.customerIsVisit == "1" >selected="selected"</#if></#if>>不需要回访</option>
|
|
|
+ <option value ="2" <#if customerInfo.customerIsVisit??><#if customerInfo.customerIsVisit == "2" >selected="selected"</#if></#if>>需要回访</option>
|
|
|
+ </select>
|
|
|
+ <select class="my-select" name="adminId" style="height: 36px;width: 100px;margin: 0px;padding: 6px 10px 6px 15px;">
|
|
|
+ <option value ="">跟进客服</option>
|
|
|
+ <#if adminList?? && (adminList?size > 0) >
|
|
|
+ <#list adminList as admin>
|
|
|
+ <option value ="${admin.adminId!}" <#if customerInfo.adminId??><#if customerInfo.adminId ==admin.adminId >selected="selected"</#if></#if>>${admin.adminName!}</option>
|
|
|
+ </#list>
|
|
|
+ </#if>
|
|
|
+ </select>
|
|
|
<button type="submit" class="btn" style="background: #32a3d8;color: #fff;-webkit-transform:translateY(-5%);" id="" name=""><i class="Hui-iconfont"></i> 搜索</button>
|
|
|
</form>
|
|
|
</div>
|
|
|
|
|
|
- <#--<div class="mt-20">
|
|
|
+ <div class="mt-20">
|
|
|
<table class="table table-border table-bordered table-bg table-hover table-sort">
|
|
|
<thead>
|
|
|
<tr class="text-c">
|
|
|
- <#–<th width="50">Customer编号</th>–>
|
|
|
- <th width="60">所属产品</th>
|
|
|
- <th width="100">customer名称</th>
|
|
|
- <th width="80">硬件版本</th>
|
|
|
- <th width="80">零件总数量</th>
|
|
|
- <th width="80">零件总成本(元)</th>
|
|
|
- <th width="80">零件总重(g)</th>
|
|
|
- <th width="100">备注</th>
|
|
|
- <th width="80">最近修改时间</th>
|
|
|
- <th width="80">添加时间</th>
|
|
|
+ <th width="50">跟进客服</th>
|
|
|
+ <th width="60">姓名</th>
|
|
|
+ <th width="100">电话</th>
|
|
|
+ <th width="80">来源入口</th>
|
|
|
+ <th width="80">客诉产品</th>
|
|
|
+ <th width="80">客诉类型</th>
|
|
|
+ <th width="80">问题类型</th>
|
|
|
+ <th width="100">问题简述</th>
|
|
|
+ <th width="80">销售</th>
|
|
|
+ <th width="80">购买日期</th>
|
|
|
+ <th width="80">区域</th>
|
|
|
+ <th width="80">TDS</th>
|
|
|
+ <th width="80">处理结果</th>
|
|
|
+ <th width="80">需要回访</th>
|
|
|
+ <th width="80">客诉时间</th>
|
|
|
<th width="80">操作</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
@@ -66,15 +105,44 @@
|
|
|
<#if page.dataList?? && (page.dataList?size > 0) >
|
|
|
<#list page.dataList as customer>
|
|
|
<tr class="text-c">
|
|
|
- <#–<td>${customer.customerId!''}</td>–>
|
|
|
- <td>${customer.produceName!''}</td>
|
|
|
+ <td>${customer.adminName!''}</td>
|
|
|
<td>${customer.customerName!''}</td>
|
|
|
- <td>${customer.customerVersion!''}</td>
|
|
|
- <td>${customer.componentsQuantity!'0'}</td>
|
|
|
- <td><#if customer.allComponentsCost?? >${customer.allComponentsCost/100}</#if></td>
|
|
|
- <td><#if customer.allComponentsWeight?? >${customer.allComponentsWeight}</#if></td>
|
|
|
- <td>${customer.customerRemarks!''}</td>
|
|
|
- <td>${(customer.customerUpdateTime?string("yyyy-MM-dd HH:mm:ss"))!''}</td>
|
|
|
+ <td>${customer.customerTel!''}</td>
|
|
|
+ <td>
|
|
|
+ <#if customer.customerSourceType == 1>
|
|
|
+ 400电话
|
|
|
+ <#elseif customer.customerSourceType == 2>
|
|
|
+ 微信公众号
|
|
|
+ <#elseif customer.customerSourceType == 3>
|
|
|
+ ${customer.customerSource!''}
|
|
|
+ </#if>
|
|
|
+ </td>
|
|
|
+ <td>${customer.typeName!''}</td>
|
|
|
+ <td>${customer.complaintClassName!''}</td>
|
|
|
+ <td>${customer.smallClassName!''}</td>
|
|
|
+ <td>${customer.describeTitle!''}</td>
|
|
|
+ <td>${customer.companyName!''}-${customer.storeName!''}</td>
|
|
|
+ <td>${(customer.salesTime?string("yyyy-MM-dd HH:mm:ss"))!''}</td>
|
|
|
+ <td>${customer.customerArea!''}</td>
|
|
|
+ <td>进${customer.customerInTDS!'0'}出${customer.customerOutTDS!'0'}</td>
|
|
|
+ <td>
|
|
|
+ <#if customer.customerIsSolve == 1>
|
|
|
+ 已解决
|
|
|
+ <#elseif customer.customerIsSolve == 2>
|
|
|
+ 未解决
|
|
|
+ <#elseif customer.customerIsSolve == 3>
|
|
|
+ 换新
|
|
|
+ <#elseif customer.customerIsSolve == 4>
|
|
|
+ 维修
|
|
|
+ <#elseif customer.customerIsSolve == 5>
|
|
|
+ 补发
|
|
|
+ <#elseif customer.customerIsSolve == 6>
|
|
|
+ 退货
|
|
|
+ <#elseif customer.customerIsSolve == 7>
|
|
|
+ 无理由退货
|
|
|
+ </#if>
|
|
|
+ </td>
|
|
|
+ <td>${customer.customerIsVisit!''}</td>
|
|
|
<td>${(customer.customerCreateTime?string("yyyy-MM-dd HH:mm:ss"))!''}</td>
|
|
|
<td>
|
|
|
<a style="text-decoration:none" href="javascript:void(0);" title="编辑" onclick="admin_update_customer(${customer.customerId!''})">
|
|
@@ -91,10 +159,10 @@
|
|
|
</#if>
|
|
|
</tbody>
|
|
|
</table>
|
|
|
- </div>-->
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<tfoot>
|
|
|
-<#--<#include "/base/page_util.ftl">-->
|
|
|
+<#include "/base/page_util.ftl">
|
|
|
</tfoot>
|
|
|
<script>
|
|
|
/**
|