mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 18:03:27 +08:00
【修复】修复后台管理,用户提现路径,按照提现方式筛选列表失效的问题,并且列表增加提现方式一列。
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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' },
|
||||
|
||||
Reference in New Issue
Block a user