<%@ page contentType="text/html;charset=UTF-8"%>
<ul class="nav nav-list" id="navmenu">
   <%--  <li class="hover active">
        <a  href="javascript:void(0)"   onclick="iframeChange('${ctx}/processReport/reportByIndex.do')">
			<i class="menu-icon fa fa-home"></i>
			<span class="menu-text">流程首页</span>
			<b class="arrow fa fa-angle-down"></b>	
		</a>
    
    </li> --%>
	<li class="active">
		<a href="javascript:void(0);" class="dropdown-toggle">
			<i class="menu-icon fa fa-cloud"></i>
			<span class="menu-text">流程定义</span>
			<b class="arrow fa fa-angle-down"></b>	
		</a>
		<b class="arrow"></b>

		<ul class="submenu">
			<li class="active">
				<a href="javascript:void(0)"   onclick="iframeChange('${ctx}/procDefMgr/list.do')">
					<i class="menu-icon fa fa-caret-right"></i>&nbsp;&nbsp;&nbsp;流程配置
				</a>
				<b class="arrow"></b>
			</li>
			<%-- <li class="">
				<a  href="javascript:void(0)"   onclick="iframeChange('${ctx}/procModelMgr/list.do')">
					<i class="menu-icon fa fa-caret-right"></i>&nbsp;&nbsp;&nbsp;流程建模
				</a>
				<b class="arrow"></b>
			</li> --%>
			 <%-- <li class="">
				<a  href="javascript:void(0)"   onclick="iframeChange('${ctx}/procDefModelMgr/list_dev.do')">
					<i class="menu-icon fa fa-caret-right"></i>&nbsp;&nbsp;&nbsp;流程配置和建模
				</a>
				<b class="arrow"></b>
			</li> --%>
		</ul>
	</li>


	<li class="">
		<a href="javascript:void(0);" class="dropdown-toggle">
			<i class="menu-icon fa fa-desktop"></i>
			<span class="menu-text">流程管理</span>
			<b class="arrow fa fa-angle-down"></b>
		</a>
		<b class="arrow"></b>
		<ul class="submenu">
			<li class="">
				<a href="javascript:void(0)"  onclick="iframeChange('${ctx}/procInstMgr/list.do')">
					<i class="menu-icon fa fa-caret-right"></i>&nbsp;&nbsp;&nbsp;流程实例管理
				</a>
				<b class="arrow"></b>
			</li>
			<li class="">
				<a href="javascript:void(0)" onclick="iframeChange('${ctx}/taskMgr/list.do')">
					<i class="menu-icon fa fa-caret-right"></i>&nbsp;&nbsp;&nbsp;流程任务管理
				</a>
				<b class="arrow"></b>
			</li>
			<li class="">
				<a href="javascript:void(0)" onclick="iframeChange('${ctx}/procInstMgr/historyList.do')">
					<i class="menu-icon fa fa-caret-right"></i>&nbsp;&nbsp;&nbsp;流程历史管理
				</a>
				<b class="arrow"></b>
			</li>
			<li class="">
				<a  href="javascript:void(0)" onclick="iframeChange('${ctx}/taskMgr/taskTransferList.do?dataType=1')">
					<i class="menu-icon fa fa-caret-right"></i>&nbsp;&nbsp;&nbsp;流程待办迁移
				</a>
				<b class="arrow"></b>
			</li>
		</ul>
	</li>

	<li class="">
		<a href="#" class="dropdown-toggle">
			<i class="menu-icon glyphicon glyphicon-eye-open"></i> 
				<span class="menu-text">流程日志
							<!-- span class="badge badge-transparent tooltip-error" title="子菜单中有5条流程错误数据">
										<i class="ace-icon fa fa-exclamation-triangle red bigger-130"></i>
							</span-->
				</span>
			<b class="arrow fa fa-angle-down"></b>
		</a>
		<b class="arrow"></b>

		<ul class="submenu">
			<li class="">
				<a  href="javascript:void(0)" onclick="iframeChange('${ctx}/processErrorLog/infoList.do')">
					<i class="menu-icon fa fa-caret-right"></i>&nbsp;&nbsp;&nbsp;流程运行日志
				</a>
				<b class="arrow"></b>
			</li>
			<li class="">
				<a  href="javascript:void(0)" onclick="iframeChange('${ctx}/processErrorLog/errorList.do')">
					<i class="menu-icon fa fa-caret-right"></i>&nbsp;&nbsp;&nbsp;流程错误日志
				</a>
				<b class="arrow"></b>
			</li>
			
		</ul>
	</li>
	<c:if test="${ebpmAdmin}">
	<li class="">
		<a href="#" class="dropdown-toggle">
			<i class="menu-icon fa fa-list-alt"></i> 
				<span class="menu-text">流程统计
				</span>
			<b class="arrow fa fa-angle-down"></b>
		</a>
		<b class="arrow"></b>

		<ul class="submenu">
			<!-- <li class="">
				<a href="javascript:void(0)" onclick="iframeChange('${ctx}/processReport/reportByIndex.do')">
					<i class="menu-icon fa fa-caret-right"></i>&nbsp;&nbsp;&nbsp;统计首页
				</a>
				<b class="arrow"></b>
			</li> -->
			<li class="">
				<a href="javascript:void(0)" onclick="iframeChange('${ctx}/sys/index/porcessStatistics.do')">
					<i class="menu-icon fa fa-caret-right"></i>&nbsp;&nbsp;&nbsp;流程总览
				</a>
				<b class="arrow"></b>
			</li>
			<li class="">
				<a href="javascript:void(0)" onclick="iframeChange('${ctx}/flow/monitor/processAnalysis.do')">
					<i class="menu-icon fa fa-caret-right"></i>&nbsp;&nbsp;&nbsp;流程分析
				</a>
				<b class="arrow"></b>
			</li>
			<%-- <li class="">
				<a href="javascript:void(0)" onclick="iframeChange('${ctx}/processReport/reportByProcessDef.do')">
					<i class="menu-icon fa fa-caret-right"></i>&nbsp;&nbsp;&nbsp;按流程定义统计
				</a>
				<b class="arrow"></b>
			</li>
			<li class="">
				<a href="javascript:void(0)" onclick="iframeChange('${ctx}/processReport/reportByDate.do')">
					<i class="menu-icon fa fa-caret-right"></i>&nbsp;&nbsp;&nbsp;按流程及时间统计
				</a>
				<b class="arrow"></b>
			</li> --%>
			<!-- <li class="">
				<a href="javascript:void(0)" onclick="iframeChange('${ctx}/pages/processReport/reportByDate2.jsp')">
					<i class="menu-icon fa fa-caret-right"></i>
					按流程耗时统计
				</a>
				<b class="arrow"></b>
			</li>
			<li class="">
				<a href="javascript:void(0)" onclick="iframeChange('${ctx}/pages/processReport/reportByDate3.jsp')">
					<i class="menu-icon fa fa-caret-right"></i>
					按流程环节耗时统计
				</a>
				<b class="arrow"></b>
			</li> -->
			<c:if test="${ebpmAdmin}">
				<%-- <li class="">
					<a href="javascript:void(0)" onclick="iframeChange('${ctx}/sysMgr/appProcessList.do')">
						<i class="menu-icon fa fa-caret-right"></i>&nbsp;&nbsp;&nbsp;流程总览
					</a>
					<b class="arrow"></b>
				</li> --%>
				<%-- <li class="">
					<a href="javascript:void(0)" onclick="iframeChange('${ctx}/sysMgr/appProcessLogByYear.do')">
						<i class="menu-icon fa fa-caret-right"></i>&nbsp;&nbsp;&nbsp;流程运行统计(年)
					</a>
					<b class="arrow"></b>
				</li>
				<li class="">
					<a href="javascript:void(0)" onclick="iframeChange('${ctx}/sysMgr/appProcessLogByDay.do')">
						<i class="menu-icon fa fa-caret-right"></i>&nbsp;&nbsp;&nbsp;流程运行统计(日)
					</a>
					<b class="arrow"></b>
				</li> --%>
				<li class="">
					<a  href="javascript:void(0)" onclick="iframeChange('${ctx}/workflow/proEfficiency.do')">
						<i class="menu-icon fa fa-caret-right"></i>&nbsp;&nbsp;&nbsp;流程效率
					</a>
					<b class="arrow"></b>
				</li>
				<li class="">
					<a href="javascript:void(0)" onclick="iframeChange('${ctx}/sysMgr/sysProcessInstList.do')">
						<i class="menu-icon fa fa-caret-right"></i>&nbsp;&nbsp;&nbsp;流程实例查询 
					</a>
					<b class="arrow"></b>
				</li>
				<li class="">
					<a href="javascript:void(0)" onclick="iframeChange('${ctx}/sysMgr/sysTaskList.do')">
						<i class="menu-icon fa fa-caret-right"></i>&nbsp;&nbsp;&nbsp;流程待办查询
					</a>
					<b class="arrow"></b>
				</li>
                    <li class="">
                    <a href="javascript:void(0)" onclick="iframeChange('${ctx}/sysMgr/sysYibanTaskList.do')">
                        <i class="menu-icon fa fa-caret-right"></i>&nbsp;&nbsp;&nbsp;流程已办查询
                    </a>
                    <b class="arrow"></b>
                </li>
				<!-- 
				<li class="">
					<a  href="javascript:void(0)" onclick="iframeChange('${ctx}/workflow/proDefEfficiency.do')">
						<i class="menu-icon fa fa-caret-right"></i>&nbsp;&nbsp;&nbsp;流程效率统计
					</a>
					<b class="arrow"></b>
				</li>
				<li class="">
					<a  href="javascript:void(0)" onclick="iframeChange('${ctx}/workflow/proOrgEfficiency.do')">
						<i class="menu-icon fa fa-caret-right"></i>&nbsp;&nbsp;&nbsp;组织效率统计
					</a>
					<b class="arrow"></b>
				</li>
				 -->
			</c:if>
		</ul>
	</li>
