|
|
@@ -1645,147 +1645,147 @@ const routes: Array<RouteRecordRaw> = [
|
|
|
{
|
|
|
path: '/spot_trade',
|
|
|
name: EnumRouterName.spot_trade,
|
|
|
- component: Main,
|
|
|
- meta: {
|
|
|
- requireAuth: true,
|
|
|
- },
|
|
|
- redirect: { name: EnumRouterName.warehouse_receipt_trade, },
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: '/spot_trade/warehouse_receipt_trade',
|
|
|
- name: EnumRouterName.warehouse_receipt_trade,
|
|
|
- component: () => import('@/views/market/spot_trade/warehouse_receipt_trade/index.vue'),
|
|
|
- meta: {
|
|
|
- requireAuth: true,
|
|
|
- },
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: '/spot_trade/warehouse_receipt_trade/warehouse_receipt_trade_floating_price',
|
|
|
- name: EnumRouterName.warehouse_receipt_trade_floating_price,
|
|
|
- component: () => import('@/views/market/spot_trade/warehouse_receipt_trade/warehouse_receipt_trade_floating_price/index.vue'),
|
|
|
- meta: {
|
|
|
- requireAuth: true,
|
|
|
- },
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/spot_trade/warehouse_receipt_trade/warehouse_receipt_trade_price',
|
|
|
- name: EnumRouterName.warehouse_receipt_trade_price,
|
|
|
- component: () => import('@/views/market/spot_trade/warehouse_receipt_trade/warehouse_receipt_trade_price/index.vue'),
|
|
|
- meta: {
|
|
|
- requireAuth: true,
|
|
|
- },
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/spot_trade/warehouse_receipt_trade/warehouse_receipt_trade_blocs',
|
|
|
- name: 'warehouse_receipt_trade_blocs',
|
|
|
- component: () => import('@/views/market/spot_trade/warehouse_receipt_trade/warehouse_receipt_trade_blocs/index.vue'),
|
|
|
- meta: {
|
|
|
- requireAuth: true,
|
|
|
- },
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/spot_trade/warehouse_receipt_trade/warehouse_receipt_trade_designate',
|
|
|
- name: 'warehouse_receipt_trade_designate',
|
|
|
- component: () => import('@/views/market/spot_trade/warehouse_receipt_trade/warehouse_receipt_trade_designate/index.vue'),
|
|
|
- meta: {
|
|
|
- requireAuth: true,
|
|
|
- },
|
|
|
- },
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/spot_trade/warehouse_pre_sale',
|
|
|
- name: EnumRouterName.warehouse_pre_sale,
|
|
|
- component: () => import('@/views/market/spot_trade/warehouse_pre_sale/index.vue'),
|
|
|
- meta: {
|
|
|
- requireAuth: true,
|
|
|
- },
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: '/spot_trade/warehouse_pre_sale/warehouse_pre_sale_floating_price',
|
|
|
- name: EnumRouterName.warehouse_pre_sale_floating_price,
|
|
|
- component: () => import('@/views/market/spot_trade/warehouse_pre_sale/warehouse_pre_sale_floating_price/index.vue'),
|
|
|
- meta: {
|
|
|
- requireAuth: true,
|
|
|
- },
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/spot_trade/warehouse_pre_sale/warehouse_pre_sale_price',
|
|
|
- name: EnumRouterName.warehouse_pre_sale_price,
|
|
|
- component: () => import('@/views/market/spot_trade/warehouse_pre_sale/warehouse_pre_sale_price/index.vue'),
|
|
|
- meta: {
|
|
|
- requireAuth: true,
|
|
|
- },
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/spot_trade/warehouse_pre_sale/warehouse_pre_sale_blocs',
|
|
|
- name: EnumRouterName.warehouse_pre_sale_blocs,
|
|
|
- component: () => import('@/views/market/spot_trade/warehouse_pre_sale/warehouse_pre_sale_blocs/index.vue'),
|
|
|
- meta: {
|
|
|
- requireAuth: true,
|
|
|
- },
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/spot_trade/warehouse_pre_sale/warehouse_pre_sale_designate',
|
|
|
- name: 'warehouse_pre_sale_designate',
|
|
|
- component: () => import('@/views/market/spot_trade/warehouse_pre_sale/warehouse_pre_sale_designate/index.vue'),
|
|
|
- meta: {
|
|
|
- requireAuth: true,
|
|
|
- },
|
|
|
- },
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/spot_trade/spot_trade_order_transaction',
|
|
|
- name: EnumRouterName.spot_trade_order_transaction,
|
|
|
- component: () => import('@/views/market/spot_trade/spot_trade_order_transaction/index.vue'),
|
|
|
- meta: {
|
|
|
- requireAuth: true,
|
|
|
- },
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: '/spot_trade/spot_trade_order_transaction/spot_trade_order_transaction_basis_difference',
|
|
|
- name: EnumRouterName.spot_trade_order_transaction_basis_difference,
|
|
|
- component: () => import('@/views/market/spot_trade/spot_trade_order_transaction/spot_trade_order_transaction_basis_difference/index.vue'),
|
|
|
- meta: {
|
|
|
- requireAuth: true,
|
|
|
- },
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/spot_trade/spot_trade_order_transaction/spot_trade_order_transaction_listing_transfer',
|
|
|
- name: EnumRouterName.spot_trade_order_transaction_listing_transfer,
|
|
|
- component: () => import('@/views/market/spot_trade/spot_trade_order_transaction/spot_trade_order_transaction_listing_transfer/index.vue'),
|
|
|
- meta: {
|
|
|
- requireAuth: true,
|
|
|
- },
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/spot_trade/spot_trade_order_transaction/spot_trade_order_transaction_swap',
|
|
|
- name: 'spot_trade_order_transaction_swap',
|
|
|
- component: () => import('@/views/market/spot_trade/spot_trade_order_transaction/spot_trade_order_transaction_swap/index.vue'),
|
|
|
- meta: {
|
|
|
- requireAuth: true,
|
|
|
- },
|
|
|
- },
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/spot_trade/spot_trade_reference_market',
|
|
|
- name: EnumRouterName.spot_trade_reference_market,
|
|
|
- component: () => import('@/views/market/spot_trade/spot_trade_reference_market/index.vue'),
|
|
|
- meta: {
|
|
|
- requireAuth: true,
|
|
|
- },
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'spot_trade_advertisement',
|
|
|
- name: 'spot_trade_advertisement',
|
|
|
- component: () => import('@/views/market/spot_trade/spot_trade_advertisement/index.vue'),
|
|
|
- meta: {
|
|
|
- requireAuth: true,
|
|
|
- },
|
|
|
- }
|
|
|
- ]
|
|
|
+ component: () => import('@/views/market/spot_trade/index.vue'),
|
|
|
+ meta: {
|
|
|
+ requireAuth: true,
|
|
|
+ },
|
|
|
+ //redirect: { name: EnumRouterName.warehouse_receipt_trade, },
|
|
|
+ // children: [
|
|
|
+ // {
|
|
|
+ // path: '/spot_trade/warehouse_receipt_trade',
|
|
|
+ // name: EnumRouterName.warehouse_receipt_trade,
|
|
|
+ // component: () => import('@/views/market/spot_trade/warehouse_receipt_trade/index.vue'),
|
|
|
+ // meta: {
|
|
|
+ // requireAuth: true,
|
|
|
+ // },
|
|
|
+ // children: [
|
|
|
+ // {
|
|
|
+ // path: '/spot_trade/warehouse_receipt_trade/warehouse_receipt_trade_floating_price',
|
|
|
+ // name: EnumRouterName.warehouse_receipt_trade_floating_price,
|
|
|
+ // component: () => import('@/views/market/spot_trade/warehouse_receipt_trade/warehouse_receipt_trade_floating_price/index.vue'),
|
|
|
+ // meta: {
|
|
|
+ // requireAuth: true,
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: '/spot_trade/warehouse_receipt_trade/warehouse_receipt_trade_price',
|
|
|
+ // name: EnumRouterName.warehouse_receipt_trade_price,
|
|
|
+ // component: () => import('@/views/market/spot_trade/warehouse_receipt_trade/warehouse_receipt_trade_price/index.vue'),
|
|
|
+ // meta: {
|
|
|
+ // requireAuth: true,
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: '/spot_trade/warehouse_receipt_trade/warehouse_receipt_trade_blocs',
|
|
|
+ // name: 'warehouse_receipt_trade_blocs',
|
|
|
+ // component: () => import('@/views/market/spot_trade/warehouse_receipt_trade/warehouse_receipt_trade_blocs/index.vue'),
|
|
|
+ // meta: {
|
|
|
+ // requireAuth: true,
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: '/spot_trade/warehouse_receipt_trade/warehouse_receipt_trade_designate',
|
|
|
+ // name: 'warehouse_receipt_trade_designate',
|
|
|
+ // component: () => import('@/views/market/spot_trade/warehouse_receipt_trade/warehouse_receipt_trade_designate/index.vue'),
|
|
|
+ // meta: {
|
|
|
+ // requireAuth: true,
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ // ]
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: '/spot_trade/warehouse_pre_sale',
|
|
|
+ // name: EnumRouterName.warehouse_pre_sale,
|
|
|
+ // component: () => import('@/views/market/spot_trade/warehouse_pre_sale/index.vue'),
|
|
|
+ // meta: {
|
|
|
+ // requireAuth: true,
|
|
|
+ // },
|
|
|
+ // children: [
|
|
|
+ // {
|
|
|
+ // path: '/spot_trade/warehouse_pre_sale/warehouse_pre_sale_floating_price',
|
|
|
+ // name: EnumRouterName.warehouse_pre_sale_floating_price,
|
|
|
+ // component: () => import('@/views/market/spot_trade/warehouse_pre_sale/warehouse_pre_sale_floating_price/index.vue'),
|
|
|
+ // meta: {
|
|
|
+ // requireAuth: true,
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: '/spot_trade/warehouse_pre_sale/warehouse_pre_sale_price',
|
|
|
+ // name: EnumRouterName.warehouse_pre_sale_price,
|
|
|
+ // component: () => import('@/views/market/spot_trade/warehouse_pre_sale/warehouse_pre_sale_price/index.vue'),
|
|
|
+ // meta: {
|
|
|
+ // requireAuth: true,
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: '/spot_trade/warehouse_pre_sale/warehouse_pre_sale_blocs',
|
|
|
+ // name: EnumRouterName.warehouse_pre_sale_blocs,
|
|
|
+ // component: () => import('@/views/market/spot_trade/warehouse_pre_sale/warehouse_pre_sale_blocs/index.vue'),
|
|
|
+ // meta: {
|
|
|
+ // requireAuth: true,
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: '/spot_trade/warehouse_pre_sale/warehouse_pre_sale_designate',
|
|
|
+ // name: 'warehouse_pre_sale_designate',
|
|
|
+ // component: () => import('@/views/market/spot_trade/warehouse_pre_sale/warehouse_pre_sale_designate/index.vue'),
|
|
|
+ // meta: {
|
|
|
+ // requireAuth: true,
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ // ]
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: '/spot_trade/spot_trade_order_transaction',
|
|
|
+ // name: EnumRouterName.spot_trade_order_transaction,
|
|
|
+ // component: () => import('@/views/market/spot_trade/spot_trade_order_transaction/index.vue'),
|
|
|
+ // meta: {
|
|
|
+ // requireAuth: true,
|
|
|
+ // },
|
|
|
+ // children: [
|
|
|
+ // {
|
|
|
+ // path: '/spot_trade/spot_trade_order_transaction/spot_trade_order_transaction_basis_difference',
|
|
|
+ // name: EnumRouterName.spot_trade_order_transaction_basis_difference,
|
|
|
+ // component: () => import('@/views/market/spot_trade/spot_trade_order_transaction/spot_trade_order_transaction_basis_difference/index.vue'),
|
|
|
+ // meta: {
|
|
|
+ // requireAuth: true,
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: '/spot_trade/spot_trade_order_transaction/spot_trade_order_transaction_listing_transfer',
|
|
|
+ // name: EnumRouterName.spot_trade_order_transaction_listing_transfer,
|
|
|
+ // component: () => import('@/views/market/spot_trade/spot_trade_order_transaction/spot_trade_order_transaction_listing_transfer/index.vue'),
|
|
|
+ // meta: {
|
|
|
+ // requireAuth: true,
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: '/spot_trade/spot_trade_order_transaction/spot_trade_order_transaction_swap',
|
|
|
+ // name: 'spot_trade_order_transaction_swap',
|
|
|
+ // component: () => import('@/views/market/spot_trade/spot_trade_order_transaction/spot_trade_order_transaction_swap/index.vue'),
|
|
|
+ // meta: {
|
|
|
+ // requireAuth: true,
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ // ]
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: '/spot_trade/spot_trade_reference_market',
|
|
|
+ // name: EnumRouterName.spot_trade_reference_market,
|
|
|
+ // component: () => import('@/views/market/spot_trade/spot_trade_reference_market/index.vue'),
|
|
|
+ // meta: {
|
|
|
+ // requireAuth: true,
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: 'spot_trade_advertisement',
|
|
|
+ // name: 'spot_trade_advertisement',
|
|
|
+ // component: () => import('@/views/market/spot_trade/spot_trade_advertisement/index.vue'),
|
|
|
+ // meta: {
|
|
|
+ // requireAuth: true,
|
|
|
+ // },
|
|
|
+ // }
|
|
|
+ // ]
|
|
|
},
|
|
|
{
|
|
|
path: '/search_document_records',
|