1.提交修改数据库keywords长度2048,cfg_desc长度128,district长度128
2.专项任务表单增加长度限制 3.关键字长度增加限制 4.实时报表来函列表过长省略
This commit is contained in:
@@ -28,13 +28,13 @@
|
||||
<div class="form-group">
|
||||
<label class="col-md-3 control-label"><font color="red">*</font><spring:message code="task_name"></spring:message>:</label>
|
||||
<div class="col-md-4">
|
||||
<input type="text" class="form-control required" name="taskName" value="${taskInfo.taskName}">
|
||||
<input type="text" class="form-control required" name="taskName" maxlength="64" value="${taskInfo.taskName}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-md-3 control-label"><font color="red">*</font><spring:message code="task_org"></spring:message>:</label>
|
||||
<div class="col-md-4">
|
||||
<input type="text" class="form-control required" name="taskOrg" value="${taskInfo.taskOrg}">
|
||||
<input type="text" class="form-control required" name="taskOrg" maxlength="128" value="${taskInfo.taskOrg}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
@@ -47,7 +47,7 @@
|
||||
<div class="form-group last">
|
||||
<label class="col-md-3 control-label"><th><spring:message code="desc"/>:</label>
|
||||
<div class="col-md-4">
|
||||
<input type="text" class="form-control" name="taskDesc" value="${taskInfo.taskDesc}">
|
||||
<input type="text" class="form-control" maxlength="512" name="taskDesc" value="${taskInfo.taskDesc}">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
trContent += "<tr>";
|
||||
<c:forEach items="${requestInfos}" var="lwhh">
|
||||
<c:if test="${lwhh.id eq data.key}">
|
||||
trContent += "<td>${lwhh.requestTitle}</td>";
|
||||
trContent += "<td title='${lwhh.requestTitle}'>${fns:abbr(lwhh.requestTitle,32)}</td>";
|
||||
</c:if>
|
||||
</c:forEach>
|
||||
<c:forEach items="${data.value}" var="cloumn" varStatus="status">
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
$(function(){
|
||||
//增加描述新增时的文字长度限制
|
||||
$("form input[name='cfgDesc']").attr("maxlength","128")
|
||||
$("form input[name='cfgDesc']").attr("maxlength","128");
|
||||
$("form input[name$='cfgKeywords']").attr("maxlength","2048");
|
||||
//截取过长的文字 使用id选择器;例如:tab对象->tr->td对象. 排除日志table .logTb
|
||||
$("#contentTable").not(".logTb").find("td").each(function(i){
|
||||
//获取td当前对象的文本,如果长度大于25;
|
||||
|
||||
Reference in New Issue
Block a user