123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115 |
- <!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" />
- <#include "/base/add_base.ftl">
- <link href="${path}/common/static/h-ui/css/H-ui.min.css" rel="stylesheet" type="text/css" />
- <link href="${path}/common/static/h-ui.admin/css/H-ui.admin.css" rel="stylesheet" type="text/css" />
- <!--<link href="lib/icheck/icheck.css" rel="stylesheet" type="text/css" />-->
- <link href="${path}/common/lib/Hui-iconfont/1.0.8/iconfont.css" rel="stylesheet" type="text/css" />
- <!--<link href="lib/webuploader/0.1.5/webuploader.css" rel="stylesheet" type="text/css" />-->
- <title></title>
- <style>
- .my-btn-submit{padding: 10px 20px;width: 120px; background-color: #32a3d8;color: #fff;border: 1px solid #32a3d8;cursor:pointer;margin: 10px 10px 0 10px;}
- </style>
- </head>
- <body>
- <article class="cl pd-20">
- <form action="" method="post" class="form form-horizontal" id="form-article-add">
- <div class="row cl">
- <div class="formControls col-2 col-sm-2 text-r" style="margin-top: 10px;">
- <strong>客诉编号:</strong>
- </div>
- <div class="formControls col-8 col-sm-8">
- <input type="text" style="width: 400px;" class="input-text" placeholder="客诉编号" id="signclosedCustomerId" name="signclosedCustomerId">
- <button type="button" style="margin-top: 4px;" class="my-btn-submit" onclick="select();">查询</button>
- </div>
- </div>
- <div id="noCustomerDiv" style="display: none;margin-left: -110px;">
- <h3><strong style="color: #93da67">?没有搜索到客诉哦</strong></h3>
- </div>
- <div id="customerDiv" style="display: none;margin-left: -110px;">
- <div class="formControls col-2 col-sm-2 text-r">
- <strong></strong>
- </div>
- <table class="table table-border table-bg table-bordered" style="margin-top: 10px;width: 500px;">
- <thead>
- <tr>
- <th width="5" style="text-align: center">客诉标题</th>
- <td width="50" style="font-weight: normal;"><span id="txtDescribeTitle"></span></td>
- </tr>
- <tr>
- <th width="5" style="text-align: center">客诉回复</th>
- <td width="50" style="font-weight: normal;"><span id="txtDescribeContent"></span></td>
- </tr>
- <tr>
- <th width="5" style="text-align: center">客诉人姓名</th>
- <td width="50" style="font-weight: normal;"><span id="customerName"></span></td>
- </tr>
- <tr>
- <th width="5" style="text-align: center">客诉人手机号</th>
- <td width="50" style="font-weight: normal;"><span id="customerTel"></span></td>
- </tr>
- <tr>
- <th width="5" style="text-align: center">客诉时间</th>
- <td width="50" style="font-weight: normal;"><span id="customerCreateTime"></span></td>
- </tr>
- </thead>
- </table>
- </div>
- <#--<div class="row cl">
- <div class="formControls col-2 col-sm-2">
- </div>
- <div class="formControls col-10 col-sm-10">
- <img src="images/image-1.jpg" />
- </div>
- </div>-->
- </form>
- </div>
- </article>
- <#--<script type="text/javascript" src="${path}/common/lib/jquery/1.9.1/jquery.min.js"></script>
- <script type="text/javascript" src="${path}/common/lib/layer/2.4/layer.js"></script>
- <script type="text/javascript" src="${path}/common/static/h-ui/js/H-ui.js"></script>
- <script type="text/javascript" src="${path}/common/static/h-ui.admin/js/H-ui.admin.js"></script>-->
- <script type="text/javascript">
- function select() {
- var signclosedCustomerId = $("#signclosedCustomerId").val();
- $.ajax({
- cache: true,
- type: "POST",
- data: {"customerId":signclosedCustomerId},
- url: "${path}/admin/customer/get_describe_info",
- async: false,
- success: function(data){
- if (data.returnCode == 200) {
- var describe = data.returnMsg.describe;
- var customer = data.returnMsg.customerInfo;
- $('#customerCreateTime').html(formatDate(describe.customerCreateTime,"yyyy年MM月dd日"));
- $('#txtDescribeTitle').html(describe.describeTitle);
- $('#txtDescribeContent').html(describe.describeContent);
- $('#customerName').html(customer.customerName);
- $('#customerTel').html(customer.customerTel);
- $("#noCustomerDiv").hide();
- $("#customerDiv").show();
- $("#associatedId").show();
- }else {
- $("#customerDiv").hide();
- $("#associatedId").hide();
- $("#noCustomerDiv").show();
- }
- },
- error: function(XmlHttpRequest, textStatus, errorThrown){
- }
- })
- }
- </script>
- </body>
- </html>
|