|
|
@@ -51,7 +51,7 @@ namespace TVShoppingCallCenter_ZLJ.Controllers.Customer
|
|
51
|
51
|
/// <param name="pagesize"></param>
|
|
52
|
52
|
/// <returns></returns>
|
|
53
|
53
|
[HttpGet("getlistbypage")]
|
|
54
|
|
- public async Task<IActionResult> GetListsByPageAsync(string keyword,string name,string phone,string type, string province,string city,string area,string town,string address,string birthday,string recommender,string saleperson,int pageindex = 1, int pagesize = 20)
|
|
|
54
|
+ public async Task<IActionResult> GetListsByPageAsync(string keyword,string label, string name,string phone,string type, string province,string city,string area,string town,string address,string birthday,string recommender,string saleperson,int pageindex = 1, int pagesize = 20)
|
|
55
|
55
|
{
|
|
56
|
56
|
List<IConditionalModel> conModels = new List<IConditionalModel>();
|
|
57
|
57
|
#region 条件筛选
|
|
|
@@ -68,6 +68,10 @@ namespace TVShoppingCallCenter_ZLJ.Controllers.Customer
|
|
68
|
68
|
|
|
69
|
69
|
}
|
|
70
|
70
|
});
|
|
|
71
|
+ if (!string.IsNullOrEmpty(label))
|
|
|
72
|
+ {
|
|
|
73
|
+ conModels.Add(new ConditionalModel() { FieldName = "F_Label", ConditionalType = ConditionalType.Like, FieldValue = label });
|
|
|
74
|
+ }
|
|
71
|
75
|
if (!string.IsNullOrEmpty(name))
|
|
72
|
76
|
{
|
|
73
|
77
|
conModels.Add(new ConditionalModel() { FieldName = "F_Name", ConditionalType = ConditionalType.Like, FieldValue = name });
|