docSearchInit_wev8.js
2.7 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
jQuery(document).ready(function(){
jQuery("#topTitle").topMenuTitle({searchFn:onBtnSearchClick});
jQuery("#hoverBtnSpan").hoverBtn();
jQuery("#toggleLeft").bind("click",function(){
jQuery(".flowMenusTd",parent.document).toggle();
jQuery(".leftTypeSearch",parent.document).toggle();
});
jQuery("#docAll").bind("click",function(){
resetCondtion();
parent.refreshLeftMenu("0",jQuery("#_doccreater").val(),jQuery("#urlType").val(),jQuery("#frmmain").attr("action"));
jQuery("#frmmain").submit();
});
jQuery("#docToday").bind("click",function(){
jQuery("#doccreatedateselect").val("1");
parent.refreshLeftMenu("1",jQuery("#_doccreater").val(),jQuery("#urlType").val(),jQuery("#frmmain").attr("action"));
jQuery("#frmmain").submit();
});
jQuery("#docWeek").bind("click",function(){
jQuery("#doccreatedateselect").val("2");
parent.refreshLeftMenu("2",jQuery("#_doccreater").val(),jQuery("#urlType").val(),jQuery("#frmmain").attr("action"));
jQuery("#frmmain").submit();
});
jQuery("#docMonth").bind("click",function(){
jQuery("#doccreatedateselect").val("3");
parent.refreshLeftMenu("3",jQuery("#_doccreater").val(),jQuery("#urlType").val(),jQuery("#frmmain").attr("action"));
jQuery("#frmmain").submit();
});
jQuery("#docQuarterly").bind("click",function(){
jQuery("#doccreatedateselect").val("4");
parent.refreshLeftMenu("4",jQuery("#_doccreater").val(),jQuery("#urlType").val(),jQuery("#frmmain").attr("action"));
jQuery("#frmmain").submit();
});
jQuery("#docYear").bind("click",function(){
jQuery("#doccreatedateselect").val("5");
parent.refreshLeftMenu("5",jQuery("#_doccreater").val(),jQuery("#urlType").val(),jQuery("#frmmain").attr("action"));
jQuery("#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("#showModle").bind("click",function(){
window.location.href="/docs/mould/DocMould.jsp";
});
jQuery("#editModle").bind("click",function(){
window.location.href="/docs/mouldfile/DocMould.jsp";
});
});