|
@@ -0,0 +1,499 @@
|
|
|
+<!DOCTYPE HTML>
|
|
|
+<html>
|
|
|
+<head>
|
|
|
+ <meta charset="utf-8">
|
|
|
+ <meta name="renderer" content="webkit|ie-comp|ie-stand">
|
|
|
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
|
+ <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
|
|
|
+ <meta http-equiv="Cache-Control" content="no-siteapp" />
|
|
|
+ <link rel="Bookmark" href="/favicon.ico" >
|
|
|
+ <link rel="Shortcut Icon" href="/favicon.ico" />
|
|
|
+<#include "/base/list_base.ftl">
|
|
|
+ <title>邮费转账列表</title>
|
|
|
+ <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;}
|
|
|
+ .table-bg thead th{background-color: #e2f6ff;}
|
|
|
+ .update-parts>span{margin-right: 10px;padding: 3px 4px;background-color: #effaff;border: 1px solid #32a3d8;}
|
|
|
+ /*input[type=radio]{-webkit-appearance:none;appearance:none;background: url(/rst/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(/rst/common/images/pts/radio-2.png) center center no-repeat;background-size:auto 100%;width: 20px;height: 20px;margin-right: 10px;}*/
|
|
|
+ .txt2{
|
|
|
+ width:60px;
|
|
|
+ overflow: hidden;
|
|
|
+ white-space: nowrap;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ }
|
|
|
+ </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="page-container">
|
|
|
+ <div class="text-c">
|
|
|
+ <form action="${path}/admin/customer/select_customer_list" method="post">
|
|
|
+ <button type="button" style="cursor:pointer; float: left;height: 35px;margin-right: 30px;" class="my-btn-search" onclick="toAddCustomer();">新建客诉</button>
|
|
|
+ <input type="text" class="my-input" style="width:90px;margin-right: 0px; margin-left: -65px;" value="${customerInfo.customerId!}" placeholder="客诉编号" id="customerId" name="customerId">
|
|
|
+ <input type="text" class="my-input" style="width:90px;margin-right: 0px;" value="${customerInfo.sendLogisticsNo!}" placeholder="物流编号" id="sendLogisticsNo" name="sendLogisticsNo">
|
|
|
+ <input type="text" class="my-input" style="width:90px;margin-right: 0px;" value="${customerInfo.customerName!}" placeholder="请输入姓名" id="customerName" name="customerName">
|
|
|
+ <input type="text" class="my-input" style="width:90px;margin-right: 0px;" value="${customerInfo.customerTel!}" placeholder="请输入电话号码" id="customerTel" name="customerTel">
|
|
|
+ <input type="text" style="width:90px;height:36px;margin-right: 0px;" name="startTime" id="startTime" class="input-text" placeholder="开始时间" onClick="WdatePicker({ dateFmt:'yyyy-MM-dd',skin:'whyGreen' })" value="${(customerInfo.startTime?string("yyyy-MM-dd"))!''}" readonly="readonly"/>-
|
|
|
+ <input type="text" style="width:90px;height:36px;margin-right: 0px;" name="endTime" id="endTime" class="input-text" placeholder="结束时间" onClick="WdatePicker({ dateFmt:'yyyy-MM-dd',skin:'whyGreen' })" value="${(customerInfo.endTime?string("yyyy-MM-dd"))!''}" readonly="readonly"/>
|
|
|
+
|
|
|
+ <#--<input type="text" class="my-input" style="width:90px;margin-right: 0px;" value="${customerInfo.describeTitle!}" placeholder="请输入问题描述" id="describeTitle" name="describeTitle">-->
|
|
|
+ <select class="my-select" name="customerIsSolve" id="customerIsSolve" style="height: 36px;width: 100px;margin: 0px;padding: 6px 10px 6px 15px;">
|
|
|
+ <option value="">处理结果</option>
|
|
|
+ <option value="1" <#if customerInfo.customerIsSolve??><#if customerInfo.customerIsSolve == 1 >selected="selected"</#if></#if>>已解决</option>
|
|
|
+ <option value="2" <#if customerInfo.customerIsSolve??><#if customerInfo.customerIsSolve == 2 >selected="selected"</#if></#if>>未解决</option>
|
|
|
+ <option value="3" <#if customerInfo.customerIsSolve??><#if customerInfo.customerIsSolve == 3 >selected="selected"</#if></#if>>换新</option>
|
|
|
+ <option value="4" <#if customerInfo.customerIsSolve??><#if customerInfo.customerIsSolve == 4 >selected="selected"</#if></#if>>维修</option>
|
|
|
+ <option value="5" <#if customerInfo.customerIsSolve??><#if customerInfo.customerIsSolve == 5 >selected="selected"</#if></#if>>补发</option>
|
|
|
+ <option value="6" <#if customerInfo.customerIsSolve??><#if customerInfo.customerIsSolve == 6 >selected="selected"</#if></#if>>退货</option>
|
|
|
+ <option value="7" <#if customerInfo.customerIsSolve??><#if customerInfo.customerIsSolve == 7 >selected="selected"</#if></#if>>无理由退货</option>
|
|
|
+ </select>
|
|
|
+
|
|
|
+ <select class="my-select" name="customerSourceType" id="customerSourceType" 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: 120px;margin: 0px;">
|
|
|
+ <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>
|
|
|
+ <#-- <select class="my-select" name="complaintId" style="height: 36px;width: 120px;margin: 0px;">
|
|
|
+ <option value ="">客诉类型</option>
|
|
|
+ <#if complaintTypeList?? && (complaintTypeList?size > 0) >
|
|
|
+ <#list complaintTypeList as complaint>
|
|
|
+ <option value ="${complaint.complaintId!}" <#if customerInfo.complaintId??><#if customerInfo.complaintId ==complaint.complaintId >selected="selected"</#if></#if>>${complaint.complaintClassName!}</option>
|
|
|
+ </#list>
|
|
|
+ </#if>
|
|
|
+ </select>-->
|
|
|
+ <select class="my-select" name="customerIsVisit" style="height: 36px;width: 120px;margin: 0px;>
|
|
|
+ <option value ="">是否需要回访</option>
|
|
|
+ <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: 120px;margin: 0px;">
|
|
|
+ <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>
|
|
|
+ <select class="my-select" name="visitDesignatedAdminId" style="height: 36px;width: 120px;margin: 0px;">
|
|
|
+ <option value ="">回访客服</option>
|
|
|
+ <#if adminList?? && (adminList?size > 0) >
|
|
|
+ <#list adminList as admin>
|
|
|
+ <option value ="${admin.adminId!}" <#if customerInfo.visitDesignatedAdminId??><#if customerInfo.visitDesignatedAdminId ==admin.adminId >selected="selected"</#if></#if>>${admin.adminName!}</option>
|
|
|
+ </#list>
|
|
|
+ </#if>
|
|
|
+ </select>
|
|
|
+ <button type="submit" class="btn" style="background: #32a3d8;color: #fff;height: 35px; id="" name=""><i class="Hui-iconfont"></i> 搜索</button>
|
|
|
+ </form>
|
|
|
+ </div>
|
|
|
+
|
|
|
+
|
|
|
+ <div class="mt-20">
|
|
|
+ <table class="table table-border table-bg table-bordered">
|
|
|
+ <thead>
|
|
|
+ <tr class="text-c">
|
|
|
+ <th width="50">客诉编号</th>
|
|
|
+ <th width="50">跟进客服</th>
|
|
|
+ <th width="60">姓名</th>
|
|
|
+ <th width="70">电话</th>
|
|
|
+ <th width="80">来源入口</th>
|
|
|
+ <th width="80">客诉产品</th>
|
|
|
+ <#--<th width="80">客诉类型</th>-->
|
|
|
+ <th width="80">问题类型</th>
|
|
|
+ <th width="100">问题简述</th>
|
|
|
+ <th width="60">销售</th>
|
|
|
+ <th width="80">购买日期</th>
|
|
|
+ <th width="60">区域</th>
|
|
|
+ <th width="60">TDS</th>
|
|
|
+ <th width="80">物流单号</th>
|
|
|
+ <th width="80">处理结果</th>
|
|
|
+ <th width="80">需要回访</th>
|
|
|
+ <th width="80">客诉时间</th>
|
|
|
+ <th width="100">操作</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody>
|
|
|
+ <#if page.dataList?? && (page.dataList?size > 0) >
|
|
|
+ <#list page.dataList as customer>
|
|
|
+ <tr class="text-c">
|
|
|
+ <td>${customer.customerId!''}</td>
|
|
|
+ <td>${customer.adminName!''}</td>
|
|
|
+ <td>${customer.customerName!''}
|
|
|
+ <#if customer.customerWechatName?? >
|
|
|
+ <#if customer.customerWechatName?length gt 0 >
|
|
|
+ <br>(${customer.customerWechatName})
|
|
|
+ </#if>
|
|
|
+ </#if>
|
|
|
+ </td>
|
|
|
+
|
|
|
+ <#if (customer.customerTel)?? && customer.customerTel?length gt 7>
|
|
|
+ <td>${customer.customerTel?substring(0,3)}***${customer.customerTel?substring(customer.customerTel?length-4,customer.customerTel?length)}</td>
|
|
|
+ <#else>
|
|
|
+ <td>${customer.customerTel!''}</td>
|
|
|
+ </#if>
|
|
|
+ <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>
|
|
|
+ <span class="label txt2" title="${customer.describeTitle!}" >${customer.describeTitle!'暂无'}</span><br/>
|
|
|
+ <#if customer.describeTitle??>
|
|
|
+ <a style="text-decoration:none;" href="javascript:void(0);" title="查看详情" onclick="getDescribeInfo(${customer.customerId!''})">
|
|
|
+ <font color=#06c>查看详情</font>
|
|
|
+ </a>
|
|
|
+ </#if>
|
|
|
+ </td>
|
|
|
+ <td>${customer.companyName!''}<br/>${customer.storeName!''}</td>
|
|
|
+ <td>${(customer.salesTime?string("yyyy-MM-dd"))!''}</td>
|
|
|
+ <td>${customer.customerArea!''}</td>
|
|
|
+ <td>进${customer.customerInTDS!'0'}PPM<br/>出${customer.customerOutTDS!'0'}PPM</td>
|
|
|
+ <td>
|
|
|
+ <#if (customer.sendLogisticsNo??) || (customer.backLogisticsNo??)>
|
|
|
+
|
|
|
+ <#if (customer.backLogisticsNo??)>
|
|
|
+ 寄回:
|
|
|
+ <a onclick="openLogistics('物流信息','${path}/admin/detect/to_view_logistics?billCode=${customer.backLogisticsNo!''}&billName=${customer.backLogisticsCompany!''}',500,400);">${customer.backLogisticsNo!''}</a><br>
|
|
|
+ </#if>
|
|
|
+ <#if customer.sendLogisticsNo??>
|
|
|
+ 寄出:
|
|
|
+ <a onclick="openLogistics('物流信息','${path}/admin/detect/to_view_logistics?billCode=${customer.sendLogisticsNo!''}&billName=${customer.sendLogisticsCompany!''}',500,400);">${customer.sendLogisticsNo!''}</a><br>
|
|
|
+ </#if>
|
|
|
+ <#else>
|
|
|
+ 无
|
|
|
+ </#if>
|
|
|
+ </td>
|
|
|
+ <td id="txt_customerIsSolve">
|
|
|
+ <#if customer.customerIsSolve == 1>
|
|
|
+ 已解决
|
|
|
+ <#elseif customer.customerIsSolve == 2>
|
|
|
+ 未解决
|
|
|
+ <#elseif customer.customerIsSolve == 3>
|
|
|
+ 换新(
|
|
|
+ <a style="text-decoration:none" href="javascript:void(0);" onclick="toUpdateRenewed(${customer.customerId!''})">
|
|
|
+ <font color=#06c><#if customer.backStatus == 1>
|
|
|
+ 未寄回
|
|
|
+ <#elseif customer.backStatus == 2>
|
|
|
+ 已寄回
|
|
|
+ <#elseif customer.backStatus == 3>
|
|
|
+ 已收货
|
|
|
+ </#if>,
|
|
|
+ <#if customer.sendStatus == 1>
|
|
|
+ 未寄送
|
|
|
+ <#elseif customer.sendStatus == 2>
|
|
|
+ 已寄送
|
|
|
+ <#elseif customer.sendStatus == 3>
|
|
|
+ 已收货
|
|
|
+ </#if><#--,
|
|
|
+ <#if customer.complaintDetectList?? && (customer.complaintDetectList?size > 0)>
|
|
|
+ <#list customer.complaintDetectList as complaintDetect>
|
|
|
+ <#if (complaintDetect_index = 0)>
|
|
|
+ <#if complaintDetect.detectState == 1>
|
|
|
+ 待仓库转入
|
|
|
+ <#elseif complaintDetect.detectState == 2>
|
|
|
+ 正在检查
|
|
|
+ <#elseif complaintDetect.detectState == 3>
|
|
|
+ 检查通过
|
|
|
+ <#elseif complaintDetect.detectState == 4>
|
|
|
+ 检查未通过
|
|
|
+ </#if>
|
|
|
+ </#if>
|
|
|
+ </#list>
|
|
|
+ </#if>-->
|
|
|
+ </font>
|
|
|
+ </a>
|
|
|
+ )
|
|
|
+ <#elseif customer.customerIsSolve == 4>
|
|
|
+ 维修(
|
|
|
+ <a style="text-decoration:none" href="javascript:void(0);" onclick="toUpdateRepair(${customer.customerId!''})">
|
|
|
+ <font color=#06c><#if customer.backStatus == 1>
|
|
|
+ 未寄回
|
|
|
+ <#elseif customer.backStatus == 2>
|
|
|
+ 已寄回
|
|
|
+ <#elseif customer.backStatus == 3>
|
|
|
+ 已收货
|
|
|
+ </#if>,
|
|
|
+ <#if customer.sendStatus == 1>
|
|
|
+ 未寄送
|
|
|
+ <#elseif customer.sendStatus == 2>
|
|
|
+ 已寄送
|
|
|
+ <#elseif customer.sendStatus == 3>
|
|
|
+ 已收货
|
|
|
+ </#if><#--,
|
|
|
+ <#if customer.complaintDetectList?? && (customer.complaintDetectList?size > 0)>
|
|
|
+ <#list customer.complaintDetectList as complaintDetect>
|
|
|
+ <#if (complaintDetect_index = 0)>
|
|
|
+ <#if complaintDetect.detectState == 1>
|
|
|
+ 待仓库转入
|
|
|
+ <#elseif complaintDetect.detectState == 2>
|
|
|
+ 正在检查
|
|
|
+ <#elseif complaintDetect.detectState == 3>
|
|
|
+ 检查通过
|
|
|
+ <#elseif complaintDetect.detectState == 4>
|
|
|
+ 检查未通过
|
|
|
+ </#if>
|
|
|
+ </#if>
|
|
|
+ </#list>
|
|
|
+ </#if>--></font>
|
|
|
+ </a>
|
|
|
+ )
|
|
|
+ <#elseif customer.customerIsSolve == 5>
|
|
|
+ 补发(
|
|
|
+ <a style="text-decoration:none" href="javascript:void(0);" onclick="toUpdateReissue(${customer.customerId!''})">
|
|
|
+ <font color=#06c><#if customer.sendStatus == 1>
|
|
|
+ 未寄送
|
|
|
+ <#elseif customer.sendStatus == 2>
|
|
|
+ 已寄送
|
|
|
+ <#elseif customer.sendStatus == 3>
|
|
|
+ 已收货
|
|
|
+ </#if></font>
|
|
|
+ </a>
|
|
|
+ )
|
|
|
+ <#elseif customer.customerIsSolve == 6>
|
|
|
+ 退货(
|
|
|
+ <a style="text-decoration:none" href="javascript:void(0);" onclick="toUpdateBookGoods(${customer.customerId!''})">
|
|
|
+ <font color=#06c><#if customer.backStatus == 1>
|
|
|
+ 未寄回
|
|
|
+ <#elseif customer.backStatus == 2>
|
|
|
+ 已寄回
|
|
|
+ <#elseif customer.backStatus == 3>
|
|
|
+ 已收货
|
|
|
+ </#if></font>
|
|
|
+ </a>
|
|
|
+ )
|
|
|
+ <#elseif customer.customerIsSolve == 7>
|
|
|
+ 无理由退货(
|
|
|
+ <a style="text-decoration:none" href="javascript:void(0);" onclick="toUpdateNoreasonBack(${customer.customerId!''})">
|
|
|
+ <font color=#06c><#if customer.backStatus == 1>
|
|
|
+ 未寄回
|
|
|
+ <#elseif customer.backStatus == 2>
|
|
|
+ 已寄回
|
|
|
+ <#elseif customer.backStatus == 3>
|
|
|
+ 已收货
|
|
|
+ </#if></font>
|
|
|
+ </a>
|
|
|
+ )
|
|
|
+ </#if>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <#if customer.customerIsVisit == "1">
|
|
|
+ 不需要回访
|
|
|
+ <#elseif customer.customerIsVisit == "2">
|
|
|
+ <#if customer.visitStatus == 1>
|
|
|
+ 待回访<br/>
|
|
|
+ <a style="text-decoration:none" href="javascript:void(0);" title="回访内容" onclick="getVisitInfo(${customer.customerId!''},1)">
|
|
|
+ <font style="color:red;">(${(customer.visitDate?string("yyyy-MM-dd"))!''}完成)</font>
|
|
|
+ </a>
|
|
|
+ <#elseif customer.visitStatus == 2>
|
|
|
+ 已回访<br/>
|
|
|
+ <a style="text-decoration:none" href="javascript:void(0);" title="回访内容" onclick="getVisitInfo(${customer.customerId!''},2)">
|
|
|
+ <font color=#06c>回访内容</font>
|
|
|
+ </a>
|
|
|
+ </#if>
|
|
|
+ </#if>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ ${(customer.customerCreateTime?string("yyyy-MM-dd"))!''}<br>
|
|
|
+ ${(customer.customerCreateTime?string("HH:mm:ss"))!''}
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <#if customer.customerIsSolve == 2>
|
|
|
+ <a style="text-decoration:none" href="javascript:void(0);" title="已解决" onclick="updateCustomerIsSolve(${customer.customerId!''})">
|
|
|
+ <font color=#06c>已解决</font>
|
|
|
+ </a><br/>
|
|
|
+ </#if>
|
|
|
+ <a style="text-decoration:none" href="javascript:void(0);" title="详情" onclick="admin_details_customer(${customer.customerId!''})">
|
|
|
+ <font color=#06c>详情</font>
|
|
|
+ </a><br/>
|
|
|
+ <a style="text-decoration:none" href="javascript:void(0);" title="修改客诉" onclick="admin_update_customer(${customer.customerId!''})">
|
|
|
+ <font color=#06c>修改客诉</font>
|
|
|
+ </a><br/>
|
|
|
+ <#if customer.customerIsVisit == "2">
|
|
|
+ <#if customer.visitStatus == 1 && customer.customerIsVisit == "2">
|
|
|
+ <a style="text-decoration:none" href="javascript:void(0);" title="已完成回访" onclick="toUpdateVisit(${customer.customerId!''})">
|
|
|
+ <font color=#06c>已完成回访</font>
|
|
|
+ </a><br/>
|
|
|
+ </#if>
|
|
|
+ </#if>
|
|
|
+ <#if customer.customerIsVisit == "1">
|
|
|
+ <a style="text-decoration:none" href="javascript:void(0)" title="需要回访" onclick="toAddVisit(${customer.customerId!''})">
|
|
|
+ <font color=#06c>需要回访</font>
|
|
|
+ </a><br/>
|
|
|
+ </#if>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </#list>
|
|
|
+ <#else>
|
|
|
+ <tr><td colspan="17" class="td-manage text-c" >暂时没有客诉信息,请添加!</td></tr>
|
|
|
+ </#if>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+</div>
|
|
|
+<tfoot>
|
|
|
+<#include "/base/page_util.ftl">
|
|
|
+</tfoot>
|
|
|
+<script type="text/javascript">
|
|
|
+ /**
|
|
|
+ * 跳转到添加customer页面
|
|
|
+ */
|
|
|
+ function toAddCustomer(){
|
|
|
+ window.location.href= "${path}/admin/customer/to_add_customer";
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ *跳转到编辑页面
|
|
|
+ * @param employee
|
|
|
+ */
|
|
|
+ function admin_update_customer(customerId) {
|
|
|
+ window.location.href= "${path}/admin/customer/to_update_customer?customerId="+customerId;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ *跳转到详情页面
|
|
|
+ * @param employee
|
|
|
+ */
|
|
|
+ function admin_details_customer(customerId) {
|
|
|
+ window.location.href= "${path}/admin/customer/_customer_info?customerId="+customerId;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ *修改客诉
|
|
|
+ * @param employee
|
|
|
+ */
|
|
|
+ function admin_update_customer(customerId) {
|
|
|
+ window.location.href= "${path}/admin/customer/to_update_customer?customerId="+customerId;
|
|
|
+ }
|
|
|
+
|
|
|
+ function hide_this(val) {
|
|
|
+ $(val).parent().parent().hide();
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 进入添加回访页面
|
|
|
+ */
|
|
|
+ function toAddVisit(customerId) {
|
|
|
+ layer_show("客诉回访","${path}/admin/customer/_add_visit?customerId="+customerId,"780","500");
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 进入回访完成页面
|
|
|
+ */
|
|
|
+ function toUpdateVisit(customerId) {
|
|
|
+ layer_show("已完成回访","${path}/admin/customer/_update_visit_info?customerId="+customerId,"800","500");
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 进入查询回访信息页面
|
|
|
+ */
|
|
|
+ function getVisitInfo(customerId,num) {
|
|
|
+ layer_show("回访内容","${path}/admin/customer/_visit_info?customerId="+customerId+"&num="+num,"800","500");
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 进入查询问题描述信息页面
|
|
|
+ */
|
|
|
+ function getDescribeInfo(customerId) {
|
|
|
+ layer_show("问题描述","${path}/admin/customer/_question_describe?customerId="+customerId,"800","500");
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 进入修改换新页面
|
|
|
+ */
|
|
|
+ function toUpdateRenewed(customerId) {
|
|
|
+ layer_show("换新处理","${path}/admin/customer/_update_renewed?customerId="+customerId,"800","500");
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 进入修改维修页面
|
|
|
+ */
|
|
|
+ function toUpdateRepair(customerId) {
|
|
|
+ layer_show("维修处理","${path}/admin/customer/_to_update_repair?customerId="+customerId,"800","500");
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 进入修改退货页面
|
|
|
+ */
|
|
|
+ function toUpdateBookGoods(customerId) {
|
|
|
+ layer_show("退货处理","${path}/admin/customer/_to_update_book_goods?customerId="+customerId,"800","500");
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 进入修改无理由退货页面
|
|
|
+ */
|
|
|
+ function toUpdateNoreasonBack(customerId) {
|
|
|
+ layer_show("无理由退货处理","${path}/admin/customer/_update_noreason_back?customerId="+customerId,"800","500");
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 进入修改售后补发页面
|
|
|
+ */
|
|
|
+ function toUpdateReissue(customerId) {
|
|
|
+ layer_show("补发处理","${path}/admin/customer/_to_update_reissue?customerId="+customerId,"800","500");
|
|
|
+ }
|
|
|
+
|
|
|
+ /*子页面添加完信息后回显添加结果是否成功*/
|
|
|
+ function custome_result(str,num) {
|
|
|
+ layer.msg(str,{icon:num,time:1000});
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 将未解决状态修改为已解决
|
|
|
+ */
|
|
|
+ function updateCustomerIsSolve(customerId) {
|
|
|
+ layer.confirm('确认要修改吗?',function(index){
|
|
|
+ $.ajax({
|
|
|
+ cache: true,
|
|
|
+ type: "POST",
|
|
|
+ data: {"customerId":customerId},
|
|
|
+ url: "${path}/admin/customer/update_customerIsSolve",
|
|
|
+ async: false,
|
|
|
+ success: function(data){
|
|
|
+ if (data.returnCode == 200) {
|
|
|
+ layer.msg(data.resultMsg,{icon: 1,time:1000});
|
|
|
+ // $('#txt_customerIsSolve').html('已解决');
|
|
|
+ } else {
|
|
|
+ layer.msg(data.resultMsg,{icon: 5,time:1000});
|
|
|
+ }
|
|
|
+ location.replace(location.href);
|
|
|
+ },
|
|
|
+ error: function(XmlHttpRequest, textStatus, errorThrown){
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }, function() {
|
|
|
+
|
|
|
+ });
|
|
|
+ }
|
|
|
+ /*查看物流*/
|
|
|
+ function openLogistics(title, url, w, h) {
|
|
|
+ layer_show(title,url,w,h);
|
|
|
+ }
|
|
|
+</script>
|
|
|
+</body>
|
|
|
+</html>
|