|
|
@@ -19,7 +19,7 @@ const asyncRouter: RouteRecordRaw[] = [
|
|
|
},
|
|
|
children: [
|
|
|
{
|
|
|
- path: 'user',
|
|
|
+ path: '/system/user',
|
|
|
name: 'systemUser',
|
|
|
component: () => import('@/views/system/User.vue'),
|
|
|
meta: {
|
|
|
@@ -28,7 +28,7 @@ const asyncRouter: RouteRecordRaw[] = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- path: 'role',
|
|
|
+ path: '/system/role',
|
|
|
name: 'systemRole',
|
|
|
component: () => import('@/views/system/Role.vue'),
|
|
|
meta: {
|
|
|
@@ -37,7 +37,7 @@ const asyncRouter: RouteRecordRaw[] = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- path: 'dict',
|
|
|
+ path: '/system/dict',
|
|
|
name: 'systemDict',
|
|
|
component: () => import('@/views/system/Dict.vue'),
|
|
|
meta: {
|
|
|
@@ -46,7 +46,7 @@ const asyncRouter: RouteRecordRaw[] = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- path: 'menu',
|
|
|
+ path: '/system/menu',
|
|
|
name: 'systemMenu',
|
|
|
component: () => import('@/views/system/Menu.vue'),
|
|
|
meta: {
|
|
|
@@ -65,7 +65,7 @@ const asyncRouter: RouteRecordRaw[] = [
|
|
|
},
|
|
|
children: [
|
|
|
{
|
|
|
- path: 'orgList',
|
|
|
+ path: '/org/orgList',
|
|
|
name: 'orgList',
|
|
|
component: () => import('@/views/org/Org.vue'),
|
|
|
meta: {
|
|
|
@@ -84,7 +84,7 @@ const asyncRouter: RouteRecordRaw[] = [
|
|
|
},
|
|
|
children: [
|
|
|
{
|
|
|
- path: 'banner',
|
|
|
+ path: '/miniprogram/banner',
|
|
|
name: 'miniBanner',
|
|
|
component: () => import('@/views/miniprogram/Banner.vue'),
|
|
|
meta: {
|
|
|
@@ -93,7 +93,7 @@ const asyncRouter: RouteRecordRaw[] = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- path: 'question',
|
|
|
+ path: '/miniprogram/question',
|
|
|
name: 'miniQuestion',
|
|
|
component: () => import('@/views/miniprogram/Question.vue'),
|
|
|
meta: {
|
|
|
@@ -102,7 +102,7 @@ const asyncRouter: RouteRecordRaw[] = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- path: 'feedback',
|
|
|
+ path: '/miniprogram/feedback',
|
|
|
name: 'miniFeedback',
|
|
|
component: () => import('@/views/miniprogram/Feedback.vue'),
|
|
|
meta: {
|
|
|
@@ -111,7 +111,7 @@ const asyncRouter: RouteRecordRaw[] = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- path: 'about',
|
|
|
+ path: '/miniprogram/about',
|
|
|
name: 'miniAbout',
|
|
|
component: () => import('@/views/miniprogram/About.vue'),
|
|
|
meta: {
|
|
|
@@ -120,7 +120,7 @@ const asyncRouter: RouteRecordRaw[] = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- path: 'version',
|
|
|
+ path: '/miniprogram/version',
|
|
|
name: 'miniVersion',
|
|
|
component: () => import('@/views/miniprogram/Version.vue'),
|
|
|
meta: {
|
|
|
@@ -139,7 +139,7 @@ const asyncRouter: RouteRecordRaw[] = [
|
|
|
},
|
|
|
children: [
|
|
|
{
|
|
|
- path: 'cardList',
|
|
|
+ path: '/list/cardList',
|
|
|
name: 'cardList',
|
|
|
component: () => import('@/views/list/CardList.vue'),
|
|
|
meta: {
|
|
|
@@ -158,7 +158,7 @@ const asyncRouter: RouteRecordRaw[] = [
|
|
|
},
|
|
|
children: [
|
|
|
{
|
|
|
- path: 'basic',
|
|
|
+ path: '/form/basic',
|
|
|
name: 'formBasic',
|
|
|
component: () => import('@/views/form/Basic.vue'),
|
|
|
meta: {
|
|
|
@@ -166,12 +166,37 @@ const asyncRouter: RouteRecordRaw[] = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- path: 'advanced',
|
|
|
+ path: '/form/advanced',
|
|
|
name: 'formAdvanced',
|
|
|
component: () => import('@/views/form/Advanced.vue'),
|
|
|
meta: {
|
|
|
title: '高级表单'
|
|
|
}
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/form/test',
|
|
|
+ name: 'test',
|
|
|
+ meta: {
|
|
|
+ title: 'ceshi'
|
|
|
+ },
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: '/form/basict',
|
|
|
+ name: 'formBasict',
|
|
|
+ component: () => import('@/views/form/Basic.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '基础表单t'
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/form/advancedt',
|
|
|
+ name: 'formAdvancedt',
|
|
|
+ component: () => import('@/views/form/Advanced.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '高级表单t'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
@@ -184,7 +209,7 @@ const asyncRouter: RouteRecordRaw[] = [
|
|
|
},
|
|
|
children: [
|
|
|
{
|
|
|
- path: 'success',
|
|
|
+ path: '/result/success',
|
|
|
name: 'resultSuccess',
|
|
|
component: () => import('@/views/result/Success.vue'),
|
|
|
meta: {
|
|
|
@@ -192,7 +217,7 @@ const asyncRouter: RouteRecordRaw[] = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- path: 'error',
|
|
|
+ path: '/result/error',
|
|
|
name: 'resultError',
|
|
|
component: () => import('@/views/result/Error.vue'),
|
|
|
meta: {
|