| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- <%@ 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/core/base.js"
- type="text/javascript"></script>
- <script
- src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerLayout.js"
- type="text/javascript"></script>
- <script
- src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerTree.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" src="/shares/js/yw/bpm/oa.js"></script>
- <script type="text/javascript">
- $(function() {
- $("#tree2").ligerTree({
- checkbox : false,
- parentIcon : null,
- childIcon : null,
- openFolderEven:false,
- attribute: ['id'],
- nodeWidth : 140,
- onSelect: function(node){
- var id = node.data.id;
- if(id == -1){
- } else {
- refreshT(id);
- }
- }
- });
- });
-
-
- function refreshT(tmodelId){
- parent.document.getElementById('rightFrame').src=
- '${pageContext.request.contextPath }/FlowModelAction.do?task=toConfigTacheElement&formId=${param.formId}&modelId=${param.modelId}&tmodelId=' + tmodelId;
- }
- </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>
- </div>
- </body>
- </html>
|