From 264edffc6eae1fa5cccbf9992d9502cfa699f759 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Sat, 11 Jul 2020 17:18:09 +0800
Subject: [PATCH] 20200711 代码提交
---
src/main/resources/templates/febs/views/modules/member/member.html | 35 +++++++++++++++++++++++++++++++----
1 files changed, 31 insertions(+), 4 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 6eaf04f..56ae69f 100644
--- a/src/main/resources/templates/febs/views/modules/member/member.html
+++ b/src/main/resources/templates/febs/views/modules/member/member.html
@@ -12,6 +12,18 @@
<input type="text" placeholder="手机号/邮箱/邀请码" name="account" autocomplete="off" class="layui-input">
</div>
</div>
+ <div class="layui-inline">
+ <label class="layui-form-label layui-form-label-sm">审核状态</label>
+ <div class="layui-input-inline">
+ <select name="certifyStatus">
+ <option value="">请选择</option>
+ <option value="0">未通过</option>
+ <option value="1">待审核</option>
+ <option value="2">审核通过</option>
+ <option value="3">未实名</option>
+ </select>
+ </div>
+ </div>
</div>
</div>
<div class="layui-col-md2 layui-col-sm12 layui-col-xs12 table-action-area">
@@ -81,6 +93,17 @@
maxmin: true,
});
}
+ if (layEvent === 'addCoin') {
+ febs.modal.open( '拨币', 'modules/member/addCoin/' + data.id, {
+ btn: ['提交', '取消'],
+ yes: function (index, layero) {
+ $('#user-update').find('#submit').trigger('click');
+ },
+ btn2: function () {
+ layer.closeAll();
+ }
+ });
+ }
});
@@ -110,9 +133,9 @@
{field: 'accountType', title: '账号类型',
templet: function (d) {
if (d.accountType === 2) {
- return '<span style="color:green;">正常账号</span>'
+ return '<span style="color:green;">测试账号</span>'
} else if (d.accountType === 1) {
- return '<span style="color:red;">测试账号</span>'
+ return '<span style="color:red;">正常账号</span>'
}else{
return ''
}
@@ -145,12 +168,15 @@
{title: '操作',
templet: function (d) {
if (d.certifyStatus === 1) {
- return '<a lay-event="edit" shiro:hasPermission="user:update">确认</a>'
+ return '<a lay-event="edit" shiro:hasPermission="user:update">审核认证</a>'
+ +'<i class="layui-icon febs-edit-area febs-blue"></i>'
+ +'<a lay-event="addCoin" 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"></i></a>'
+ +'<a lay-event="addCoin" shiro:hasPermission="user:update">拨币</a>'
}else {
- return ''
+ return '<a lay-event="addCoin" shiro:hasPermission="user:update">拨币</a>'
}
},minWidth: 200,align:'center'}
]]
@@ -161,6 +187,7 @@
function getQueryParams() {
return {
account: $searchForm.find('input[name="account"]').val().trim(),
+ certifyStatus: $searchForm.find("select[name='certifyStatus']").val(),
};
}
--
Gitblit v1.9.1