|
|
@@ -76,7 +76,7 @@ const routes: Array<RouteRecordRaw> = [
|
|
|
meta: {
|
|
|
requireAuth: true
|
|
|
},
|
|
|
- redirect: to => { return { name: EnumType.GoodsInfo.spot } },
|
|
|
+ redirect: to => { return { name: 'goods_info_spot' } },
|
|
|
children: [
|
|
|
{
|
|
|
path: '/goods_info/spot',
|
|
|
@@ -119,11 +119,11 @@ const routes: Array<RouteRecordRaw> = [
|
|
|
meta: {
|
|
|
requireAuth: true
|
|
|
},
|
|
|
- redirect: to => { return { name: EnumType.SpotContract.notCommit } },
|
|
|
+ redirect: to => { return { name: 'spot_contract_unsubmitted' } },
|
|
|
children: [
|
|
|
{
|
|
|
path: '/spot_contract/not-commit',
|
|
|
- name: EnumType.SpotContract.notCommit,
|
|
|
+ name: 'spot_contract_unsubmitted',
|
|
|
component: () => import('@/views/information/spot-contract/list/not-commit/index.vue'),
|
|
|
meta: {
|
|
|
requireAuth: true
|
|
|
@@ -131,7 +131,7 @@ const routes: Array<RouteRecordRaw> = [
|
|
|
},
|
|
|
{
|
|
|
path: '/spot_contract/done',
|
|
|
- name: EnumType.SpotContract.done,
|
|
|
+ name: 'spot_contract_checkpending',
|
|
|
component: () => import('@/views/information/spot-contract/list/done/index.vue'),
|
|
|
meta: {
|
|
|
requireAuth: true
|
|
|
@@ -139,7 +139,7 @@ const routes: Array<RouteRecordRaw> = [
|
|
|
},
|
|
|
{
|
|
|
path: '/spot_contract/peddding',
|
|
|
- name: EnumType.SpotContract.peddding,
|
|
|
+ name: 'spot_contract_performance',
|
|
|
component: () => import('@/views/information/spot-contract/list/peddding/index.vue'),
|
|
|
meta: {
|
|
|
requireAuth: true
|
|
|
@@ -147,7 +147,7 @@ const routes: Array<RouteRecordRaw> = [
|
|
|
},
|
|
|
{
|
|
|
path: '/spot_contract/performance',
|
|
|
- name: EnumType.SpotContract.performance,
|
|
|
+ name: 'spot_contract_finished',
|
|
|
component: () => import('@/views/information/spot-contract/list/performance/index.vue'),
|
|
|
meta: {
|
|
|
requireAuth: true
|