const appmenu = {
    url: '/account/menu',
    type: 'get',
    response: {
        code: 200,
        msg: 'success',
        total: 0,
        data: [
            {
                authType: 1,
                sort: 1,
                title: '主页',
                code: 'home',
                url: '/home',
                urlType: 1,
                component: 'views/home/main/index.vue',
                icon: 'HomeFilled',
            },
            {
                authType: 1,
                sort: 2,
                title: '钻石搜索',
                code: 'search',
                url: '/search',
                urlType: 1,
                component: 'Main',
                icon: 'TrendCharts',
                children: [
                    {
                        authType: 1,
                        sort: 1,
                        title: '单颗裸钻',
                        code: 'search_diamond',
                        url: '',
                        urlType: 1,
                        component: 'views/search/diamond/index.vue',
                        children: [
                            {
                                authType: 3,
                                title: '详情',
                                code: 'search_diamond_details',
                                component: 'views/warehousing/goods/components/details/index.vue',
                                buttonName: 'details',
                                buttonType: 'primary',
                            },
                            {
                                authType: 3,
                                title: '收藏',
                                code: 'search_diamond_favorite',
                                component: 'views/warehousing/goods/components/favorite/index.vue',
                                buttonName: 'favorite',
                                buttonType: 'primary',
                            },
                        ]
                    },
                    {
                        authType: 1,
                        sort: 2,
                        title: '单颗彩钻',
                        code: 'search_fancy',
                        url: 'fancy',
                        urlType: 1,
                        component: 'views/search/fancy/index.vue',
                        children: [
                            {
                                authType: 3,
                                title: '详情',
                                code: 'search_fancy_details',
                                component: 'views/warehousing/goods/components/details/index.vue',
                                buttonName: 'details',
                                buttonType: 'primary',
                            },
                            {
                                authType: 3,
                                title: '收藏',
                                code: 'search_fancy_favorite',
                                component: 'views/warehousing/goods/components/favorite/index.vue',
                                buttonName: 'favorite',
                                buttonType: 'primary',
                            },
                        ]
                    },
                ]
            },
            {
                authType: 1,
                sort: 2,
                title: '钻石首饰',
                code: 'search_jewelry',
                url: '/search/jewelry',
                urlType: 1,
                component: 'views/search/jewelry/index.vue',
                icon: 'TrendCharts',
            },
            {
                authType: 1,
                sort: 3,
                title: '挂牌大厅',
                code: 'trade',
                url: '/trade',
                urlType: 1,
                component: 'Main',
                icon: 'List',
                children: [
                    {
                        authType: 1,
                        sort: 1,
                        title: '出售大厅',
                        code: 'trade_sell',
                        url: '',
                        urlType: 1,
                        component: 'views/trade/sell/index.vue',
                        children: [
                            {
                                authType: 3,
                                title: '详情',
                                code: 'trade_sell_details',
                                component: 'views/warehousing/goods/components/details/index.vue',
                                buttonName: 'details',
                                buttonType: 'primary',
                            },
                            {
                                authType: 3,
                                title: '收藏',
                                code: 'trade_sell_favorite',
                                component: 'views/warehousing/goods/components/favorite/index.vue',
                                buttonName: 'favorite',
                                buttonType: 'primary',
                            },
                        ]
                    },
                    {
                        authType: 1,
                        sort: 1,
                        title: '求购大厅',
                        code: 'trade_buy',
                        url: 'buy',
                        urlType: 1,
                        component: 'views/trade/buy/index.vue',
                        children: [
                            {
                                authType: 3,
                                title: '详情',
                                code: 'trade_buy_details',
                                component: 'views/trade/buy/components/details/index.vue',
                                buttonName: 'details',
                                buttonType: 'primary',
                                children: [
                                    {
                                        authType: 2,
                                        title: '摘牌',
                                        code: 'trade_buy_delisting',
                                        component: 'views/trade/buy/components/delisting/index.vue',
                                        buttonName: 'delisting',
                                        buttonType: 'primary',
                                    },
                                ]
                            },
                        ]
                    },
                    {
                        authType: 1,
                        sort: 1,
                        title: '我的出售',
                        code: 'trade_sale',
                        url: 'sale',
                        urlType: 1,
                        component: 'views/trade/sale/index.vue',
                        children: [
                            {
                                authType: 3,
                                title: '我要出售',
                                code: 'trade_sale_add',
                                component: 'views/trade/sale/components/add/index.vue',
                                buttonName: 'add',
                                buttonType: 'primary',
                            },
                            {
                                authType: 3,
                                title: '详情',
                                code: 'trade_sale_details',
                                component: 'views/trade/sale/components/details/index.vue',
                                buttonName: 'details',
                                buttonType: 'primary',
                            },
                            {
                                authType: 3,
                                title: '撤销',
                                code: 'trade_sale_cancel',
                                component: 'views/trade/sale/components/cancel/index.vue',
                                buttonName: 'cancel',
                                buttonType: 'primary',
                            },
                        ]
                    },
                    {
                        authType: 1,
                        sort: 1,
                        title: '我的求购',
                        code: 'trade_purchase',
                        url: 'purchase',
                        urlType: 1,
                        component: 'views/trade/purchase/index.vue',
                        children: [
                            {
                                authType: 3,
                                title: '我要求购',
                                code: 'trade_purchase_add',
                                component: 'views/trade/purchase/components/add/index.vue',
                                buttonName: 'add',
                                buttonType: 'primary',
                            },
                            {
                                authType: 3,
                                title: '详情',
                                code: 'trade_purchase_details',
                                component: 'views/trade/purchase/components/details/index.vue',
                                buttonName: 'details',
                                buttonType: 'primary',
                            },
                            {
                                authType: 3,
                                title: '撤销',
                                code: 'trade_purchase_cancel',
                                component: 'views/trade/purchase/components/cancel/index.vue',
                                buttonName: 'cancel',
                                buttonType: 'primary',
                            },
                        ]
                    },
                    {
                        authType: 1,
                        sort: 1,
                        title: '我的摘牌',
                        code: 'trade_delisting',
                        url: 'delisting',
                        urlType: 1,
                        component: 'views/trade/delisting/index.vue',
                        children: [
                            {
                                authType: 3,
                                title: '详情',
                                code: 'trade_delisting_details',
                                component: 'views/trade/delisting/components/details/index.vue',
                                buttonName: 'details',
                                buttonType: 'primary',
                            },
                        ]
                    },
                    {
                        authType: 1,
                        sort: 1,
                        title: '我的询价',
                        code: 'trade_bargain',
                        url: 'bargain',
                        urlType: 1,
                        component: 'views/trade/bargain/index.vue',
                        children: [
                            {
                                authType: 3,
                                title: '详情',
                                code: 'trade_bargain_details',
                                component: 'views/trade/bargain/components/details/index.vue',
                                buttonName: 'details',
                                buttonType: 'primary',
                            },
                            {
                                authType: 3,
                                title: '撤销',
                                code: 'trade_bargain_cancel',
                                component: 'views/trade/bargain/components/cancel/index.vue',
                                buttonName: 'cancel',
                                buttonType: 'primary',
                            },
                        ]
                    }
                ]
            },
            {
                authType: 1,
                sort: 3,
                title: '我的收藏',
                code: 'favorite',
                url: '/favorite',
                urlType: 1,
                component: 'views/favorite/main/index.vue',
                icon: 'List',
                children: [
                    {
                        authType: 3,
                        title: '详情',
                        code: 'favorite_details',
                        component: 'views/warehousing/goods/components/details/index.vue',
                        buttonName: 'details',
                        buttonType: 'primary',
                    },
                    {
                        authType: 3,
                        title: '取消',
                        code: 'favorite_cancel',
                        component: 'views/favorite/main/components/cancel/index.vue',
                        buttonName: 'cancel',
                        buttonType: 'primary',
                    },
                ]
            },
            {
                authType: 1,
                sort: 3,
                title: '订单管理',
                code: 'order',
                url: '/order',
                urlType: 1,
                component: 'Main',
                icon: 'List',
                children: [
                    {
                        authType: 1,
                        sort: 1,
                        title: '我的买履约',
                        code: 'order_buy',
                        url: '',
                        urlType: 1,
                        component: 'views/order/main/index.vue',
                        children: [
                            {
                                authType: 3,
                                title: '详情',
                                code: 'order_buy_details',
                                component: 'views/order/main/components/details/index.vue',
                                buttonName: 'details',
                                buttonType: 'primary',
                            },
                            {
                                authType: 3,
                                title: '手动',
                                code: 'order_buy_manual',
                                component: 'views/order/main/components/manual/index.vue',
                                buttonName: 'manual',
                                buttonType: 'primary',
                            },
                            {
                                authType: 3,
                                title: '延期',
                                code: 'order_buy_delay',
                                component: 'views/order/main/components/delay/index.vue',
                                buttonName: 'delay',
                                buttonType: 'primary',
                            },
                            {
                                authType: 3,
                                title: '违约',
                                code: 'order_buy_contracted',
                                component: 'views/order/main/components/contracted/index.vue',
                                buttonName: 'contracted',
                                buttonType: 'primary',
                            },
                            {
                                authType: 3,
                                title: '修改',
                                code: 'order_buy_edit',
                                component: 'views/order/main/components/edit/index.vue',
                                buttonName: 'edit',
                                buttonType: 'primary',
                            },
                        ]
                    },
                    {
                        authType: 1,
                        sort: 2,
                        title: '我的卖履约',
                        code: 'order_sell',
                        url: 'sell',
                        urlType: 1,
                        component: 'views/order/main/index.vue',
                        children: [
                            {
                                authType: 3,
                                title: '详情',
                                code: 'order_sell_details',
                                component: 'views/order/main/components/details/index.vue',
                                buttonName: 'details',
                                buttonType: 'primary',
                            },
                            {
                                authType: 3,
                                title: '手动',
                                code: 'order_sell_manual',
                                component: 'views/order/main/components/manual/index.vue',
                                buttonName: 'manual',
                                buttonType: 'primary',
                            },
                            {
                                authType: 3,
                                title: '延期',
                                code: 'order_sell_delay',
                                component: 'views/order/main/components/delay/index.vue',
                                buttonName: 'delay',
                                buttonType: 'primary',
                            },
                            {
                                authType: 3,
                                title: '违约',
                                code: 'order_sell_contracted',
                                component: 'views/order/main/components/contracted/index.vue',
                                buttonName: 'contracted',
                                buttonType: 'primary',
                            },
                            {
                                authType: 3,
                                title: '修改',
                                code: 'order_sell_edit',
                                component: 'views/order/main/components/edit/index.vue',
                                buttonName: 'edit',
                                buttonType: 'primary',
                            },
                        ]
                    },
                ]
            },
            {
                authType: 1,
                sort: 3,
                title: '交易服务',
                code: 'customs',
                url: '/customs',
                urlType: 1,
                component: 'Main',
                icon: 'List',
                children: [
                    {
                        authType: 1,
                        sort: 1,
                        title: '出境检测',
                        code: 'customs_exit',
                        url: '',
                        urlType: 1,
                        component: 'views/customs/exit/index.vue',
                    },
                    {
                        authType: 1,
                        sort: 2,
                        title: '保税服务',
                        code: 'customs_bonded',
                        url: 'bonded',
                        urlType: 1,
                        component: 'views/customs/bonded/index.vue',
                    },
                ]
            },
            {
                authType: 1,
                sort: 4,
                title: '我的仓储',
                code: 'warehousing',
                url: '/warehousing',
                urlType: 1,
                component: 'Main',
                icon: 'Platform',
                children: [
                    {
                        authType: 1,
                        sort: 1,
                        title: '我的库存',
                        code: 'warehousing_goods',
                        url: '',
                        urlType: 1,
                        component: 'views/warehousing/goods/index.vue',
                        children: [
                            {
                                authType: 3,
                                title: '添加商品',
                                code: 'warehousing_goods_add',
                                component: 'views/warehousing/goods/components/edit/index.vue',
                                buttonName: 'add',
                                buttonType: 'primary',
                            },
                            {
                                authType: 3,
                                title: '商品上架',
                                code: 'warehousing_goods_sell',
                                component: 'views/warehousing/goods/components/edit/index.vue',
                                buttonName: 'sell',
                                buttonType: 'primary',
                            },
                            {
                                authType: 3,
                                title: '详情',
                                code: 'warehousing_goods_details',
                                component: 'views/warehousing/goods/components/details/index.vue',
                                buttonName: 'details',
                                buttonType: 'primary',
                            },
                            {
                                authType: 3,
                                title: '上架',
                                code: 'warehousing_goods_put',
                                component: 'views/warehousing/goods/components/put/index.vue',
                                buttonName: 'put',
                                buttonType: 'primary',
                            },
                            {
                                authType: 3,
                                title: '下架',
                                code: 'warehousing_goods_pull',
                                component: 'views/warehousing/goods/components/pull/index.vue',
                                buttonName: 'pull',
                                buttonType: 'primary',
                            },
                            {
                                authType: 3,
                                title: '删除',
                                code: 'warehousing_goods_delete',
                                component: 'views/warehousing/goods/components/delete/index.vue',
                                buttonName: 'delete',
                                buttonType: 'danger',
                            },
                        ]
                    },
                    {
                        authType: 1,
                        sort: 1,
                        title: '我的仓库',
                        code: 'warehousing_warehouse',
                        url: 'warehouse',
                        urlType: 1,
                        component: 'views/warehousing/warehouse/index.vue',
                        children: [
                            {
                                authType: 3,
                                title: '新增仓库',
                                code: 'warehousing_warehouse_add',
                                component: 'views/warehousing/warehouse/components/edit/index.vue',
                                buttonName: 'add',
                                buttonType: 'primary',
                            },
                            {
                                authType: 3,
                                title: '修改',
                                code: 'warehousing_warehouse_edit',
                                component: 'views/warehousing/warehouse/components/edit/index.vue',
                                buttonName: 'edit',
                                buttonType: 'primary',
                            }
                        ]
                    },
                ]
            },
            {
                authType: 1,
                sort: 5,
                title: '会员中心',
                code: 'mine',
                url: '/mine',
                urlType: 1,
                component: 'Main',
                icon: 'UserFilled',
                children: [
                    {
                        authType: 1,
                        sort: 1,
                        title: '会员信息',
                        code: 'mine_profile',
                        url: '',
                        urlType: 1,
                        component: 'views/mine/profile/index.vue',
                        children: [
                            {
                                authType: 3,
                                title: '签约',
                                code: 'mine_profile_sign',
                                component: 'views/mine/profile/components/sign/index.vue',
                                buttonName: 'sign',
                                buttonType: 'primary',
                            },
                            {
                                authType: 3,
                                title: '解约',
                                code: 'mine_profile_rescind',
                                component: 'views/mine/profile/components/rescind/index.vue',
                                buttonName: 'rescind',
                                buttonType: 'primary',
                            },
                            {
                                authType: 3,
                                title: '修改登录密码',
                                code: 'mine_profile_loginpassword',
                                component: 'views/mine/profile/components/password/index.vue',
                                buttonName: 'loginPassword',
                                buttonType: 'primary',
                            },
                            {
                                authType: 3,
                                title: '修改资金密码',
                                code: 'mine_profile_accountpassword',
                                component: 'views/mine/profile/components/password/index.vue',
                                buttonName: 'accountPassword',
                                buttonType: 'primary',
                            }
                        ]
                    },
                    {
                        authType: 1,
                        sort: 2,
                        title: '我的出入金',
                        code: 'mine_bank',
                        url: 'bank',
                        urlType: 1,
                        component: 'views/mine/bank/index.vue',
                        children: [
                            {
                                authType: 3,
                                title: '入金申请',
                                code: 'bank_deposit',
                                component: 'views/mine/bank/components/deposit/index.vue',
                                buttonName: 'deposit',
                                buttonType: 'primary',
                            },
                            {
                                authType: 3,
                                title: '出金申请',
                                code: 'bank_withdraw',
                                component: 'views/mine/bank/components/withdraw/index.vue',
                                buttonName: 'withdraw',
                                buttonType: 'primary',
                            },
                            {
                                authType: 3,
                                title: '撤销',
                                code: 'bank_cancel',
                                component: 'views/mine/bank/components/cancel/index.vue',
                                buttonName: 'cancel',
                                buttonType: 'primary',
                            }
                        ]
                    },
                    {
                        authType: 1,
                        sort: 3,
                        title: '我的地址',
                        code: 'mine_address',
                        url: 'address',
                        urlType: 1,
                        component: 'views/mine/address/index.vue',
                        children: [
                            {
                                authType: 3,
                                title: '新增地址',
                                code: 'mine_address_add',
                                component: 'views/mine/address/components/edit/index.vue',
                                buttonName: 'add',
                                buttonType: 'primary',

                            },
                            {
                                authType: 3,
                                title: '修改',
                                code: 'mine_address_edit',
                                component: 'views/mine/address/components/edit/index.vue',
                                buttonName: 'edit',
                                buttonType: 'primary',
                            },
                            {
                                authType: 3,
                                title: '默认',
                                code: 'mine_address_default',
                                component: 'views/mine/address/components/default/index.vue',
                                buttonName: 'default',
                                buttonType: 'primary',
                            },
                            {
                                authType: 3,
                                title: '删除',
                                code: 'mine_address_delete',
                                component: 'views/mine/address/components/delete/index.vue',
                                buttonName: 'delete',
                                buttonType: 'danger',
                            },
                        ]
                    },
                    {
                        authType: 1,
                        sort: 4,
                        title: '我的发票',
                        code: 'mine_invoice',
                        url: 'invoice',
                        urlType: 1,
                        component: 'views/mine/invoice/index.vue',
                        children: [
                            {
                                authType: 3,
                                title: '新增发票',
                                code: 'mine_invoice_add',
                                component: 'views/mine/invoice/components/edit/index.vue',
                                buttonName: 'add',
                                buttonType: 'primary',

                            },
                            {
                                authType: 3,
                                title: '修改',
                                code: 'mine_invoice_edit',
                                component: 'views/mine/invoice/components/edit/index.vue',
                                buttonName: 'edit',
                                buttonType: 'primary',
                            },
                            {
                                authType: 3,
                                title: '删除',
                                code: 'mine_invoice_delete',
                                component: 'views/mine/invoice/components/delete/index.vue',
                                buttonName: 'delete',
                                buttonType: 'danger',
                            }
                        ]
                    },
                ]
            },
            {
                authType: 1,
                sort: 1,
                title: '询价消息',
                code: 'bargain',
                url: '/bargain',
                urlType: 1,
                component: 'Main',
                icon: 'ChatDotRound',
                hidden: true,
                children: [
                    {
                        authType: 1,
                        sort: 1,
                        title: '买方询价',
                        code: 'bargain_buy',
                        url: '',
                        urlType: 1,
                        component: 'views/bargain/buy/index.vue',
                        children: [
                            {
                                authType: 3,
                                title: '同意',
                                code: 'bargain_buy_agree',
                                component: 'views/bargain/buy/components/audit/index.vue',
                                buttonName: 'agree',
                                buttonType: 'primary',
                            },
                            {
                                authType: 3,
                                title: '拒绝',
                                code: 'bargain_buy_refuse',
                                component: 'views/bargain/buy/components/audit/index.vue',
                                buttonName: 'refuse',
                                buttonType: 'primary',
                            }
                        ]
                    },
                    {
                        authType: 1,
                        sort: 1,
                        title: '卖方询价',
                        code: 'bargain_sell',
                        url: 'sell',
                        urlType: 1,
                        component: 'views/bargain/sell/index.vue',
                        children: [
                            {
                                authType: 3,
                                title: '同意',
                                code: 'bargain_sell_agree',
                                component: 'views/bargain/sell/components/audit/index.vue',
                                buttonName: 'agree',
                                buttonType: 'primary',
                            },
                            {
                                authType: 3,
                                title: '拒绝',
                                code: 'bargain_sell_refuse',
                                component: 'views/bargain/sell/components/audit/index.vue',
                                buttonName: 'refuse',
                                buttonType: 'primary',
                            }
                        ]
                    }
                ]
            },
            {
                authType: 1,
                sort: 6,
                title: '系统管理',
                code: 'system',
                url: '/system',
                urlType: 1,
                component: 'Main',
                icon: 'Setting',
                children: [
                    {
                        authType: 1,
                        sort: 1,
                        title: '菜单管理',
                        code: 'system_menu',
                        url: '',
                        urlType: 1,
                        component: 'views/system/menu/index.vue',
                        children: [
                            {
                                authType: 3,
                                title: '新增',
                                code: 'system_menu_add',
                                icon: 'Plus',
                                buttonType: 'primary',
                                component: 'views/system/menu/components/edit/index.vue',
                            },
                            {
                                authType: 3,
                                title: '编辑',
                                code: 'system_menu_edit',
                                icon: 'Edit',
                                buttonType: 'primary',
                                component: 'views/system/menu/components/edit/index.vue',
                            },
                            {
                                authType: 3,
                                title: '删除',
                                code: 'system_menu_delete',
                                icon: 'Delete',
                                buttonType: 'danger',
                            }
                        ]
                    },
                    {
                        authType: 1,
                        sort: 1,
                        title: '角色管理',
                        code: 'system_role',
                        url: 'role',
                        urlType: 1,
                        component: 'views/system/role/index.vue',
                        children: [
                            {
                                authType: 3,
                                title: '新增',
                                code: 'system_role_add',
                                icon: 'Plus',
                                buttonType: 'primary',
                            },
                            {
                                authType: 3,
                                title: '权限',
                                code: 'system_role_auth',
                                icon: 'Lock',
                                buttonType: 'primary',
                                component: 'views/system/role/components/auth/index.vue',
                            },
                            {
                                authType: 3,
                                title: '编辑',
                                code: 'system_role_edit',
                                icon: 'Edit',
                                buttonType: 'primary',
                            },
                            {
                                authType: 3,
                                title: '删除',
                                code: 'system_role_delete',
                                icon: 'Delete',
                                buttonType: 'danger',
                            }
                        ]
                    },
                ]
            },
        ]
    }
};

export default [
    appmenu,
]