Commit 40985d8e authored by huai.li's avatar huai.li

页面跳转

parent a9f29ef5
......@@ -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>
......
......@@ -158,6 +158,7 @@ export default {
},
lmClose () {
this.$refs.leaveMessage &&
this.$refs.leaveMessage.isClose()
},
......
......@@ -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
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