@beisen-cmps/team-card-italent

0.1.7 • Public • Published

props:

渲染名片内容列表的元数据

data: [{

"SubUsersCount": number,//有多少下属,等于0时不显示
"User": {

"Position": string,//职务
"Id":number,//员工Id,根据员工Id确定默认图片背景颜色
"Name": string,//员工姓名
},
}]

左上角Icon图,有默认值,也可自行配置

icon : string

是否显示金额,不显示会用***遮挡

canEditLook :boolean

判断查看的个人页属于自己的还是他人的

isSelf: boolean

点击我发出的金额跳转事件

handleMyReceive: Function

点击我收到的金额跳转事件

handleMySendout: Function

是否显示加载中

loading : boolean

是否显示数据加载失败

error : boolean

是否有权限查看

auth : boolean

是否显示暂时没有数据

empty : boolean

自定义功能组件

renderToolbar :

是否显示底部按钮

showFooterButton :boolean

点击底部按钮跳转事件

onClickFooterButton : Function

底部按钮Icon图

footerButtonIcon : string

底部按钮文字

footerButtonLabel : string

Readme

Keywords

none

Package Sidebar

Install

npm i @beisen-cmps/team-card-italent

Weekly Downloads

1

Version

0.1.7

License

ISC

Unpacked Size

31.2 kB

Total Files

13

Last publish

Collaborators

  • beisencorp