</c:if>

	<li class="">
		<a href="javascript:void(0)" class="dropdown-toggle">
			<i class="menu-icon fa fa-folder-o"></i> 
			<span class="menu-text">其它管理</span>
			<b class="arrow fa fa-angle-down"></b>
		</a>
		<b class="arrow"></b>

		<ul class="submenu" id="12">
			<li class="">
				<a  href="javascript:void(0)" onclick="iframeChange('pages/sysGlType/mgrMain.jsp')">
					<i class="menu-icon fa fa-caret-right"></i>&nbsp;&nbsp;流程分类
				</a>
				<b class="arrow"></b>
			</li>
			<li class="">
				<a  href="javascript:void(0)" onclick="iframeChange('${ctx}/role/list.do')">
					<i class="menu-icon fa fa-caret-right"></i>&nbsp;&nbsp;角色管理
				</a>
				<b class="arrow"></b>
			</li>
			<!-- 
			<li class="hover">
				<a href="sysScript/list.do"  target="frmright">
					<i class="menu-icon fa fa-caret-right"></i>&nbsp;&nbsp;&nbsp;定时任务
				</a>
				<b class="arrow"></b>
			</li>
			 --><!-- 
			 <li class="">
				<a  href="javascript:void(0)" onclick="iframeChange('${ctx}/searchProcessResource/errorlistindex.do')">
					<i class="menu-icon fa fa-caret-right"></i>&nbsp;&nbsp;流程资源核查
				</a>
				<b class="arrow"></b>
			</li>
			<li class="">
				<a  href="javascript:void(0)" onclick="iframeChange('${ctx}/searchProcessResource/list.do')">
					<i class="menu-icon fa fa-caret-right"></i>&nbsp;&nbsp;流程资源搜索
				</a>
				<b class="arrow"></b> -->
			</li>
		</ul>
	</li>
	
 	<c:if test="${ebpmAdmin}">
		<li class="">
			<a href="javascript:void(0)" class="dropdown-toggle">
				<i class="menu-icon fa fa-align-justify"></i> 
				<span class="menu-text">系统管理</span>
				<b class="arrow fa fa-angle-down"></b>
			</a>
			<b class="arrow"></b>
			<ul class="submenu" id="12">
				<li class="">
					<a href="javascript:void(0)" onclick="iframeChange('applicationMgr/list.do')">
						<i class="menu-icon fa fa-caret-right"></i>&nbsp;&nbsp;&nbsp;应用管理
					</a>
				</li>
				<!--<li class="">
					<a href="javascript:void(0)" onclick="iframeChange('dataObject/list.do')">
						<i class="menu-icon fa fa-caret-right"></i>&nbsp;&nbsp;&nbsp;全局变量管理
					</a>
					<b class="arrow"></b>
				</li> -->
				<li class="">
					<a  href="javascript:void(0)" onclick="iframeChange('${ctx}/depute/list.do')">
						<i class="menu-icon fa fa-caret-right"></i>&nbsp;&nbsp;&nbsp;委托代办设置
					</a>
					<b class="arrow"></b>
				</li>
				<li class="">
					<a  href="javascript:void(0)" onclick="iframeChange('${ctx}/smsConfig/list.do')">
						<i class="menu-icon fa fa-commenting-o"></i>&nbsp;&nbsp;&nbsp;短信提醒设置
					</a>
					<b class="arrow"></b>
				</li>
				<li class="">
					<a   href="javascript:void(0)" onclick="iframeChange('${ctx}/smsConfigLog/list.do')">
						<i class="menu-icon fa fa-commenting-o"></i>&nbsp;&nbsp;&nbsp;短信发送日志
					</a>
					<b class="arrow"></b>
				</li>
				<!-- 
				<li class="">
					<a href="javascript:void(0)" onclick="iframeChange('${ctx}/msgRemind/list.do')">
						<i class="menu-icon fa fa-caret-right"></i>&nbsp;&nbsp;&nbsp;待办消息提醒
					</a>
					<b class="arrow"></b>
				</li> -->
				<li class="">
					<a  href="javascript:void(0)" onclick="iframeChange('${ctx}/tlogUserOperate/list.do')">
						<i class="menu-icon fa fa-caret-right"></i>&nbsp;&nbsp;&nbsp;用户操作日志
					</a>
					<b class="arrow"></b>
				</li>
				<!-- 
				<li class="">
					<a  href="javascript:void(0)" onclick="toOrgManage()">
						<i class="menu-icon fa fa-caret-right"></i>&nbsp;&nbsp;&nbsp;组织机构管理
					</a>
					<b class="arrow"></b>
				</li>-->
				<li class="">
					<a  href="javascript:void(0)" onclick="iframeChange('${ctx}/actInfo/activityRule/listMgr.do')">
						<i class="menu-icon fa fa-caret-right"></i>&nbsp;&nbsp;&nbsp;脚本管理
					</a>
					<b class="arrow"></b>
				</li>
				<!-- <li class="">
					<a  href="javascript:void(0)" onclick="iframeChange('/ebpm-user-manager-web/pages/org/orgMgrMain.jsp')">
						<i class="menu-icon fa fa-caret-right"></i>&nbsp;&nbsp;&nbsp;组织机构管理
					</a>
					<b class="arrow"></b>
				</li> -->
			</ul>
		</li>
	</c:if>
	<%-- <c:if test="${ebpmAdmin}">
	<li class="">
		<a href="<%=com.blueland.bpm.manage.util.MyContants.EBPM_UNITEWORK_MANAGE_PATH%>?userId=${bpm_login_session_user.userId}" target="_blank">
			<i class="menu-icon fa fa-pencil-square-o"></i> 
			<span class="menu-text">统一待办</span>
			<!-- <b class="arrow fa fa-angle-down"></b> -->
		</a>
		<!-- <b class="arrow"></b> -->
	</li>
	</c:if> --%>
