| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- <%@ 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>模版路径</title>
- <link href="${ pageContext.request.contextPath}/main.css" rel="stylesheet" type="text/css" />
- <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>
- <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/path/pathModel.js"></script>
- <script type="text/javascript" src="/shares/js/yw/bpm/oa.js"></script>
- <script type="text/javascript">
- $(document).ready(function(){
- var tmodelId = "${requestScope.path.tmodelId.tmodelId}";
- if(tmodelId != ""){
- $("#tmodelId").val(tmodelId);
- }
-
- var nextTmodelId = "${requestScope.path.nextTmodelId.tmodelId}";
- if(nextTmodelId != ""){
- $("#nextTmodelId").val(nextTmodelId);
- }
-
- var pathType = "${requestScope.path.pathType.value}";
- if(pathType != ""){
- $("#pathType").val(pathType);
- }
- // $("#tmodelId").ligerComboBox();
- // $("#nextTmodelId").ligerComboBox();
- // $("#pathType").ligerComboBox();
- });
- </script>
- </head>
- <body>
- <form action="PathModelAction.do" method="post" id="cform" name="cform">
- <div id="title" class="form-button" style="width: 100%;">
- <input type="button" onclick="save()" class="l-button" value="保存" />
- <input type="button" class="l-button" value="返回列表" onclick="location='${pageContext.request.contextPath }/PathModelAction.do?task=toListForConfig&modelId=' + $('#modelId').val();"/>
- </div>
- <div class="container-layout">
- <div class="forum-container">
- <center>
- <table class="l-table-edit line">
- <tr>
- <th colspan="2">修改模版路径</th>
- </tr>
- <tr>
- <td class="l-table-edit-text">路径ID<FONT COLOR="red">*</FONT>:</td>
- <td class="l-table-edit-td">
- ${requestScope.path.pathId }
- </td>
- </tr>
- <tr>
- <td class="l-table-edit-text">起始环节<FONT COLOR="red">*</FONT>:</td>
- <td class="l-table-edit-td">
- <select name="tmodelId" id="tmodelId" class="width_150" >
- <c:forEach items="${requestScope.tacheModels }" var="tacheModel">
- <c:if test="${tacheModel.se.value != '2' }">
- <option value="${tacheModel.tmodelId }">${tacheModel.tmodelName }</option>
- </c:if>
- </c:forEach>
- </select>
- </td>
- </tr>
- <tr>
- <td class="l-table-edit-text">目标环节<FONT COLOR="red">*</FONT>:</td>
- <td class="l-table-edit-td">
- <select name="nextTmodelId" id="nextTmodelId" class="width_150" >
- <c:forEach items="${requestScope.tacheModels }" var="tacheModel">
- <c:if test="${tacheModel.se.value != '1' }">
- <option value="${tacheModel.tmodelId }">${tacheModel.tmodelName }</option>
- </c:if>
- </c:forEach>
- </select>
- </td>
- </tr>
- <tr>
- <td class="l-table-edit-text">路径类型<FONT COLOR="red">*</FONT>:</td>
- <td class="l-table-edit-td">
- <select name="pathType" id="pathType" class="width_150" >
- <c:forEach items="${requestScope.pathTypes }" var="pathType">
- <option value="${pathType.value }">${pathType.dataName }</option>
- </c:forEach>
- </select>
- </td>
- </tr>
- </table>
- <input type="hidden" id="pathId" name="pathId" value="${requestScope.path.pathId }">
- <input type="hidden" id="modelId" name="modelId" value="${requestScope.path.modelId.modelId }">
- <input type="hidden" id="task" name="task" value="edit">
- </center>
-
- </div>
- </div>
- </form>
- <%@ include file="/include/message.jsp"%>
- </body>
- </html>
|