|
itemArray[itemArray.length]=new Item("6_1",
"",
"",
"UserTask",
" ",
" ",
"2007-03-13 14:41",
"Ready",
" ",
"",
"",
"6",
"images/ready.gif",
true);
initAllItems(itemArray,1);
</script>
<script>
function change(defId) {
ajaxChange(defId);
}
</script>
<script type="text/javascript">
function openTaskWindow(taskId){
theLeft=(screen.width - 600)/2;
theTop=(screen.height - 500)/2;
window.open("taskdetail.do?fromMonitoringList=true&taskid="+taskId,'','scrollbars,top='+theTop+',left='+theLeft+',width=600,height=500,resizable=yes');
}
function openErrorTaskWindow(taskId){
theLeft=(screen.width - 600)/2;
theTop=(screen.height - 500)/2;
window.open("errortaskDetail.do?fromMonitoringList=true&errorTaskId="+taskId,'','scrollbars,top='+theTop+',left='+theLeft+',width=600,height=500,resizable=yes');
}
function changeState(){
var selectedItem=document.getElementById("selectedItem").value;
if(selectedItem.indexOf("f_")==0){
parent.monitor.flowId=selectedItem.substring(2,selectedItem.length);
}else{
parent.monitor.flowId="";
}
}
</script>
<script language="javascript">
function openActInfo() {
var selectedItem = document.getElementById('selectedItem').value;
window.location='/usertasks/activityList.do?isAll=true&openAll=true&selectedItem=' + selectedItem;
}
<tr>
<td rowspan="2" class="header_logo"><img src="images/logo.gif"></td>
<td class="header_top"><img src="images/header_top.gif"></td>
<td class="header_bg" align="right"> </td>
<td class="header_bg" colspan="2"> </td>
<td class="header_right"><img src="images/logo_eb.gif"></td>
</tr>
<tr>
<td class="header_menubar_nav">
用户任务列表
</td>
<td class="header_menubar_bg" align="center"> </td>
<td class="header_menubar_right" align="center" nowrap="nowrap"></td>
<td class="header_menubar_bg" height="34"><script type="text/javascript">
oCMenu.makeMenu('Home','','首页','activitywatching.jsp','_top','','','','',cmBGColorOff,cmBGColorOn,cmTxtColor,cmHoverColor,'')
oCMenu.makeMenu('Task','','任务'+cmTopMenuImage+'','','_top','','','','',cmBGColorOff,cmBGColorOn,cmTxtColor,cmHoverColor,'')
oCMenu.makeMenu('Taskquery','Task','任务查询','/usertasks/taskquery.do','_top','','','','',cmBGColorOff,cmBGColorOn,cmTxtColor,cmHoverColor,'')
oCMenu.makeMenu('Taskhist','Task','任务操作明细','/usertasks/usertaskhist.do','_top','','','','',cmBGColorOff,cmBGColorOn,cmTxtColor,cmHoverColor,'')
oCMenu.makeMenu('Taskhiststudy','Task','任务操作历史分析','/usertasks/taskhiststudy.do','_top','','','','',cmBGColorOff,cmBGColorOn,cmTxtColor,cmHoverColor,'')
oCMenu.makeStyle(); oCMenu.construct()
</script>
</td>
<td class="header_menubar_right" align="center" nowrap="nowrap"><SPAN align="right" id="alert" class="bell"> </SPAN></td>
</tr>
</table>
<iframe id="FNotice" name="FNotice"
style="width:0px; height:0px; border: 0px" src="./checkTimeNotice.jsp"></iframe>
<iframe id="RSIFrame" name="RSIFrame"
style="width:0px; height:0px; border: 0px" src="./checktaskstate.jsp"></iframe>
<script language="JavaScript">
var flag;
if ( document.getElementById )
{
flag = document.getElementById( "alert" );
}
else if ( document.all )
{
flag = document.all["alert"];
}
setInterval( "updateClock()", 30*1000 );
function updateClock()
{
try
{
frames["RSIFrame"].location.reload();
}
catch( err)
{}
}
</script>
</body>
<div class="main" id="main_div">
<form action="activityList.do" method="GET" id="selectForm" >
<table cellpadding="0" cellspacing="0" border="0" class="allFlow">
<tr>
<td>
<select name="selectedItem" id="selectedItem">
<option value="" selected>所有流程</option>
<option value="p_test" >test</option>
<option value="f_6" > 111</option>
</select>
<input type="submit" name="submit" class="btnNormal" value="确定" onClick="return changeState()" class="btn_01"/>
</td>
</tr>
</table></form>
<div class="dataGridContainer" id="container">
<table class="headtable" id="listTable">
<thead>
<tr>
<th> </th>
<th class="sortable">
<a href="/usertasks/activityList.do?d-49653-o=2&d-49653-p=1&d-49653-s=1&flowId=">实例名</a></th>
<th class="sortable">
<a href="/usertasks/activityList.do?d-49653-o=2&d-49653-p=1&d-49653-s=2&flowId=">名称</a></th>
<th class="sortable">
<a href="/usertasks/activityList.do?d-49653-o=2&d-49653-p=1&d-49653-s=3&flowId=">描述</a></th>
<th class="sortable">
<a href="/usertasks/activityList.do?d-49653-o=2&d-49653-p=1&d-49653-s=4&flowId=">预计开始时间</a></th>
<th class="sortable">
<a href="/usertasks/activityList.do?d-49653-o=2&d-49653-p=1&d-49653-s=5&flowId=">开始执行时间</a></th>
<th class="sortable sorted order1">
<a href="/usertasks/activityList.do?d-49653-o=1&d-49653-p=1&d-49653-s=6&flowId=">状态</a></th>
<th class="sortable">
<a href="/usertasks/activityList.do?d-49653-o=2&d-49653-p=1&d-49653-s=7&flowId=">经办人</a></th></tr></thead>
<tbody>
<tr class="odd" id="6_1">
<td style="width:18px;align:center;"><a href='javascript:change("6_1")'><img border='0' src='images/ready.gif' align='absmiddle' width='16px' height='16px' id='stateIcon'/></a></td>
<td>111</td>
<td><a href="javascript:openTaskWindow('6')">UserTask</a></td>
<td class="desc"> </td>
<td>2007-03-13 14:41</td>
<td> </td>
<td>Ready</td>
<td> </td></tr></tbody></table>
</div>
</div>
<script language="javascript">
if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) {
var rheight = 71;
var rwidth = 18;
} else {
var rheight = 72;
var rwidth = 22;
}
var bodyHeight = document.getElementById("rbody").clientHeight;
var bodyWidth = document.getElementById("rbody").clientWidth;
var mainHeight = bodyHeight-rheight;
if (mainHeight > 0 ){
document.getElementById("main_div").style.height = mainHeight;
}
var containerHeight = mainHeight-32;
if (containerHeight > 0 ){
document.getElementById("container").style.height = containerHeight;
}
var mainWidth = bodyWidth-rwidth;
var containerWidth = bodyWidth-33;
if (mainWidth > 0 ){
document.getElementById("main_div").style.width = mainWidth;
document.getElementById("container").style.width = containerWidth;
// document.getElementById("operateBar").style.width = containerWidth;
}
</script>
</body>
</html> |
|