客户搜索bug修复
This commit is contained in:
parent
29e3034373
commit
cfc22c30d3
@ -30,6 +30,15 @@ class Index extends BaseController
|
||||
}
|
||||
if (!empty($param['status'])) {
|
||||
$where[] = ['a.status', '=', $param['status']];
|
||||
}
|
||||
if (!empty($param['grade_id'])) {
|
||||
$where[] = ['a.grade_id', '=', $param['grade_id']];
|
||||
}
|
||||
if (!empty($param['source_id'])) {
|
||||
$where[] = ['a.source_id', '=', $param['source_id']];
|
||||
}
|
||||
if (!empty($param['type'])) {
|
||||
$where[] = ['a.intent_status', '=', $param['type']];
|
||||
}
|
||||
$where[] = ['a.delete_time', '=', 0];
|
||||
|
||||
@ -123,6 +132,12 @@ class Index extends BaseController
|
||||
}
|
||||
if (!empty($param['status'])) {
|
||||
$where[] = ['a.status', '=', $param['status']];
|
||||
}
|
||||
if (!empty($param['industry_id'])) {
|
||||
$where[] = ['a.industry_id', '=', $param['industry_id']];
|
||||
}
|
||||
if (!empty($param['source_id'])) {
|
||||
$where[] = ['a.source_id', '=', $param['source_id']];
|
||||
}
|
||||
$where[] = ['a.delete_time', '=', 0];
|
||||
$where[] = ['a.belong_uid', '=', 0];
|
||||
|
@ -45,6 +45,7 @@
|
||||
<option value="2">跟进客户</option>
|
||||
<option value="3">正式客户</option>
|
||||
<option value="4">流失客户</option>
|
||||
<option value="5">已成交客户</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="layui-input-inline" style="width:240px;">
|
||||
|
Loading…
x
Reference in New Issue
Block a user