<?php
return [
    'list' => [
        'field'      => [
            'id',
            'name',
            'module' => [
                'show' => 'Dever::load("role", "manage")->showModule("{module}")',
            ],
            'menu' => [
                'show' => 'Dever::load("role", "manage")->showMenu("{menu}")',
            ],
            /*
            'auth' => [
                'show' => 'Dever::load("role", "manage")->showFunc("{auth}")',
            ],*/
            'cdate',
        ],
        'button' => [
            '新增' => 'add',
        ],
        'data_button' => [
            '编辑' => 'edit',
        ],
    ],
    'update' => [
        'field'    => [
            'name',
            'auth' => [
                'type' => 'tree',
            ],
        ],
        'start' => 'role.update',
    ],
];