From 8dd45c1c726b5628dfd8cae1992a27112ebb6af6 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Wed, 16 Mar 2022 15:23:38 +0800
Subject: [PATCH] Merge branch 'bea-back' of http://120.27.238.55:7000/r/exchange-back into bea-back
---
src/main/resources/templates/febs/views/modules/member/member.html | 59 ++++++++++++++++++++++++++++++++++++++---------------------
1 files changed, 38 insertions(+), 21 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 1ef52d1..5060af2 100644
--- a/src/main/resources/templates/febs/views/modules/member/member.html
+++ b/src/main/resources/templates/febs/views/modules/member/member.html
@@ -90,6 +90,21 @@
}
});
}
+ if (layEvent === 'addCoin') {
+ febs.modal.open( '拨币', 'modules/member/addCoin/' + data.id, {
+ btn: ['提交', '取消'],
+ yes: function (index, layero) {
+ $('#user-update').find('#submit').trigger('click');
+ //防止重复点击: 单击之后提交按钮不可选,防止重复提交
+ var DISABLED = 'layui-btn-disabled';
+ $('#user-update').find('#submit').addClass(DISABLED); // 添加样式
+ $('#user-update').find('#submit').attr('disabled', 'disabled'); // 添加属性
+ },
+ btn2: function () {
+ layer.closeAll();
+ }
+ });
+ }
if (layEvent === 'see') {
febs.modal.open( '身份认证', 'modules/member/memberDetail/' + data.id, {
maxmin: true,
@@ -135,7 +150,7 @@
return '<a lay-event="examine" shiro:hasPermission="user:update">'+d.inviteId+'</a>'
}, minWidth: 80,align:'center'},
{field: 'usdtBalance', title: 'USDT余额', minWidth: 80,align:'center'},
- {field: 'rocBalance', title: 'ROC余额', minWidth: 80,align:'center'},
+ // {field: 'rocBalance', title: 'ROC余额', minWidth: 80,align:'center'},
// {field: 'accountType', title: '账号类型',
// templet: function (d) {
// if (d.accountType === 2) {
@@ -156,16 +171,16 @@
// return ''
// }
// }, minWidth: 80,align:'center'},
- {field: 'ipo', title: '私募',
- templet: function (d) {
- if (d.ipo === 1) {
- return '<span style="color:red;">是</span>'
- } else if (d.ipo === 0) {
- return '<span style="color:gray;">否</span>'
- }else{
- return '<span style="color:gray;">否</span>'
- }
- }, minWidth: 80,align:'center'},
+ // {field: 'ipo', title: '私募',
+ // templet: function (d) {
+ // if (d.ipo === 1) {
+ // return '<span style="color:red;">是</span>'
+ // } else if (d.ipo === 0) {
+ // return '<span style="color:gray;">否</span>'
+ // }else{
+ // return '<span style="color:gray;">否</span>'
+ // }
+ // }, minWidth: 80,align:'center'},
{field: 'refererId', title: '审核状态',
templet: function (d) {
if (d.certifyStatus === 0) {
@@ -181,16 +196,18 @@
}
}, minWidth: 80,align:'center'},
{field: 'createTime', title: '注册时间', minWidth: 150,align:'center'},
- {title: '操作', toolbar: '#user-option'
- // templet: function (d) {
- // if (d.certifyStatus === 1) {
- // return ''
- // +'<i class="layui-icon febs-edit-area febs-blue"></i>'
- // }else {
- // return '<a lay-event="see" shiro:hasPermission="user:update">'
- // +'<i class="layui-icon febs-edit-area febs-blue"></i></a>'
- // }
- // },
+ {title: '操作', title: '操作',
+ templet: function (d) {
+ if (d.certifyStatus === 1) {
+ return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="edit" shiro:hasPermission="user:update">审核认证</button>'
+ +'<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="addCoin" shiro:hasPermission="user:update">拨币</button>'
+ }else if(d.certifyStatus === 2){
+ return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="see" shiro:hasPermission="user:update">查看</button>'
+ +'<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="addCoin" shiro:hasPermission="user:update">拨币</button>'
+ }else{
+ return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="addCoin" shiro:hasPermission="user:update">拨币</button>'
+ }
+ }
,minWidth: 200,align:'center'}
]]
});
--
Gitblit v1.9.1