| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- <%@ page language="java" contentType="text/html;charset=GBK"
- pageEncoding="GBK"%>
- <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
- <!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>Insert title here</title>
- <link
- href="${pageContext.request.contextPath }/liger/lib/ligerUI/skins/${sessionScope.css}/css/ligerui-all.css"
- rel="stylesheet" type="text/css" />
- <script type="text/javascript" src="/shares/js/jquery-1.8.2.js"></script>
- <script type="text/javascript" src="/shares/js/yw/bpm/promptDefine.js"></script>
- <script
- src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/ligerui.all.js"
- type="text/javascript"></script>
- <link href="${pageContext.request.contextPath}/main.css"
- rel="stylesheet" type="text/css" />
- <script type="text/javascript" src="/shares/js/constant.js"></script>
- <script type="text/javascript" src="/shares/js/common.js"></script>
- <script type="text/javascript">
- $(function() {
- $("#tree2").ligerTree({
- checkbox : false,
- parentIcon : null,
- childIcon : null,
- attribute: ['id'],
- openFolderEven:false,
- nodeWidth : 140,
- onSelect: function(node){
- var id = node.data.id;
- if(id == -1){
- parent.document.getElementById('rightFrame').src=
- '${pageContext.request.contextPath }/TacheModelAction.do?task=toListForConfig&modelId=${requestScope.modelId }';
- } else {
- refreshT(id);
- }
- }
- });
- $("#tree3").ligerTree({
- checkbox : false,
- parentIcon : null,
- childIcon : null,
- nodeWidth : 140,
- openFolderEven:false,
- attribute: ['id'],
- onSelect: function(node){
- var id = node.data.id;
- if(id == -2){
- parent.document.getElementById('rightFrame').src=
- '${pageContext.request.contextPath }/PathModelAction.do?task=toListForConfig&modelId=${requestScope.modelId }';
- } else {
- refreshP(id);
- }
- }
- });
- });
-
-
- function refreshT(tmodelId){
- parent.document.getElementById('rightFrame').src=
- '${pageContext.request.contextPath }/TacheModelAction.do?task=info&tmodelId=' + tmodelId;
- }
-
- function refreshP(pathId){
- parent.document.getElementById('rightFrame').src=
- '${pageContext.request.contextPath }/PathModelAction.do?task=info&pathId=' + pathId;
- }
- </script>
- </head>
- <body>
- <div
- style="width: 95%; margin: 5px; float: left; border: 1px solid #ccc; ">
- <ul id="tree2">
- <li id="-1"><span>»·½ÚÁбí</span>
- <ul>
- <c:forEach items="${requestScope.tacheModelTrees }"
- var="tacheModel">
- <li id="${tacheModel.tmodelId }"><span>${tacheModel.tmodelName }</span></li>
- </c:forEach>
- </ul></li>
- </ul>
- <ul id="tree3">
- <li id="-2"><span>·¾¶Áбí</span>
- <ul>
- <c:forEach items="${requestScope.pathModelTrees }"
- var="pathModel">
- <li id="${pathModel.pathId }"><span>·¾¶${pathModel.pathId }</span></li>
- </c:forEach>
- </ul></li>
- </ul>
- </div>
- </body>
- </html>
|