|
|
@@ -799,7 +799,7 @@ var bootstrap = function ($, learun) { |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//if (data.parentProcessId) { |
|
|
|
// nwflow.pProcessId = data.parentProcessId; |
|
|
@@ -1827,13 +1827,24 @@ var bootstrap = function ($, learun) { |
|
|
|
html = $('.tab-flow-audit').html(); |
|
|
|
} |
|
|
|
|
|
|
|
var isContract = false; |
|
|
|
|
|
|
|
|
|
|
|
var $iframes = $('#form_list_iframes'); |
|
|
|
var iframeId = $iframes.find('.form-list-iframe.active').attr('id'); |
|
|
|
if (iframeId) { |
|
|
|
var $iframe = learun.iframe(iframeId, frames); |
|
|
|
//$iframe.$('.lr-form-wrap:visible').jqprint(); |
|
|
|
var res = $iframe.$('body').lrGetFormShow(); |
|
|
|
if (res[0].text.indexOf('合同审批流程单') > -1) { |
|
|
|
isContract = true; |
|
|
|
} |
|
|
|
for (var len = ainfo.length, i = ainfo.length - 1; i >= 0; i--) { |
|
|
|
if (isContract) { |
|
|
|
if (ainfo[i].user.indexOf('关亮') > -1) { |
|
|
|
continue; |
|
|
|
} |
|
|
|
} |
|
|
|
res.push(ainfo[i]); |
|
|
|
} |
|
|
|
$.jqprintForm(res); |
|
|
@@ -1843,8 +1854,18 @@ var bootstrap = function ($, learun) { |
|
|
|
//$iframes.find(".lr-scroll-box")[0].style.top = 0; |
|
|
|
//$iframes.find(".lr-formselect i").removeClass(); |
|
|
|
//$iframes.find('.form-list-container.active').find('.lr-form-wrap:visible').jqprint(null,html); |
|
|
|
|
|
|
|
var res1 = $iframes.lrGetFormShow(); |
|
|
|
if (res1[0].text.indexOf('合同审批流程单') > -1) { |
|
|
|
isContract = true; |
|
|
|
} |
|
|
|
|
|
|
|
for (var len1 = ainfo.length, i1 = ainfo.length - 1; i1 >= 0; i1--) { |
|
|
|
if (isContract) { |
|
|
|
if (ainfo[i1].user.indexOf('关亮') > -1) { |
|
|
|
continue; |
|
|
|
} |
|
|
|
} |
|
|
|
res1.push(ainfo[i1]); |
|
|
|
} |
|
|
|
$.jqprintForm(res1); |
|
|
|