b7c5bcbe by 任超

菜单

1 parent a1f1df56
......@@ -26,11 +26,6 @@ export const constantRoutes = [
hidden: true
},
{
path: '/401',
component: () => import('@/views/error-page/401'),
hidden: true
},
{
path: '/',
component: Layout,
redirect: '/home',
......@@ -44,7 +39,6 @@ export const constantRoutes = [
}
]
},
// 404 page must be placed at the end !!!
{ path: '*', redirect: '/404', hidden: true }
]
......@@ -70,6 +64,182 @@ export const asyncRoutes = [
component: () => import('@/views/businessHandling/apply.vue'),
name: 'apply',
meta: { title: '业务申请' }
},
{
path: 'todoBox',
id: '5',
parentId: '3',
component: () => import('@/views/businessHandling/todoBox.vue'),
name: 'todoBox',
meta: { title: '待办箱' }
},
{
path: 'boxHandled',
id: '6',
parentId: '3',
component: () => import('@/views/businessHandling/boxHandled.vue'),
name: 'boxHandled',
meta: { title: '已办箱' }
}
]
},
{
path: '/applicationQuery',
id: '9',
parentId: null,
component: Layout,
meta: { title: '申请查询', icon: 'fykf' },
redirect: '/applicationQuery/domesticPremises',
alwaysShow: true,
name: 'applicationQuery',
children: [
{
path: 'domesticPremises',
id: '10',
parentId: '9',
component: () => import('@/views/applicationQuery/domesticPremises.vue'),
name: 'domesticPremises',
meta: { title: '家庭房产' }
},
{
path: 'printRegister',
id: '12',
parentId: '9',
component: () => import('@/views/applicationQuery/printRegister.vue'),
name: 'printRegister',
meta: { title: '打印登记薄' }
},
{
path: 'queryRecord',
id: '11',
parentId: '9',
component: () => import('@/views/applicationQuery/queryRecord.vue'),
name: 'queryRecord',
meta: { title: '查询记录' }
}
]
},
{
path: '/comprehensiveQuery',
id: '13',
parentId: null,
component: Layout,
meta: { title: '综合查询', icon: 'fykf' },
redirect: '/comprehensiveQuery/progressQuery',
alwaysShow: true,
name: 'comprehensiveQuery',
children: [
{
path: 'progressQuery',
id: '14',
parentId: '13',
component: () => import('@/views/comprehensiveQuery/progressQuery.vue'),
name: 'progressQuery',
meta: { title: '进度查询' }
},
{
path: 'registerQuery',
id: '15',
parentId: '13',
component: () => import('@/views/comprehensiveQuery/registerQuery.vue'),
name: 'registerQuery',
meta: { title: '登记簿查询' }
},
{
path: 'realestateInquiry',
id: '16',
parentId: '13',
component: () => import('@/views/comprehensiveQuery/realestateInquiry.vue'),
name: 'realestateInquiry',
meta: { title: '楼盘查询' }
}
]
},
{
path: '/certificate',
id: '17',
parentId: null,
component: Layout,
meta: { title: '证书管理', icon: 'fykf' },
redirect: '/certificate/warehousing',
alwaysShow: true,
name: 'certificate',
children: [
{
path: 'warehousing',
id: '18',
parentId: '17',
component: () => import('@/views/certificate/warehousing.vue'),
name: 'warehousing',
meta: { title: '证书入库' }
},
{
path: 'distribution',
id: '19',
parentId: '17',
component: () => import('@/views/certificate/distribution.vue'),
name: 'distribution',
meta: { title: '证书分发' }
},
{
path: 'usageRecord',
id: '20',
parentId: '17',
component: () => import('@/views/certificate/usageRecord.vue'),
name: 'usageRecord',
meta: { title: '证书使用记录' }
}
]
},
{
path: '/system',
id: '21',
parentId: null,
component: Layout,
meta: { title: '系统管理', icon: 'fykf' },
redirect: '/system/dictionaries',
alwaysShow: true,
name: 'system',
children: [
{
path: 'dictionaries',
id: '22',
parentId: '21',
component: () => import('@/views/system/dictionaries.vue'),
name: 'dictionaries',
meta: { title: '字典管理' }
},
{
path: 'menu',
id: '24',
parentId: '21',
component: () => import('@/views/system/menu.vue'),
name: 'menu',
meta: { title: '菜单管理' }
},
{
path: 'userOpinion',
id: '23',
parentId: '21',
component: () => import('@/views/system/userOpinion.vue'),
name: 'userOpinion',
meta: { title: '用户意见管理' }
},
{
path: 'businessRule',
id: '23',
parentId: '21',
component: () => import('@/views/system/businessRule.vue'),
name: 'businessRule',
meta: { title: '业务规则配置' }
},
{
path: 'registrationMaterial',
id: '23',
parentId: '21',
component: () => import('@/views/system/registrationMaterial.vue'),
name: 'registrationMaterial',
meta: { title: '登记材料配置' }
}
]
}
......
<template>
<div>
22222222222222
</div>
</template>
<script>
export default {
components: {},
props: {},
name: '该组件名称',
data () {
return {
};
}
}
</script>
<style scoped lang='scss'>
</style>
\ No newline at end of file
<template>
<div class="errPage-container">
<el-button icon="el-icon-arrow-left" class="pan-back-btn" @click="back">
返回
</el-button>
<el-row>
<el-col :span="12">
<h1 class="text-jumbo text-ginormous">
Oops!
</h1>
gif来源<a href="https://zh.airbnb.com/" target="_blank">airbnb</a> 页面
<h2>你没有权限去该页面</h2>
<h6>如有不满请联系你领导</h6>
<ul class="list-unstyled">
<li>或者你可以去:</li>
<li class="link-type">
<router-link to="/home">
回首页
</router-link>
</li>
<li class="link-type">
<a href="https://www.taobao.com/">随便看看</a>
</li>
<li><a href="#" @click.prevent="dialogVisible=true">点我看图</a></li>
</ul>
</el-col>
<el-col :span="12">
<img :src="errGif" width="313" height="428" alt="Girl has dropped her ice cream.">
</el-col>
</el-row>
<el-dialog :visible.sync="dialogVisible" title="随便看">
<img :src="ewizardClap" class="pan-img">
</el-dialog>
</div>
</template>
<script>
import errGif from '@/assets/401_images/401.gif'
export default {
name: 'Page401',
data() {
return {
errGif: errGif + '?' + +new Date(),
ewizardClap: 'https://wpimg.wallstcn.com/007ef517-bafd-4066-aae4-6883632d9646',
dialogVisible: false
}
},
methods: {
back() {
if (this.$route.query.noGoBack) {
this.$router.push({ path: '/dashboard' })
} else {
this.$router.go(-1)
}
}
}
}
</script>
<style lang="scss" scoped>
.errPage-container {
width: 800px;
max-width: 100%;
margin: 100px auto;
.pan-back-btn {
background: #008489;
color: #fff;
border: none!important;
}
.pan-gif {
margin: 0 auto;
display: block;
}
.pan-img {
display: block;
margin: 0 auto;
width: 100%;
}
.text-jumbo {
font-size: 60px;
font-weight: 700;
color: #484848;
}
.list-unstyled {
font-size: 14px;
li {
padding-bottom: 5px;
}
a {
color: #008489;
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
}
}
</style>
File mode changed