RPA JS 扩展开发文档

RPA JS 扩展开发文档

  • SDK接口说明
  • 代码示例

xsy-breeze-ui-rpa > EntityListPageExtensionPoint

EntityListPageExtensionPoint class

列表页扩展点

Signature:

export declare class EntityListPageExtensionPoint extends ExtensionPointSDKBase<EntityListPageExtensionPointInterface> 

Constructors

ConstructorModifiersDescription
(constructor)(id)Constructs a new instance of the EntityListPageExtensionPoint class

Properties

PropertyModifiersTypeDescription
addBatchButtonItem(value: {
extId: string;
text?: string | undefined;
icon?: string | undefined;
}) => Promise<ButtonExtensionPoint>
新增批量按钮
addButtonItem(value: {
extId: string;
text?: string | undefined;
icon?: string | undefined;
}) => Promise<ButtonExtensionPoint>
新增按钮菜单
addFilterConditions(value: {
conditions: string[];
expression?: string | undefined;
}) => Promise<any>
添加列表筛选条件
disableCreationButton(value: boolean) => Promise<any>禁用系统级新建按钮
getCurrentViewId() => Promise<object>获取当前列表视图ID
getCurrentViewRecordIds() => Promise<object>获取当前视图下全选数据Ids
getSelectedIds() => Promise<number[]>获取选中列表数据项Id数组
refreshData() => Promise<undefined>刷新列表数据
replaceCreationButton(value: {
extId: string;
text?: string | undefined;
icon?: string | undefined;
}) => Promise<ButtonExtensionPoint>
替换新建按钮
setEntityItemReadonly(value: {
dataField: string;
canEdit: boolean;
}) => Promise<any>
设置列表内字段是否能扣框编辑
setMergeEntityRowSelect(value: object) => Promise<any>实体列表数据合并弹框中勾选数据
setMergeEntityRowVisible(value: object) => Promise<any>实体列表数据合并弹框中隐藏行数据
setOperateButtonVisible(value: {
buttonType: string;
visible: boolean;
}) => Promise<any>
设置列表内数据操作按钮隐藏(文档列表)
Last updated on 3/4/2021
  • EntityListPageExtensionPoint class
  • Constructors
  • Properties
Copyright © 2021 销售易