### pc-  设为待办事项

```

export interface MyWaitCardProps extends React.Attributes {
  isDialog?: boolean; // 是否弹窗
  visible?: boolean; // 控制显隐
  cacheTodoInfo: {
    entityId?: string; // 事项ID
    module?: string; // 模块ID
    btnData?: any; // 当前动作数据
    data?: any; // 当前行数据；在trigger模式下使用
    cellPos?: any; // 储存行数据使用row来定位行数
    pos?: any; // 动作类型 LineEndDropDown / lineEnd
  }; // 缓存待办数据
  data?: any; // Trigger模式下当前数据data
  onVisibleChange?: (visible: any) => void;
  onUpdateChange: (cacheTodoInfo: any, needUpdateData?: boolean, isDialog?: boolean) => void;
}

 <CorsComponent
   app="@weapp/ebdfpage"
   compName="MyWaitCreate"
  visible={} //boolean
   cacheTodoInfo={}
   onUpdateChange={} //fn
   onVisibleChange={} //fn
/>
```

### pc -已设为待办

```

export interface MyWaitCardProps extends React.Attributes {
  isDialog?: boolean; // 是否弹窗
  visible?: boolean; // 控制显隐
  cacheTodoInfo: {
    entityId?: string; // 事项ID
    module?: string; // 模块ID
    btnData?: any; // 当前动作数据
    data?: any; // 当前行数据；在trigger模式下使用
    cellPos?: any; // 储存行数据使用row来定位行数
    pos?: any; // 动作类型 LineEndDropDown / lineEnd
  }; // 缓存待办数据
  data?: any; // Trigger模式下当前数据data
  onVisibleChange?: (visible: any) => void;
  onUpdateChange: (cacheTodoInfo: any, needUpdateData?: boolean, isDialog?: boolean) => void;
}

 <CorsComponent
   app="@weapp/ebdfpage"
   compName="MyWaitCard"
  isDialog   //区分是dialog还是trigger模式
   visible={}
   cacheTodoInfo={}
   onUpdateChange={}
   onVisibleChange={}
/>
```

### m -设为待办事项

```
  <CorsComponent
     
            app="@weapp/my"
            compName="MRouteMyWaitDetail"
            onChange={this.onChangeWait}
          />
```

```typescript
history.push(
                `${window.location.pathname}/editor/0/create/${this.cacheTodoInfo?.module}/${this.cacheTodoInfo?.entityId}/${this.cacheTodoInfo?.content}`,
              );
```

### m-已设为待办

```
<CorsComponent
    app="@weapp/my"
   compName="MRouteMyWaitEditor"
    onChange={this.onChangeWait}
/>

history.push(
                `${window.location.pathname}/detail/0/${this.cacheTodoInfo?.module}/${this.cacheTodoInfo?.entityId}`,
              );
            }
```
