去除新增界面红色字体样式,用户新增界面checkbox小调整,treeselect输入框组修改
This commit is contained in:
@@ -24,12 +24,18 @@
|
||||
<%@ attribute name="dataMsgRequired" type="java.lang.String" required="false" description=""%>
|
||||
<%@ attribute name="selectDepartment" type="java.lang.String" required="false" description="不允许选择部门,自办部门,转办部门"%>
|
||||
<%@ attribute name="showParentName" type="java.lang.String" required="false" description="显示父类名称"%>
|
||||
<div class="input-append">
|
||||
<div class="input-group">
|
||||
<input id="${id}Id" name="${name}" class="${cssClass} singleClass" type="hidden" value="${value}" />
|
||||
<input id="${id}Name" name="${labelName}" ${allowInput?'':'readonly="readonly"'} type="text" value="${labelValue}" data-msg-required="${dataMsgRequired}" placeholder="${value}"
|
||||
class="${cssClass}" style="${cssStyle} background-color:transparent"/>
|
||||
<%-- <a id="${id}Button" href="javascript:" class="btn ${disabled} ${hideBtn ? 'hide' : ''}" style="${smallBtn?'padding:4px 2px;':''}"> <i class="icon-search"></i> </a> --%>
|
||||
|
||||
<div class="input-group-btn">
|
||||
<a id="${id}Button" class="btn btn-default btn-search" href="javascript:" class="btn ${disabled} ${hideBtn ? 'hide' : ''}" style="${smallBtn?'padding:4px 2px;':''}"><i class="fa fa-search"></i></a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
$("#${id}Button, #${id}Name").click(function(){
|
||||
// 是否限制选择,如果限制,设置为disablegetQueryString d
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
<title>用户管理</title>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
|
||||
|
||||
$("#no").focus();
|
||||
|
||||
$("#inputForm").validate({
|
||||
@@ -117,7 +119,7 @@
|
||||
<form:input path="loginId" htmlEscape="false" maxlength="50" class="required userName form-control"/>
|
||||
</c:if>
|
||||
</div>
|
||||
<span class="help-inline"><font color="red">*</font> </span>
|
||||
<span class="help-inline"><font color="red">*</font> </span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-md-3 control-label">归属公司:</label>
|
||||
@@ -175,8 +177,9 @@
|
||||
<form:option value="0">普通人员</form:option>
|
||||
<form:option value="1">管理人员</form:option>
|
||||
</form:select>
|
||||
</div>
|
||||
<span class="help-inline"><font>管理人员需指定身份标识为“管理人员”,否则影响审核流程!</font></span>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
@@ -191,11 +194,24 @@
|
||||
<div class="form-group">
|
||||
<label class="col-md-3 control-label">用户角色:</label>
|
||||
<div class="col-md-8">
|
||||
<form:checkboxes path="roleIdList" items="${allRoles}" itemLabel="name" itemValue="id" htmlEscape="false" class="required" style="vertical-align:middle;display:inline-block;margin-bottom:4px"/>
|
||||
<span class="help-inline "><font color="red">*</font> </span>
|
||||
|
||||
<div class="mt-checkbox-inline">
|
||||
|
||||
<c:forEach items="${allRoles}" var="role">
|
||||
<label class="mt-checkbox">
|
||||
<form:checkbox path="roleIdList" value="${role.id }" /> ${role.name }
|
||||
<span></span>
|
||||
</label>
|
||||
</c:forEach>
|
||||
|
||||
<span class="help-inline "><font color="red">*</font> </span>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<c:if test="${not empty user.id}">
|
||||
<div class="form-group">
|
||||
<label class="col-md-3 control-label">创建时间:</label>
|
||||
@@ -210,8 +226,8 @@
|
||||
<div class="row">
|
||||
<div class="col-md-offset-3 col-md-9">
|
||||
<shiro:hasPermission name="sys:user:edit"></shiro:hasPermission>
|
||||
<button type="submit" class="btn btn-circle green"><spring:message code="submit"></spring:message></button>
|
||||
<button type="button" class="btn btn-circle grey-salsa btn-outline" onclick="history.go(-1)"><spring:message code="cancel"></spring:message></button>
|
||||
<button type="submit" class="btn blue"><spring:message code="submit"></spring:message></button>
|
||||
<button type="button" class="btn blue btn-outline" onclick="history.go(-1)"><spring:message code="cancel"></spring:message></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -5065,9 +5065,10 @@ Form Layouts
|
||||
|
||||
.control-label .required,
|
||||
.form-group .required {
|
||||
color: #e02222;
|
||||
/* color: #e02222;
|
||||
font-size: 12px;
|
||||
padding-left: 2px; }
|
||||
padding-left: 2px; */
|
||||
}
|
||||
|
||||
.form {
|
||||
padding: 0 !important; }
|
||||
|
||||
Reference in New Issue
Block a user