【修复】修复后台管理,用户提现路径,按照提现方式筛选列表失效的问题,并且列表增加提现方式一列。

This commit is contained in:
jianweie code
2023-12-06 15:52:57 +08:00
parent d520ce0c5e
commit c101d9704f
2 changed files with 13 additions and 0 deletions

View File

@@ -197,6 +197,9 @@ namespace CoreCms.Net.Web.Admin.Controllers
where = where.And(p => p.updateTime > dt);
}
}
//提现状态 int
var type = Request.Form["type"].FirstOrDefault().ObjectToInt(0);
if (type > 0) @where = @where.And(p => p.type == type);
//获取数据
var list = await _coreCmsUserTocashServices.QueryPageAsync(where, orderEx, orderBy, pageCurrent, pageSize, true);

View File

@@ -161,6 +161,16 @@
return "";
}
},
{
field: 'type', title: '提现方式', sort: false, width: 110, templet: function (data) {
for (var i = 0; i < d.data.userTocashType.length; i++) {
if (data.type == d.data.userTocashType[i].value) {
return d.data.userTocashType[i].title;
}
}
return "";
}
},
{ field: 'createTime', title: '创建时间', width: 130, sort: false },
{ field: 'updateTime', title: '更新时间', width: 130, sort: false },
{ width: 120, align: 'center', title: '操作', fixed: 'right', toolbar: '#LAY-app-CoreCmsUserTocash-tableBox-bar' },