3.10.0 • Published 11 months ago

@qse/approve-design v3.10.0

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

@qse/approve-design

公共审批设计组件

安装

# 安装 更新
npm i @qse/approve-design@latest

使用

ApproveDesign 的使用示例

<ApproveDesign
  // 非必填
  onSave={() => {}}
  // 必填 选部门的modal
  renderSelectPerson={({ visible, onOk, onCancel, selectedRows }) => {
    return visible && <SimpleSelectPerson visible onOk={onOk} onCancel={onCancel} />
  }}
  // 必填 选人的modal
  renderSelectDept={({ visible, onOk, onCancel, selectedRows }) => {
    return visible && <SimpleSelectPerson visible onOk={onOk} onCancel={onCancel} />
  }}
  // 必填 主键id
  scheme_id="1266521377981071360"
/>

API

属性说明类型
scheme_id表单 idstring
onSave保存回调() => void
campusid分校区 idstring
pannable可拖动画布boolean
renderSelectPerson渲染选人组件(params: RenderSelectProps) => void
renderSelectDept渲染选部门组件(params: RenderSelectProps) => void
3.10.0

11 months ago

3.9.1

12 months ago

3.9.0

1 year ago

3.8.2

1 year ago

3.8.1

1 year ago

3.8.0

1 year ago

3.7.1

1 year ago

3.7.0

1 year ago

3.6.0

1 year ago

3.5.2

2 years ago

3.5.1

2 years ago

3.4.0

2 years ago

3.3.1

2 years ago

3.3.0

2 years ago

3.5.0

2 years ago

3.2.1

3 years ago