</ul>
<!-- /.nav-list -->
<script>
/* $(function(){
	$('#navmenu li a').click(function(){
	if($(this).attr("class")=="dropdown-toggle"){return;}
	//alert($(this).closest(".submenu").closest("li").attr("id"));
	//$("#navmenu li").removeClass("active");
	$("#navmenu li").removeClass("active open");
	$("#navmenu ul").addClass("nav-hide");
	$("#navmenu ul").hide();
	$(this).closest(".submenu").show();
	$(this).closest(".submenu").closest("li").addClass("active open");
	$(this).parent().addClass("active");})
});   */
$('#navmenu li a').click(function(){
	if($(this).attr("class")=="dropdown-toggle"){return;}
	//alert($(this).closest(".submenu").closest("li").attr("id"));
	//$("#navmenu li").removeClass("active");
	$("#navmenu li").removeClass("active open");
	$("#navmenu ul").addClass("nav-hide");
	$("#navmenu ul").hide();
	$(this).closest(".submenu").show();
	$(this).closest(".submenu").closest("li").addClass("active open");
	$(this).parent().addClass("active");
});
$("li").click(function (){
	if($(this).hasClass("active")){
	}else{
		$("#navmenu").find("li").each(function(){
			$(this).removeClass("active");
		});
		//$(this).addClass("active");
	}
	
});
function toOrgManage(){
	
	window.open("https://www.rzdata.net/share-platform-user/#/staff/gylist")
}
</script>