Global

Members

lbMobSDK

通过lbMobSDK全局变量访问sdk特性,LbSDK

Methods

onLbCompleted(opRes)

[函数示例] 异步方法执行完成回调通知

Parameters:
Name Type Description
opRes Object

完成结果

Properties
Name Type Description
succ Boolean

状态,ture:成功,false:失败

errmsg String

错误消息,仅失败有效

errcode Number

错误代码,定义参见:LbErrCode,仅失败有效

data Object

业务数据对象,仅成功有效

Type Definitions

CurMenuPos

Properties:
Name Type Description
corpId String

企业id

corpName String

企业名称

depId String

项目部id

depName String

项目部名称

projId String

工程id

projName String

工程名称

PageInfo

Properties:
Name Type Description
config PageInfoConfig

页面信息配置

initParam String

页面初始化数据,可以通过LbBase#getPageInitParam方法获取数据,选填

PageInfoConfig

Properties:
Name Type Description
title String

标题

titleColor String

标题颜色

titleGravity String

标题位置

showBack Boolean

是否显示返回按钮

showClose Boolean

是否显示关闭按钮

showStatusBar Boolean

是否显示状态栏,仅fullScreen=true时有效,否则忽略

backgroundColor String

背景色

fullScreen Boolean

是否全屏

RefComp

Properties:
Name Type Description
floor String

楼层

compClass String

大类

subClass String

小类

spec String

专业,仅安装类型有效

handle String

构件handle,唯一标识

attrname String

构件名称

RefCompType

Properties:
Name Type Description
floor String

楼层

compClass String

大类

subClass String

小类

spec String

专业,仅安装类型有效

RefProj

Properties:
Name Type Description
ppid Number

工程id,唯一标识

projName String

工程名称

projType Number

工程类型