| | |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label">字典类型</label> |
| | | <div class="layui-input-block"> |
| | | <input name="a" id="a1" type="radio" value="1" lay-filter="resourceType" onchange="ccc" title="分类" class="layui-input" maxlength="20"/> |
| | | <input name="a" id="a2" type="radio" value="0" checked lay-filter="resourceType" title="字典" class="layui-input" maxlength="20"/> |
| | | <input name="zidian_or_fenlei" id="fenlei" type="radio" value="1" lay-filter="resourceType" onchange="ccc" title="分类" class="layui-input" maxlength="20"/> |
| | | <input name="zidian_or_fenlei" id="zidian " type="radio" value="0" checked lay-filter="resourceType" title="字典" class="layui-input" maxlength="20"/> |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item"> |
| | |
| | | $("#enabled2").attr('checked', true); |
| | | } |
| | | if (data.dictionariesClassId == undefined || data.dictionariesClassId == "") { |
| | | $("#a1").attr('checked', true); |
| | | $("#fenlei").attr('checked', true); |
| | | $("#role_clients").attr('disabled', true); |
| | | } else { |
| | | $("#a2").attr('checked', true); |
| | | $("#zidian").attr('checked', true); |
| | | } |
| | | form.val('app-form', data); |
| | | } |