feat:添加长度校验

hangao-new
wangxy 11 months ago
parent 0533a0c300
commit c8bd6c8cc1

@ -11,7 +11,7 @@
<div class="form-group">
<label class="col-sm-2 control-label is-required">检察业务名称:</label>
<div class="col-sm-10">
<input id="businessTitle" name="businessTitle" class="form-control" type="text" required>
<input id="businessTitle" name="businessTitle" class="form-control" type="text" required maxlength="100">
</div>
</div>
<div class="form-group">

@ -12,7 +12,7 @@
<div class="form-group">
<label class="col-sm-2 control-label is-required">检察业务名称:</label>
<div class="col-sm-10">
<input id="noticeTitle" name="businessTitle" th:field="*{businessTitle}" class="form-control" type="text" required>
<input id="noticeTitle" name="businessTitle" th:field="*{businessTitle}" class="form-control" type="text" required maxlength="100">
</div>
</div>
<div class="form-group">

@ -20,7 +20,7 @@
<div class="form-group">
<label class="col-sm-3 control-label is-required">栏目名称:</label>
<div class="col-sm-8">
<input class="form-control" type="text" name="columnName" id="columnName" required>
<input class="form-control" type="text" name="columnName" id="columnName" required maxlength="100">
</div>
</div>
<div class="form-group">

@ -21,7 +21,7 @@
<div class="form-group">
<label class="col-sm-3 control-label is-required">栏目名称:</label>
<div class="col-sm-8">
<input class="form-control" type="text" name="columnName" id="columnName" th:field="*{columnName}" required>
<input class="form-control" type="text" name="columnName" id="columnName" th:field="*{columnName}" required maxlength="100">
</div>
</div>
<div class="form-group">

@ -10,7 +10,7 @@
<div class="form-group">
<label class="col-sm-2 control-label is-required">应用系统名称:</label>
<div class="col-sm-6">
<input id="contentTitle" name="contentTitle" class="form-control" type="text" required>
<input id="contentTitle" name="contentTitle" class="form-control" type="text" required maxlength="30">
</div>
</div>
<div class="form-group">

@ -11,7 +11,7 @@
<div class="form-group">
<label class="col-sm-2 control-label is-required">应用系统名称:</label>
<div class="col-sm-6">
<input id="contentTitle" name="contentTitle" th:field="*{contentTitle}" class="form-control" type="text" required>
<input id="contentTitle" name="contentTitle" th:field="*{contentTitle}" class="form-control" type="text" required maxlength="30">
</div>
</div>
<div class="form-group">

@ -12,7 +12,7 @@
<div class="form-group">
<label class="col-sm-2 control-label is-required">公告标题:</label>
<div class="col-sm-10">
<input id="noticeTitle" name="noticeTitle" class="form-control" type="text" required>
<input id="noticeTitle" name="noticeTitle" class="form-control" type="text" required maxlength="100">
</div>
</div>
<div class="form-group">

@ -13,7 +13,7 @@
<div class="form-group">
<label class="col-sm-2 control-label is-required">公告标题:</label>
<div class="col-sm-10">
<input id="noticeTitle" name="noticeTitle" th:field="*{noticeTitle}" class="form-control" type="text" required>
<input id="noticeTitle" name="noticeTitle" th:field="*{noticeTitle}" class="form-control" type="text" required maxlength="100">
</div>
</div>
<div class="form-group">

@ -21,7 +21,7 @@
<div class="form-group">
<label class="col-sm-2 control-label is-required">专题活动名称:</label>
<div class="col-sm-10">
<input id="specialTitle" name="specialTitle" class="form-control" type="text" required>
<input id="specialTitle" name="specialTitle" class="form-control" type="text" required maxlength="100">
</div>
</div>
<div class="form-group">

@ -23,7 +23,7 @@
<div class="form-group">
<label class="col-sm-2 control-label is-required">专题活动名称:</label>
<div class="col-sm-10">
<input id="noticeTitle" name="specialTitle" th:field="*{specialTitle}" class="form-control" type="text" required>
<input id="noticeTitle" name="specialTitle" th:field="*{specialTitle}" class="form-control" type="text" required maxlength="100">
</div>
</div>
<div class="form-group">

@ -21,7 +21,7 @@
<div class="form-group">
<label class="col-sm-2 control-label is-required">部门动态名称:</label>
<div class="col-sm-10">
<input id="trendsTitle" name="trendsTitle" class="form-control" type="text" required>
<input id="trendsTitle" name="trendsTitle" class="form-control" type="text" required maxlength="100">
</div>
</div>
<div class="form-group">

@ -22,7 +22,7 @@
<div class="form-group">
<label class="col-sm-2 control-label is-required">部门动态名称:</label>
<div class="col-sm-10">
<input id="trendsTitle" name="trendsTitle" th:field="*{trendsTitle}" class="form-control" type="text" required>
<input id="trendsTitle" name="trendsTitle" th:field="*{trendsTitle}" class="form-control" type="text" required maxlength="100">
</div>
</div>
<div class="form-group">

@ -11,7 +11,7 @@
<div class="form-group">
<label class="col-sm-2 control-label is-required">工作动态名称:</label>
<div class="col-sm-10">
<input id="workTitle" name="workTitle" class="form-control" type="text" required>
<input id="workTitle" name="workTitle" class="form-control" type="text" required maxlength="100">
</div>
</div>
<div class="form-group">

@ -12,7 +12,7 @@
<div class="form-group">
<label class="col-sm-2 control-label is-required">工作动态名称:</label>
<div class="col-sm-10">
<input id="noticeTitle" name="workTitle" th:field="*{workTitle}" class="form-control" type="text" required>
<input id="workTitle" name="workTitle" th:field="*{workTitle}" class="form-control" type="text" required maxlength="100">
</div>
</div>
<div class="form-group">

Loading…
Cancel
Save