```typescript
export interface BatchImpDlgProps extends Attributes {
  appId: string;
  objId: string;
  visible: boolean;
  impActionParams: any; // 给导入组件底层customData传业务参数
  otherParams: any;
  dialogOtherProps?: any;
  isDialog?: boolean;
  upload?: boolean; // 是否上传文件
  changeImpVisible: () => void;
  onfinish: (data: any) => void;
}

 <CorsComponent
   weId={`${props.weId || ''}_gqq1ir`}
   app="@weapp/ebdfpage"
   compName="BatchImpDlg"
   objId={objId} // 数据源是明细表时，这里要取主表id
   appId=appId}
   visible={visible}
   impActionParams={impActionParams}
   changeImpVisible={changeImpVisible}
   onfinish={onfinish}
   otherParams={{
   objId: objId
   listId: listId
   getUrlParams: pageParams?.urlParams, // 批量导入接口在带入外部条件及url参数
   }}
/>
```

## 使用单页路由

```typescript

    <Route
      weId={`${props.weId || ''}_yb04by`}
      path={`${parentPath}/batchImp/:appId(\\d+_)?:objId(\\d+)`}
      component={BatchImpSingle}
    />

例如:
https://www.e-cology.com.cn/sp/ebdfpage/batchImp/1234390364157280257
```
