Class Index | File Index

Classes


Class $we.process

流程组件
Defined in: process.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
<static>  
$we.process.config
process config
<static>  
$we.process.dataConfig
accountInfo的ajax中支持的数据字段
Method Summary
Method Attributes Method Name and Description
<static>  
$we.process.clearData()
清空数据
<static>  
$we.process.getData(name)
获取数据
<static>  
$we.process.getFromAjax(needData, 回调函数)
通过ajax请求获取需要的业务数据
<static>  
$we.process.inKeyProcess(url)
是否是关键流程
<static>  
$we.process.setData(name, data)
设置数据
<static>  
$we.process.use(name, data, cb, processConf)
使用某个流程
Class Detail
$we.process()
Field Detail
<static> $we.process.config
process config

<static> $we.process.dataConfig
accountInfo的ajax中支持的数据字段
Method Detail
<static> $we.process.clearData()
清空数据

<static> {mixed} $we.process.getData(name)
获取数据
Parameters:
{string} name
数据名称
Returns:
{mixed} 数据

<static> $we.process.getFromAjax(needData, 回调函数)
通过ajax请求获取需要的业务数据
Parameters:
{array} needData
业务数据的名称,数组
{function} 回调函数

<static> {boolean} $we.process.inKeyProcess(url)
是否是关键流程
Parameters:
{string} url
请求url
Returns:
{boolean} true/false

<static> $we.process.setData(name, data)
设置数据
Parameters:
{string} name
数据名称
{mixed} data
数据

<static> $we.process.use(name, data, cb, processConf)
使用某个流程
Parameters:
{String} name
流程名称
{Object} data
流程传参
{Function} cb
回调函数
{Object} processConf
流程配置

Documentation generated by JsDoc Toolkit 2.4.0 on Sun Jan 06 2013 19:48:20 GMT+0800 (CST)