首次提交
This commit is contained in:
@@ -0,0 +1,67 @@
|
||||
import { createRouter, createWebHistory } from 'vue-router'
|
||||
|
||||
const routes = [
|
||||
{
|
||||
path: '/',
|
||||
name: 'Home',
|
||||
component: () => import('@/views/Home.vue'),
|
||||
},
|
||||
{
|
||||
path: '/contract-console',
|
||||
component: () => import('@/layouts/ContractManageLayout.vue'),
|
||||
redirect: '/contract-console/launch',
|
||||
children: [
|
||||
{
|
||||
path: 'launch',
|
||||
name: 'ContractInitiateManage',
|
||||
component: () => import('@/views/contract/launch/index.vue'),
|
||||
meta: {
|
||||
title: '发起合同',
|
||||
},
|
||||
},
|
||||
{
|
||||
path: 'manifest',
|
||||
name: 'ContractTemplateManage',
|
||||
component: () => import('@/views/contract/manifest/index.vue'),
|
||||
meta: {
|
||||
title: '模板管理',
|
||||
},
|
||||
},
|
||||
{
|
||||
path: 'partner',
|
||||
name: 'ContractPartnerManage',
|
||||
component: () => import('@/views/contract/partner/index.vue'),
|
||||
meta: {
|
||||
title: '相关方管理',
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: '/standardSign',
|
||||
name: 'StandardSign',
|
||||
component: () => import('@/views/seal/standardSign.vue'),
|
||||
},
|
||||
{
|
||||
path: '/preSign',
|
||||
name: 'PreSign',
|
||||
component: () => import('@/views/seal/preSign.vue'),
|
||||
},
|
||||
{
|
||||
path: '/trusteeshipSign',
|
||||
name: 'TrusteeshipSign',
|
||||
component: () => import('@/views/seal/trusteeshipSign.vue'),
|
||||
},
|
||||
{
|
||||
path: '/external-sign/:contractId?',
|
||||
name: 'ExternalSign',
|
||||
component: () => import('@/views/seal/externalSign.vue'),
|
||||
},
|
||||
]
|
||||
|
||||
const router = createRouter({
|
||||
history: createWebHistory(),
|
||||
routes,
|
||||
})
|
||||
|
||||
export default router
|
||||
Reference in New Issue
Block a user