From e87cd6e99ee1993541badeae4c792db0c34b6cd4 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 11 Nov 2022 02:19:04 +0800
Subject: [PATCH] 20221021
---
src/main/resources/templates/febs/views/onhookplan/planList.html | 27 +++++++++++++++++----------
1 files changed, 17 insertions(+), 10 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..d9020f0 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) {
@@ -111,8 +117,10 @@
return '<span>挂机中</span>'
} else if (d.state === 2) {
return '<span>结束</span>'
+ }else if (d.state === 3) {
+ return '<span>结算中</span>'
}else{
- return
+ return ''
}
}, minWidth: 100, align: 'center'},
{field: 'planAmount', title: '挂机总金额', minWidth: 100, align: 'center'},
@@ -120,15 +128,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