日志管理修复当天操作日志无法查询bug;

所有业务的规则描述增加非空校验
This commit is contained in:
duandongmei
2019-01-08 21:29:48 +06:00
parent 65728f0254
commit e853c1d360
14 changed files with 26 additions and 25 deletions

View File

@@ -30,6 +30,9 @@ $(function(){
//增加描述新增时的文字长度限制
$("form input[name='cfgDesc']").attr("maxlength","128");
$("form input[name='cfgDesc']").addClass("required");
$("form input[name='cfgDesc']").parent().prev(".control-label").html("<font color='red'>*</font>"+$("form input[name='cfgDesc']").parent().prev(".control-label").text());
$("form input[name='cfgDesc']").parent().append("<div for='cfgDesc'></div>");
$("form input[name$='cfgKeywords']").attr("maxlength","1024");
$("form input[name$='cfgKeywords']").attr("minlength","4");
$("form input[class~='domainCheck']").attr("maxlength","1024");