2018-06-03 22:26:41 +08:00

89 lines
3.6 KiB
Plaintext

<%@ page contentType="text/html; charset=GBK"%>
<%@include file="/Frame/resources/include/include_begin_ajax.jspf"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<title></title>
</head>
<body>
<!--首页内容-->
<%@include file="/Tenwa/HomePage/DefaultHome/DefaultHeader.jspf" %>
<%@ include file="/Tenwa/Core/FlowManager/BaseFunction/BaseFlowFunction.jspf" %>
<script type="text/javascript" src="<%=sWebRootPath%>/Tenwa/HomePage/js/mainworktip.js"></script>
<link rel="stylesheet" type="text/css" href="<%=sWebRootPath%>/Tenwa/HomePage/Skip/Default/css/mian_worktip.css"/>
<div id="work_tip" class="work_tip">
<ul id="work_tip_menu" class="work_tip_menu">
<!--工作提示菜单-->
</ul>
<div id="work_tip_body" class="work_tip_body">
<!--工作提示的内容-->
</div>
<script type="text/javascript">
var curWorkTip=null;
$(function(){
curWorkTip=new WorkTip($(window).height());
});
function openFLowCreditPage(serialno,objecttype,objectno,flowno,phaseno){
var sTaskNo=serialno;
var tabid=$(window.document).find("#tabs_button_T01");
var tabPid=$(parent.parent.document).find("#tabs_button_T01");
if(tabid.length>0||tabPid.length>0){
FlowFunction.viewTab(objecttype,objectno,flowno,phaseno,serialno);
}else{
var param = "TaskNo="+sTaskNo+"&ViewID=001"+"&ObjectType="+objecttype+"&ObjectNo="+objectno;
var objectinfo =$.parseJSON(RunJspAjax("/Tenwa/Core/FlowManager/GetObjectInfo.jsp?TaskNo="+sTaskNo));
var sUrl="/Tenwa/Core/FlowManager/FlowPage/FlowPageViewTab.jsp";
AsControl.OpenView("/AppMain/MenuTabContainer.jsp", "isAddMain=true&Title="+objectinfo.title+"&ToDestroyAllComponent=N&Url="+sUrl+"&Paras="+param, "right");
}
}
function openFLowCreditPageAll(){
var tabid=$(window.document).find("#tabs_button_T01");
var param="ComponentName=我的工作&ComponentType=MainWindow&DefaultTVItemName=待办事宜&isCache=false"
var sUrl="/Tenwa/Core/MyWork/AppMyWork.jsp";
objectinfo={};
objectinfo.title="我的工作"
var tabPid=$(parent.parent.document).find("#tabs_button_T01");
if(tabid.length>0||tabPid.length>0){
AsControl.OpenTab(sUrl,param,objectinfo);
}else{
AsControl.OpenView("/AppMain/MenuTabContainer.jsp", "isAddMain=true&Title="+objectinfo.title+"&ToDestroyAllComponent=N&Url="+sUrl+"&Paras="+param, "right");
}
}
//业务消息管理
function openMessagePage(id,title,page,cparam){
var sUrl = "/Tenwa/Core/BussinessMessage/MessageInfo/BaseMessageInfo.jsp";
if(page.length>0){
sUrl=page;
}
var objectinfo={"title":title};
var param=cparam;
var tabid=$(window.document).find("#tabs_button_T01");
var tabPid=$(parent.parent.document).find("#tabs_button_T01");
if(tabid.length>0||tabPid.length>0){
AsControl.OpenTab(sUrl,param,objectinfo);
}else{
AsControl.OpenView("/AppMain/MenuTabContainer.jsp", "isAddMain=true&Title="+objectinfo.title+"&ToDestroyAllComponent=N&Url="+sUrl+"&Paras="+param, "right");
}
}
//业务消息
function openMessageAllPage(){
var tabid=$(window.document).find("#tabs_button_T01");
var param="ComponentName=我的工作&ComponentType=MainWindow&DefaultTVItemName=消息管理&isCache=false"
var sUrl="/Tenwa/Core/MyWork/AppMyWork.jsp";
objectinfo={};
objectinfo.title="我的工作"
var tabPid=$(parent.parent.document).find("#tabs_button_T01");
if(tabid.length>0||tabPid.length>0){
AsControl.OpenTab(sUrl,param,objectinfo);
}else{
AsControl.OpenView("/AppMain/MenuTabContainer.jsp", "isAddMain=true&Title="+objectinfo.title+"&ToDestroyAllComponent=N&Url="+sUrl+"&Paras="+param, "right");
}
}
</script
</body>
</html>
<%@ include file="/Frame/resources/include/include_end_ajax.jspf"%>