<?php
/**
 * Created by PhpStorm.
 * User: Leo
 * Date: 2017/9/3
 * Time: 下午3:23
 */
return [
    'dashboard'=>[
        'name'=>'控制台',
        'class' => '',
        'icon'=>'el-icon-guide',
        'controller'=>'dashboard',
        'action'=>'index',
        'routePath'=>'dashboard/index',
        'show'=>1,
        'child'=>[
            ['name'=>'月奖金量', 'class'=>'', 'icon'=>'', 'controller'=>'dashboard', 'action'=>'bonus-num', 'routePath'=>'dashboard/bonus-num', 'show'=>0,],
        ]
    ],
    'shop'=>[
        'name'=>'商城管理',
        'class' => '',
        'icon'=>'el-icon-goods',
        'controller'=>'shop',
        'action'=>'',
        'routePath'=>'shop',
        'show'=>1,
        'child'=>[
            ['name'=>'商品列表', 'class'=>'', 'icon'=>'', 'controller'=>'shop', 'action'=>'index', 'routePath'=>'shop/index', 'show'=>1,],
            ['name'=>'报单列表', 'class'=>'', 'icon'=>'', 'controller'=>'shop', 'action'=>'dec-order-list', 'routePath'=>'shop/dec-order-list', 'show'=>1,],
            ['name'=>'订单列表', 'class'=>'', 'icon'=>'', 'controller'=>'shop', 'action'=>'order-list', 'routePath'=>'shop/order-list', 'show'=>1,],
        ]
    ],
    'user'=>[
        'name'=>'会员管理',
        'class' => '',
        'icon'=>'el-icon-user',
        'controller'=>'user',
        'action'=>'',
        'routePath'=>'user',
        'show'=>1,
        'child'=>[
            ['name'=>'个人资料', 'class'=>'', 'icon'=>'', 'controller'=>'user', 'action'=>'index', 'routePath'=>'user/index', 'show'=>1,],
            //['name'=>'上传身份证', 'class'=>'', 'icon'=>'', 'controller'=>'user', 'action'=>'id-card', 'routePath'=>'user/id-card', 'show'=>0,],
            //['name'=>'开拓会员列表', 'class'=>'', 'icon'=>'', 'controller'=>'user', 'action'=>'rec-user', 'routePath'=>'user/rec-user', 'show'=>1,],
//            ['name'=>'点位绑定列表', 'class'=>'', 'icon'=>'', 'controller'=>'user', 'action'=>'bind', 'routePath'=>'user/bind', 'show'=>1,],
//            ['name'=>'点位绑定编辑', 'class'=>'', 'icon'=>'', 'controller'=>'user', 'action'=>'bind-edit', 'routePath'=>'user/bind-edit', 'show'=>0,],
            ['name'=>'重置密码', 'class'=>'', 'icon'=>'', 'controller'=>'user', 'action'=>'password', 'routePath'=>'user/password', 'show'=>1],
            ['name'=>'报单管理', 'class'=>'', 'icon'=>'', 'controller'=>'user', 'action'=>'dec', 'routePath'=>'user/dec', 'show'=>1,'allow'=>'declarer',],
        ]
    ],
    'atlas'=>[
        'name'=>'网络图谱',
        'class' => '',
        'icon'=>'el-icon-data-line',
        'controller'=>'atlas',
        'action'=>'',
        'routePath'=>'atlas',
        'show'=>1,
        'child'=>[
            ['name'=>'安置网络图', 'class'=>'', 'icon'=>'', 'controller'=>'atlas', 'action'=>'network', 'routePath'=>'atlas/network', 'show'=>1,],
        ]
    ],
    'bonus'=>[
        'name'=>'奖金管理',
        'class' => '',
        'icon'=>'el-icon-coin',
        'controller'=>'bonus',
        'action'=>'',
        'routePath'=>'bonus',
        'show'=>1,
        'child'=>[
            ['name'=>'我的账户', 'class'=>'', 'icon'=>'', 'controller'=>'bonus', 'action'=>'index', 'routePath'=>'bonus/index', 'show'=>1,],
            ['name'=>'最新奖金', 'class'=>'', 'icon'=>'', 'controller'=>'bonus', 'action'=>'new', 'routePath'=>'bonus/new', 'show'=>1,],
            ['name'=>'往期奖金', 'class'=>'', 'icon'=>'', 'controller'=>'bonus', 'action'=>'other', 'routePath'=>'bonus/other', 'show'=>1,],
            //['name'=>'实时业绩', 'class'=>'', 'icon'=>'', 'controller'=>'bonus', 'action'=>'real-time-perf', 'routePath'=>'bonus/real-time-perf', 'show'=>1,],
            ['name'=>'房产积分', 'class'=>'', 'icon'=>'', 'controller'=>'bonus', 'action'=>'fc-point', 'routePath'=>'bonus/fc-point', 'show'=>1,],
//            ['name'=>'报单中心补助明细查询', 'class'=>'', 'icon'=>'', 'controller'=>'bonus', 'action'=>'flow-bt', 'routePath'=>'bonus/flow-bt', 'show'=>1,],
//            ['name'=>'报单中心货补追溯', 'class'=>'', 'icon'=>'', 'controller'=>'bonus', 'action'=>'trace-fl', 'routePath'=>'bonus/trace-fl', 'show'=>1,],
        ]
    ],
    'finance'=>[
        'name'=>'财务管理',
        'class' => '',
        'icon'=>'el-icon-bank-card',
        'controller'=>'finance',
        'action'=>'',
        'routePath'=>'finance',
        'show'=>1,
        'child'=>[
//            ['name'=>'会员复销池余额流水', 'class'=>'', 'icon'=>'', 'controller'=>'finance', 'action'=>'reconsume-pool-flow', 'routePath'=>'finance/reconsume-pool-flow', 'show'=>1,],
            ['name'=>'转账记录', 'class'=>'', 'icon'=>'', 'controller'=>'finance', 'action'=>'transfer-list', 'routePath'=>'finance/transfer-list', 'show'=>1,],
            ['name'=>'转账', 'class'=>'', 'icon'=>'', 'controller'=>'finance', 'action'=>'transfer-add', 'routePath'=>'finance/transfer-add', 'show'=>0,],
            ['name'=>'提现明细', 'class'=>'', 'icon'=>'', 'controller'=>'finance', 'action'=>'withdraw', 'routePath'=>'finance/withdraw', 'show'=>1,],
            ['name'=>'申请提现', 'class'=>'', 'icon'=>'', 'controller'=>'finance', 'action'=>'withdraw-add', 'routePath'=>'finance/withdraw-add', 'show'=>0,],
            ['name'=>'充值明细', 'class'=>'', 'icon'=>'', 'controller'=>'finance', 'action'=>'recharge', 'routePath'=>'finance/recharge', 'show'=>1,],
            ['name'=>'申请充值', 'class'=>'', 'icon'=>'', 'controller'=>'finance', 'action'=>'recharge-add', 'routePath'=>'finance/recharge-add', 'show'=>0,],
        ]
    ],
    'article'=>[
        'name'=>'文章管理',
        'class' => '',
        'icon'=>'el-icon-document',
        'controller'=>'article',
        'action'=>'',
        'routePath'=>'article',
        'show'=>1,
        'child'=>[

        ]
    ],
//    'message'=>[
//        'name'=>'站内信',
//        'class' => '',
//        'icon'=>'el-icon-message',
//        'controller'=>'message',
//        'action'=>'',
//        'routePath'=>'message',
//        'show'=>1,
//        'child'=>[
//            ['name'=>'站内信列表', 'class'=>'', 'icon'=>'', 'controller'=>'message', 'action'=>'index', 'routePath'=>'message/list', 'show'=>1,],
//            ['name'=>'站内信详情', 'class'=>'', 'icon'=>'', 'controller'=>'message', 'action'=>'detail', 'routePath'=>'message/detail', 'show'=>0,],
//        ]
//    ],
    'config'=>[
        'name'=>'设置',
        'class' => '',
        'icon'=>'el-icon-setting',
        'controller'=>'config',
        'action'=>'',
        'routePath'=>'config',
        'show'=>1,
        'child'=>[
//            ['name'=>'个人设置', 'class'=>'', 'icon'=>'', 'controller'=>'config', 'action'=>'base', 'routePath'=>'config/base', 'show'=>1,],
            ['name'=>'收货地址管理', 'class'=>'', 'icon'=>'', 'controller'=>'config', 'action'=>'receive-address-list', 'routePath'=>'config/receive-address-list', 'show'=>1,],
        ]
    ],
];