|   | 
|   | 
| <!doctype html> | 
| <html xmlns:th="http://www.thymeleaf.org" xmlns:matrix="http://www.w3.org/1999/xhtml"> | 
| <head> | 
| <meta charset="utf-8"> | 
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | 
|   | 
| <meta | 
|     content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" | 
|     name="viewport" /> | 
| <title th:text="${session.userInfo.shopName }"></title> | 
|   | 
| <!-- Set render engine for 360 browser --> | 
| <meta name="renderer" content="webkit"> | 
|   | 
|   | 
|   | 
|   | 
| <script type="text/javascript" | 
|     th:src="@{/js/plugin/jquery-2.1.4.min.js}"></script> | 
| <script type="text/javascript" | 
|     th:src="@{/js/systools/DDMBase.js}"></script> | 
| <link rel="stylesheet" | 
|     th:href="@{/plugin/amazingUI/css/amazeui.min.css}"> | 
| <link rel="stylesheet" | 
|     th:href="@{/plugin/amazingUI/css/app.css}"> | 
| <link rel="stylesheet" type="text/css" | 
|     th:href="@{/css/dingCRMaccount-service.css}"> | 
| <!-- <style type="text/css"> | 
|     .divList{ | 
|         _height:200px;  | 
|         min-height:100px;  | 
|         border:1px solid #000;  | 
|     } | 
|   | 
| </style> --> | 
|   | 
| </head> | 
| <script> | 
|      | 
| </script> | 
|   | 
|   | 
| <body> | 
|     <!-- 商品列表页面 --> | 
|     <div class="wrap"> | 
|         <!-- 头部开始 --> | 
|         <header data-am-widget="header" | 
|             class="am-header color-w back-m1 am-header-fixed"> | 
|             <div class="am-header-left am-header-nav"> | 
|                 <a th:href="@{/admin/redirect/hive/mobile/CRM-account}" class=""> <i | 
|                     class="am-header-icon am-icon-chevron-left"></i> | 
|                 </a> | 
|             </div> | 
|   | 
|             <h1 class="am-header-title"> | 
|                 <a href="#title-link" class="" th:text="${session.lookVipInfo.vipName}+'跟进记录'">  </a> | 
|             </h1> | 
|   | 
|   | 
|         </header> | 
|         <!-- 头部结束 --> | 
|   | 
|         <!-- 订单内容 --> | 
|         <div class="main main1"> | 
|   | 
|             <div class="am-g"> | 
|                 <div class="col-sm-12" style="text-align: right"><a th:href="@{/admin/redirect/hive/mobile/CRM-account-follow-add}" | 
|                                                class="am-btn am-btn-primary">新增跟进记录</a></div> | 
|             </div> | 
|   | 
|   | 
|             <!-- 套餐表格 --> | 
|             <div data-am-widget="list_news"  | 
|                 class="am-list-news am-list-news-default divList" style="margin-bottom: 60px"> | 
|                 <!--列表标题--> | 
|                 <div class="am-list-news-hd am-cf am-g" id="ul_title"> | 
|                     <!--带更多链接--> | 
|                     <div class="am-u-sm-4 "> | 
|                         <h2 class="am-list-news-more am-fr">计划跟进时间</h2> | 
|                     </div> | 
|                     <div class="am-u-sm-6     "> | 
|                         <h2 class="am-list-news-more am-fr">肌肤现状</h2> | 
|                     </div> | 
|                     <div class="am-u-sm-2 "> | 
|                         <h2 class="am-list-news-more am-fr">操作</h2> | 
|                     </div> | 
|   | 
|                 </div> | 
|                  | 
|                 <div class="am-list-news-bd " > | 
|                     <ul class="am-list" id="showdataBox"> | 
|                          | 
|                     </ul> | 
|                 </div> | 
|                 <div id="pagingBox" align="center" style="margin-top: 10px;margin-bottom: 100px"> | 
|                            | 
|                  </div> | 
|             </div> | 
|   | 
|   | 
|   | 
|         </div> | 
|     </div> | 
|     <form class="am-form" method="post" | 
|           id="dataform" onsubmit="javascripr:return false;"> | 
|     <input autocomplete="off"   type="hidden" name="offset" id="_offset"  value="0" /> | 
|     <input autocomplete="off"   type="hidden" id="limit" name="limit"   value="10" /> | 
|     </form> | 
|     <script | 
|         th:src="@{/plugin/amazingUI/js/amazeui.widgets.helper.js}"></script> | 
|     <script th:src="@{/plugin/amazingUI/js/amazeui.min.js}"></script> | 
|   | 
|     <script> | 
|         var delBtn=""; | 
|     </script> | 
|   | 
|     <script matrix:btn="servicefollow-dels"  > | 
|         delBtn='<a class="am-list-item-hd" onClick="del(\'VALUE\')"  >删除</a>'; | 
|     </script> | 
|   | 
|   | 
|     <script> | 
|      | 
|   | 
|      | 
|      | 
|     /** | 
|         加载数据 | 
|          **/ | 
|          $(function(){ | 
|               | 
|             var pageSize=$("#limit").val(); | 
|             var flag = $.query.get("flag"); | 
|             if(flag){ | 
|                 $("#order-select").val(flag); | 
|             } | 
|              Pagination.init({ | 
|                     url: basePath+"/admin/serviceRecord/showList", | 
|                     pageSize : pageSize, | 
|                     builderDate:function(loj){ | 
|                         var html=''; | 
|                         if(loj.getRowCount() >0){ | 
|                             for(var i=0 ; i<loj.getRowCount(); i++ ){ | 
|                                 html+=' <li class="am-g am-list-item-desced am-list-item-thumbed am-list-item-thumb-left"> <div class="am-u-sm-4 "> <h3 class="am-list-item-hd">' | 
|                                 +loj.getDateYMH(i,"followTime") | 
|                                 +'</h3> </div> <div class="am-u-sm-6 "><h3 class="am-list-item-hd">' | 
|                                 +loj.getString(i,"info5") | 
|                                 +'</h3> </div> <div class="am-u-sm-2 ">' | 
|                                 +'<a class="am-list-item-hd" href="'+basePath+'/admin/serviceRecord/editForm?id='+loj.getString(i,"id")+'"  >编辑</a>  ' | 
|                                 +delBtn.replace("VALUE",loj.getString(i,"id"))+'</div></li>'; | 
|                             } | 
|                         }else{ | 
|                             html ='<Div style="text-align: center;width:100%;">暂无跟进记录</div>' | 
|                             $("#pagingBox").hide(); | 
|                         } | 
|                         return html; | 
|                     }     | 
|                 }).serchDate(); | 
|              }) | 
|                  | 
|   | 
|         function del(id){ | 
|              layer.open({ | 
|                     content: '确认要删除这条记录吗?', | 
|                     btn: ['确认', '取消'], | 
|                     shadeClose: false, | 
|                     yes: function(){ | 
|                         $.AjaxProxy({p:{keys:id}}).invoke( basePath+"/admin/serviceRecord/del",function(loj){ | 
|                             layer.open({content: '删除成功', time: 1}); | 
|                             Pagination.serchDate(); | 
|                         }); | 
|                          | 
|                     } | 
|                 }); | 
|         } | 
|     </script> | 
|   | 
|   | 
|   | 
|   | 
|   | 
|   | 
|   | 
|     <!-- index js --> | 
| </body> | 
| </html>  |