Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bms-vue-obear
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
daywrite
bms-vue-obear
Commits
2b045290
Commit
2b045290
authored
Apr 21, 2019
by
daywrite
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改路由首页名称
parent
1e5eaa87
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
14 additions
and
14 deletions
+14
-14
index.ejs
index.ejs
+4
-4
scheduleItem.vue
src/components/common/scheduleItem.vue
+1
-1
groupHome.vue
src/components/task_group_list/groupHome.vue
+2
-2
taskHome.vue
src/components/task_list/taskHome.vue
+2
-2
reimbursement.js
src/routes/reimbursement.js
+1
-1
schedule.js
src/routes/schedule.js
+2
-2
task.js
src/routes/task.js
+2
-2
No files found.
index.ejs
View file @
2b045290
...
@@ -24,23 +24,23 @@
...
@@ -24,23 +24,23 @@
"isRouteShow"
:
1
,
"isRouteShow"
:
1
,
"title"
:
"首页"
,
"title"
:
"首页"
,
"appName"
:
portalName
,
"appName"
:
portalName
,
"url"
:
"/schedule
Home
"
"url"
:
"/schedule"
},
{
},
{
"icon"
:
"fa-home"
,
"icon"
:
"fa-home"
,
"isRouteShow"
:
1
,
"isRouteShow"
:
1
,
"title"
:
"费用报销"
,
"title"
:
"费用报销"
,
"appName"
:
'reimbursement'
,
"appName"
:
'reimbursement'
,
"url"
:
"/reimbursement
Home
"
"url"
:
"/reimbursement"
},
{
},
{
"icon"
:
"fa-home"
,
"icon"
:
"fa-home"
,
"isRouteShow"
:
1
,
"isRouteShow"
:
1
,
"title"
:
"项目管理"
,
"title"
:
"项目管理"
,
"appName"
:
'task'
,
"appName"
:
'task'
,
"url"
:
"/task
Home
"
"url"
:
"/task"
}],
}],
homePage
:
{
homePage
:
{
appName
:
'reimbursement'
,
appName
:
'reimbursement'
,
url
:
'/reimbursement
Home
'
url
:
'/reimbursement'
}
}
}
}
...
...
src/components/common/scheduleItem.vue
View file @
2b045290
...
@@ -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>
...
...
src/components/task_group_list/groupHome.vue
View file @
2b045290
...
@@ -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
:
'/task
Home
'
path
:
'/task'
})
})
}
else
{
}
else
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/group
Home
'
path
:
'/group'
})
})
}
}
},
},
...
...
src/components/task_list/taskHome.vue
View file @
2b045290
...
@@ -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
:
'/task
Home
'
path
:
'/task'
})
})
}
else
{
}
else
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/group
Home
'
path
:
'/group'
})
})
}
}
},
},
...
...
src/routes/reimbursement.js
View file @
2b045290
import
ReimbursementHome
from
'../components/reimbursement_list/reimbursementHome'
import
ReimbursementHome
from
'../components/reimbursement_list/reimbursementHome'
const
routes
=
[{
const
routes
=
[{
path
:
'/reimbursement
Home
'
,
path
:
'/reimbursement'
,
name
:
'reimbursementHome'
,
name
:
'reimbursementHome'
,
component
:
ReimbursementHome
component
:
ReimbursementHome
}]
}]
...
...
src/routes/schedule.js
View file @
2b045290
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
:
'/schedule
Home
'
,
path
:
'/schedule'
,
name
:
'scheduleHome'
,
name
:
'scheduleHome'
,
component
:
ScheduleHome
component
:
ScheduleHome
},
{
},
{
path
:
'/
scheduleView
/:id'
,
path
:
'/
ofClient
/:id'
,
name
:
'scheduleView'
,
name
:
'scheduleView'
,
component
:
ScheduleView
component
:
ScheduleView
}]
}]
...
...
src/routes/task.js
View file @
2b045290
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
:
'/task
Home
'
,
path
:
'/task'
,
name
:
'taskHome'
,
name
:
'taskHome'
,
component
:
TaskHome
component
:
TaskHome
},
{
},
{
path
:
'/group
Home
'
,
path
:
'/group'
,
name
:
'groupHome'
,
name
:
'groupHome'
,
component
:
GroupHome
component
:
GroupHome
}]
}]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment