From 264980073d03ead5cfce39f87c611de623db4d3f Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Tue, 25 May 2021 15:00:23 +0800
Subject: [PATCH] 20210525 申诉单
---
src/main/resources/templates/febs/views/modules/otc/otcShopList.html | 42 +++++++++++++++++++++---------------------
1 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/src/main/resources/templates/febs/views/modules/otc/otcShopList.html b/src/main/resources/templates/febs/views/modules/otc/otcShopList.html
index 502aeb9..e85cb32 100644
--- a/src/main/resources/templates/febs/views/modules/otc/otcShopList.html
+++ b/src/main/resources/templates/febs/views/modules/otc/otcShopList.html
@@ -132,18 +132,18 @@
{field: 'realName', title: '姓名', minWidth: 100,align:'left'},
{field: 'inviteId', title: '邀请码', minWidth: 80,align:'center'},
{field: 'nikename', title: '昵称', minWidth: 80,align:'center'},
- // {field: 'status', title: '审核状态',
- // templet: function (d) {
- // if (d.status === 1) {
- // return '<span style="color:blue;">待审核</span>'
- // } else if (d.status === 2) {
- // return '<span style="color:green;">审核通过</span>'
- // } else if (d.status === 3) {
- // return '<span>拒绝</span>'
- // }else{
- // return ''
- // }
- // }, minWidth: 80,align:'center'},
+ {field: 'status', title: '审核状态',
+ templet: function (d) {
+ if (d.status === 1) {
+ return '<span style="color:blue;">待审核</span>'
+ } else if (d.status === 2) {
+ return '<span style="color:green;">审核通过</span>'
+ } else if (d.status === 3) {
+ return '<span>拒绝</span>'
+ }else{
+ return ''
+ }
+ }, minWidth: 80,align:'center'},
// {field: 'waitBackMoney', title: '待回款',minWidth: 100,align:'center'},
// {field: 'hasBackMoney', title: '已回款',minWidth: 100,align:'center'},
{field: 'buyCnt', title: '服务人数',minWidth: 100,align:'center'},
@@ -152,15 +152,15 @@
{field: 'avgPayTime', title: '平均付款时间',minWidth: 100,align:'center'},
{field: 'avgCoinTime', title: '平均放币时间',minWidth: 100,align:'center'},
{field: 'createTime', title: '注册时间', minWidth: 180,align:'center'},
- // {title: '操作',templet: function (d) {
- // return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="huikuan" shiro:hasPermission="user:update">回款</button>'
- // // if(d.status === 1){
- // // return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="agreeShop" shiro:hasPermission="user:update">同意</button>'
- // // +'<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="disagreeShop" shiro:hasPermission="user:update">拒绝</button>'
- // // }else{
- // // return ''
- // // }
- // },minWidth: 200,align:'center'}
+ {title: '操作',templet: function (d) {
+ // return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="huikuan" shiro:hasPermission="user:update">回款</button>'
+ if(d.status === 1){
+ return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="agreeShop" shiro:hasPermission="user:update">同意</button>'
+ +'<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="disagreeShop" shiro:hasPermission="user:update">拒绝</button>'
+ }else{
+ return ''
+ }
+ },minWidth: 200,align:'center'}
]]
});
}
--
Gitblit v1.9.1