1.新增用户时权限非空验证2.区域编辑时间添加开始时间小于结束时间3.区域搜索框提示信息修改

This commit is contained in:
zhanghongqing
2018-08-07 19:48:19 +08:00
parent 978867a45d
commit 509963f451
3 changed files with 14 additions and 3 deletions

View File

@@ -97,6 +97,12 @@
//reset //reset
$("#resetBtn").on("click",function(){ $("#resetBtn").on("click",function(){
$("select.selectpicker").each(function(){
$(this).selectpicker('val',$(this).find('option:first').val());
$(this).find("option").attr("selected",false);
$(this).find("option:first").attr("selected",true);
});
$(".Wdate").attr("value",''); $(".Wdate").attr("value",'');
$("#searchForm")[0].reset(); $("#searchForm")[0].reset();
$("#itemType").val(""); $("#itemType").val("");
@@ -111,7 +117,7 @@
$("#seltype").change(function(){ $("#seltype").change(function(){
$("#intype").val(""); $("#intype").val("");
$("#intype").attr("placeholder","<spring:message code='input'/>"+$(this).find("option:selected").text()); $("#intype").attr("placeholder","<spring:message code='input'/> "+$(this).find("option:selected").text());
$("#intype").attr("name",$(this).find("option:selected").val()); $("#intype").attr("name",$(this).find("option:selected").val());
}); });
$("#treeTable").treeTable({expandLevel : 3}).show(); $("#treeTable").treeTable({expandLevel : 3}).show();
@@ -190,7 +196,7 @@
</select> </select>
</div> </div>
<input id="intype" class="form-control input-medium" placeholder="<spring:message code='item_code'></spring:message>" type="text" maxlength="60"> <input id="intype" class="form-control input-medium" placeholder="<spring:message code='input'/> <spring:message code='item_code'></spring:message>" type="text" maxlength="60">
</div> </div>
</div> </div>

View File

@@ -202,7 +202,7 @@
<c:forEach items="${allRoles}" var="role"> <c:forEach items="${allRoles}" var="role">
<label class="mt-checkbox"> <label class="mt-checkbox">
<form:checkbox path="roleIdList" value="${role.id }" /> ${role.name } <form:checkbox path="roleIdList" value="${role.id }" class="required" /> ${role.name }
<span></span> <span></span>
</label> </label>
</c:forEach> </c:forEach>

View File

@@ -387,6 +387,11 @@ $(function(){
"doendDate": { "doendDate": {
compareDate: "[name=dobeginDate]" compareDate: "[name=dobeginDate]"
}, },
"editBeginDate": {
},
"editEndDate": {
compareDate: "[name=editBeginDate]"
},
"capIp":{ "capIp":{
ipv4v6:true ipv4v6:true
}, },