Commit 759d7139 authored by zfc's avatar zfc

pc跟进列表找不到模板

parent 45b2f06d
......@@ -16,7 +16,7 @@ class Remark extends Basic
{
//跟进主界面
public function RemarkFollowIndex(){
public function remarkFollowIndex(){
return view('remark_follow_index');
}
......
......@@ -50,7 +50,7 @@
<a href="/admin.php/index/districtList.html">部门列表</a>
</li>
<li role="presentation">
<a href="/admin.php/index/RemarkFollowIndex.html">跟进列表</a>
<a href="/admin.php/index/remarkFollowIndex.html">跟进列表</a>
</li>
<li role="presentation">
<a href="/admin.php/index/authRuleIndex.html">权限管理</a>
......
......@@ -135,11 +135,12 @@ class Users extends Model
*/
public function getClient($id) {
if ($id) {
$data = $this->field('a.user_nick,a.user_phone,a.sex,b.id as agents_id,b.name,b.phone')->alias('a')
->join('a_agents b','a.agent_id=b.id', 'left')
$data = $this->field('a.user_nick,a.user_phone,a.sex,a.agent_id,b.realname,b.phone')
->alias('a')
->join('agents b','a.agent_id=b.id', 'left')
->where('a.id',$id)->find();
$data['agents'] = $data['name'].'-'.$data['phone'];
unset($data['name']);
$data['agents'] = $data['realname'].'-'.$data['phone'];
unset($data['realname']);
unset($data['phone']);
} else {
$data = false;
......
......@@ -138,7 +138,7 @@ Route::group('index', [
'lable' => ['index/label/index',['method'=>'get']], //标签列表
//数据统计
'RemarkFollowIndex'=>['index/remark/RemarkFollowIndex',['method'=>'get']],//跟进列表主界面
'RemarkFollowIndex'=>['index/remark/remarkFollowIndex',['method'=>'get']],//跟进列表主界面
'RemarkFollowList'=>['index/remark/RemarkFollowList',['method'=>'get']],//跟进列表【接口】
'phone_list'=>['index/Phone/index',['method'=>'get']],//隐私号码列表
'bindPhoneList'=>['index/Phone/bindPhoneList',['method'=>'get']],//绑定的隐私号码列表
......
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