<?php
$parent_uid = Dever::input('set')['parent_uid'];
return array
(
    'source' => 'place/member',
    'list' => array
    (
        'where' => array('parent_uid' => $parent_uid),
        'field'      => array
        (
            'id',
            'name',
            'mobile',
            'vip_id',
            'agent_id',
            'cash',
            'status' => array
            (
                'type' => 'switch',
                'show'  => '{status}',
                'active_value' => 1,
                'inactive_value' => 2,
            ),
            'cdate',
        ),
        'button' => array
        (
            //'新增' => array('add'),
        ),
        'data_button' => array
        (
            //'编辑' => 'fastedit',
        ),
        'search'    => array
        (
            'name' => 'like',
            'mobile',
            'vip_id',
            'agent_id',
            'status',
        ),
    ),
);