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
40985d8e
Commit
40985d8e
authored
Mar 26, 2019
by
huai.li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面跳转
parent
a9f29ef5
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
1 deletion
+13
-1
scheduleItem.vue
src/components/common/scheduleItem.vue
+3
-1
scheduleHome.vue
src/components/schedule_list/scheduleHome.vue
+1
-0
route.js
src/route.js
+9
-0
No files found.
src/components/common/scheduleItem.vue
View file @
40985d8e
...
...
@@ -4,7 +4,9 @@
<el-col
:span=
"4"
:xs=
"24"
class=
"obear-schedule-left"
>
<el-row
:gutter=
"10"
>
<el-col
:span=
"24"
>
<span><i
class=
"fa fa-star"
aria-hidden=
"true"
></i>
客户名称(
{{
isNullClient
?
'未设置'
:
item
.
client
.
name
}}
)
</span>
<router-link
:to=
"
{ app: 'client', name: 'viewClient', params: {id: item.id} }">
<i
class=
"fa fa-star"
aria-hidden=
"true"
></i>
客户名称(
{{
isNullClient
?
'未设置'
:
item
.
client
.
name
}}
)
</router-link>
</el-col>
<el-col
:span=
"24"
>
<span><img
class=
"user-avatar rounded-circle"
:src=
"item.createdBy.avatar.name"
>
{{
item
.
createdBy
.
name
}}
</span>
...
...
src/components/schedule_list/scheduleHome.vue
View file @
40985d8e
...
...
@@ -158,6 +158,7 @@ export default {
},
lmClose
()
{
this
.
$refs
.
leaveMessage
&&
this
.
$refs
.
leaveMessage
.
isClose
()
},
...
...
src/route.js
View file @
40985d8e
...
...
@@ -11,6 +11,15 @@ let RouterInit = () => {
portal
.
createApp
(
appName
,
{},
app
=>
{
app
.
mapRoute
(
routes
)
})
// portal.createApp('client', {}, app => {
// app.mapRoute([
// {
// path: '/clientView/:id',
// name: 'viewClient',
// component: {template: '<p>hello app</p>'}
// }
// ])
// })
}
export
default
RouterInit
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