@beisen/approve

component for approve frontend show

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
@beisen/approve
Minified + gzip package size for @beisen/approve in KB

Readme

#Approve ###工作流前端展现组件 ###使用方法 ####接收的数据结构

//审批人信息,以数组的形式传入。
let assigneeNamesArray = [
              {
                name:'审批人姓名'
                ,userPic:"1.png"
              }
              ,{
                name:'审批人姓名'
                ,userPic:"1.png"
              }
              //...
            ]
                  
let approveData = {
        nodeArray:[
          {
            name:'节点的名称'
            ,assigneeNames:assigneeNamesArray //数组
            ,status:'undo' //可取值为:'done'-已完成,'doing'-正在进行,'undo'-未开始,’readmore‘-查看更多(只能出现在最有一个节点)
          }
          ,{
            name:'节点的名称'
            ,assigneeNames:assigneeNames 
            ,status:'undo'
          }
          //....        
        ]
      }

####组件调用

<Approve approveData = {approveData}/>

###tag信息 v0.1.0 : 初始化项目.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.