From 4181ab4d695d65d4e3a3ec953f59044aef67d809 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Tue, 29 Sep 2020 15:29:27 +0800
Subject: [PATCH] Merge branch 'master' of https://gitee.com/chonggaoxiao/new_excoin_manage
---
src/main/resources/templates/febs/views/modules/documentary/traderUpdate.html | 26 ++++++++++++++++++++++++++
1 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/templates/febs/views/modules/documentary/traderUpdate.html b/src/main/resources/templates/febs/views/modules/documentary/traderUpdate.html
index dc5be4b..5ed47b1 100644
--- a/src/main/resources/templates/febs/views/modules/documentary/traderUpdate.html
+++ b/src/main/resources/templates/febs/views/modules/documentary/traderUpdate.html
@@ -84,7 +84,30 @@
}
});
}
+ if (layEvent === 'getOut') {
+ febs.modal.confirm('确认', '您是否要踢出该交易员?', function () {
+ confirmUsers(data.id);
+ });
+ }
+ if (layEvent === 'getFull') {
+ febs.modal.confirm('确认', '您是否要设置成【满员】状态?', function () {
+ cancelUsers(data.id);
+ });
+ }
});
+
+ function confirmUsers(id) {
+ febs.get(ctx + 'documentary/traderGetOut/' + id, null, function () {
+ febs.alert.success('踢出成功');
+ $query.click();
+ });
+ }
+ function cancelUsers(id) {
+ febs.get(ctx + 'documentary/traderGetFull/' + id, null, function () {
+ febs.alert.success('设置成功');
+ $query.click();
+ });
+ }
// 查询按钮
@@ -137,6 +160,9 @@
templet: function (d) {
if (d.verifyStatus === 3) {
return '<a lay-event="edit" shiro:hasPermission="user:update">审核</a>'
+ }else if(d.verifyStatus === 1){
+ return '<a lay-event="getOut" shiro:hasPermission="user:update">踢出</a>'
+ return '<a lay-event="getFull" shiro:hasPermission="user:update">满员</a>'
}else {
return ''
}
--
Gitblit v1.9.1