From 258dc93217e5af0bbe79802a665ef77e62fe7bc0 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Wed, 04 Feb 2026 14:43:38 +0800
Subject: [PATCH] feat(member): 添加会员角色管理功能

---
 src/main/resources/templates/febs/views/modules/mallMember/mallMemberList.html |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/src/main/resources/templates/febs/views/modules/mallMember/mallMemberList.html b/src/main/resources/templates/febs/views/modules/mallMember/mallMemberList.html
index 4e54b76..ea74953 100644
--- a/src/main/resources/templates/febs/views/modules/mallMember/mallMemberList.html
+++ b/src/main/resources/templates/febs/views/modules/mallMember/mallMemberList.html
@@ -133,7 +133,7 @@
 <script type="text/html" id="memberToolbar">
     <div class="layui-btn-container">
 <!--        <button class="layui-btn layui-btn-normal layui-btn-sm" type="button" lay-event="updateReferer">修改推荐人</button>-->
-<!--        <button class="layui-btn layui-btn-normal layui-btn-sm" type="button" shiro:hasPermission="updateMemberLevel:update" lay-event="updateMemberLevel">修改会员等级</button>-->
+        <button class="layui-btn layui-btn-normal layui-btn-sm" type="button" lay-event="updateMemberLevel">修改角色</button>
 <!--        <button class="layui-btn layui-btn-normal layui-btn-sm" type="button" shiro:hasPermission="updateSaleLevel:update" lay-event="updateSaleLevel">修改分销等级</button>-->
 <!--        <button class="layui-btn layui-btn-normal layui-btn-sm" type="button" shiro:hasPermission="wallet:update" lay-event="balance">余额修改</button>-->
 <!--        <button class="layui-btn layui-btn-normal layui-btn-sm" type="button" shiro:hasPermission="wallet:update" lay-event="prizeScore">积分修改</button>-->
@@ -265,19 +265,19 @@
         function memberOut(id) {
             febs.get(ctx + 'admin/mallMember/memberOut/' + id, null, function () {
                 febs.alert.success('操作成功');
-                $query.click();
+                // $query.click();
             });
         }
         function closeAccount(id) {
             febs.get(ctx + 'admin/mallMember/closeAccount/' + id, null, function () {
                 febs.alert.success('操作成功');
-                $query.click();
+                // $query.click();
             });
         }
         function openAccount(id) {
             febs.get(ctx + 'admin/mallMember/openAccount/' + id, null, function () {
                 febs.alert.success('操作成功');
-                $query.click();
+                // $query.click();
             });
         }
 
@@ -343,7 +343,7 @@
         function checkOrder(id) {
             febs.get(ctx + 'admin/mallMember/checkOrder/' + id, null, function () {
                 febs.alert.success('操作成功');
-                $query.click();
+                // $query.click();
             });
         }
 
@@ -398,6 +398,7 @@
                     {field: 'name', title: '用户名', minWidth: 100,align:'center'},
                     {field: 'realName', title: '真实姓名', minWidth: 100,align:'center'},
                     {field: 'phone', title: '联系方式', minWidth: 150,align:'center'},
+                    {field: 'companyName', title: '公司', minWidth: 150,align:'center'},
                     // {field: 'balance', title: '余额', minWidth: 150,align:'center'},
                     // {field: 'score', title: '会员经验', minWidth: 150,align:'center'},
                     // {field: 'prizeScore', title: '积分', minWidth: 150,align:'center'},
@@ -405,7 +406,7 @@
                     // {field: 'totalScore', title: '总佣金', minWidth: 150,align:'center'},
                     // {field: 'directorName', title: '会员等级', minWidth: 150,align:'center'},
                     // {field: 'storeMasterName', title: '分销等级', minWidth: 150,align:'center'},
-                    {field: 'inviteId', title: '邀请码', minWidth: 100,align:'center'},
+                    {field: 'companyCode', title: '公司码', minWidth: 100,align:'center'},
                     {field: 'createdTime', title: '注册时间', minWidth: 180,align:'center'},
                 ]]
             });
@@ -474,7 +475,7 @@
                     febs.alert.warn('每次只能修改一个用户');
                     return;
                 }
-                febs.modal.open('设置会员等级', 'modules/mallMember/vipLevelSetting/' + checkData[0].id, {
+                febs.modal.open('角色设置', 'modules/mallMember/vipLevelSetting/' + checkData[0].id, {
                     btn: ['确认', '取消'],
                     yes: function (index, layero) {
                         $('#vip-level-set').find('#submit').trigger('click');

--
Gitblit v1.9.1