src/main/resources/public/js/report/customer.contri.js
(完整代码) 1KBlayui.use(['table','layer',"form","laydate"],function(){
var layer = parent.layer === undefined ? layui.layer : top.layer,
$ = layui.jquery,
table = layui.table,
laydate = layui.laydate;
// 设置时间
laydate.render({
elem: '#time'
});
//用户列表展示
var tableIns = table.render({
elem: '#contriList',
url : ctx+'/report/queryCustomerContributionByParams',
cellMinWidth : 95,
page : true,
height : "full-125",
limits : [10,15,20,25],
limit : 10,
id : "customerContriListTable",
cols : [[
{field: 'name', title: '客户名', minWidth:50, align:"center"},
{field: 'total', title: '总金额(¥)', minWidth:50, align:"center"}
]]
});
// 多条件搜索
$(".search_btn").on("click",function () {
table.reload("customerContriListTable",{
page:{
curr:1
},
where:{
customerName:$("input[name='customerName']").val(),// 客户名
type:$("#type").val(),// 金额区间
}
})
});
// 刷新
$("#refresh").on("click",function () {
table.reload("customerContriListTable",{
page:{
curr:1
},
where:{
customerName:"",
type:""
}
})
});
});
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。