Commit 064eb2dd authored by zhuwei's avatar zhuwei

电话跟进列表

parent 8e6c8fde
...@@ -15,7 +15,7 @@ class BargainValidate extends Validate ...@@ -15,7 +15,7 @@ class BargainValidate extends Validate
{ {
protected $rule = [ protected $rule = [
'submit_agent_id' => 'require|number', 'submit_agent_id' => 'require|number',
'status' => 'require|number|in:0,1,2,3,4', 'status' => 'require|number|in:0,1,2,3,4,5',
'is_my_correlation' => 'require|number|in:0,1', 'is_my_correlation' => 'require|number|in:0,1',
]; ];
......
...@@ -341,7 +341,7 @@ class Remark extends Basic ...@@ -341,7 +341,7 @@ class Remark extends Basic
$s_phone_follow_up_res = $s_phone_follow_up->phone_up_list($page_size, $page_num); $s_phone_follow_up_res = $s_phone_follow_up->phone_up_list($page_size, $page_num);
$total = $s_phone_follow_up->phone_up_list_count(); $total = $s_phone_follow_up->phone_up_list_count();
$total = intval($total / $page_size) + (($total % $page_size == 0) ? 0 : 1); $total = intval($total / $page_size) + (($total % $page_size == 0) ? 0 : 1);
return $this->response("200", "success!", [ 'user_date' => $s_phone_follow_up_res, 'pagenum' => $pagenum, 'total' => $total ]); return $this->response("200", "success!", [ 'user_date' => $s_phone_follow_up_res, 'total' => $total ]);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment