Browse Source

会员部分修改

shensong 5 years ago
parent
commit
1a8b1ce3f7
1 changed files with 15 additions and 4 deletions
  1. 15 4
      resources/views/customer/vipCustomerList.blade.php

+ 15 - 4
resources/views/customer/vipCustomerList.blade.php

97
     $(function(){
97
     $(function(){
98
         setTimeout("$('#info').hide()",3000);
98
         setTimeout("$('#info').hide()",3000);
99
     });
99
     });
100
-    /*管理员-添加*/
100
+    /*添加会员*/
101
     function user_add(){
101
     function user_add(){
102
         location.href = '/admin/customer/vipCreate';
102
         location.href = '/admin/customer/vipCreate';
103
     }
103
     }
104
-    /*管理员-编辑*/
104
+    /*编辑会员*/
105
     function user_edit(id){
105
     function user_edit(id){
106
         location.href = "/admin/customer/vipUpdate?id="+id;
106
         location.href = "/admin/customer/vipUpdate?id="+id;
107
     }
107
     }
108
+    /*代金券记录*/
109
+    function coupon_log(phone){
110
+        location.href = "/admin/customer/couponLog?phone="+phone;
111
+    }
112
+    /*每月礼品领取记录*/
113
+    function month_gift_log(phone){
114
+        location.href = "/admin/customer/monthGiftLog?phone="+phone;
115
+    }
116
+    /*生日套餐领取记录*/
117
+    function birthday_gift_log(phone){
118
+        location.href = "/admin/customer/birthdayGiftLog?phone="+phone;
119
+    }
108
 
120
 
109
     /*vip用户-禁用*/
121
     /*vip用户-禁用*/
110
     function user_del(obj,id){
122
     function user_del(obj,id){
137
             });
149
             });
138
         });
150
         });
139
     }
151
     }
140
-
141
-
152
+    /*会员搜索*/
142
     function user_search(){
153
     function user_search(){
143
         var phone = $('#phone').val();
154
         var phone = $('#phone').val();
144
         var name = $('#name').val();
155
         var name = $('#name').val();