增加默认值移除name
This commit is contained in:
parent
2e2d8c78e2
commit
6113f7ff9a
|
@ -54,23 +54,23 @@
|
|||
</div>
|
||||
<div class="modal-body">
|
||||
<form class="form-horizontal" id="dataForm" name="dataForm" role="form">
|
||||
<input type="text" class="form-control hidden" id="dictID" name="dictID" data-default-val="0" />
|
||||
<input type="text" class="form-control hidden" id="dictID" data-default-val="0" />
|
||||
<div class="form-group">
|
||||
<label class="control-label col-sm-2" for="dictCate">字典标签</label>
|
||||
<div class="col-sm-10">
|
||||
<input type="text" class="form-control" id="dictCate" name="dictCate" placeholder="不可为空,50字以内" maxlength="50" />
|
||||
<input type="text" class="form-control" id="dictCate" placeholder="不可为空,50字以内" maxlength="50" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="control-label col-sm-2" for="dictName">字典名称</label>
|
||||
<div class="col-sm-10">
|
||||
<input type="text" class="form-control" id="dictName" name="dictName" placeholder="不可为空,50字以内" maxlength="50" />
|
||||
<input type="text" class="form-control" id="dictName" placeholder="不可为空,50字以内" maxlength="50" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="control-label col-sm-2" for="dictCode">字典代码</label>
|
||||
<div class="col-sm-10">
|
||||
<input type="text" class="form-control" id="dictCode" name="dictCode" placeholder="不可为空,50字以内" maxlength="50" />
|
||||
<input type="text" class="form-control" id="dictCode" placeholder="不可为空,50字以内" maxlength="50" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
|
|
|
@ -52,9 +52,9 @@
|
|||
<input type="text" class="form-control" id="groupName" name="groupName" placeholder="不可为空,50字以内" maxlength="50" />
|
||||
</div>
|
||||
<div class="form-group col-sm-6">
|
||||
<input type="text" class="form-control hidden" id="groupID" name="groupID" />
|
||||
<input type="text" class="form-control hidden" id="groupID" data-default-val="0" />
|
||||
<label class="control-label" for="groupDesc">部门描述</label>
|
||||
<input type="text" class="form-control" id="groupDesc" name="groupDesc" placeholder="描述信息(可为空),50字以内" maxlength="50" />
|
||||
<input type="text" class="form-control" id="groupDesc" placeholder="描述信息(可为空),50字以内" maxlength="50" />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
|
|
@ -79,7 +79,7 @@
|
|||
<form class="form-inline" id="dataForm" name="dataForm" role="form">
|
||||
<div class="row">
|
||||
<div class="form-group col-sm-6">
|
||||
<input type="text" class="form-control hidden" id="menuID" name="menuID" />
|
||||
<input type="text" class="form-control hidden" id="menuID" name="menuID" data-default-val="0" />
|
||||
<label class="control-label" for="name">菜单名称</label>
|
||||
<div class="input-group">
|
||||
<input type="text" class="form-control" id="name" name="name" placeholder="不可为空,50字以内" maxlength="50" />
|
||||
|
@ -113,7 +113,7 @@
|
|||
<div class="form-group col-sm-6">
|
||||
<label class="control-label" for="icon">菜单图标</label>
|
||||
<div class="input-group">
|
||||
<input type="text" class="form-control" readonly id="icon" name="icon" data-default-val="fa fa-fa" placeholder="请选择...(可为空),50字以内" maxlength="50" />
|
||||
<input type="text" class="form-control" readonly id="icon" data-default-val="fa fa-fa" placeholder="请选择...(可为空),50字以内" maxlength="50" />
|
||||
<span class="input-group-btn">
|
||||
<button data-method="clear" class="btn btn-default" type="button"><i class="fa fa-remove"></i></button>
|
||||
<button id="btnIcon" class="btn btn-default" type="button"><i class="fa fa-dashboard"></i>选择</button>
|
||||
|
@ -122,7 +122,7 @@
|
|||
</div>
|
||||
<div class="form-group col-xs-12">
|
||||
<label class="control-label" for="url">路径</label>
|
||||
<input type="text" class="form-control form-control-url" id="url" name="url" placeholder="不可为空,4000字以内" maxlength="4000" />
|
||||
<input type="text" class="form-control form-control-url" id="url" placeholder="不可为空,4000字以内" maxlength="4000" />
|
||||
</div>
|
||||
<div class="form-group col-sm-6 col-xs-12">
|
||||
<label class="control-label" for="category">菜单类别</label>
|
||||
|
|
|
@ -43,17 +43,17 @@
|
|||
<div class="row">
|
||||
<div class="form-group col-xs-12">
|
||||
<label class="control-label" for="currentPassword">原密码: </label>
|
||||
<input type="password" class="form-control" id="currentPassword" name="currentPassword" placeholder="原密码,50字以内" maxlength="50" data-valid="true" />
|
||||
<input type="password" class="form-control" id="currentPassword" placeholder="原密码,50字以内" maxlength="50" data-valid="true" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-group col-sm-6 col-xs-12">
|
||||
<label class="control-label" for="newPassword">新密码: </label>
|
||||
<input type="password" class="form-control" id="newPassword" name="newPassword" placeholder="新密码,50字以内" maxlength="50" data-valid="true" />
|
||||
<input type="password" class="form-control" id="newPassword" placeholder="新密码,50字以内" maxlength="50" data-valid="true" />
|
||||
</div>
|
||||
<div class="form-group col-sm-6 col-xs-12">
|
||||
<label class="control-label" for="confirmPassword">确认密码: </label>
|
||||
<input type="password" class="form-control" id="confirmPassword" name="confirmPassword" placeholder="与新密码一致,50字以内" maxlength="50" data-valid="true" />
|
||||
<input type="password" class="form-control" id="confirmPassword" placeholder="与新密码一致,50字以内" maxlength="50" data-valid="true" />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
|
|
@ -55,16 +55,16 @@
|
|||
<h4 class="modal-title" id="myModalLabel">角色编辑窗口</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<form class="form-inline" id="dataForm" name="dataForm" role="form">
|
||||
<form class="form-inline" id="dataForm" role="form">
|
||||
<div class="row">
|
||||
<div class="form-group col-sm-6">
|
||||
<label class="control-label" for="roleName">角色名称</label>
|
||||
<input type="text" class="form-control" id="roleName" name="roleName" placeholder="不可为空,50字以内" maxlength="50" />
|
||||
<input type="text" class="form-control" id="roleName" placeholder="不可为空,50字以内" maxlength="50" />
|
||||
</div>
|
||||
<div class="form-group col-sm-6">
|
||||
<input type="text" class="form-control hidden" id="roleID" name="roleID" />
|
||||
<input type="text" class="form-control hidden" id="roleID" data-default-val="0" />
|
||||
<label class="control-label" for="roleDesc">角色描述</label>
|
||||
<input type="text" class="form-control" id="roleDesc" name="roleDesc" placeholder="描述信息(可为空),50字以内" maxlength="50" />
|
||||
<input type="text" class="form-control" id="roleDesc" placeholder="描述信息(可为空),50字以内" maxlength="50" />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
<div class="panel panel-default">
|
||||
<div class="panel-heading">网站样式</div>
|
||||
<div class="panel-body">
|
||||
<form id="CssDataForm" class="form-inline" name="CssDataForm">
|
||||
<form id="CssDataForm" class="form-inline">
|
||||
<div class="row">
|
||||
<div class="form-group col-xs-12">
|
||||
<label class="control-label">网站样式</label>
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
<input type="text" class="form-control" id="userName" placeholder="不可为空,50字以内" maxlength="50" data-valid="true" />
|
||||
</div>
|
||||
<div class="form-group col-sm-6">
|
||||
<input type="text" class="form-control hidden" id="userID" name="userID" />
|
||||
<input type="text" class="form-control hidden" id="userID" data-default-val="0" />
|
||||
<label class="control-label" for="userName">显示名称</label>
|
||||
<input type="text" class="form-control" id="displayName" placeholder="不可为空,50字以内" maxlength="50" data-valid="true" />
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue