12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- <%--
- time:2017-03-17 16:41:48
- desc:edit the SYS_PLAN_PUSH
- --%>
- <%@page language="java" pageEncoding="UTF-8"%>
- <%@include file="/commons/include/html_doctype.html"%>
- <html>
- <head>
- <title>编辑 SYS_PLAN_PUSH</title>
- <%@include file="/commons/include/form.jsp" %>
- <script type="text/javascript" src="${ctx}/js/hotent/CustomValid.js"></script>
- <script type="text/javascript">
- $(function() {
- $("a.save").click(function() {
- $("#sysPlanPushForm").attr("action","save.ht");
- $("#saveData").val(1);
- submitForm();
- });
- });
- //提交表单
- function submitForm(){
- var options={};
- if(showResponse){
- options.success=showResponse;
- }
- var frm=$('#sysPlanPushForm').form();
- frm.ajaxForm(options);
- if(frm.valid()){
- frm.submit();
- }
- }
-
- function showResponse(responseText) {
- var obj = new com.hotent.form.ResultMessage(responseText);
- if(!obj.isSuccess()){
- $.ligerDialog.err("提示信息"," SYS_PLAN_PUSH保存失败!",obj.getMessage());
- return;
- }
- $.ligerDialog.confirm(obj.getMessage()+",是否继续操作","提示信息", function(rtn) {
- if(rtn){
- window.location.href = window.location.href;
- }else{
- window.location.href = "${ctx}/platform/system/sysPlanPush/list.ht";
- }
- });
- }
- </script>
- </head>
- <body>
- <div class="panel">
- <div class="panel-top">
- <div class="tbar-title">
- <c:choose>
- <c:when test="${sysPlanPush.pushid !=null}">
- <span class="tbar-label"><span></span>编辑SYS_PLAN_PUSH</span>
- </c:when>
- <c:otherwise>
- <span class="tbar-label"><span></span>添加SYS_PLAN_PUSH</span>
- </c:otherwise>
- </c:choose>
- </div>
- <div class="panel-toolbar">
- <div class="toolBar">
- <div class="group"><a class="link save" id="dataFormSave" href="#"><span></span>保存</a></div>
- <div class="l-bar-separator"></div>
- <div class="group"><a class="link back" href="list.ht"><span></span>返回</a></div>
- </div>
- </div>
- </div>
- <div class="panel-body">
- <form id="sysPlanPushForm" method="post" action="save.ht">
- <table class="table-detail" cellpadding="0" cellspacing="0" border="0" type="main">
- <tr>
- <th width="20%">上级ID: </th>
- <td><input type="text" id="superiorid" name="superiorid" value="${sysPlanPush.superiorid}" class="inputText" validate="{required:false,number:true,maxIntLen:18}" /></td>
- </tr>
- <tr>
- <th width="20%">创建日志人ID: </th>
- <td><input type="text" id="createplanid" name="createplanid" value="${sysPlanPush.createplanid}" class="inputText" validate="{required:false,number:true,maxIntLen:18}" /></td>
- </tr>
- <tr>
- <th width="20%">PLANID: </th>
- <td><input type="text" id="planid" name="planid" value="${sysPlanPush.planid}" class="inputText" validate="{required:false,number:true,maxIntLen:18}" /></td>
- </tr>
- </table>
- <input type="hidden" name="pushid" value="${sysPlanPush.pushid}" />
- <input type="hidden" name="saveData" id="saveData" />
- <input type="hidden" name="executeType" value="start" />
- </form>
-
- </div>
- </div>
- </body>
- </html>
|