Commit 2b045290 authored by daywrite's avatar daywrite

修改路由首页名称

parent 1e5eaa87
......@@ -24,23 +24,23 @@
"isRouteShow": 1,
"title": "首页",
"appName": portalName,
"url": "/scheduleHome"
"url": "/schedule"
}, {
"icon": "fa-home",
"isRouteShow": 1,
"title": "费用报销",
"appName": 'reimbursement',
"url": "/reimbursementHome"
"url": "/reimbursement"
}, {
"icon": "fa-home",
"isRouteShow": 1,
"title": "项目管理",
"appName": 'task',
"url": "/taskHome"
"url": "/task"
}],
homePage: {
appName: 'reimbursement',
url: '/reimbursementHome'
url: '/reimbursement'
}
}
......
......@@ -4,7 +4,7 @@
<el-col :span="4" :xs="24" class="obear-schedule-left" :style="{background: item.bgcolor}">
<el-row :gutter="10">
<el-col :span="24">
<router-link :to="{ path: '/scheduleView/' + item.client_id }">
<router-link :to="{ path: '/ofClient/' + item.client_id }">
<i class="fa fa-star" aria-hidden="true"></i>{{ isNullClient ? '客户名称(未设置)' : item.client.name }}
</router-link>
</el-col>
......
......@@ -189,11 +189,11 @@ export default {
reimTypeChange (val) {
if (val === 'list') {
this.$router.push({
path: '/taskHome'
path: '/task'
})
} else {
this.$router.push({
path: '/groupHome'
path: '/group'
})
}
},
......
......@@ -169,11 +169,11 @@ export default {
reimTypeChange (val) {
if (val === 'list') {
this.$router.push({
path: '/taskHome'
path: '/task'
})
} else {
this.$router.push({
path: '/groupHome'
path: '/group'
})
}
},
......
import ReimbursementHome from '../components/reimbursement_list/reimbursementHome'
const routes = [{
path: '/reimbursementHome',
path: '/reimbursement',
name: 'reimbursementHome',
component: ReimbursementHome
}]
......
import ScheduleHome from '../components/schedule_list/scheduleHome'
import ScheduleView from '../components/common/scheduleView'
const routes = [{
path: '/scheduleHome',
path: '/schedule',
name: 'scheduleHome',
component: ScheduleHome
}, {
path: '/scheduleView/:id',
path: '/ofClient/:id',
name: 'scheduleView',
component: ScheduleView
}]
......
import TaskHome from '../components/task_list/taskHome'
import GroupHome from '../components/task_group_list/groupHome'
const routes = [{
path: '/taskHome',
path: '/task',
name: 'taskHome',
component: TaskHome
}, {
path: '/groupHome',
path: '/group',
name: 'groupHome',
component: GroupHome
}]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment