a1f1df56 by 任超

业务申请

1 parent b2b51c7b
......@@ -53,7 +53,7 @@ export default {
width: 100%;
text-align: center;
overflow: hidden;
height: 150px;
height: 100px;
& .sidebar-logo-link {
height: 100%;
......
......@@ -54,22 +54,22 @@ export const constantRoutes = [
*/
export const asyncRoutes = [
{
path: '/housedev',
path: '/businessHandling',
id: '3',
parentId: null,
component: Layout,
meta: { title: '房源开发', icon: 'fykf' },
redirect: '/housedev/yzfyxsgl',
meta: { title: '业务办理', icon: 'fykf' },
redirect: '/businessHandling/apply',
alwaysShow: true,
name: 'housedev',
name: 'businessHandling',
children: [
{
path: 'yzfyxsgl',
path: 'apply',
id: '4',
parentId: '3',
component: () => import('@/views/housedev/yzfyxsgl/index.vue'),
name: 'yzfyxsgl',
meta: { title: '业主房源线索' }
component: () => import('@/views/businessHandling/apply.vue'),
name: 'apply',
meta: { title: '业务申请' }
}
]
}
......@@ -78,7 +78,7 @@ export const asyncRoutes = [
const createRouter = () =>
new Router({
scrollBehavior: () => ({ y: 0 }),
routes: [...constantRoutes]
routes: [...constantRoutes, ...asyncRoutes]
})
const router = createRouter()
......
<template>
<div class='该组件名称'></div>
<div>
22222222222222
</div>
</template>
<script>
export default {
......