相关接口

接口文档地址:http://www.o2oa.net/x_desktop/portal.html?id=dcd8e168-2da0-4496-83ee-137dc976c7f6

主要常用几个接口方法介绍

1、获取表单元素对象this.form.get(name) //name元素标志

2、字段取值和赋值 field.getData(),field.setData("xxx")

3、打开应用

this.form.openCMS(name) //打开cms一个栏目

this.form.openProcess(name) //打开流程应用

this.form.openApplication(name) //打开其他应用

//启动一个发文管理实例,标题为:my file title,启动后提示this.form.startProcess("公文管理", "发文管理", {"title": "my file title"}, function(json){ this.form.notice("create file success!", "success"); });

Last updated