wfAgentManager_wev8.js
1.07 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
$(function() {
$('.e8_box').Tabs({
staticOnLoad : true,
iframe : "tabcontentframe"
});
jQuery(".e8_box a").bind("click",function(){
// _contentDocument = getIframeDoc();
$("#tabcontentframe").attr("src","/workflow/request/wfAgentDetail.jsp?agentInfo="+$(this).attr("name"));
// console.dir($(_contentDocument).find("#createdateselect"));
// $(_contentDocument).find("#createdateselect").val($(this).attr("name"));
// $(_contentDocument).find("#frmmain").submit();
//jQuery("#createdateselect",_contentDocument).val("1");
//jQuery("#frmmain",_contentDocument).submit();
});
// attachUrl();
});
function refreshTab() {
jQuery('.flowMenusTd', parent.document).toggle();
jQuery('.leftTypeSearch', parent.document).toggle();
}
function getIframeDoc(){
return jQuery(".e8_box").Tabs({
method:"getContentDocument"
});
}
function attachUrl(){
var requestParameters=$(".requestParameterForm").serialize();
$("[name='tabcontentframe']").attr("src","/workflow/search/WFSuperviseList.jsp?"+requestParameters);
}