1.0.6 • Published 2 years ago

@gsp-wf/rtdevkit v1.0.6

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

WFRuntimeUI

版本更新记录

0.0.1

  • 提供提交审批选择流程组件

使用方法

  1. module中从@gsp-wf/rtdevkit导入 WFRuntimeModule
  2. 注入Service:WFSubmiteService
  3. 调用提交审批方法之后会流程引擎会返回:ExcutionResponse,判断其属性needInteraction是否需要交互:如果不需要交互提交审批完成,执行后续逻辑;否则..
  4. 调用Service.excute()

0.0.2

  • 提供集成审批控件组件
  1. npm i @gsp-wf/rtdevkit@Latest
  2. 替换node_module/@gsp-wf/rtdevkit 下的文件
  3. module中导入WFRuntimeModule
import { WFRuntimeModule } from '@gsp-wf/rtdevkit';
NgModule({ 
  imports: [WFRuntimeModule]
  })
<wf-workitem-handle [workitemId]="" (actions)="updateActions(actions)" (completed)="completed(success)"></wf-workitem-handle>
  1. 组件中定义接收btns和完成后事件
  @ViewChild(WfWorkitemHandleComponent)
  workItemHandle: WfWorkitemHandleComponent;
  /**
   *更新本地操作按钮列表
   */
  updateActions(actions: WorkitemAction) {
    
  }
  /**
   * 审批完成后回调
   */
  completed(sucess: boolean) {
    console.log('审批:' + sucess);
  }

  /**
   * 自定义动作操作
   * @param actionCode 操作编号
   */
   onClick(actionCode: string){
     this.workItemHandle.complete('审批意见');
   }
1.0.6

2 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.20

5 years ago

0.0.19

5 years ago

0.0.18

6 years ago

0.0.17

6 years ago

0.0.16

6 years ago

0.0.14

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1-19052309

6 years ago

0.0.1-19041814

6 years ago