0.1.0 • Published 3 years ago

dragon-view v0.1.0

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

dragon-approve-ui

Package setup

npm install --save dragon-approve-ui

Example

import "dragon-approve-ui";
import "dragon-approve-ui/dist/dragon-approve-ui.css";

Instruction for use

参数说明类型可选值默认值
showCreate是否显示审批节点添加区域Boolean——true
data显示的数据array————

Data Attributes

参数说明类型可选值默认值
nodeAbbre头像内显示的简称String——H
nodeName节点名称Boolean————
nodeStatusName节点状态名String————
nodeStatusCode审批节点状态CodeString1:待审批; 2:通过; 3:驳回——
explainLabel审批说明LabelString————
explainValue审批说明Value(前置条件:explainLabel非空)String————

Approve Event

事件名说明参数
node-delete当点击删除时会触发该事件nodeInfo
node-create当点击新增时会触发该事件-