| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- <%@page contentType="text/html;charset=UTF-8"%>
- <%@include file="/taglibs.jsp"%>
- <%pageContext.setAttribute("currentHeader", "bpm-console");%>
- <%pageContext.setAttribute("currentMenu", "bpm-process");%>
- <%pageContext.setAttribute("currentTitle", "bpm-category-6");%>
- <!doctype html>
- <html>
- <head>
- <%@include file="/common/meta.jsp"%>
- <title>编辑</title>
- <%@include file="/common/s3.jsp"%>
- <script type="text/javascript">
- $(function() {
- $("#bpm-processForm").validate({
- submitHandler: function(form) {
- bootbox.animate(false);
- var box = bootbox.dialog('<div class="progress progress-striped active" style="margin:0px;"><div class="bar" style="width: 100%;"></div></div>');
- form.submit();
- },
- errorClass: 'validate-error'
- });
- })
- </script>
- </head>
- <body>
- <%@include file="/header/_pim3.jsp"%>
- <div class="row-fluid">
- <%@include file="/menu/bpm-console.jsp"%>
- <!-- start of main -->
- <section id="m-main" class="col-md-10" style=" ">
- <div class="panel panel-default">
- <div class="panel-heading">
- <i class="glyphicon glyphicon-list"></i>
- 编辑
- </div>
- <div class="panel-body">
- <form id="demoForm" method="post" action="console-completeTask.do" class="form-horizontal">
- <input id="demo_id" type="hidden" name="taskId" value="${param.taskId}">
- <c:forEach items="${taskFormData.formProperties}" var="item">
- <div class="control-group">
- <label class="control-label">${item.name}</label>
- <div class="controls">
- <c:if test="${item.type.name=='enum'}">
- <%--
- <c:forEach items="${item.type.getInformation('values')}">
- <label class="checkbox inline">
- <input type="radio" name="${item.id}" value="${key}" ${item.value == key ? 'checked' : ''}>
- ${item.value}
- </label>
- </c:forEach>
- --%>
- </c:if>
- <c:if test="${item.type.name != 'enum'}">
- <input type="text" name="${id}" value="${item.value}" size="40" class="text ${item.required ? 'required' : ''}" ${item.writable ? '' : 'readonly'}>
- </c:if>
- </div>
- </div>
- </c:forEach>
- <div class="control-group">
- <div class="controls">
- <button id="submitButton" type="submit" class="btn btn-primary a-submit">保存</button>
-
- <button type="button" onclick="history.back();" class="btn btn-link a-cancel">返回</button>
- </div>
- </div>
- </form>
- </div>
- </div>
- </section>
- <!-- end of main -->
- </div>
- </body>
- </html>
|