(1)特定服务管理->协议号点击跳转到的配置详细信息查看页面,注释掉配置分组ID,添加配置类型字段

(2)特定服务管理列表注释掉配置分组ID
This commit is contained in:
wangxin
2018-07-30 09:49:32 +08:00
parent 32b67d31f3
commit 1adcb6e23c
3 changed files with 14 additions and 6 deletions

View File

@@ -10,7 +10,6 @@ import org.apache.shiro.authz.annotation.Logical;
import org.apache.shiro.authz.annotation.RequiresPermissions; import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
import org.springframework.ui.Model; import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody; import org.springframework.web.bind.annotation.ResponseBody;
@@ -20,7 +19,6 @@ import com.google.common.collect.Lists;
import com.google.common.collect.Maps; import com.google.common.collect.Maps;
import com.nis.domain.Page; import com.nis.domain.Page;
import com.nis.domain.specific.SpecificServiceCfg; import com.nis.domain.specific.SpecificServiceCfg;
import com.nis.util.StringUtil;
import com.nis.util.StringUtils; import com.nis.util.StringUtils;
import com.nis.web.controller.BaseController; import com.nis.web.controller.BaseController;

View File

@@ -38,6 +38,16 @@
<div class="form-body"> <div class="form-body">
<!-- BEGIN FORM--> <!-- BEGIN FORM-->
<form:form id="inputForm" modelAttribute="specificServiceCfg" class="form-horizontal"> <form:form id="inputForm" modelAttribute="specificServiceCfg" class="form-horizontal">
<div class="form-group">
<label class="col-md-3 control-label"><font color="red">*</font><spring:message code="cfg_type" />:</label>
<div class="col-md-4">
<c:forEach items="${fns:getDictList('SPECIFIC_SERVICE_CFG_TYPE') }" var="dict">
<label class="radio-inline"><input type="radio" name="cfgType" class="required" value="${dict.itemCode}" disabled
<c:if test="${dict.itemCode==specificServiceCfg.cfgType}">checked</c:if>
readonly="readonly"/><spring:message code="${dict.itemValue}"/></label>
</c:forEach>
</div>
</div>
<div class="form-group"> <div class="form-group">
<label class="col-md-3 control-label"><spring:message code="superior_config"/>:</label> <label class="col-md-3 control-label"><spring:message code="superior_config"/>:</label>
<div class="col-md-4"> <div class="col-md-4">
@@ -57,12 +67,12 @@
<form:input path="specServiceName" htmlEscape="false" maxlength="50" class="form-control" readonly="readonly"/> <form:input path="specServiceName" htmlEscape="false" maxlength="50" class="form-control" readonly="readonly"/>
</div> </div>
</div> </div>
<div class="form-group"> <%-- <div class="form-group">
<label class="col-md-3 control-label"><font color="red">*</font><spring:message code="group_id" />:</label> <label class="col-md-3 control-label"><font color="red">*</font><spring:message code="group_id" />:</label>
<div class="col-md-4"> <div class="col-md-4">
<form:input path="groupId" htmlEscape="false" maxlength="50" class="form-control" readonly="readonly"/> <form:input path="groupId" htmlEscape="false" maxlength="50" class="form-control" readonly="readonly"/>
</div> </div>
</div> </div> --%>
<div class="form-group"> <div class="form-group">
<label class="col-md-3 control-label"><font color="red">*</font><spring:message code="is_leaf"/>:</label> <label class="col-md-3 control-label"><font color="red">*</font><spring:message code="is_leaf"/>:</label>
<div class="col-md-4"> <div class="col-md-4">

View File

@@ -253,7 +253,7 @@
<th><spring:message code="protocol_code"/></th> <th><spring:message code="protocol_code"/></th>
<th><spring:message code="protocol_name"/></th> <th><spring:message code="protocol_name"/></th>
<th><spring:message code="protocol_desc"/></th> <th><spring:message code="protocol_desc"/></th>
<th><spring:message code="group_id"/></th> <%-- <th><spring:message code="group_id"/></th> --%>
<th><spring:message code="is_leaf"/></th> <th><spring:message code="is_leaf"/></th>
<th><spring:message code="cfg_type"/></th> <th><spring:message code="cfg_type"/></th>
<th class="sort-column op_time"><spring:message code="operate_time"/></th> <th class="sort-column op_time"><spring:message code="operate_time"/></th>
@@ -267,7 +267,7 @@
<td nowrap><i class="icon-icon-tablet"></i><a href="${ctx}/specific/specificServiceCfg/form?specServiceId=${specificServiceCfg.specServiceId}&doAction=0">${specificServiceCfg.specServiceCode}</a></td> <td nowrap><i class="icon-icon-tablet"></i><a href="${ctx}/specific/specificServiceCfg/form?specServiceId=${specificServiceCfg.specServiceId}&doAction=0">${specificServiceCfg.specServiceCode}</a></td>
<td title="${specificServiceCfg.specServiceName}">${specificServiceCfg.specServiceName}</td> <td title="${specificServiceCfg.specServiceName}">${specificServiceCfg.specServiceName}</td>
<td title="${specificServiceCfg.specServiceDesc}">${fns:abbr(specificServiceCfg.specServiceDesc,15)}</td> <td title="${specificServiceCfg.specServiceDesc}">${fns:abbr(specificServiceCfg.specServiceDesc,15)}</td>
<td>${specificServiceCfg.groupId }</td> <%-- <td>${specificServiceCfg.groupId }</td> --%>
<td><spring:message code="${fns:getDictLabel('INT_YES_NO',specificServiceCfg.isLeaf,'0')}"></spring:message></td> <td><spring:message code="${fns:getDictLabel('INT_YES_NO',specificServiceCfg.isLeaf,'0')}"></spring:message></td>
<td><c:forEach items="${fns:getDictList('SPECIFIC_SERVICE_CFG_TYPE') }" var="dict"> <td><c:forEach items="${fns:getDictList('SPECIFIC_SERVICE_CFG_TYPE') }" var="dict">
<c:if test="${dict.itemCode==specificServiceCfg.cfgType}"><spring:message code="${dict.itemValue}"/></c:if> <c:if test="${dict.itemCode==specificServiceCfg.cfgType}"><spring:message code="${dict.itemValue}"/></c:if>