flowForm回调事件

/**
 * 加载流程表单数据
 * @param businessDataId string: 业务数据ID
 * @param action string: 操作类型
 */
var _loadFlowFormData = function (businessDataId, action) {
console.log("_loadFlowFormData" ,_className);
    // if(typeof loadFlowFormData == "function"){
    //     loadFlowFormData(businessDataId, action);
    // }
AppUtils.alertWarn("流程表单未实现【loadFlowFormData】方法!");
};

/**
 * 获取流程实例名称
 * @return string
 */
var _getInstanceProcName = function(formData){
    console.log("_getInstanceProcName" ,_className);
    if(typeof getInstanceProcName == "function"){
       return getInstanceProcName(formData);
    }
    return "";
}

/**
 * 加载流程表单数据
 * @param businessDataId string: 业务数据ID
 * @param action string: 操作类型
 */
var _loadFlowFormData = function (businessDataId, action) {
    console.log("_loadFlowFormData" ,_className);
    // if(typeof loadFlowFormData == "function"){
    //     loadFlowFormData(businessDataId, action);
    // }
    AppUtils.alertWarn("流程表单未实现【loadFlowFormData】方法!");
};

/**
 * 获取流程实例名称
 * @return string
 */
var _getInstanceProcName = function(formData){
    console.log("_getInstanceProcName" ,_className);
    if(typeof getInstanceProcName == "function"){
        return getInstanceProcName(formData);
    }
    return "";
}

/**
 * 获取流程表单数据
 * @return json
 */
var _getFlowFormData = function(){
    console.log("_getFlowFormData" ,_className);
    if(typeof getFlowFormData == "function"){
        var result = getFlowFormData();
        return result;
    }
    return {};
};

/**
 * 保存流程表单数据
 * @param businessDataId string: 业务数据ID
 * @return json: 操作结果
 */
var _saveFlowFormData = function (formData) {
    console.log("_saveFlowFormData" , _className);
    if(typeof saveFlowFormData == "function"){
        return saveFlowFormData(formData);
    }
};

/**
 * 保存流程表单数据后调用
 * @param businessDataId string: 业务数据ID
 * @return json: 操作结果
 */
var _afterSaveFlowFormData = function (businessDataId, formData) {
    console.log("_afterSaveFlowFormData" , _className);
    console.log("businessDataId" , businessDataId);
    if(typeof afterSaveFlowFormData == "function"){
        return afterSaveFlowFormData(businessDataId, formData);
    }
};

/**
 * 修改流程表单数据
 * @param businessDataId string: 业务数据ID
 * @return json: 操作结果
 */
var _updateFlowFormData = function (businessDataId, formData) {
    console.log("_updateFlowFormData" ,_className);
    console.log("businessDataId" ,businessDataId);
    if(typeof updateFlowFormData == "function"){
        return updateFlowFormData(businessDataId, formData);
    }
};

/**
 * 修改流程表单数据后调用
 * @param businessDataId string: 业务数据ID
 * @return json: 操作结果
 */
var _afterUpdateFlowFormData = function (businessDataId, formData) {
    console.log("_afterUpdateFlowFormData" ,_className);
    console.log("businessDataId" ,businessDataId);
    if(typeof afterUpdateFlowFormData == "function"){
        return afterUpdateFlowFormData(businessDataId, formData);
}
};

/**
 * 自定义设置流程待选步骤和用户信息
 * @param steps json: 流程待选步骤和用户信息
 * @return json
 */
var _setWorkflowNextSteps = function(steps){
    console.log("_setWorkflowNextSteps" ,_className);
    if(typeof setWorkflowNextSteps == "function"){
        return setWorkflowNextSteps(steps);
    }
return steps;
};

/**
 * 获取流程实例重要程度
 * @return string
 */
var _getInstanceImportant = function(){
    console.log("_getInstanceImportant" ,_className);
    if(typeof getInstanceImportant == "function"){
        return getInstanceImportant();
    }
return "";
}

/**
 * 获取流程实例隐秘程度
 * @return string
 */
var _getInstanceSecret = function(){
    console.log("_getInstanceSecret" ,_className);
    if(typeof getInstanceSecret == "function"){
        return getInstanceSecret();
    }
return "";
}