From 74a515f13ad8b5a38c6e4379de0927cec93ce62f Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Tue, 23 Jun 2020 15:37:02 +0800
Subject: [PATCH] 20200623   代码提交

---
 src/main/resources/templates/febs/views/modules/member/member.html |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/templates/febs/views/modules/member/member.html b/src/main/resources/templates/febs/views/modules/member/member.html
index 86fc1e7..8d6d961 100644
--- a/src/main/resources/templates/febs/views/modules/member/member.html
+++ b/src/main/resources/templates/febs/views/modules/member/member.html
@@ -109,6 +109,11 @@
                     }
                 });
             }
+            if (layEvent === 'see') {
+                febs.modal.open('身份认证', 'modules/member/memberDetail/' + data.id, {
+                    area: $(window).width() <= 1000 ? '100%' : '50%',
+                });
+            }
         });
         
 
@@ -139,7 +144,17 @@
                     {title: '账号状态', templet: '#account-status', minWidth: 50,align:'center'},
                     {title: '审核状态', templet: '#certify-status', minWidth: 80,align:'center'},
                     {field: 'createTime', title: '注册时间', minWidth: 180,align:'center'},
-                    {title: '操作', toolbar: '#user-option', minWidth: 140, fixed : 'right'}
+                    {title: '操作', 
+                    	templet: function (d) {
+                            if (d.certifyStatus === 1) {
+                            	return '<a lay-event="edit" shiro:hasPermission="user:update">确认</a>'
+                            }else if(d.certifyStatus === 2){
+                            	return '<a lay-event="see" shiro:hasPermission="user:update">'
+                            	+'<i class="layui-icon febs-edit-area febs-blue">&#xe7a5;</i></a>'
+                            }else {
+                                return ''
+                            }
+                        },minWidth: 200,align:'center'}
                 ]]
             });
         }

--
Gitblit v1.9.1