字典、菜单类型下拉框默认值设定为1表示自定义
This commit is contained in:
parent
692e28f222
commit
4292f94dc0
|
@ -18,7 +18,7 @@
|
|||
reset: function () {
|
||||
for (name in this.options.map) {
|
||||
var ctl = $("#" + this.options.map[name]);
|
||||
if (ctl.hasClass('selectpicker')) ctl.selectpicker('val', "");
|
||||
if (ctl.hasClass('selectpicker')) ctl.selectpicker('val', "1");
|
||||
else ctl.val("");
|
||||
}
|
||||
},
|
||||
|
|
|
@ -26,8 +26,8 @@
|
|||
<label class="control-label" for="txt_dict_define">字典类别</label>
|
||||
<select class="selectpicker form-control" data-width="auto" id="txt_dict_define">
|
||||
<option value="">全部</option>
|
||||
<option value="1">自定义</option>
|
||||
<option value="0">系统使用</option>
|
||||
<option value="1">自定义</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group col-lg-2">
|
||||
|
@ -58,8 +58,8 @@
|
|||
<div class="form-group col-lg-6">
|
||||
<label class="control-label" for="dictDefine">字典类别</label>
|
||||
<select class="selectpicker form-control" data-width="auto" id="dictDefine">
|
||||
<option value="1">自定义</option>
|
||||
<option value="0">系统使用</option>
|
||||
<option value="1">自定义</option>
|
||||
</select>
|
||||
</div>
|
||||
</form>
|
||||
|
|
Loading…
Reference in New Issue