|
|
@@ -1862,6 +1862,11 @@ var bootstrap = function ($, learun) { |
|
|
|
var $iframe = learun.iframe(iframeId, frames); |
|
|
|
//$iframe.$('.lr-form-wrap:visible').jqprint(); |
|
|
|
var res = $iframe.$('body').lrGetFormShow(); |
|
|
|
let grid = res.find(item => item.type == 'gird') |
|
|
|
let col = "" |
|
|
|
if (grid) { |
|
|
|
col = 24 / grid.gridHead.length |
|
|
|
} |
|
|
|
if (res[0].text.indexOf('合同审批流程单') > -1) { |
|
|
|
isContract = true; |
|
|
|
} |
|
|
@@ -1872,6 +1877,7 @@ var bootstrap = function ($, learun) { |
|
|
|
} |
|
|
|
} |
|
|
|
if (ainfo[i].title != '开始') { |
|
|
|
ainfo[i].col = col |
|
|
|
res.push(ainfo[i]); |
|
|
|
} |
|
|
|
} |
|
|
@@ -1887,7 +1893,11 @@ var bootstrap = function ($, learun) { |
|
|
|
if (res1[0].text.indexOf('合同审批流程单') > -1) { |
|
|
|
isContract = true; |
|
|
|
} |
|
|
|
|
|
|
|
let grid = res1.find(item => item.type == 'gird') |
|
|
|
let col = "" |
|
|
|
if (grid) { |
|
|
|
col = 24 / grid.gridHead.length |
|
|
|
} |
|
|
|
for (var len1 = ainfo.length, i1 = ainfo.length - 1; i1 >= 0; i1--) { |
|
|
|
if (isContract) { |
|
|
|
if (ainfo[i1].user.indexOf('关亮') > -1) { |
|
|
@@ -1896,6 +1906,7 @@ var bootstrap = function ($, learun) { |
|
|
|
} |
|
|
|
//res1.push(ainfo[i1]); |
|
|
|
if (ainfo[i1].title != '开始') { |
|
|
|
ainfo[i1].col = col |
|
|
|
res1.push(ainfo[i1]); |
|
|
|
} |
|
|
|
} |
|
|
|