coworkSearchInit_wev8.js
2.48 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
jQuery(document).ready(function(){
jQuery("#topTitle").topMenuTitle({searchFn:onBtnSearchClick});
jQuery(".topMenuTitle td:eq(0)").html(jQuery("#tabDiv").html());
jQuery("#tabDiv").remove();
jQuery("#hoverBtnSpan").hoverBtn();
jQuery("#toggleLeft").bind("click",function(){
jQuery(".flowMenusTd",parent.document).toggle();
jQuery(".leftTypeSearch",parent.document).toggle();
});
jQuery("#hoverBtnSpan .item").bind("click",function(){
//resetCondtion();
//parent.refreshLeftMenu("0",jQuery("#_doccreater").val(),jQuery("#urlType").val(),jQuery("#frmmain").attr("action"));
//jQuery("#frmmain").submit();
var type=$(this).attr("type");
var labelid=$(this).attr("labelid");
$("#type").val(type);
$("#labelid").val(labelid);
$("#frmmain").submit();
});
jQuery("#history").bind("click",function(){
window.location.href="DocCommonContent.jsp?ishow=false&urlType=7";
});
jQuery("#approve").bind("click",function(){
window.location.href="DocCommonContent.jsp?ishow=false&urlType=8";
});
jQuery("#back").bind("click",function(){
window.location.href="DocCommonContent.jsp?ishow=false&urlType=9";
});
jQuery("#docNumber").bind("click",function(){
window.location.href="docNumber.jsp";
});
jQuery("#secretLevel").bind("click",function(){
window.location.href="docSecretLevel.jsp";
});
jQuery("#docKind").bind("click",function(){
window.location.href="docKind.jsp";
});
jQuery("#intancyLevel").bind("click",function(){
window.location.href="docInstancyLevel.jsp";
});
jQuery("#baseInfoTab").bind("click",function(){
jQuery("#contentInfo").hide();
jQuery("#showInfo").hide();
jQuery("div.selectedTitle").removeClass("selectedTitle");
jQuery(this).addClass("selectedTitle");
jQuery("#baseInfo").show();
});
jQuery("#contentTab").bind("click",function(){
jQuery("div.selectedTitle").removeClass("selectedTitle");
jQuery(this).addClass("selectedTitle");
jQuery("#baseInfo").hide();
jQuery("#contentInfo").show();
jQuery("#showInfo").hide();
});
jQuery("#showTab").bind("click",function(){
jQuery("div.selectedTitle").removeClass("selectedTitle");
jQuery(this).addClass("selectedTitle");
jQuery("#baseInfo").hide();
jQuery("#contentInfo").hide();
jQuery("#showInfo").show();
});
jQuery("#showModle").bind("click",function(){
window.location.href="/docs/mould/DocMould.jsp";
});
jQuery("#editModle").bind("click",function(){
window.location.href="/docs/mouldfile/DocMould.jsp";
});
});