Commit 2caa2ded authored by hujun's avatar hujun

职称

parent e9accad5
......@@ -761,6 +761,9 @@ class Broker extends Basic
*/
public function agentPositionList()
{
if (!$this->request->isAjax()) {
return view('professionalListCon');
}
$msg = "";
$code = 200;
$data = [];
......@@ -785,7 +788,7 @@ class Broker extends Basic
try {
$m_agent = new AAgents();
$m_store = new AStore();
$list = $m_agent->getList($pageNo, $pageSize, 'id desc', 'id,phone,name,position,store_id,level', $where);
$list = $m_agent->getList($pageNo, $pageSize, 'id desc', 'id,phone,name,position,store_id,level', '',$where);
foreach ($list as $k=>$v) {
$list[$k]['store_name'] = $m_store->getStoreKeyById('store_name', ['id'=>$v['store_id']]);
......
<?php
namespace app\index\controller;
/**
* Created by PhpStorm.
* User: liu yin ping
* Date: 2018/11/12
* Time: 15:48
*/
use app\index\extend\Basic;
class ProfessionalList extends Basic
{
public function ProfessionalListCon()
{
if (!$this->request->isAjax()) {
return view('professionalList/professionalListCon');
}
}
}
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
</body>
</html>
\ No newline at end of file
......@@ -306,7 +306,6 @@ Route::group('index', [
'performancesubsidiaryList' => ['index/PerformanceSubsidiary/performancesubsidiaryList', ['method' => 'POST|GET']],//业绩明细liu
'pkList' => ['index/PkList/pkList', ['method' => 'POST|GET']],//pk榜 liu
'professionalList' => ['index/ProfessionalList/ProfessionalListCon', ['method' => 'POST|GET']],//职称列表 liu
'myCollectionUserList' => ['index/myCollectionUser/myCollectionUserList', ['method' => 'POST|GET']],//我收藏的客户liu
'myCollectionShopList' => ['index/myCollectionShop/myCollectionShopList', ['method' => 'POST|GET']],//我收藏的客户liu
'dayAchievementsReport' => ['index/PerformanceReport/dayAchievementsReportList', ['method' => 'POST|GET']],//日报liu
......
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