wfAgentStatistic_wev8.js
1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
jQuery(function(){
jQuery('.e8_box').Tabs({
getLine:1,
iframe:"tabcontentframe",
mouldID:"<%= MouldIDConst.getID("workflow")%>",
staticOnLoad:true,
objName:"<%=navName%>"
});
});
//运行flowPageManager.loadFunctions中的全部函数
var flowPageManager={onload:function(){
var loadFunctions=this.loadFunctions;
for(var xFn in loadFunctions){
var value=loadFunctions[xFn];
loadFunctions[xFn]();
}
},loadFunctions:{}
};
/**
*页面自适应高度
**/
flowPageManager.loadFunctions.autoHeight = function(){
jQuery(".flowsTable").height(jQuery(window).height()-2);
// var tdHeight2=jQuery(".ulDiv").parent().parent().parent().height()-2;
// jQuery("#overFlowDiv").css("height",(tdHeight2-jQuery(".flowMenuAll").height()-1)+"px");
// window.setTimeout(function(){
// jQuery(".ulDiv").css("height",jQuery(".ulDiv").find(".e8menu_ul:eq(0)").height()+10+"px");
// try{
// jQuery('#overFlowDiv').perfectScrollbar("update");
// }catch(e){}
// },200);
// window.setTimeout(function(){
// var screenWidth = top.screen.width;
// if(screenWidth<1280 || window.hideAnyway){
// hideTree();
// }
// },200);
// var tdHeight=0;
// tdHeight = jQuery("#leftmenuTD",top.document).height();
// if(!tdHeight){
// tdHeight = jQuery("#leftBlockTd",top.document).height()-2;
// }
// jQuery(".flowFrame").css("height",tdHeight+"px");
}