From 12b84637ae89a2136bfc6774284841e87af02f0d Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Sat, 08 Apr 2023 17:01:49 +0800
Subject: [PATCH] 设置内转开关

---
 src/main/resources/templates/febs/views/modules/mallMember/mallMemberList.html |   13 +++++++------
 1 files changed, 7 insertions(+), 6 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 021e001..bb1aa63 100644
--- a/src/main/resources/templates/febs/views/modules/mallMember/mallMemberList.html
+++ b/src/main/resources/templates/febs/views/modules/mallMember/mallMemberList.html
@@ -227,13 +227,14 @@
                 url: ctx + 'admin/mallMember/getMallMemberList',
                 toolbar:"#toolbar",
                 defaultToolbar:[],
+                totalRow: true ,// 开启合计行
                 cols: [[
                     {type: 'checkbox'},
-                    {field: 'phone', title: '账号', minWidth: 150,align:'left'},
+                    {field: 'phone', title: '账号', minWidth: 150,align:'left', totalRowText: '合计:'},
                     {field: 'name', title: '名称', minWidth: 100,align:'left'},
                     {field: 'inviteId', title: '邀请码', minWidth: 100,align:'left'},
-                    {field: 'balance', title: '余额', minWidth: 100,align:'left'},
-                    {field: 'score', title: '积分', minWidth: 100,align:'left'},
+                    {field: 'balance', title: '余额', minWidth: 100,align:'left',totalRow: '{{= parseInt(d.balance) }}'},
+                    {field: 'score', title: '积分', minWidth: 100,align:'left',totalRow: '{{= parseInt(d.score) }}'},
                     // {field: 'prizeScore', title: '竞猜积分', minWidth: 100,align:'left'},
                     // {field: 'commission', title: '佣金', minWidth: 100,align:'left'},
                     {field: 'referrerName', title: '推荐人', minWidth: 100,align:'left'},
@@ -287,7 +288,7 @@
             }
 
             if (layEvent === 'resetPwd') {
-                febs.modal.confirm('重置登录密码', '是否重置选中账号登录密码?', function () {
+                febs.modal.confirm('重置登录密码', '是否重置选中账号登录密码为【a123456】?', function () {
                     var ids = [];
                     layui.each(checkData, function (key, item) {
                         ids.push(item.id)
@@ -297,7 +298,7 @@
             }
 
             if (layEvent === 'resetPayPwd') {
-                febs.modal.confirm('重置交易密码', '是否重置选中账号交易密码?', function () {
+                febs.modal.confirm('重置交易密码', '是否重置选中账号交易密码为【123456】?', function () {
                     var ids = [];
                     layui.each(checkData, function (key, item) {
                         ids.push(item.id)
@@ -342,7 +343,7 @@
         });
 
         function systemPay(text, id, type) {
-            febs.modal.open('text', 'modules/mallMember/mallSystemPay/' + type +'/'+ id, {
+            febs.modal.open(text, 'modules/mallMember/mallSystemPay/' + type +'/'+ id, {
                 btn: ['提交', '取消'],
                 yes: function (index, layero) {
                     $('#systemPay-update').find('#submit').trigger('click');

--
Gitblit v1.9.1