变更、废止文件提示代码提交
This commit is contained in:
parent
3792568d08
commit
29a89b421e
@ -1664,11 +1664,11 @@ function getChangeBatchResult(type,nodes) {
|
||||
var L4old = ui("LEVEL_4_PROCESS_NAME");
|
||||
if((L1old != '' && L1 != L1old) || (L2old != '' && L2 != L2old) || (L3old != '' && L3 != L3old) || (L4old != '' && L4 != L4old)){
|
||||
$('#publisher_dialog').find('div.dlg-button').find('button:first').prop('disabled', '');
|
||||
parent.$.simpleAlert("只能选择同一级别下的流程,请重新选择");
|
||||
alert("只能选择同一个流程架构下的文件,请重新选择。");
|
||||
return;
|
||||
}else if(info == true){
|
||||
$('#publisher_dialog').find('div.dlg-button').find('button:first').prop('disabled', '');
|
||||
parent.$.simpleAlert("只能选择同一级别下的流程,请重新选择");
|
||||
alert("只能选择同一个流程架构下的文件,请重新选择。");
|
||||
return;
|
||||
}else{
|
||||
//treeCheckedNewArr = nodes;
|
||||
@ -1730,11 +1730,11 @@ function getStopBatchResult(type,nodes) {
|
||||
var L4old = ui("LEVEL_4_PROCESS_NAME");
|
||||
if((L1old != '' && L1 != L1old) || (L2old != '' && L2 != L2old) || (L3old != '' && L3 != L3old) || (L4old != '' && L4 != L4old)){
|
||||
$('#publisher_dialog').find('div.dlg-button').find('button:first').prop('disabled', '');
|
||||
parent.$.simpleAlert("只能选择同一级别下的流程,请重新选择");
|
||||
alert("只能选择同一个流程架构下的文件,请重新选择。");
|
||||
return;
|
||||
}else if(info == true){
|
||||
$('#publisher_dialog').find('div.dlg-button').find('button:first').prop('disabled', '');
|
||||
parent.$.simpleAlert("只能选择同一级别下的流程,请重新选择");
|
||||
alert("只能选择同一个流程架构下的文件,请重新选择。");
|
||||
return;
|
||||
}else{
|
||||
//treeCheckedNewArr = nodes;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user