RPA JS 扩展开发文档

RPA JS 扩展开发文档

  • SDK接口说明
  • 代码示例

xsy-breeze-ui-rpa > SystemUtilsInterface

SystemUtilsInterface interface

系统基础方法

Signature:

export interface SystemUtilsInterface extends ExtensionPointInterface 

Properties

PropertyTypeDescription
inports{
getMobileLocationInfo: {
param: undefined;
return: {
title: string | null;
address: string | null;
latitude: number | null;
longitude: number | null;
state: string | null;
city: string | null;
region: string | null;
};
};
getMainWindowLocationInfo: {
param: undefined;
return: {
hash: string;
host: string;
href: string;
pathname: string;
search: string;
};
};
openWindow: {
param: {
url: string;
query?: {
[key: string]: string;
};
};
return: any;
};
currentUser: {
param: undefined;
return: object;
};
refreshCurrentPage: {
param: undefined;
return: undefined;
};
setIMVisible: {
param: boolean;
return: undefined;
};
openDialog: {
param: {
url: string;
windowSize: 1 | 2 | 3;
title: string;
query?: {
[key: string]: string;
};
};
return: any;
};
clearSWCache: {
param: undefined;
return: undefined;
};
openEntityDialog: {
param: {
edit: boolean;
entityId: number;
entityApiKey: string;
entityTypeId: number;
entityName: string;
extraData?: any;
parentEntityId?: number;
parentDataId?: number;
productFamilyId?: number;
hasDetailData?: boolean;
};
return: any;
};
openScheduleCreate: {
param: {
users: any;
};
return: any;
};
openIMSDialog: {
param: {
id: string;
name: string;
};
return: any;
};
sendBackResult: {
param: {
data: any;
pageuuid: string;
};
return: undefined;
};
goBack: {
param: undefined;
return: undefined;
};
getHuolalaToken: {
param: undefined;
return: string;
};
}
outports{}
Last updated on 3/15/2021
  • SystemUtilsInterface interface
  • Properties
Copyright © 2021 销售易