|  | @@ -0,0 +1,151 @@
 | 
	
		
			
				|  |  | +<?php
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +return array
 | 
	
		
			
				|  |  | +(
 | 
	
		
			
				|  |  | +    # 表名
 | 
	
		
			
				|  |  | +    'name' => 'area_stat_log',
 | 
	
		
			
				|  |  | +    # 显示给用户看的名称
 | 
	
		
			
				|  |  | +    'lang' => '区域分润操作记录表',
 | 
	
		
			
				|  |  | +    'order' => 79,
 | 
	
		
			
				|  |  | +    'menu' => false,
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    # 数据结构
 | 
	
		
			
				|  |  | +    'struct' => array
 | 
	
		
			
				|  |  | +    (
 | 
	
		
			
				|  |  | +    
 | 
	
		
			
				|  |  | +        'id'        => array
 | 
	
		
			
				|  |  | +        (
 | 
	
		
			
				|  |  | +            'type'      => 'int-11',
 | 
	
		
			
				|  |  | +            'name'      => 'ID',
 | 
	
		
			
				|  |  | +            'default'   => '',
 | 
	
		
			
				|  |  | +            'desc'      => '',
 | 
	
		
			
				|  |  | +            'match'     => 'is_numeric',
 | 
	
		
			
				|  |  | +            'search'    => 'order',
 | 
	
		
			
				|  |  | +            //'list'        => true,
 | 
	
		
			
				|  |  | +        ),
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        'month'     => array
 | 
	
		
			
				|  |  | +        (
 | 
	
		
			
				|  |  | +            'type'      => 'int-11',
 | 
	
		
			
				|  |  | +            'name'      => '月份',
 | 
	
		
			
				|  |  | +            'default'   => '',
 | 
	
		
			
				|  |  | +            'match'     => 'is_numeric',
 | 
	
		
			
				|  |  | +            'desc'      => '',
 | 
	
		
			
				|  |  | +            'update'    => 'month',
 | 
	
		
			
				|  |  | +            'search'    => 'month',
 | 
	
		
			
				|  |  | +            'callback'  => 'maketime',
 | 
	
		
			
				|  |  | +            'list'      => 'date("Y-m", {month})',
 | 
	
		
			
				|  |  | +        ),
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        'create_admin'      => array
 | 
	
		
			
				|  |  | +        (
 | 
	
		
			
				|  |  | +            'type'      => 'int-11',
 | 
	
		
			
				|  |  | +            'name'      => '区域分润生成人',
 | 
	
		
			
				|  |  | +            'default'   => '',
 | 
	
		
			
				|  |  | +            'desc'      => '区域分润生成人',
 | 
	
		
			
				|  |  | +            'match'     => 'is_numeric',
 | 
	
		
			
				|  |  | +        ),
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        'create_date'      => array
 | 
	
		
			
				|  |  | +        (
 | 
	
		
			
				|  |  | +            'type'      => 'int-11',
 | 
	
		
			
				|  |  | +            'name'      => '区域分润生成时间',
 | 
	
		
			
				|  |  | +            'default'   => '',
 | 
	
		
			
				|  |  | +            'desc'      => '区域分润生成时间',
 | 
	
		
			
				|  |  | +            'match'     => 'is_numeric',
 | 
	
		
			
				|  |  | +        ),
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        'confirm_admin'      => array
 | 
	
		
			
				|  |  | +        (
 | 
	
		
			
				|  |  | +            'type'      => 'int-11',
 | 
	
		
			
				|  |  | +            'name'      => '对账确认人',
 | 
	
		
			
				|  |  | +            'default'   => '',
 | 
	
		
			
				|  |  | +            'desc'      => '对账确认人',
 | 
	
		
			
				|  |  | +            'match'     => 'is_numeric',
 | 
	
		
			
				|  |  | +        ),
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        'confirm_date'      => array
 | 
	
		
			
				|  |  | +        (
 | 
	
		
			
				|  |  | +            'type'      => 'int-11',
 | 
	
		
			
				|  |  | +            'name'      => '对账确认时间',
 | 
	
		
			
				|  |  | +            'default'   => '',
 | 
	
		
			
				|  |  | +            'desc'      => '对账确认时间',
 | 
	
		
			
				|  |  | +            'match'     => 'is_numeric',
 | 
	
		
			
				|  |  | +        ),
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        'send_admin'      => array
 | 
	
		
			
				|  |  | +        (
 | 
	
		
			
				|  |  | +            'type'      => 'int-11',
 | 
	
		
			
				|  |  | +            'name'      => '账单发放人',
 | 
	
		
			
				|  |  | +            'default'   => '',
 | 
	
		
			
				|  |  | +            'desc'      => '账单发放人',
 | 
	
		
			
				|  |  | +            'match'     => 'is_numeric',
 | 
	
		
			
				|  |  | +        ),
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        'send_date'      => array
 | 
	
		
			
				|  |  | +        (
 | 
	
		
			
				|  |  | +            'type'      => 'int-11',
 | 
	
		
			
				|  |  | +            'name'      => '账单发放时间',
 | 
	
		
			
				|  |  | +            'default'   => '',
 | 
	
		
			
				|  |  | +            'desc'      => '账单发放时间',
 | 
	
		
			
				|  |  | +            'match'     => 'is_numeric',
 | 
	
		
			
				|  |  | +        ),
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        'city_num'      => array
 | 
	
		
			
				|  |  | +        (
 | 
	
		
			
				|  |  | +            'type'      => 'int-11',
 | 
	
		
			
				|  |  | +            'name'      => '城市数量',
 | 
	
		
			
				|  |  | +            'default'   => '0',
 | 
	
		
			
				|  |  | +            'desc'      => '城市数量',
 | 
	
		
			
				|  |  | +            'match'     => 'is_numeric',
 | 
	
		
			
				|  |  | +        ),
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        'county_num'      => array
 | 
	
		
			
				|  |  | +        (
 | 
	
		
			
				|  |  | +            'type'      => 'int-11',
 | 
	
		
			
				|  |  | +            'name'      => '区县数量',
 | 
	
		
			
				|  |  | +            'default'   => '0',
 | 
	
		
			
				|  |  | +            'desc'      => '区县数量',
 | 
	
		
			
				|  |  | +            'match'     => 'is_numeric',
 | 
	
		
			
				|  |  | +        ),
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        'town_num'      => array
 | 
	
		
			
				|  |  | +        (
 | 
	
		
			
				|  |  | +            'type'      => 'int-11',
 | 
	
		
			
				|  |  | +            'name'      => '街道数量',
 | 
	
		
			
				|  |  | +            'default'   => '0',
 | 
	
		
			
				|  |  | +            'desc'      => '街道数量',
 | 
	
		
			
				|  |  | +            'match'     => 'is_numeric',
 | 
	
		
			
				|  |  | +        ),
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        'state'     => array
 | 
	
		
			
				|  |  | +        (
 | 
	
		
			
				|  |  | +            'type'      => 'tinyint-1',
 | 
	
		
			
				|  |  | +            'name'      => '状态',
 | 
	
		
			
				|  |  | +            'default'   => '1',
 | 
	
		
			
				|  |  | +            'desc'      => '请选择状态',
 | 
	
		
			
				|  |  | +            'match'     => 'is_numeric',
 | 
	
		
			
				|  |  | +        ),
 | 
	
		
			
				|  |  | +        
 | 
	
		
			
				|  |  | +        'cdate'     => array
 | 
	
		
			
				|  |  | +        (
 | 
	
		
			
				|  |  | +            'type'      => 'int-11',
 | 
	
		
			
				|  |  | +            'name'      => '统计时间',
 | 
	
		
			
				|  |  | +            'match'     => array('is_numeric', time()),
 | 
	
		
			
				|  |  | +            'desc'      => '',
 | 
	
		
			
				|  |  | +        ),
 | 
	
		
			
				|  |  | +    ),
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    'manage' => array
 | 
	
		
			
				|  |  | +    (
 | 
	
		
			
				|  |  | +        // 'insert' => false,
 | 
	
		
			
				|  |  | +        'delete' => false,
 | 
	
		
			
				|  |  | +        // 'edit' => false,
 | 
	
		
			
				|  |  | +        // 'excel' => true,
 | 
	
		
			
				|  |  | +    ),
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    'request' => array
 | 
	
		
			
				|  |  | +    (
 | 
	
		
			
				|  |  | +        
 | 
	
		
			
				|  |  | +    ),
 | 
	
		
			
				|  |  | +);
 |