|  | @@ -3,13 +3,21 @@ $list_button = array();
 | 
	
		
			
				|  |  |  if (Dever::load('manage/auth')->checkFunc('clue.salepeople', 'edit', '回收全部线索')) {
 | 
	
		
			
				|  |  |      $list_button['oper'] = array('回收全部线索','clue/lib/info.back_people?id={id}');
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | +$button = array();
 | 
	
		
			
				|  |  | +if (Dever::load('manage/auth')->checkFunc('clue.salepeople', 'cluesource', '线索来源设置'))
 | 
	
		
			
				|  |  | +{
 | 
	
		
			
				|  |  | +$button['线索来源设置'] = array('location', 'l=project/database/list&project=clue&table=source&&oper_table=salepeople');
 | 
	
		
			
				|  |  | +}
 | 
	
		
			
				|  |  | +if (Dever::load('manage/auth')->checkFunc('clue.salepeople', 'cluesalestatus', '线索状态设置'))
 | 
	
		
			
				|  |  | +{
 | 
	
		
			
				|  |  | +$button['线索状态设置'] = array('location', 'l=project/database/list&project=clue&table=sale_status&&oper_table=salepeople');
 | 
	
		
			
				|  |  | +}
 | 
	
		
			
				|  |  |  return array
 | 
	
		
			
				|  |  |  (
 | 
	
		
			
				|  |  |      # 表名
 | 
	
		
			
				|  |  |      'name' => 'salepeople',
 | 
	
		
			
				|  |  |      # 显示给用户看的名称
 | 
	
		
			
				|  |  | -    'lang' => '销售员设置',
 | 
	
		
			
				|  |  | +    'lang' => '线索销售员设置',
 | 
	
		
			
				|  |  |      # 后台菜单排序
 | 
	
		
			
				|  |  |      'order' => 1,
 | 
	
		
			
				|  |  |      // 'menu' => false,
 | 
	
	
		
			
				|  | @@ -116,9 +124,8 @@ return array
 | 
	
		
			
				|  |  |          // 'delete' => false,
 | 
	
		
			
				|  |  |          // 'edit' => false,
 | 
	
		
			
				|  |  |          'list_button' => $list_button,
 | 
	
		
			
				|  |  | -        // (
 | 
	
		
			
				|  |  | -        //     'list' => array('关联问题列表', '"question&search_option_branch_id={group}&oper_table=info"')
 | 
	
		
			
				|  |  | -        // ),
 | 
	
		
			
				|  |  | +        'button' => $button,
 | 
	
		
			
				|  |  | +       
 | 
	
		
			
				|  |  |          # 设置公司权限
 | 
	
		
			
				|  |  |          'company' => 'company_id',
 | 
	
		
			
				|  |  |      ),
 |