| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117 |
- import type { RouteRecordRaw } from 'vue-router'
- const Layout = () => import('@/layouts/index.vue')
- const routes: RouteRecordRaw = {
- path: '/quoteConfig/agreement',
- component: Layout,
- redirect: '/quoteConfig/agreement/agreementIndex',
- name: 'QuoteConfig',
- meta: {
- title: '报价配置',
- },
- children: [
- {
- path: 'agreementIndex',
- name: 'AgreementIndex',
- component: () => import('@/views/quoteConfig/agreement/agreementIndex.vue'),
- meta: {
- title: '协议管理',
- },
- children:[
- {
- path: 'agreementAdd',
- name: 'AgreementAdd',
- component: () => import('@/views/quoteConfig/agreement/agreementAdd.vue'),
- meta: {
- title: '协议添加',
- menu:false,
- activeMenu: '/quoteConfig/agreement/agreementIndex',
- },
- },
- {
- path: 'agreementCopy',
- name: 'AgreementCopy',
- component: () => import('@/views/quoteConfig/agreement/agreementCopy.vue'),
- meta: {
- title: '复制协议',
- menu:false,
- activeMenu: '/quoteConfig/agreement/agreementIndex',
- },
- },
- // {
- // path: 'agreementDetails',
- // name: 'AgreementDetails',
- // component: () => import('@/views/quoteConfig/agreement/agreementDetails.vue'),
- // meta: {
- // title: '协议详情',
- // menu:false,
- // activeMenu: '/quoteConfig/agreement/agreementIndex',
- // },
- // },
- ]
- },
- {
- path: 'solutionManagement',
- name: 'SolutionManagement',
- component: () => import('@/views/quoteConfig/solutionManagement.vue'),
- meta: {
- title: '方案管理',
- // auth:['role.add','role.view','role.delete','role.edit']
- },
- },
- {
- path: 'costManagement',
- name: 'CostManagement',
- component: () => import('@/views/quoteConfig/costManagement.vue'),
- meta: {
- title: '费用管理',
- // auth:['role.add','role.view','role.delete','role.edit']
- },
- },
- {
- path: 'insuranceCompanyAccount',
- name: 'InsuranceCompanyAccount',
- component: () => import('@/views/quoteConfig/insuranceCompanyAccount/insuranceCompanyAccount.vue'),
- meta: {
- title: '保司账号',
- // auth:['role.add','role.view','role.delete','role.edit']
- },
- children: [
- {
- path: 'insuranceAccountAdd',
- name: 'InsuranceAccountAdd',
- component: () => import('@/views/quoteConfig/insuranceCompanyAccount/modules/insuranceAccountAdd.vue'),
- meta: {
- title: '保司账号',
- menu:false,
- auth: []
- },
- }
- ]
- },
- {
- path: 'project',
- name: 'Project',
- component: () => import('@/views/quoteConfig/project/index.vue'),
- meta: {
- title: '方案管理',
- // auth:['role.add','role.view','role.delete','role.edit']
- },
- children: [
- {
- path: 'projectAdd',
- name: 'ProjectAdd',
- component: () => import('@/views/quoteConfig/project/modules/projectAdd.vue'),
- meta: {
- title: '方案管理',
- menu:false,
- auth: []
- },
- }
- ]
- },
- ],
- }
- export default routes
|