File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,17 +24,42 @@ ViewBindPlugin.getInstance().register('MyView',MyView)
2424
2525* 表单渲染
2626```
27- export interface FormViewProps {
27+
28+ /**
29+ * 合并表单操作数据
30+ */
31+ export interface FormData{
2832 /** 表单操控对象 */
2933 form: FormInstance;
34+ /** 待办数据 */
35+ data: FlowTodo;
36+ }
37+
38+ /**
39+ * 流程表单视图属性
40+ */
41+ export interface FormViewProps {
42+ /** 流程合并 */
43+ mergeable:boolean;
44+ /** 合并表单操控对象 */
45+ formList?:FormData[];
46+ /** 表单操控对象 */
47+ form?: FormInstance;
48+ /** 待办数据 */
49+ data?: FlowTodo;
3050 /** 表单数据更新事件 */
3151 onValuesChange?: (values: any) => void;
52+ /** 当合并流程选中了流程记录的回掉 **/
53+ onMergeRecordIdsSelected?: (recordIds: number[]) => void;
3254 /** 表单元数据对象 */
3355 meta: FlowForm;
56+ /** 表单字段权限,为空时全部可写*/
57+ fieldPermissions: FieldPermission[];
3458 /** 是否预览模式 */
35- review:boolean;
59+ review: boolean;
3660}
3761
62+
3863```
3964表单选择的key对应流程节点设置的view名称,流程引擎对default进行了模型的渲染支持。
4065
You can’t perform that action at this time.
0 commit comments