|
@@ -76,11 +76,11 @@ const routes: Array<RouteRecordRaw> = [
|
|
|
meta: {
|
|
meta: {
|
|
|
requireAuth: true
|
|
requireAuth: true
|
|
|
},
|
|
},
|
|
|
- redirect: to => { return { name: EnumType.GoodsInfo.spot } },
|
|
|
|
|
|
|
+ redirect: to => { return { name: 'goods_info_spot' } },
|
|
|
children: [
|
|
children: [
|
|
|
{
|
|
{
|
|
|
path: '/goods_info/spot',
|
|
path: '/goods_info/spot',
|
|
|
- name: EnumType.GoodsInfo.spot,
|
|
|
|
|
|
|
+ name: 'goods_info_spot',
|
|
|
component: () => import('@/views/information/goods/list/spot-variety/index.vue'),
|
|
component: () => import('@/views/information/goods/list/spot-variety/index.vue'),
|
|
|
meta: {
|
|
meta: {
|
|
|
requireAuth: true
|
|
requireAuth: true
|
|
@@ -88,7 +88,7 @@ const routes: Array<RouteRecordRaw> = [
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: '/goods_info/hedging',
|
|
path: '/goods_info/hedging',
|
|
|
- name: EnumType.GoodsInfo.hedging,
|
|
|
|
|
|
|
+ name: 'goods_info_hedge',
|
|
|
component: () => import('@/views/information/goods/list/hedging-variety/index.vue'),
|
|
component: () => import('@/views/information/goods/list/hedging-variety/index.vue'),
|
|
|
meta: {
|
|
meta: {
|
|
|
requireAuth: true
|
|
requireAuth: true
|
|
@@ -119,11 +119,11 @@ const routes: Array<RouteRecordRaw> = [
|
|
|
meta: {
|
|
meta: {
|
|
|
requireAuth: true
|
|
requireAuth: true
|
|
|
},
|
|
},
|
|
|
- redirect: to => { return { name: EnumType.SpotContract.notCommit } },
|
|
|
|
|
|
|
+ redirect: to => { return { name: 'spot_contract_unsubmitted' } },
|
|
|
children: [
|
|
children: [
|
|
|
{
|
|
{
|
|
|
path: '/spot_contract/not-commit',
|
|
path: '/spot_contract/not-commit',
|
|
|
- name: EnumType.SpotContract.notCommit,
|
|
|
|
|
|
|
+ name: 'spot_contract_unsubmitted',
|
|
|
component: () => import('@/views/information/spot-contract/list/not-commit/index.vue'),
|
|
component: () => import('@/views/information/spot-contract/list/not-commit/index.vue'),
|
|
|
meta: {
|
|
meta: {
|
|
|
requireAuth: true
|
|
requireAuth: true
|
|
@@ -131,7 +131,7 @@ const routes: Array<RouteRecordRaw> = [
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: '/spot_contract/done',
|
|
path: '/spot_contract/done',
|
|
|
- name: EnumType.SpotContract.done,
|
|
|
|
|
|
|
+ name: 'spot_contract_checkpending',
|
|
|
component: () => import('@/views/information/spot-contract/list/done/index.vue'),
|
|
component: () => import('@/views/information/spot-contract/list/done/index.vue'),
|
|
|
meta: {
|
|
meta: {
|
|
|
requireAuth: true
|
|
requireAuth: true
|
|
@@ -139,7 +139,7 @@ const routes: Array<RouteRecordRaw> = [
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: '/spot_contract/peddding',
|
|
path: '/spot_contract/peddding',
|
|
|
- name: EnumType.SpotContract.peddding,
|
|
|
|
|
|
|
+ name: 'spot_contract_performance',
|
|
|
component: () => import('@/views/information/spot-contract/list/peddding/index.vue'),
|
|
component: () => import('@/views/information/spot-contract/list/peddding/index.vue'),
|
|
|
meta: {
|
|
meta: {
|
|
|
requireAuth: true
|
|
requireAuth: true
|
|
@@ -147,7 +147,7 @@ const routes: Array<RouteRecordRaw> = [
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: '/spot_contract/performance',
|
|
path: '/spot_contract/performance',
|
|
|
- name: EnumType.SpotContract.performance,
|
|
|
|
|
|
|
+ name: 'spot_contract_finished',
|
|
|
component: () => import('@/views/information/spot-contract/list/performance/index.vue'),
|
|
component: () => import('@/views/information/spot-contract/list/performance/index.vue'),
|
|
|
meta: {
|
|
meta: {
|
|
|
requireAuth: true
|
|
requireAuth: true
|
|
@@ -162,11 +162,11 @@ const routes: Array<RouteRecordRaw> = [
|
|
|
meta: {
|
|
meta: {
|
|
|
requireAuth: true
|
|
requireAuth: true
|
|
|
},
|
|
},
|
|
|
- redirect: to => { return { name: EnumType.WarehouseInfo.normal } },
|
|
|
|
|
|
|
+ redirect: to => { return { name: 'warehouse_info_normal' } },
|
|
|
children: [
|
|
children: [
|
|
|
{
|
|
{
|
|
|
path: '/warehouse_info/normal',
|
|
path: '/warehouse_info/normal',
|
|
|
- name: EnumType.WarehouseInfo.normal,
|
|
|
|
|
|
|
+ name: 'warehouse_info_normal',
|
|
|
component: () => import('@/views/information/warehouse-info/list/normal-use/index.vue'),
|
|
component: () => import('@/views/information/warehouse-info/list/normal-use/index.vue'),
|
|
|
meta: {
|
|
meta: {
|
|
|
requireAuth: true
|
|
requireAuth: true
|
|
@@ -174,7 +174,7 @@ const routes: Array<RouteRecordRaw> = [
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: '/warehouse_info/stop',
|
|
path: '/warehouse_info/stop',
|
|
|
- name: EnumType.WarehouseInfo.stop,
|
|
|
|
|
|
|
+ name: 'warehouse_info_disabled',
|
|
|
component: () => import('@/views/information/warehouse-info/list/stop-use/index.vue'),
|
|
component: () => import('@/views/information/warehouse-info/list/stop-use/index.vue'),
|
|
|
meta: {
|
|
meta: {
|
|
|
requireAuth: true
|
|
requireAuth: true
|