From 16b9e8b2690e8cc2b7f2262d1fa2ec65ee5dc590 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Mon, 17 Apr 2023 16:27:34 +0800
Subject: [PATCH] 只针对一星会员做修改: 按购买业绩(不按权益积分)每天静态释0.6%~1.2%

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

diff --git a/src/main/resources/templates/febs/views/modules/mallMember/agentList.html b/src/main/resources/templates/febs/views/modules/mallMember/agentList.html
index 1c38972..2a9e086 100644
--- a/src/main/resources/templates/febs/views/modules/mallMember/agentList.html
+++ b/src/main/resources/templates/febs/views/modules/mallMember/agentList.html
@@ -60,6 +60,11 @@
     <a lay-event="edit" shiro:hasPermission="user:update"><i
             class="layui-icon febs-edit-area febs-blue">&#xe7a5;</i></a>
 </script>
+
+<!-- 表格操作栏 start -->
+<script type="text/html" id="agentList-option">
+    <button class="layui-btn layui-btn-normal layui-btn-xs" type="button" shiro:hasPermission="agentList:tdView">字段显示隐藏</button>
+</script>
 <!-- 表格操作栏 end -->
 <script data-th-inline="none" type="text/javascript">
     // 引入组件并初始化
@@ -74,6 +79,8 @@
             $searchForm = $view.find('form'),
             sortObject = {field: 'phone', type: null},
             tableIns;
+
+        let toolbarAgentList = $.trim($("#agentList-option").html())==="" ? true : false;
 
         form.render();
 
@@ -134,7 +141,7 @@
                 url: ctx + 'admin/mallMember/getAgentList',
                 cols: [[
                     // {field: 'bindPhone', title: '手机号', minWidth: 150,align:'left'},
-                    {field: 'phone', title: '账号', minWidth: 150,align:'left'},
+                    {field: 'phone', title: '账号', minWidth: 150,align:'left',hide:toolbarAgentList},
                     {field: 'name', title: '名称', minWidth: 100,align:'left'},
                     {field: 'inviteId', title: '邀请码', minWidth: 100,align:'left'},
                     {field: 'levelName', title: '代理层级', minWidth: 100,align:'left'},

--
Gitblit v1.9.1