(1)提交通用字符串类的配置controller,service,dao,界面
(2)修复通用IP类配置的部分bug (3)调整列表显示顺序,将创建人,创建时间等后移
This commit is contained in:
@@ -8,9 +8,12 @@
|
||||
<script type="text/javascript">
|
||||
$(function(){
|
||||
$("#save").on("click",function(){
|
||||
$("#ipCfgFrom").attr("action","${ctx}/cfg/ip/saveOrUpdateIpCfg");
|
||||
$("#ipCfgFrom").attr("action","${ctx}/cfg/ip/saveOrUpdateCfg");
|
||||
$("#save").submit();
|
||||
});
|
||||
$("#cancel").on("click",function(){
|
||||
window.history.back();
|
||||
});
|
||||
$("select[name='ipType']").on("change",function(){
|
||||
var type=$(this).val();
|
||||
if(4==type){
|
||||
@@ -47,8 +50,8 @@ $(function(){
|
||||
|
||||
<h3 class="page-title">
|
||||
<spring:message code="${cfgName}"></spring:message>
|
||||
<c:if test="${empty _ipCfg.cfgId}">新增</c:if>
|
||||
<c:if test="${not empty _ipCfg.cfgId}">修改</c:if>
|
||||
<c:if test="${empty _cfg.cfgId}">新增</c:if>
|
||||
<c:if test="${not empty _cfg.cfgId}">修改</c:if>
|
||||
</h3>
|
||||
|
||||
<div class="row">
|
||||
@@ -57,8 +60,8 @@ $(function(){
|
||||
<div class="portlet-title">
|
||||
<div class="caption">
|
||||
<i class="fa fa-gift"></i><spring:message code="${cfgName}"></spring:message>
|
||||
<c:if test="${empty _ipCfg.cfgId}">新增</c:if>
|
||||
<c:if test="${not empty _ipCfg.cfgId}">修改</c:if>
|
||||
<c:if test="${empty _cfg.cfgId}">新增</c:if>
|
||||
<c:if test="${not empty _cfg.cfgId}">修改</c:if>
|
||||
</div>
|
||||
<!-- <div class="tools">
|
||||
<a href="javascript:;" class="collapse" data-original-title="" title=""> </a>
|
||||
@@ -72,11 +75,11 @@ $(function(){
|
||||
<form id="ipCfgFrom" action="#" method="post" class="form-horizontal">
|
||||
<div class="form-body">
|
||||
<%@include file="/WEB-INF/include/form/ipInfo.jsp" %>
|
||||
<c:if test="${not empty _ipCfg.cfgId}">
|
||||
<input type="hidden" name="cfgId" value="${_ipCfg.cfgId}">
|
||||
<c:if test="${not empty _cfg.cfgId}">
|
||||
<input type="hidden" name="cfgId" value="${_cfg.cfgId}">
|
||||
</c:if>
|
||||
<input type="hidden" name="tableName" value="${_ipCfg.tableName}">
|
||||
<input type="hidden" name="serviceId" value="${_ipCfg.serviceId}">
|
||||
<input type="hidden" name="tableName" value="${_cfg.tableName}">
|
||||
<input type="hidden" name="serviceId" value="${_cfg.serviceId}">
|
||||
<input type="hidden" name="cfgName" value="${cfgName}">
|
||||
<!-- <div class="row">
|
||||
<div class="col-md-6">
|
||||
@@ -107,7 +110,7 @@ $(function(){
|
||||
<div class="row">
|
||||
<div class="col-md-offset-3 col-md-8">
|
||||
<button id="save" type="submit" class="btn green">保存</button>
|
||||
<button type="button" class="btn default">Cancel</button>
|
||||
<button id="cancel" type="button" class="btn default">Cancel</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user