默认不继承上级任务的优先级,根据需要模型里设置,或每次审批的时候根据需要指定。
This commit is contained in:
@@ -89,11 +89,7 @@ $('#btnDraft').click(function(){
|
|||||||
});
|
});
|
||||||
// 流程按钮操作事件
|
// 流程按钮操作事件
|
||||||
BpmButton = window.BpmButton || {};
|
BpmButton = window.BpmButton || {};
|
||||||
BpmButton.init = function(task){
|
BpmButton.init = function(task){}
|
||||||
if (task && task.priority){
|
|
||||||
$('#bpm_priority').val(task.priority).trigger('change'); // 设置下一个任务的优先级
|
|
||||||
}
|
|
||||||
}
|
|
||||||
BpmButton.complete = function($this, task){
|
BpmButton.complete = function($this, task){
|
||||||
$('#status').val(Global.STATUS_AUDIT);
|
$('#status').val(Global.STATUS_AUDIT);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user