From 18989f63f6d71c9bfae0ad3128eb59b3723d889c Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Thu, 03 Nov 2022 12:25:13 +0800
Subject: [PATCH] 20221021
---
src/main/resources/templates/febs/views/onhookplan/planList.html | 23 ++++++++++++++---------
1 files changed, 14 insertions(+), 9 deletions(-)
diff --git a/src/main/resources/templates/febs/views/onhookplan/planList.html b/src/main/resources/templates/febs/views/onhookplan/planList.html
index 4423c11..9e09c01 100644
--- a/src/main/resources/templates/febs/views/onhookplan/planList.html
+++ b/src/main/resources/templates/febs/views/onhookplan/planList.html
@@ -72,6 +72,12 @@
disagree(data.id);
});
}
+
+ if (layEvent === 'amountFlow') {
+ febs.modal.open( '资金流水详情', 'onHookView/amountFlow/' + data.id, {
+ maxmin: true,
+ });
+ }
});
function agree(id) {
@@ -120,15 +126,14 @@
{field: 'planCode', title: '挂机方案倍数', minWidth: 120, align: 'center'},
{field: 'profit', title: '总收益', minWidth: 120, align: 'center', totalRow: true},
{field: 'createTime', title: '时间', minWidth: 180, align: 'center'},
- // {title: '操作',
- // templet: function (d) {
- // if(d.status === 1){
- // return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="agree" shiro:hasPermission="user:update">同意</button>'
- // +'<button class="layui-btn layui-btn-danger layui-btn-xs layui-btn-danger" lay-event="disagree" shiro:hasPermission="user:update">拒绝</button>'
- // }else{
- // return ''
- // }
- // },minWidth: 120,align:'center'}
+ {title: '操作',
+ templet: function (d) {
+ if(d.state === 2){
+ return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="amountFlow" shiro:hasPermission="user:update">流水记录</button>'
+ }else{
+ return ''
+ }
+ },minWidth: 120,align:'center'}
]]
});
}
--
Gitblit v1.9.1