From 0e0738fea4275eb50c1014dea40ac5cf9f8cf845 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Thu, 13 Apr 2023 12:35:24 +0800
Subject: [PATCH] 后台修改

---
 src/main/resources/templates/febs/views/modules/mallMember/mallAgentRecord.html |   19 ++++++++++++++++---
 1 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/src/main/resources/templates/febs/views/modules/mallMember/mallAgentRecord.html b/src/main/resources/templates/febs/views/modules/mallMember/mallAgentRecord.html
index df0777d..b31ba2e 100644
--- a/src/main/resources/templates/febs/views/modules/mallMember/mallAgentRecord.html
+++ b/src/main/resources/templates/febs/views/modules/mallMember/mallAgentRecord.html
@@ -98,8 +98,19 @@
                 layEvent = obj.event;
 
             if (layEvent === 'agree') {
-                febs.modal.confirm('通过', '通过用户的代理申请?', function () {
-                    agree(data.id);
+                // febs.modal.confirm('通过', '通过用户的代理申请?', function () {
+                //     agree(data.id);
+                // });
+
+                febs.modal.open('代理申请审核', 'modules/mallMember/agentVerify/' + data.id, {
+                    btn: ['确认','取消'],
+                    yes: function (index, layero) {
+                        $('#agent-verify').find('#submit').trigger('click');
+                        $query.click();
+                    },
+                    btn2: function () {
+                        layer.closeAll();
+                    }
                 });
             }
             if (layEvent === 'disagree') {
@@ -142,7 +153,7 @@
                 defaultToolbar:[],
                 cols: [[
                     {field:'memberName', title:'微信昵称', width:100, rowspan: 2,align: 'center'}
-                    ,{align: 'center', title: '基本信息', colspan: 7}
+                    ,{align: 'center', title: '基本信息', colspan: 9}
                     ,{field: 'state', title: '申请状态',
                         templet: function (d) {
                             if (d.state === 1) {
@@ -170,6 +181,8 @@
                     // {field: 'memberName', title: '微信昵称', minWidth: 150,align:'left'},
                     {field: 'name', title: '姓名', minWidth: 100,align:'left'},
                     {field: 'phone', title: '电话', minWidth: 100,align:'left'},
+                    {field: 'amount', title: '充值金额', minWidth: 100,align:'left'},
+                    {field: 'agentLevelName', title: '等级', minWidth: 100,align:'left'},
                     {field: 'province', title: '省', minWidth: 100,align:'left'},
                     {field: 'city', title: '市', minWidth: 100,align:'left'},
                     {field: 'area', title: '区、县', minWidth: 100,align:'left'},

--
Gitblit v1.9.1