0.1.28 • Published 6 years ago
pmo-header v0.1.28
pmo 公共 header组件
示例代码
<com-header
:userName="userName"
:blcode="blcode"
:searchData="userOwnRPs"
activeLink="obj"
@bsItemClick="handleBSItemClick">
</com-header>
Attributes
参数 | 说明 | 类型 | 可选值 | 默认值 |
---|---|---|---|---|
userName | 用户头像 | string | — | — |
blcode | 业务线字段 | string | — | — |
searchData | 业务线搜索框 | array | — | [] |
activeLink | 当前业务线标示 | string | obj, pipeline | - |
insideProcess | 用于多入口路由内跳转启用push功能 | Array | - | [] |
Events
事件名称 | 说明 | 回调参数 |
---|---|---|
menuItemClick | 导航菜单点击事件 | 当行菜单配置对象 |
bsItemClick | 业务线搜索列表列点击事件 | 当行列对象 |
Data 数据
[
{
name: 'target',
title: '目标',
children: [
{
name: 'okr',
title: 'OKR',
routerName: '',
hrefUrl: `https://pmo.corpautohome.com/${params}/planmgt/okr/okrplan1`
},
{
name: 'obj',
title: '立项',
routerName: 'KickoffView',
hrefUrl: `http://pmo.corpautohome.com/view/obj/kickoff/${params}`
}
]
},
{
name: 'kanban',
title: '看板',
routerName: '',
hrefUrl: `https://pmo.corpautohome.com/${params}/executionmgt/kanban`
},
{
name: 'pipeline',
title: '发布',
routerName: 'PipelineView',
hrefUrl: `https://pmo.corpautohome.com/${params}/executionmgt/process/index`
}
];
0.1.28
6 years ago
0.1.27
6 years ago
0.1.26
6 years ago
0.1.25
6 years ago
0.1.24
6 years ago
0.1.23
6 years ago
0.1.22
6 years ago
0.1.21
6 years ago
0.1.20
7 years ago
0.1.19
7 years ago
0.1.18
7 years ago
0.1.17
7 years ago
0.1.16
7 years ago
0.1.15
7 years ago
0.1.14
7 years ago
0.1.13
7 years ago
0.1.12
7 years ago
0.1.11
7 years ago
0.1.10
7 years ago
0.1.9
7 years ago
0.1.8
7 years ago
0.1.7
7 years ago
0.1.6
7 years ago
0.1.5
7 years ago
0.1.4
7 years ago
0.1.3
7 years ago
0.1.2
7 years ago
0.1.1
7 years ago