🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis
Socket
Book a DemoInstallSign in
Socket

@beisen/Approve

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@beisen/Approve

component for approve frontend show

latest
npmnpm
Version
0.2.12
Version published
Maintainers
1
Created
Source

#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 : 初始化项目.

Keywords

beisen

FAQs

Package last updated on 09 Dec 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts