From 78472da3395d1db45b6a76688c72a2c2a372c47a Mon Sep 17 00:00:00 2001
From: jyy <jyy>
Date: Sat, 31 Jul 2021 17:42:05 +0800
Subject: [PATCH] Merge branch 'score_shop' into api_score_meger

---
 zq-erp/src/main/resources/templates/views/admin/hive/vip/vipInfo-list.html |   20 +++++---------------
 1 files changed, 5 insertions(+), 15 deletions(-)

diff --git a/zq-erp/src/main/resources/templates/views/admin/hive/vip/vipInfo-list.html b/zq-erp/src/main/resources/templates/views/admin/hive/vip/vipInfo-list.html
index eb9ef2a..2ad4dad 100644
--- a/zq-erp/src/main/resources/templates/views/admin/hive/vip/vipInfo-list.html
+++ b/zq-erp/src/main/resources/templates/views/admin/hive/vip/vipInfo-list.html
@@ -121,7 +121,7 @@
                     <button matrix:fn="orderClub"  onclick="openOrder()" type="button" class="btn btn-info btn-sm"><i class="fa fa-history"></i> 消费订单</button>
                     <button matrix:fn="serviceClub"  onclick="openServiceOrder()" type="button" class="btn btn-info btn-sm"><i class="fa fa-history"></i> 服务单</button>
                     <button matrix:btn="vipInfo-add"  onclick="openAdd()" type="button" class="btn btn-info btn-sm"><i class="fa fa-plus" ></i>  新增</button>
-                    <button matrix:btn="vipInfo-excelOut"  onclick="exportExcel()" type="button" class="btn btn-info btn-sm"><i class="fa fa-download" ></i> 导出</button>
+                    <button matrix:btn="vipInfo-exportExcel"  onclick="exportExcel()" type="button" class="btn btn-info btn-sm"><i class="fa fa-download" ></i> 导出</button>
                     <button matrix:btn="vipInfo-allot"  onclick="updateVipInfos()" type="button" class="btn btn-info btn-sm"><i class="" ></i>批量设置健康顾问</button>
                     <button onclick="skinCheck()" type="button" class="btn btn-info btn-sm"><i class="" ></i>皮肤检测管理</button>
                     <button onclick="importVipInfo()" type="button" class="btn btn-info btn-sm"><i class="" ></i>导入会员</button>
@@ -402,20 +402,10 @@
     }
 
     //导出
-        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();
-            window.location.href = basePath+"/admin/vipInfo/exportExcel?vipType="
-                + encodeURI(encodeURI(vipType)) + "&arrivalWay="
-                + encodeURI(encodeURI(arrivalWay)) + "&"+name+"="
-                + encodeURI(encodeURI(value)) + "&vipState="
-                + encodeURI(encodeURI(vipState)) 
-                + "&staffId=" + staffId;
-        }
+    function exportExcel() {
+        var param=MForm.toUrlParam("#serchform");
+        window.location.href=basePath+"/admin/vipInfo/exportExcel?"+param;
+    }
 
 </script>
 

--
Gitblit v1.9.1