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: 'g-icon--home-filled', }, { authType: 1, sort: 2, title: '钻石搜索', code: 'search', url: '/search', urlType: 1, component: 'Main', icon: 'g-icon--search-filled', 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', }, { authType: 3, title: '收藏', code: 'search_diamond_favorite', component: 'views/warehousing/goods/components/favorite/index.vue', }, ] }, { 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', }, { authType: 3, title: '收藏', code: 'search_fancy_favorite', component: 'views/warehousing/goods/components/favorite/index.vue', }, ] }, ] }, { authType: 1, sort: 3, title: '钻石首饰', code: 'search_jewelry', url: '/search/jewelry', urlType: 1, component: 'views/search/jewelry/index.vue', icon: 'g-icon--diamond-filled', }, { authType: 1, sort: 4, title: '挂牌大厅', code: 'trade', url: '/trade', urlType: 1, component: 'Main', icon: 'g-icon--listing-filled', 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', }, { authType: 3, title: '收藏', code: 'trade_sell_favorite', component: 'views/warehousing/goods/components/favorite/index.vue', }, ] }, { 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', children: [ { authType: 2, title: '摘牌', code: 'trade_buy_delisting', component: 'views/trade/buy/components/delisting/index.vue', className: 'el-button--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', className: 'el-button--primary', }, { authType: 3, title: '详情', code: 'trade_sale_details', component: 'views/trade/sale/components/details/index.vue', }, { authType: 3, title: '撤销', code: 'trade_sale_cancel', component: 'views/trade/sale/components/cancel/index.vue', }, ] }, { 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', className: 'el-button--primary', }, { authType: 3, title: '详情', code: 'trade_purchase_details', component: 'views/trade/purchase/components/details/index.vue', }, { authType: 3, title: '撤销', code: 'trade_purchase_cancel', component: 'views/trade/purchase/components/cancel/index.vue', }, ] }, { 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', }, ] }, { 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', }, { authType: 3, title: '撤销', code: 'trade_bargain_cancel', component: 'views/trade/bargain/components/cancel/index.vue', }, ] } ] }, { authType: 1, sort: 5, title: '竞价大厅', code: 'bidding', url: '/bidding', urlType: 1, component: 'Main', icon: 'g-icon--bidding-filled', }, { authType: 1, sort: 4, title: '预售大厅', code: 'presale', url: '/presale', urlType: 1, component: 'Main', icon: 'g-icon--presale-filled', children: [ { authType: 1, sort: 1, title: '预售大厅', code: 'presale_list', url: '', urlType: 1, component: 'views/presale/list/index.vue', children: [ { authType: 3, title: '认购下单', code: 'presale_list_details', component: 'views/presale/list/components/details/index.vue', }, ] }, { authType: 1, sort: 2, title: '我的预售', code: 'presale_mine', url: 'mine', urlType: 1, component: 'views/presale/mine/index.vue', children: [ { authType: 3, title: '预售申请', code: 'presale_mine_add', component: 'views/presale/mine/components/add/index.vue', className: 'el-button--primary', }, { authType: 3, title: '我的申请', code: 'presale_mine_apply', component: 'views/presale/mine/components/apply/index.vue', className: 'el-button--primary', }, { authType: 3, title: '详情', code: 'presale_mine_details', component: 'views/presale/mine/components/details/index.vue', }, ] }, { authType: 1, sort: 3, title: '我参与的预售', code: 'presale_partake', url: 'partake', urlType: 1, component: 'views/presale/partake/index.vue', children: [ { authType: 3, title: '详情', code: 'presale_partake_details', component: 'views/presale/partake/components/details/index.vue', }, ] }, ] }, { authType: 1, sort: 5, title: '集采交易', code: 'centralize', url: '/centralize', urlType: 1, component: 'Main', icon: 'g-icon--centralize-filled', children: [ { authType: 1, sort: 1, title: '集采大厅', code: 'centralize_list', url: '', urlType: 1, component: 'views/centralize/list/index.vue', children: [ { authType: 3, title: '采购下单', code: 'centralize_list_details', component: 'views/centralize/list/components/details/index.vue', }, ] }, { authType: 1, sort: 2, title: '我的集采', code: 'centralize_mine', url: 'mine', urlType: 1, component: 'views/centralize/mine/index.vue', children: [ { authType: 3, title: '集采申请', code: 'centralize_mine_add', component: 'views/centralize/mine/components/add/index.vue', className: 'el-button--primary', }, { authType: 3, title: '我的申请', code: 'centralize_mine_apply', component: 'views/centralize/mine/components/apply/index.vue', className: 'el-button--primary', }, { authType: 3, title: '详情', code: 'centralize_mine_details', component: 'views/centralize/mine/components/details/index.vue', }, ] }, { authType: 1, sort: 3, title: '我参与的集采', code: 'centralize_partake', url: 'partake', urlType: 1, component: 'views/centralize/partake/index.vue', }, ] }, { authType: 1, sort: 5, title: '我的收藏', code: 'favorite', url: '/favorite', urlType: 1, component: 'views/favorite/main/index.vue', icon: 'g-icon--favorite-filled', children: [ { authType: 3, title: '详情', code: 'favorite_details', component: 'views/warehousing/goods/components/details/index.vue', }, { authType: 3, title: '取消', code: 'favorite_cancel', component: 'views/favorite/main/components/cancel/index.vue', }, ] }, { authType: 1, sort: 6, title: '订单管理', code: 'order', url: '/order', urlType: 1, component: 'Main', icon: 'g-icon--order-filled', 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', }, { authType: 3, title: '手动', code: 'order_buy_manual', component: 'views/order/main/components/manual/index.vue', }, { authType: 3, title: '延期', code: 'order_buy_delay', component: 'views/order/main/components/delay/index.vue', }, { authType: 3, title: '违约', code: 'order_buy_contracted', component: 'views/order/main/components/contracted/index.vue', }, { authType: 3, title: '修改', code: 'order_buy_edit', component: 'views/order/main/components/edit/index.vue', }, ] }, { 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', }, { authType: 3, title: '手动', code: 'order_sell_manual', component: 'views/order/main/components/manual/index.vue', }, { authType: 3, title: '延期', code: 'order_sell_delay', component: 'views/order/main/components/delay/index.vue', }, { authType: 3, title: '违约', code: 'order_sell_contracted', component: 'views/order/main/components/contracted/index.vue', }, { authType: 3, title: '修改', code: 'order_sell_edit', component: 'views/order/main/components/edit/index.vue', }, ] }, ] }, { authType: 1, sort: 7, title: '交易服务', code: 'customs', url: '/customs', urlType: 1, component: 'Main', icon: 'g-icon--trade-filled', children: [ { authType: 1, sort: 1, title: '出境检测', code: 'customs_exit', url: '', urlType: 1, component: 'views/customs/exit/index.vue', children: [ { authType: 3, title: '详情', code: 'customs_exit_details', component: 'views/customs/exit/components/details/index.vue', }, { authType: 3, title: '提交申请', code: 'customs_exit_add', component: 'views/customs/exit/components/edit/index.vue', className: 'el-button--primary', }, { authType: 3, title: '修改', code: 'customs_exit_edit', component: 'views/customs/exit/components/edit/index.vue', }, { authType: 3, title: '撤回', code: 'customs_exit_cancel', component: 'views/customs/exit/components/cancel/index.vue', }, { authType: 3, title: '下载', code: 'customs_exit_download', component: 'components/modules/download/index.vue', }, { authType: 3, title: '确认发货', code: 'customs_exit_delivery', component: 'views/customs/exit/components/delivery/index.vue', }, { authType: 3, title: '确认检测结果', code: 'customs_exit_check', component: 'views/customs/exit/components/check/index.vue', }, { authType: 3, title: '确认预付款', code: 'customs_exit_advance_payment', component: 'views/customs/exit/components/advance-payment/index.vue', }, { authType: 3, title: '确认付款', code: 'customs_exit_payment', component: 'views/customs/exit/components/payment/index.vue', }, ] }, { authType: 1, sort: 2, title: '保税服务', code: 'customs_bonded', url: 'bonded', urlType: 1, component: 'views/customs/bonded/index.vue', children: [ { authType: 3, title: '详情', code: 'customs_bonded_details', component: 'views/customs/bonded/components/details/index.vue', }, { authType: 3, title: '上传发货单', code: 'customs_bonded_upload_bill', component: 'views/customs/bonded/components/upload-bill/index.vue', }, { authType: 3, title: '下载', code: 'customs_bonded_download', component: 'components/modules/download/index.vue', }, { authType: 3, title: '上传盖章单据', code: 'customs_bonded_upload_seal', component: 'views/customs/bonded/components/upload-seal/index.vue', }, { authType: 3, title: '确认预付款', code: 'customs_bonded_advance_payment', component: 'views/customs/bonded/components/advance-payment/index.vue', }, { authType: 3, title: '确认付款', code: 'customs_bonded_payment', component: 'views/customs/bonded/components/payment/index.vue', }, ] }, ] }, { authType: 1, sort: 8, title: '保税仓业务', code: 'bonded', url: '/bonded', urlType: 1, component: 'Main', icon: 'g-icon--bonded-filled', children: [ { authType: 1, sort: 1, title: '进仓管理', code: 'bonded_inbound', url: '', urlType: 1, component: 'views/bonded/inbound/index.vue', children: [ { authType: 3, title: '提交申请', code: 'bonded_inbound_apply', component: 'views/bonded/inbound/components/apply/index.vue', className: 'el-button--primary', }, { authType: 3, title: '详情', code: 'bonded_inbound_details', component: 'views/bonded/inbound/components/details/index.vue', }, { authType: 3, title: '下载', code: 'bonded_inbound_download', component: 'components/modules/download/index.vue', }, { authType: 3, title: '上传', code: 'bonded_inbound_upload', component: 'views/bonded/components/upload/index.vue', }, ] }, { authType: 1, sort: 2, title: '出仓管理', code: 'bonded_outbound', url: 'outbound', urlType: 1, component: 'views/bonded/outbound/index.vue', children: [ { authType: 3, title: '提交申请', code: 'bonded_outbound_apply', component: 'views/bonded/outbound/components/apply/index.vue', className: 'el-button--primary', }, { authType: 3, title: '详情', code: 'bonded_outbound_details', component: 'views/bonded/outbound/components/details/index.vue', }, { authType: 3, title: '下载', code: 'bonded_outbound_download', component: 'components/modules/download/index.vue', }, { authType: 3, title: '上传', code: 'bonded_outbound_upload', component: 'views/bonded/components/upload/index.vue', }, ] }, { authType: 1, sort: 3, title: '计费管理', code: 'bonded_expense', url: 'expense', urlType: 1, component: 'views/bonded/expense/index.vue', children: [ { authType: 3, title: '详情', code: 'bonded_expense_details', component: 'views/bonded/expense/components/details/index.vue', }, { authType: 3, title: '支付', code: 'bonded_expense_payment', component: 'views/bonded/expense/components/payment/index.vue', }, ] } ] }, { authType: 1, sort: 9, title: '我的仓储', code: 'warehousing', url: '/warehousing', urlType: 1, component: 'Main', icon: 'g-icon--warehousing-filled', 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', className: 'el-button--primary', }, { authType: 3, title: '商品上架', code: 'warehousing_goods_sell', component: 'views/warehousing/goods/components/edit/index.vue', className: 'el-button--primary', }, { authType: 3, title: '详情', code: 'warehousing_goods_details', component: 'views/warehousing/goods/components/details/index.vue', }, { authType: 3, title: '上架', code: 'warehousing_goods_put', component: 'views/warehousing/goods/components/put/index.vue', }, { authType: 3, title: '下架', code: 'warehousing_goods_pull', component: 'views/warehousing/goods/components/pull/index.vue', }, { authType: 3, title: '删除', code: 'warehousing_goods_delete', component: 'views/warehousing/goods/components/delete/index.vue', }, ] }, { 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', className: 'el-button--primary', }, { authType: 3, title: '修改', code: 'warehousing_warehouse_edit', component: 'views/warehousing/warehouse/components/edit/index.vue', } ] }, ] }, { authType: 1, sort: 10, title: '会员中心', code: 'mine', url: '/mine', urlType: 1, component: 'Main', icon: 'g-icon--member-filled', 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', className: 'el-button--primary', }, { authType: 3, title: '解约', code: 'mine_profile_rescind', component: 'views/mine/profile/components/rescind/index.vue', className: 'el-button--primary', }, { authType: 3, title: '修改登录密码', code: 'mine_profile_loginpassword', component: 'views/mine/profile/components/password/index.vue', className: 'el-button--primary', }, { authType: 3, title: '修改资金密码', code: 'mine_profile_accountpassword', component: 'views/mine/profile/components/password/index.vue', className: 'el-button--primary', hidden: true, } ] }, { 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', className: 'el-button--primary', }, { authType: 3, title: '出金申请', code: 'bank_withdraw', component: 'views/mine/bank/components/withdraw/index.vue', className: 'el-button--primary', }, { authType: 3, title: '撤销', code: 'bank_cancel', component: 'views/mine/bank/components/cancel/index.vue', } ] }, { 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', className: 'el-button--primary', }, { authType: 3, title: '修改', code: 'mine_address_edit', component: 'views/mine/address/components/edit/index.vue', }, { authType: 3, title: '默认', code: 'mine_address_default', component: 'views/mine/address/components/default/index.vue', }, { authType: 3, title: '删除', code: 'mine_address_delete', component: 'views/mine/address/components/delete/index.vue', }, ] }, { 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', className: 'el-button--primary', }, { authType: 3, title: '修改', code: 'mine_invoice_edit', component: 'views/mine/invoice/components/edit/index.vue', }, { authType: 3, title: '删除', code: 'mine_invoice_delete', component: 'views/mine/invoice/components/delete/index.vue', } ] }, ] }, { authType: 1, sort: 11, title: '报表', code: 'report', url: '/report', urlType: 1, component: 'Main', icon: 'g-icon--chart-filled', children: [ { authType: 1, sort: 1, title: '会员报表', code: 'report_member', url: '', urlType: 1, component: 'views/report/member/index.vue', }, { authType: 1, sort: 2, title: '仓储报表', code: 'report_warehousing', url: 'warehousing', urlType: 1, component: 'views/report/warehousing/index.vue', }, { authType: 1, sort: 3, title: '交易报表', code: 'report_trade', url: 'trade', urlType: 1, component: 'views/report/trade/index.vue', }, ] }, { authType: 1, sort: 12, title: '询价消息', code: 'bargain', url: '/bargain', urlType: 1, component: 'Main', icon: 'Comment', 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', }, { authType: 3, title: '拒绝', code: 'bargain_buy_refuse', component: 'views/bargain/buy/components/audit/index.vue', } ] }, { 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_details', component: 'views/warehousing/goods/components/details/index.vue', }, { authType: 3, title: '同意', code: 'bargain_sell_agree', component: 'views/bargain/sell/components/audit/index.vue', }, { authType: 3, title: '拒绝', code: 'bargain_sell_refuse', component: 'views/bargain/sell/components/audit/index.vue', } ] } ] }, { authType: 1, sort: 13, title: '帮助支持', code: 'help', url: '/help', urlType: 1, component: 'views/help/main/index.vue', icon: 'g-icon--help-filled', }, { authType: 1, sort: 14, title: '系统管理', code: 'system', url: '/system', urlType: 1, component: 'Main', icon: 'Setting', hidden: true, 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', component: 'views/system/menu/components/edit/index.vue', className: 'el-button--primary', }, { authType: 3, title: '编辑', code: 'system_menu_edit', icon: 'Edit', component: 'views/system/menu/components/edit/index.vue', }, { authType: 3, title: '删除', code: 'system_menu_delete', icon: 'Delete', } ] }, { 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', className: 'el-button--primary', }, { authType: 3, title: '权限', code: 'system_role_auth', icon: 'Lock', component: 'views/system/role/components/auth/index.vue', }, { authType: 3, title: '编辑', code: 'system_role_edit', icon: 'Edit', }, { authType: 3, title: '删除', code: 'system_role_delete', icon: 'Delete', } ] }, ] }, ] } }; export default [ appmenu, ]