Commit 2b045290 authored by daywrite's avatar daywrite

修改路由首页名称

parent 1e5eaa87
...@@ -24,23 +24,23 @@ ...@@ -24,23 +24,23 @@
"isRouteShow": 1, "isRouteShow": 1,
"title": "首页", "title": "首页",
"appName": portalName, "appName": portalName,
"url": "/scheduleHome" "url": "/schedule"
}, { }, {
"icon": "fa-home", "icon": "fa-home",
"isRouteShow": 1, "isRouteShow": 1,
"title": "费用报销", "title": "费用报销",
"appName": 'reimbursement', "appName": 'reimbursement',
"url": "/reimbursementHome" "url": "/reimbursement"
}, { }, {
"icon": "fa-home", "icon": "fa-home",
"isRouteShow": 1, "isRouteShow": 1,
"title": "项目管理", "title": "项目管理",
"appName": 'task', "appName": 'task',
"url": "/taskHome" "url": "/task"
}], }],
homePage: { homePage: {
appName: 'reimbursement', appName: 'reimbursement',
url: '/reimbursementHome' url: '/reimbursement'
} }
} }
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<el-col :span="4" :xs="24" class="obear-schedule-left" :style="{background: item.bgcolor}"> <el-col :span="4" :xs="24" class="obear-schedule-left" :style="{background: item.bgcolor}">
<el-row :gutter="10"> <el-row :gutter="10">
<el-col :span="24"> <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 }} <i class="fa fa-star" aria-hidden="true"></i>{{ isNullClient ? '客户名称(未设置)' : item.client.name }}
</router-link> </router-link>
</el-col> </el-col>
......
...@@ -189,11 +189,11 @@ export default { ...@@ -189,11 +189,11 @@ export default {
reimTypeChange (val) { reimTypeChange (val) {
if (val === 'list') { if (val === 'list') {
this.$router.push({ this.$router.push({
path: '/taskHome' path: '/task'
}) })
} else { } else {
this.$router.push({ this.$router.push({
path: '/groupHome' path: '/group'
}) })
} }
}, },
......
...@@ -169,11 +169,11 @@ export default { ...@@ -169,11 +169,11 @@ export default {
reimTypeChange (val) { reimTypeChange (val) {
if (val === 'list') { if (val === 'list') {
this.$router.push({ this.$router.push({
path: '/taskHome' path: '/task'
}) })
} else { } else {
this.$router.push({ this.$router.push({
path: '/groupHome' path: '/group'
}) })
} }
}, },
......
import ReimbursementHome from '../components/reimbursement_list/reimbursementHome' import ReimbursementHome from '../components/reimbursement_list/reimbursementHome'
const routes = [{ const routes = [{
path: '/reimbursementHome', path: '/reimbursement',
name: 'reimbursementHome', name: 'reimbursementHome',
component: ReimbursementHome component: ReimbursementHome
}] }]
......
import ScheduleHome from '../components/schedule_list/scheduleHome' import ScheduleHome from '../components/schedule_list/scheduleHome'
import ScheduleView from '../components/common/scheduleView' import ScheduleView from '../components/common/scheduleView'
const routes = [{ const routes = [{
path: '/scheduleHome', path: '/schedule',
name: 'scheduleHome', name: 'scheduleHome',
component: ScheduleHome component: ScheduleHome
}, { }, {
path: '/scheduleView/:id', path: '/ofClient/:id',
name: 'scheduleView', name: 'scheduleView',
component: ScheduleView component: ScheduleView
}] }]
......
import TaskHome from '../components/task_list/taskHome' import TaskHome from '../components/task_list/taskHome'
import GroupHome from '../components/task_group_list/groupHome' import GroupHome from '../components/task_group_list/groupHome'
const routes = [{ const routes = [{
path: '/taskHome', path: '/task',
name: 'taskHome', name: 'taskHome',
component: TaskHome component: TaskHome
}, { }, {
path: '/groupHome', path: '/group',
name: 'groupHome', name: 'groupHome',
component: 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