Global

Methods

createMiniApp()

创建sdk实例

Example
let frameId = "hifleet_iframe_id"; // 如果以iframe嵌入
let app = hifleet.createMiniApp({frameId})//initialize the miniApp SDK

hfIFrameOpen(options)

打开 PSC\保险\证书\检验报告页面 示例

Parameters:
Name Type Description
options Object
Properties
Name Type Description
keyword string

搜索 查询IMO MMSI 拉起左侧船舶

entry string

openPSC openInsurance openCert openReport

Example
let options ={keyword:'123456',entry:'openPSC'}
app.hfIFrameOpen(options);

hfIFrameSearchBy(keyword)

搜索 查询IMO MMSI 拉起左侧船舶 示例

Parameters:
Name Type Description
keyword string

搜索 查询IMO MMSI 拉起左侧船舶

Example
app.hfIFrameSearchBy(keyword);

hfOpen(options)

打开 PSC\保险\证书\检验报告页面 示例

Parameters:
Name Type Description
options Object
Properties
Name Type Description
keyword string

搜索 查询IMO MMSI 拉起左侧船舶

entry string

openPSC openInsurance openCert openReport

Example
let options ={keyword:'123456',entry:'openPSC'}
app.hfOpen(options);

hfSearchBy(keyword)

搜索 查询IMO MMSI 拉起左侧船舶 示例

Parameters:
Name Type Description
keyword string

搜索 查询IMO MMSI 拉起左侧船舶

Example
app.hfSearchBy(keyword);