Commit dccb76dd authored by hujun's avatar hujun

//

parent 4ccd9f20
...@@ -53,12 +53,12 @@ class Bargain extends Basic ...@@ -53,12 +53,12 @@ class Bargain extends Basic
$keyword = empty($params["keyword"]) ? "" : $params["keyword"]; $keyword = empty($params["keyword"]) ? "" : $params["keyword"];
$bargain_id = empty($params['bargain_id']) ? '':$params['bargain_id']; $bargain_id = empty($params['bargain_id']) ? '':$params['bargain_id'];
/*业务员不允许点击查看全部成交报告 start*/ /*业务员不允许点击查看全部成交报告 start*/
$agent_field = "a.level"; // $agent_field = "a.level";
$agent_res = $this->agentModel->getAgentsInfoByAgentId($agent_field, [ "agent_id" => $submit_agent_id ]); // $agent_res = $this->agentModel->getAgentsInfoByAgentId($agent_field, [ "agent_id" => $submit_agent_id ]);
//
if(($agent_res[0]['level'] == 10) && ($is_my_correlation == 0)){ // if(($agent_res[0]['level'] == 10) && ($is_my_correlation == 0)){
return $this->response("101", "暂无权限!"); // return $this->response("101", "暂无权限!");
} // }
/*业务员不允许点击查看全部成交报告 end*/ /*业务员不允许点击查看全部成交报告 end*/
$result = $this->service_->getBargainList($pageNo, $pageSize, $submit_agent_id, $status, $is_my_correlation, $keyword, $bargain_id); $result = $this->service_->getBargainList($pageNo, $pageSize, $submit_agent_id, $status, $is_my_correlation, $keyword, $bargain_id);
......
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