@layout("/common/_container.html",{js:["/assets/modular/sysConfig/sysConfig_edit.js"]}){
|
|
<div class="layui-body-header">
|
<span class="layui-body-header-title">修改</span>
|
</div>
|
|
<div class="layui-fluid " style="">
|
<div class="layui-card">
|
<div class="layui-card-body">
|
<form id="sysConfigForm" lay-filter="sysConfigForm" class="layui-form model-form" style="max-width: 700px;margin: 40px auto;">
|
<input name="id" type="hidden"/>
|
<div class="layui-form-item">
|
<label class="layui-form-label">名称<span style="color: red;">*</span></label>
|
<div class="layui-input-block">
|
<input id="name" name="name" placeholder="请输入名称" type="text" class="layui-input" autocomplete="off" lay-verify="required" required/>
|
</div>
|
</div>
|
<div class="layui-form-item">
|
<label class="layui-form-label">编码<span style="color: red;">*</span></label>
|
<div class="layui-input-block">
|
<input id="code" disabled="disabled" name="code" placeholder="属性编码" type="text" class="layui-input" autocomplete="off" lay-verify="required" required/>
|
</div>
|
<div class="layui-form-mid layui-word-aux form-tips">编码填写后不可修改,系统字典(GUNS_开头)添加后不可修改取值范围和字典类型</div>
|
</div>
|
<div class="layui-form-item">
|
<label class="layui-form-label">取值范围<span style="color: red;">*</span></label>
|
<div class="layui-input-block">
|
<input type="radio" name="dictFlag" value="Y" title="字典" lay-filter="dictChecked" checked="checked">
|
<input type="radio" name="dictFlag" value="N" title="非字典" lay-filter="dictChecked">
|
</div>
|
<div class="layui-form-mid layui-word-aux">如果选择字典,则取值来自于 系统管理->字典管理</div>
|
</div>
|
|
<!-- 从字典取值 -->
|
<div id="dictCodeDiv">
|
<div class="layui-form-item">
|
<label class="layui-form-label">字典类型<span style="color: red;">*</span></label>
|
<div class="layui-input-block">
|
<select name="dictTypeId" id="dictTypeId" lay-filter="dictTypeId">
|
<option value="">请选择系统字典类型</option>
|
</select>
|
</div>
|
</div>
|
<div class="layui-form-item">
|
<label class="layui-form-label">参数值<span style="color: red;">*</span></label>
|
<div class="layui-input-block" id="dictDetails">
|
<input type="radio" name="dictValue" value="" title="无" disabled="disabled">
|
</div>
|
</div>
|
</div>
|
|
<!-- 手动输入 -->
|
<div class="layui-form-item" id="customCodeDiv">
|
<label class="layui-form-label">参数值<span style="color: red;">*</span></label>
|
<div class="layui-input-block">
|
<input id="value" name="value" placeholder="属性值" type="text" autocomplete="off" class="layui-input"/>
|
</div>
|
</div>
|
<div class="layui-form-item">
|
<label class="layui-form-label">备注</label>
|
<div class="layui-input-block">
|
<input id="remark" name="remark" placeholder="请输入备注" type="text" autocomplete="off" class="layui-input"/>
|
</div>
|
</div>
|
<div class="layui-form-item">
|
<div class="layui-input-block">
|
<button class="layui-btn" lay-filter="btnSubmit" lay-submit> 提交 </button>
|
<button class="layui-btn layui-btn-primary" type="button" id="backupPage"> 返回 </button>
|
</div>
|
</div>
|
</form>
|
</div>
|
</div>
|
</div>
|
|
@}
|