|  |  | 
 |  |  |  | 
 |  |  |             <!-- 功能按钮部分 --> | 
 |  |  |             <div id="option-bar" > | 
 |  |  |                 <button matrix:fn="mdhyzl-edit" onclick="openEdit()"  type="button" class="btn btn-success btn-sm "><i | 
 |  |  |                 <button matrix:btn="mdhyzl-edit" onclick="openEdit()"  type="button" class="btn btn-success btn-sm "><i | 
 |  |  |                         class="fa fa-edit"></i>编辑 | 
 |  |  |                 </button> | 
 |  |  |                     <button matrix:fn="mdhyzl-gjjl"  onclick="openFollow()" type="button" class="btn btn-info btn-sm"><i class="fa fa-edit" ></i> 跟进记录</button> | 
 |  |  |                     <button matrix:fn="mdhyzl-khda"  onclick="openArchieves()" type="button" class="btn btn-info btn-sm"><i class="fa fa-edit" ></i> 客户档案</button> | 
 |  |  |                     <button matrix:btn="mdhyzl-excelOut"  onclick="exportExcel()" type="button" class="btn btn-info btn-sm"><i class="fa fa-download" ></i> 导出</button> | 
 |  |  |                     <button matrix:btn="mdhyzl-gjjl"  onclick="openFollow()" type="button" class="btn btn-info btn-sm"><i class="fa fa-edit" ></i> 跟进记录</button> | 
 |  |  |                     <button matrix:btn="mdhyzl-khda"  onclick="openArchieves()" type="button" class="btn btn-info btn-sm"><i class="fa fa-edit" ></i> 客户档案</button> | 
 |  |  |                     <button matrix:btn="mdhyzl-exportExcel"  onclick="exportExcel()" type="button" class="btn btn-info btn-sm"><i class="fa fa-download" ></i> 导出</button> | 
 |  |  |             </div> | 
 |  |  |  | 
 |  |  |         <!-- 数据表格部分 --> | 
 |  |  | 
 |  |  |             title : "会员跟进记录", | 
 |  |  |             area :  MUI.SIZE_M, | 
 |  |  |             maxmin : true, | 
 |  |  |             content : [ basePath+'/admin/serviceRecord/toServicefollowListForZd?id=' + id ] | 
 |  |  |             content : [ basePath+'/admin/redirect/hive/vip/followu-list?vipId=' + id ] | 
 |  |  |         }); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  | 
 |  |  |  | 
 |  |  |     //导出 | 
 |  |  |         function exportExcel() { | 
 |  |  |             var name = $("#search-text").attr("name"); | 
 |  |  |             var value = $("#search-text").val(); | 
 |  |  |             var vipType = $("#vipType").val(); | 
 |  |  |             var arrivalWay = $("#arrivalWay").val(); | 
 |  |  |             var vipState = $("#vipState").val(); | 
 |  |  |             var staffId = $("#staffId").val(); | 
 |  |  |             var shopId = $("#shopId").val(); | 
 |  |  |             window.location.href = basePath+"/admin/vipInfo/exportExcel?vipType=" | 
 |  |  |                 + encodeURI(encodeURI(vipType)) + "&arrivalWay=" | 
 |  |  |                 + encodeURI(encodeURI(arrivalWay)) + "&"+name+"=" | 
 |  |  |                 + encodeURI(encodeURI(value)) + "&vipState=" | 
 |  |  |                 + encodeURI(encodeURI(vipState)) + "&shopId=" + shopId | 
 |  |  |                 + "&staffId=" + staffId; | 
 |  |  |             var param=MForm.toUrlParam("#serchform"); | 
 |  |  |             window.location.href=basePath+"/hiveErp/vipInfo/exportExcel?"+param; | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |     //打开编辑界面 |