| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151 | 
							- <?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
 
-     (
 
-         
 
-     ),
 
- );
 
 
  |